Lions Mountain!
Hello Welcome To The Official Lionsmountain Forum!
Please Log In Or Register!
Have Fun Around The Forums!
~Lion And Wwetk

Join the forum, it's quick and easy

Lions Mountain!
Hello Welcome To The Official Lionsmountain Forum!
Please Log In Or Register!
Have Fun Around The Forums!
~Lion And Wwetk
Lions Mountain!
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Dragging Code

2 posters

Go down

Dragging Code Empty Dragging Code

Post by Christian Wed Feb 24, 2010 8:52 am

Hey guys,Flash here to show you a code to drag objects.

Step 1. Open your animating program.
Step 2. Draw the object that can later on be dragged.
Step 3. Convert the object into a movie clip,if you dont have a feature like this,skip on to step 5.
Step 4. Open ActionScript in your animating program.
Step 5. Apply this code to your object :
on(press){
startdrag("");
}
on(release){
stopDrag();
}
Step 6. Save your file.
Step 7. Test it.
FINAL STEP. Upload your work on some website,like www.spamtheweb.com. I would love to see everyones work.

- Flash ^^
Christian
Christian
Cub

Posts : 14
Liobucks : 5214
Reputation : 0
Join date : 2010-02-24

Back to top Go down

Dragging Code Empty Re: Dragging Code

Post by Lion Wed Feb 24, 2010 8:09 pm

Nice!
Thnx For The Help!
Lion
Lion
Lions Mountain Administrator

Posts : 228
Liobucks : 5464
Reputation : -4
Join date : 2010-02-02
Age : 24
Location : USA

Character sheet
Lion:

https://lionsmountain.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum