[F8] Distinguish which picture is in the picloader
by Gregory Richards
on
Dec 25, 2007 at 8:27:46 pm
Hi there could someone please help me with this code.
This button has been loaded by a compent loader with the wrong code :-)
on (release) {
if (picLoader.contentPath = "images/me.swf"){
getURL("http://imagical.kol.co.nz/pages/Me_B.html","_blank");
}
if (picLoader.contentPath = "images/girls.swf"){
getURL("http://imagical.kol.co.nz/pages/girls_B.html","_blank");
}
if (picLoader.contentPath = "images/boys.swf"){
getURL("http://imagical.kol.co.nz/pages/boys_B.html","_blank");
}
}
This button is trying to find out what picture is in the other component loader (picloader) and then to go to a url to open the full picture on a web page.
At the moment the compiler just goes down the list to the bottom of the page and loads the url boys.
How do I get it to distinguish which picture is in the picloader and then active the corresponing geturl command.
Do have to use a listner command or something, I have no idea really.
Any ideas would be appreciated