Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Test if _levelX is Loaded or Not - Please HELP ???!!! |
From: | T.R. Henigson |
Date: | Tue, 27 Jun 2000 01:04:31 +0100 |
I think Helen's right on the mark here. I've never been able to test
_framesloaded in a loaded movie from the _level0 movie. The method I've
successfully employed is to test from the _level0 movie in the following
manner:
Set Variable: "/VARS:Loaded" = GetProperty("_level1",_framesloaded)
Set Variable: "/VARS:Total" = GetProperty("_level1",_totalframes)
If (/VARS:Loaded</VARS:Total)
// whatever action you want
End If
Ted Henigson
> I believe you have to have the movie in level 35 check itself and pass
> the information about when it's loaded back to the main timeline. One
> way to do that would be with a 2-frame loop at the start of the level35
> movie:
>
> 1: Set Variable: "_level0:framesloaded35" = GetProperty
> ("/",_framesloaded)
> 2: goto and play(1)
>
> This will set variable framesloaded35 on the main timeline to the number
> of frames that have been loaded in level35. So on the main timeline,
> you'd load the movie into level35, then loop (2 frames) while
> framesloaded35 is less than the total of the level35 movie, and then
> tell target level35 somewhere after the initial loop.
>
> And now my disclaimer: I haven't actually tried this. It's based on
> reading other people's posts, but the theory seems correct. (I'm not
> sure about the "/" in the GetProperty statement -- it came from someone
> else's example). The key thing is that timelines are independent and
> can't check each other for framesloaded -- they can only check
> themselves and pass on the information to other timelines.
>
> Regards,
> Helen
> - ----------------------------------------
> helen triolo � http://i-technica.com
> designeri-technica [dot] com � 301-424-6037
> - ----------------------------------------
>
> Mats Persson wrote:
> >
> > London, 26 June 2000, at 6.15 pm
> >
> > Is it possible to check if a movie is loaded into a _level or not ????
> >
> > My idea and script :
> >
> > If (_framesloaded=_level35:Hold) //Frame 1 in Movie35 = "Hold"
> > Begin Tell Target ("_level35")
> > Go to and Play ("Load_Status")
> > End Tell Target
> > Else
> > Load Movie (movie35.swf, 35)
> > End If
> >
> > I can't seem to get this to work. Any ideas anyone ???????
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]