Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: Fricken variables and visibility |
From: | Branden Hall |
Date: | Fri, 15 Dec 2000 22:09:04 GMT |
load variables requires time to load the variables, thats why its not
working.
Here's some F5 centric code that does exactly what you need... attach it to
the movie clip its self...
//This loads the variables into this MC when the MC is first loaded
onClipEvent(load){
this.loadVariabes("var.txt");
}
//This gets run whenever new data is loaded into the MC
onClipEvent(data){
if (movie2 == 2){
this._visible = false;
}
}
-= Branden J. Hall
-= Senior Interactive Developer/Instructor
-= Fig Leaf Software - "We've got you covered!"
> -----Original Message-----
> From: Jamin Shoulet [JaminSpts1 [dot] com (mailto:JaminSpts1 [dot] com)]
> Sent: Friday, December 15, 2000 4:39 PM
> To: flasherchinwag [dot] com
> Subject: FLASH: Fricken variables and visibility
>
>
> Hello once again..the lost new yorker has risen from his
> little hole in the
> frustration of not being able to figure stuff out.
>
> I know I'm close...its always somehting small and silly that
> gets you down.
> I'm loading a set of variable from a seperate txt file and I have a
> loadvariable function on a keyframe as follows:
>
> loadVariablesNum ("var.txt", 0);
> if (movie1==2) {
> setProperty ("movie1", _visible, "False");
> }
>
> Movie is the variable and the name of the movie clip
> target....guess what?
> movie1 aint disapearing from the screen....hows my syntax?
> am I missing
> something? By the way...the set property function are not currently
> expressions...
>
> any help would be great
>
> Jamin
> http://www.lostnewyorker.com
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 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 helpchinwag [dot] com
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]