-
dragging multiple movie clips using begindrag senocular class
Hi
I need to have a custom mouse cursor and also have dragable object on my page. im using flash 8.
I came across this site called senocular which had a list of .as files
http://www.senocular.com/flash/actio...p/beginDrag.as
and some simple useage such as:
on(press){
this.beginDrag(true,0,0,300,300); // constrained to 300x300 square
}
on(release, releaseOutside){
this.endDrag();
}
I would love to get this to work, however I dont know how to import this into flash 8. I thought classes only worked for flash 9 and actionscript 2.
Can anyone help me to get this script working using flash 8 actionscript 2.
Any help appreciated
-
Flash/Flex Developer
What you are using is not a true class, but rather a Prototype which is more of a mimic of a class. It can be used in Flash 8. You can either place the prototype of a separate .as file and use the include function to pull it into your current page, or you can copy and paste the content onto your working page, either way will work, but I prefer the include version so I can reuse the prototype elsewhere.
Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|