A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Easy Window Fix ?

  1. #1
    Senior Member
    Join Date
    Jan 2003
    Location
    US
    Posts
    207

    Easy Window Fix ?

    I placed the Component "Window" on stage. I played the movie and found that the window is draggable. I do not want this. What action do I need to make this window non-dragable, I guess you might say?


  2. #2
    Senior Member
    Join Date
    Jan 2003
    Location
    US
    Posts
    207

    Somewhat Fixed

    Here is what put.

    on(press){
    stopDrag();
    }


    Unfortunately I dislike that it shows as a button when you rollover it (goes from hand to a point finger)! Any ideas for something better?

  3. #3
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    In the component inspector > Parameters Tab > Enabled > Change to false


    Or

    myWindow.enabled = false; ( name the window instance, myWindow )

  4. #4
    Senior Member
    Join Date
    Jan 2003
    Location
    US
    Posts
    207
    Works like a charm! i didn't even know that was there! LOL Thank You!

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