Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: [flasher] looping external text file
From: Gregg Caines
Date: Wed, 24 Jan 2001 03:45:13 -0000

The text file needs to be a URL-encoded string like:

var1=1&text=This%20is%20URL%20encoded%20text&textloaded=OK

You can probably get away with real spaces instead of %20's, but you get
the idea.

If it still doesn't work with a text file like this, then use Trace in your
actionscript to see what /:textloaded really is. Also use CTRL-ALT-V
to check what your variables are, while you test it in Flash. Those two
tools are invaluable when actionscripting in either version, and no master
actionscripter can get by without them...

Off the top of my head though, you should test textloaded like this:
Flash 4 version ----- if (/:textloaded eq "OK")
Flash 5 version ----- if (_root.textloaded == "OK")

I hope that helps....

---------------------------------------------------
Gregg Caines
n e o m e t r i x systems inc.
http://www.neometrixsystems.com
gcainesatneometrixsystems [dot] com


> if (/:textloaded="OK") {
> gotoAndPlay (4);
> }
> actions for frame 3
> gotoAndPlay (2);
>
> ******
> my text file:
>
> &textloaded=OK
> Lorem ipsum dolor sit amet.......[more text]
>
> *****





[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]