Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: Loading a .swf in a Flash Movie...
From: Tom Wolfe
Date: Wed, 10 May 2000 18:53:44 +0100

I wanted to use load movie action so the external swf would stream in and my
main movie could start while the swf loaded. Once I can be sure the swf is
loaded, I use it. My mistake was not placing it offstage when I used the
load movie action - I thought it would just load in memory... I find
explaining the actionscripting harder than using it... sorry but, thanks.

Tom W.

-----Original Message-----
From: Laura Mollett [lmollettatmindspring [dot] com (mailto:lmollettatmindspring [dot] com)]
Sent: Wednesday, May 10, 2000 10:58 AM
To: flasheratchinwag [dot] com
Subject: Re: FLASH: Loading a .swf in a Flash Movie...


Hi Tom,

This is very complicated looking :) Main Timeline, Frame 1 calls the
script... Frame 10 of the script loads the movie into a mc that isn't loaded
until frame 20 of the main timeline? and Frame 1 of scripts has a stop
action on it? Are you ever telling the script to play so it can get to Frame
10 and load the movie? and when it does - is the mc it's loading into loaded
yet?

Much easier would be to place the mc "welcome" on the main timeline in frame
1 offstage. Set the mc welcome invisible (Set Property, target welcome,
property visibility, 0). When you want the loaded movie (frame 20?) use an
action to duplicate the movie clip, put it where it needs to be in the movie
(Set Property, X & Y position to whatever you want (use the object inspector
to get the right numbers)), load the movie into the duplicated clip, and set
the visibility of the duplicated mc to 1. If you want to get information
from the loaded swf, remember it needs to be fully loaded before you can
access that info.

I've got some movies that load in a fla file you can download at
portals.home.mindspring.com/popup/popup.html
if you want to see how I did it. If you have any problems with the swf or
fla, or any suggestions how to make it easier to use, please let me know as
it hasn't been all that well tested.

hth,
Laura
>
> Trying VERY hard to learn how to load a external Flash file into a
> movie
> without success. It no work... Can anyone see my glaring mistake(s).
>
> Frame 1 of main timeline in actions:
>
> Call ("/Scripts:poo")
>
>
> Frame 20 of main timeline in actions:
>
> Begin Tell Target ("/welcome")
> Go to and Play (1)
> End Tell Target
>
> The instance of OHGWelcome named "welcome" is placed on the stage...
>
>
> Note: welcome is an instance of the movieclip "OHGWelcome" which has
> on one
> empty frame in it.
>
>
> Frame 1 of movieclip "Scripts" timeline in actions:
>
> Stop
>
>
> Frame 10 labeled "poo" of movieclip "Scripts" timeline in actions:
>
> Load Movie ("OHGWelcome.swf", "/welcome")
>
> Thank you very much,
>
> Tom W.

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]