actionscript: global variables
actionscript: global variables
Out of context: Reply #1
- Started
- Last post
- 6 Responses
- tomkat0
try 2 things:
- put the sendAndLoad command AFTER the definition of the function, now you load before the function is declared
- check the var type, now you have string assigned (by using file="") better use:
var myVar:String;
or if you are unsure
var myVar:Object;
hope it helps