Stuff you need:
Flash(I'm using CS3, but you can use MX-CS4, any version that supports AS2)
Computer
It'll help if you've seen my [http://other http://www.instructables.com/id/How_to_Make_a_Preloader_in_Flash/?ALLSTEPS] flash tutorial.
This is really simple.
Remove these ads by
Signing UpStep 1Doing it.
Next, press F9 and TYPE this code in the movie clip'sActions box(DON'T copy and paste, you bum. how are you gonna learn the code that way? You'll wish you typed it when i get to complicated stuff):
on(press){
this.startDrag(true);
}
on(release){
this.stopDrag(true);
}
Explanation:
on(press){
When this object is clicked...
this.startDrag(true);
Start to drag it...
}
Closes on handler function.
on(release){
When this object is released...
this.stopDrag(true);
Stop dragging it.
}
Closes on handler function.
You're done, just repeat this several times. Each object you make gets this code.
| « Previous Step | Download PDFView All Steps | Next Step » |
8
comments
|
Add Comment
|

![]() |
Add Comment
|












































