Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dragable flash movie

Status
Not open for further replies.

Fion

Vendor
Sep 25, 2003
50
0
0
US
Hi again, just a quick question...
I have a page with a flash toolbar at the top and the reest is html. Now I have a flash language translator that I would like to be able to load, and be able to drag the movie around on top of the page (not affecting the html or anything, just be able to move it around, out of the way) Is this possible?
Basically I want it to act like a new window, but only on that page, not showing up in the taskbar or anything.
 
Place a "drag" button inside the timeline of the "window" MC. On the button add the following:

Code:
on(press){
   this.startDrag();
}
on(release){
   this.stopDrag();
}

Hope it helps.

Wow JT that almost looked like you knew what you were doing!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top