Multi Level Dropdowns in NewForm
Step 1: Create one MovieClip
Step 2: Paste some random image in to the movieclip
Step 3: Go back to scene1 and drag Hand Movie from library and give instance
name to this movie clip (Best practice, in AS3 instance name should be different
from movieclip name)
–
Step4: Actionscript code (When user mouse downs on the movieclip , startDrag
function needs to be initiated. Once mouse up, stop drag function needs to be
called)
AS3 HandIns.addEventListener(MouseEvent.MOUSE_DOWN,startDragFunction) HandIns.addEventListener(MouseEvent.MOUSE_UP,stopDragFunction) function startDragFunction(e:Event):void AS2 |