A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Completely disable movie clip button in AS3?

  1. #1
    Senior Member
    Join Date
    Apr 2001
    Location
    Philadelphia, PA, USA, Earth, Sol System, Spiral Arm of Milky Way, Local Group, Virgo Supercluster, Known Universe
    Posts
    470

    Completely disable movie clip button in AS3?

    I have an swf with several movie clips set up to work as navigation buttons (using _up, _over and _down frame labels). The same navigation swf is used by several different HTML pages and navigates between them.

    I want to pass the swf a variable with FlashVars in the object/embed script that will disable the movie clip button for the page the user is currently on.

    In AS3 myClip.enabled = false; only removes the rollover behavior of the clip, but does not prevent the clip from receiving mouse events.

    How can I disable the clip completely so that it does not respond to events?
    Argon Zark!, The original interactive webcomic (since 1995)

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    mc.mouseEnabled = false;
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Senior Member
    Join Date
    Apr 2001
    Location
    Philadelphia, PA, USA, Earth, Sol System, Spiral Arm of Milky Way, Local Group, Virgo Supercluster, Known Universe
    Posts
    470
    Wonderful! (For some reason, I was expecting it to be more complicated.) Thanks!
    Argon Zark!, The original interactive webcomic (since 1995)

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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center