actionscript 3 - Flash: making an interactable image -


im trying figure out how take image , make interactable in different parts. image bunch of arrows make circle, and, want happen when particular arrow hovered on enlarges arrows , hovers on 2 adjacent arrows.

i imported image illustrator flash onto single frame , made each arrow button, down image enlarged version, appears images on separate layers somehow? when go hover on 1 of arrows, under 1 arrow on another.

how hovered on arrow on top of of other images in movie?

maybe code that, onhover brought symbol front of stage?

i'm not 100% sure structure of flash app/movie think along line of following:

import flash.display.sprite; import flash.events.mouseevent;  arrow.addeventlistener(mouseevent.mouse_over, onarrowmouseover); arrow.addeventlistener(mouseevent.mouse_out, onarrowmouseout);  function onarrowmouseover(e:mouseevent):void {     var arrow:sprite = sprite(e.target);     setchildindex(arrow, this.numchildren-1);     arrow.scalex = arrow.scaley = 2; }  function onarrowmouseout(e:mouseevent):void {     var arrow:sprite = sprite(e.target);     arrow.scalex = arrow.scaley = 1; } 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -