A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [RESOLVED] PopUp Window Question

Threaded View

  1. #2
    Senior Member calmchess's Avatar
    Join Date
    Sep 2006
    Location
    Earth
    Posts
    2,588
    use hittest....I don't have the exact code that you need to tell the hittest to open the popup window on movie clip but the following code will make it so that if statement executes when I hover over the movie clip and click the mouse.


    Code:
    onMouseDown = function() { 
    if(this.hitTest(_root._xmouse,_root._ymouse,0)){
    startDrag (this, true);
    }
    };
    Last edited by calmchess; 12-10-2006 at 06:06 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center