(beginner here with no luck finding help by searching forum/google)
I have a variable that is now a global variable set in my movie but will eventually be a variable passed via PHP to the flash movie (one step at a time...)
I have 2 movie clips and I want only one visible depending on the variable passed in.
global:
roomnumber=100;
(i have no idea if it's set right - it's under "actions for frame 1)
this is the actions i have on each movieclip:
setProperty("movieclipname", _visible, "0"
;
if (roomnumber="117"
{
setProberty("movieclipname", _visible, "1"
;
}
setProperty("movieclipname", _visible, "0"
;
if (roomnumber="100"
{
setProberty("movieclipname", _visible, "1"
;
}
->both show up as visible. even if i take the conditional out and just do set _visible =0 it still shows up.
I have a variable that is now a global variable set in my movie but will eventually be a variable passed via PHP to the flash movie (one step at a time...)
I have 2 movie clips and I want only one visible depending on the variable passed in.
global:
roomnumber=100;
(i have no idea if it's set right - it's under "actions for frame 1)
this is the actions i have on each movieclip:
setProperty("movieclipname", _visible, "0"

if (roomnumber="117"

setProberty("movieclipname", _visible, "1"

}
setProperty("movieclipname", _visible, "0"

if (roomnumber="100"

setProberty("movieclipname", _visible, "1"

}
->both show up as visible. even if i take the conditional out and just do set _visible =0 it still shows up.