[thelist] Flash: Quick Question- loadVariables

Christopher Joseph christopher at ideadesigners.com
Fri Feb 20 07:30:55 CST 2004


You should be able to access it via the name of the variable in the 
query string i.e.

_root.chart

If you are targeting Flash 6 or above you could use the alternative 
FlashVars.

see:

http://www.macromedia.com/support/flash/ts/documents/flashvars.htm

and

http://www.macromedia.com/support/flash/ts/documents/set_variables.htm#textfield

HTH

Frank wrote:

> 
> I've got a flash movie that creates charts, and takes it's input from a 
> text file. I would like to access the data via the tag itself, instead 
> of dealing with the overhead handling the text file.
> 
> 
> The part the reads the file looks like this
> 
>         loadVariables ("chart_data.txt", "_root.dummy");
> 
> 
> I know I can pass my values as such
> 
>         bar_chart.swf?chart=#request.sum_list#
> 
> 
> How would I edit the corresponding code to deal with it?
> 
> Thanks.
> 
> 
> -- 
> Frank Marion     lists at frankmarion.com      Keep the signal high. 

-- 
Christopher Joseph

-------------------
[Internet]
http://www.ideadesigners.com  [iseries & web technologies]
mailto: christopher at ideadesigners.com

[Telephone]
mobile:   +44 7966 003860
Office:   +44 1494 731814 ext. 832
Direct:	  +44 1494 731832

[Instant Message]
ICQ: 78019724
YIM = Josephc_98
MSN = christopher at ideadesigners.com


More information about the thelist mailing list