Hi,
I'm going nuts with an if condition at the moment.
Whatever I do, only the first part of the if condition is accepted and changing the hotspot(flipspot01).url to different values. The else part is leaving the hotspot[flip01].url unchanged to its original value. Why is this?
Code
if(device.mobile,
trace(is mobile);
switch(hotspot[flip01].url,stills/flip-big_01.jpg,stills/flip-big_02.jpg,stills/flip-big_03.jpg);
,
trace(is other);
switch(hotspot[flip01].url,stills/flip-small_01.jpg,stills/flip-small_02.jpg,stills/flip-small_03.jpg);
);
trace(hotspot[flip01].url);
All help greatly appreciated, as always...
Michael