Can someone please tell me if what I am trying to do is out of my league. I am so frustrated.
I know almost nothing about actionscript
.I have the following swf: [COLOR=#810081]http://www.temperatetropicals.com/content/us_map.swf[/COLOR]
And here is the actionscript for it.
zone11_mc.onRollOver = function ()
{
zone11_exp_mc.gotoAndPlay(2);
};
zone11_mc.onRollOut = function ()
{
zone11_exp_mc.gotoAndPlay(5);
};
zone9_mc.onRollOver = function ()
{
zone9_exp_mc.gotoAndPlay(2);
};
zone9_mc.onRollOut = function ()
{
zone9_exp_mc.gotoAndPlay(5);
};
zone8_mc.onRollOver = function ()
{
zone8_exp_mc.gotoAndPlay(2);
};
zone8_mc.onRollOut = function ()
{
zone8_exp_mc.gotoAndPlay(5);
};
zone7_mc.onRollOver = function ()
{
zone7_exp_mc.gotoAndPlay(2);
};
zone7_mc.onRollOut = function ()
{
zone7_exp_mc.gotoAndPlay(5);
};
zone6_mc.onRollOver = function ()
{
zone6_exp_mc.gotoAndPlay(2);
};
zone6_mc.onRollOut = function ()
{
zone6_exp_mc.gotoAndPlay(5);
};
zone5_mc.onRollOver = function ()
{
zone5_exp_mc.gotoAndPlay(2);
};
zone5_mc.onRollOut = function ()
{
zone5_exp_mc.gotoAndPlay(5);
};
zone4_mc.onRollOver = function ()
{
zone4_exp_mc.gotoAndPlay(2);
};
zone4_mc.onRollOut = function ()
{
zone4_exp_mc.gotoAndPlay(5);
};
zone3_mc.onRollOver = function ()
{
zone3_exp_mc.gotoAndPlay(2);
};
zone3_mc.onRollOut = function ()
{
zone3_exp_mc.gotoAndPlay(5);
};
zone2_mc.onRollOver = function ()
{
zone2_exp_mc.gotoAndPlay(2);
};
zone2_mc.onRollOut = function ()
{
zone2_exp_mc.gotoAndPlay(5);
};
I want to make it so that instead of rollover and rollout. That it would respond to onPress. Which I can do by replacing the onRollover with onPress. However, i want it so that if another zone is selected that the previous zone information box stops displaying and the one selected is displayed (so everything runs concurrent). Eventually I will be adding links in the information boxes. Thanks.