Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: >>> NEED YOUR HELP - LOADED TEXT <<<< |
From: | neo binedell |
Date: | Thu, 4 Jan 2001 13:20:57 GMT |
hiya, put your loadVariables() in one frame and your assignment in another a
few frames after it.
In between put in code to check if the vars have finished loading.
loadVariablesNum() is asynchronous which means it starts the load process
then returns right
away, not when the vars are loaded. So when you assign CHH to smi.CHO, CHH
has not been loaded
yet. You need to do it after you know the vars have loaded.
You can do this by using a special var in the file (loaded or whatever)
which you set to 0 before and which will get the value 1 when loaded.
Or put that code in a clip and use onClipEvent( data ) to tell you when the
vars are loaded.
layder
neo binedell
-----Original Message-----
From: ownerchinwag [dot] com [ownerchinwag [dot] com]On">mailto:ownerchinwag [dot] com]On Behalf Of Laurent
CUCHET
Sent: January 4, 2001 12:55 AM
To: flasherchinwag [dot] com
Subject: FLASH: >>> NEED YOUR HELP - LOADED TEXT <<<<
Hello,
An easy action ?
I've got in this case
one dynamic textfield name CHH, wich is a variable filled by a loaded text
and another one named CH0 witch is a movie clip instance named SMI witch is
a variable equal at CHH variable.
The action script is :
loadVariablesNum ("ind.txt", 0);
smi.CH0 = CHH;
stop ();
The result for CHH equal the ind.txt value but CH0 isn't equal CHH value
Must I modify the script and how ???
Thank you for your help !!!
Laurent 2001
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
Replies
FLASH: >>> NEED YOUR HELP - LOADED TEXT , Laurent CUCHET
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]