Flasher Archive

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


Subject: Re: FLASH: F5 - LoadVariables from TEXT file!!!!!????????????????????????????????????
From: Sergio Santos
Date: Sun, 10 Sep 2000 17:12:11 +0100

Ok, i'm not sure if this will work in Mac, but this is the most efficient
way i can figure out.
- Create a movieclip with a dynamic text field, set the variable name like
txt.
- Put it on the scene and give an instance name, say display .
- Create the text file(say test.txt) with the first line being txt="etc etc
etcetcetc"
- On the first frame in main timeline of the movie use loadvariables into
target, specify display has the target and test.txt has the file. (Beware of
the paths, i'd advise to put everything in same dir for testing).
The format of the text file should be urlencoded.

This is just a way to do it, you can then use onclipevents to trigger other
things, etc. One of the problems i've been having is that when I load
varibles and then need them on next frame, i have to create a "wait"
function to get sure the variables are loaded.

This happens because the movie may be advancing while it's loading
variables, so a frame that needs those variables could already been reached.
onclipevents work fine to solve this, if you load the variables into a
movieclip...

Sergio

----- Original Message -----
From: "Mats Persson" <matsatimediatec [dot] co [dot] uk>
To: <flasheratchinwag [dot] com>
Sent: Saturday, September 09, 2000 3:15 PM
Subject: FLASH: F5 - LoadVariables from TEXT
file!!!!!????????????????????????????????????


>
>
> Having tried every possible version WITHOUT getting it to work I'm fuming
> and about to spread some abusive words around.
>
> HOW DO YOU LOAD A TEXT FILE AND DISPLAY IT IN Flash 5 and see it on a Mac
> with IE 5.0 and NN 4.5 both with F5 (r 2) plug-in ????????????????????
>
> Someone, PLEASE, before I loose my tempers completely !
>
> or is this another case of "feature" addition on the Mac side !!??
>
> Mats
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> NudeGuru.com is proud to sponsor the Flasher list
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> IT'S THE ART OF MONEY, HONEY!
> Tips and Advice from some of the most popular Flash
> artists + industry power-brokers on how to hold onto
> your rights, negotiate contracts and get full value
> for your work.http://www.nudeguru.com from Franke James
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: F5 - LoadVariables from TEXT file, Mats Persson

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