Flasher Archive

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


Subject: Re: FLASH: Loading a .swf in a Flash Movie...
From: Laura Mollett
Date: Wed, 10 May 2000 16:18:25 +0100

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


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