This content has been marked as final. Show 7 replies
as2 or as3? are you loading an xml file or a text file that contains the file names of your images?
what i'm needing it the actionscript to get the actual name of the image that's selected so the script can find the corresponding file to dive into for the correct images.
post a sample format of the text or xml file.
the button image will have a name like RRT3500KMM_G1.jpg
when it's clicked in the html, i want it to rip everything away and store the var "RRT3500KMM" which can then be passed to the player
the path I will be directing the player to will be something like http://www.mainsite.com/folder1/folder2/images/RRT3500KMM_Large.jpg
that's why i need to be able to store the variable and pass it to the player when a certain image is selected...
is that clear at all?
no, that's not clear at all.
what do you mean by "..when it's clicked in the html". is something outside of flash being clicked?
yes, an image on the html side is launching the flash player, and the name of that image is what i need to pass into the player
append a variable name (that will be used in your swf) and value to your swf reference: