Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: F5 combining multiple external variables (bug???) |
From: | Muzak |
Date: | Thu, 21 Dec 2000 23:18:18 GMT |
You cannot have any actions in the same keyframe as where you're doing the loading. This will never work. In this case not offline,
but defenatly not online.
You could load the variables into a MC and use the onClipEvent (data) attached to the mMC which won't execute any actions untill all
variables are loaded. Or use a frameloop where you check for some variable in the textfile is loaded before proceeding.
hth,
Muzak
----- Original Message -----
From: <jmerrillelftech [dot] com>
To: <flasherchinwag [dot] com>
Sent: Thursday, December 21, 2000 8:40 PM
Subject: FLASH: F5 combining multiple external variables (bug???)
>
> I posted this yesterday without a response... I posted earlier this morning
> and I never saw it appear.... another post of mine on a different matter
> showed up almost instantaneously... I know I'm being impatient for a reply,
> but this is driving me nuts! Fixing this would make it a very merry
> Christmas. Anyway, I narrowed my problem down further, and need help
> solving it.
>
> FACT 1: In F5, I can load & display an external variable, like so:
> (contents of external file, "text.txt")
>
> text=
> &matter1=Alphacon v. Digital Financial, Inc.
> &matter2=Werner Electric v. Jones
> ...this works great - contents of variables "matter1" and "matter2" load
> and displays fine in a dynamic text field using text = loadVariablesnum
> ("text.txt", 0);
>
> FACT 2: I can also combine & display two variables I create in Flash
> internally, like so:
>
> var1="My name is: ";
> var2="Jason";
> sentence= var1+var2; ...this also works great - contents of variable
> "sentence" displays fine in a dynamic text field.
>
> Now, here's the kicker: I can't seem to combine & display two or more
> externally loaded variables! For example:
>
> (contents of external file, "text.txt")
> text=
> &matter1=Alphacon v. Digital Financial, Inc.
> &matter2=Werner Electric v. Jones
>
> (then the actionscript in F5)
> text = loadVariablesnum ("text.txt", 0);
> matters=matter1+matter2;
>
> (dynamic text field set to "matters" displays nothing, while others set to
> display "matter1" or "matter2" display fine!)
> ???????? Am I missing something very obvious? (very possible!) Thanks in
> advance...
>
> Jason Merrill
> Multimedia/Courseware Developer @ ELF, Issaquah, WA
> 425.369.5214
> SerengetiUS.com - "Where Law Does Business"
>
> Seattle Macromedia Authorware User's Group
>
> Jason Merrill
> Multimedia/Courseware Developer @ ELF, Issaquah, WA
> 425.369.5214
> SerengetiUS.com - "Where Law Does Business"
>
> Seattle Macromedia Authorware User's Group
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 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: F5 combining multiple external va, jmerrill
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]