Jump to content

Making a Menu Draggable


Kasdraven

Recommended Posts

Here is the deal. I need to be able to do two things. A. Make a Movie Clip draggable when clicked on and held, and B. Make it draggable over the whole web page it's on. Any idea how?

Is the site and html site or a flash site?
Link to comment
Share on other sites

i only think you can make a mc draggable only as long as it's in the flash file, if lets say you wanted to drag it out of boundries, i dont think thats possible.edit: now that i think about it, its got to be possible because you see ads that move over the whole page every now and then.

Edited by calvin182
Link to comment
Share on other sites

Ok you want to drag a MC by the mouse when on the on(press) func??If so heres the code to put on the MC

on(press) {  startDrag("my_mc");}on(release) {  stopdrag();}

I think thats the code...if its not...in flash press F1 and search for 'drag' and you should find some things under the 'Actionscript' section. Just a note to all Flash users...DONT BE AFRAID TO USE THE HELP...Flash have excellent flash help files along with documentation on about 90% of their coding. To access help in Flash press F1

Edited by Xenon Design
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...