Flasher Archive

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


Subject: RE: FLASH: loading swf one after another
From: Paul Willoughby
Date: Fri, 3 Nov 2000 12:31:11 GMT

You might want to consider loading the other movies before the final
keyframe, especially if they are big files. You could do this by loading the
movies into empty movie clips, rather than a level:

'Load Movie("name.swf", /emptyMC1)'

If you put a blank keyframe with a stop action at the beginning of all the
movies then all you would need is a telltarget action at the end of each
movie to get the next one to play (as they have all already loaded in the
background).
You may want to check that the next movie is fully loaded before you
telltarget it. You can do this with:

If (GetProperty ("/emptyMC1", _framesloaded ) = numberofFramesinthatMovie)
Begin Tell Target ("/emptyMC1")
Play
End Tell Target
Else
Stop
End If

You could replace Else Stop, with an instruction to go and play a loading
loop.

hth

paul

Ilja wrote on 03 November 2000:
>
> It's possible, on the last keyframe of your swf you put the action
>
> first you load the swf you want by adding the following
> action 'Load Movie
> ("name.swf", 1)'
>
> then , on the last keyframe of your swf you put the action 'Load Movie
> ("name2.swf", 2)'
>
> and on the firstframe of the name2.swf Unload Movie (1)
>
> and the next swf you load into level1 and unload level2
>
> Think this must work and is the easiest way =)
> \
> Ilja
>
> Interaction Designer
> Netdesign.nl
>
> ilja@netdsesign
>

Rdgs wrote on Friday, November 03:

>
>
> Hi,
> I've 5 swf files. What i want to do is to play it one after another
> e.g swf1 ,swf2 .swf3, swf4,swf5 and back to swf1 and so on.
>
> I was wondering it is possible to play it without importing
> all the swfs
> files into one flash movies. Could i after finished playing
> the first swf
> ,then call the second ones. I know this can be done in
> director. But how do
> you do that in flash. Sorry if my question sound too simple.
>
> Thks
>
>
> Rdgs
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save £200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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]