I am new to flash parameters but from the research I could find so far it seems that this should be fairly simple. I can’t seem to get my head around it.
I have a flash file that has a movie clip in it. In this movie clip there are two movie clips. What I need to do is show a one movie clip and hide another. I basically only need help with setting up the reading of the flash parameter code in flash…
[COLOR=#000000][FONT=courier new]**var** [/FONT][/COLOR][COLOR=#000000][FONT=courier new]imageToShow[/FONT][/COLOR][COLOR=#000000][FONT=courier new]:String;**
var** paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;[/FONT][/COLOR]
This is basically what I have… I’m not sure what to go on to next or if this is even correct. I basically need to get to the point where I can say…
if (parameter == "image1") {
image.image1.alpha = 1;
image.image2.alpha = 0;
}
Or something to that effect. Sorry I’m a bit new to this and none of the tutorials I have seen explain this well enough for me to understand.
Thanks!