bistromath
01-19-2009, 10:22 PM
Hey all,
I've got a flash animation that I'm working on, which uses simple actionscript to make elements on a map grow and reveal more information. The actionscript looks like this:
stop();
this.onEnterFrame = function(){
if(zoom == true){
prevFrame();
}
}
this.onRollOver = function(){
zoom = false;
play();
}
this.onRollOut = function(){
zoom = true;
}
See SWF here: http://www.paconserve.org/ppl_map.html
I want the region of the map that grows to appear in the foreground, but as it is, I'm having trouble getting them to appear in front of the 'rollover' elements. Is there a piece of actionscript that can make the 'growing' area appear in the front every time?
Thanks in advance, this forum is always such a huge help...
I've got a flash animation that I'm working on, which uses simple actionscript to make elements on a map grow and reveal more information. The actionscript looks like this:
stop();
this.onEnterFrame = function(){
if(zoom == true){
prevFrame();
}
}
this.onRollOver = function(){
zoom = false;
play();
}
this.onRollOut = function(){
zoom = true;
}
See SWF here: http://www.paconserve.org/ppl_map.html
I want the region of the map that grows to appear in the foreground, but as it is, I'm having trouble getting them to appear in front of the 'rollover' elements. Is there a piece of actionscript that can make the 'growing' area appear in the front every time?
Thanks in advance, this forum is always such a huge help...