Do something like this: Assign your code as an action of the movie clip (right-click on the movie clip and select "actions"). Try out the "this" method as well.
For example:
//load the variables in the Clip Movie onClipEvent (load) { loadvariables ("ind.txt", ""); }
// as soon as variables are loaded create strings onClipEvent (data) { this[CH0] = this[CHH] }
Jason Merrill Multimedia/Courseware Developer @ ELF, Issaquah, WA 425.369.5214 SerengetiUS.com - "Where Law Does Business"
Seattle Macromedia Authorware User's Group
"Laurent CUCHET" <laurent.cuchet@w To: <flasher@chinwag.com> anadoo.fr> cc: Sent by: Subject: FLASH: >>> NEED YOUR HELP - LOADED TEXT <<<< owner@chinwag.com 01/03/01 02:54 PM Please respond to flasher
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 help@chinwag.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 help@chinwag.com