Garethp Posted November 1, 2009 Share Posted November 1, 2009 Ok, so I've looked at many tutorials, but none of them work for some reason. They all say to just append ?varname=varvalue to the end of the .swf, and it would work, but it does not. I've attached the .fla when I go to my browser and type Text.swf?movie=Test it doesn't work properly. If you could please help, that would be awesome. My actionscript is as follows var movie; //movie = "Hey"; InputThing.text = movie; I put the //movie = "Hey"; in to make sure taht InputThing.text = movie was working, and when I uncommented the code, it did work. Help is majorly appreciated - Gareth [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/179800-passing-variables-to-flash-cs4/ Share on other sites More sharing options...
matthewjumpsoffbuildings Posted November 1, 2009 Share Posted November 1, 2009 you need to use flashvars to pass the movie variables... http://kb2.adobe.com/cps/164/tn_16417.html in AS2 the variables are accessible in the root scope. in AS3 you need to use the "root.loaderInfo.parameters.myVariableName" Quote Link to comment https://forums.phpfreaks.com/topic/179800-passing-variables-to-flash-cs4/#findComment-948681 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.