FORUMS: list search recent posts

action script

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
action script
on Mar 6, 2006 at 8:45:00 pm

Hi there.

I have just built my site, and was wondering how to apply an action to a movie symbol, which will mean the user can click and drag the item around with a lazy lag to the response (like item is on a string).

I have minimal action script, but thought that might be kinda cool. It is a bird hovering in mid air flapping its wings (looped). Be cool if user can place bird anywhere, and have it stay there once placed



Return to posts index

Luke Ike
Re: action script
on Mar 14, 2006 at 3:37:34 pm

Hi justin,
Not sure what version you are using, but I know this will work in mx pro. Click on the item you want to be able to drag and in the Actions window paste the following code.

on (release)
//Stop Dragging Movieclip Behavior
on (press)
//Start Dragging Movieclip Behavior

I'm not so sure about a lag, but hopefully this helps, or at least points you in the right direction

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved