A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: making button move to top level on mouseover

  1. #1
    Senior Member
    Join Date
    Mar 2001
    Location
    atlanta
    Posts
    123
    ???

    my guess was:
    //-------------------------------
    on (rollOver) {
    root.swapDepths(0);
    root.swapDepths(root);
    }
    //-------------------------------


    or


    //-------------------------------
    on (rollOver) {
    _level0.stop();
    }
    //-------------------------------

  2. #2
    ActionScript.org
    Join Date
    Aug 2000
    Posts
    1,030

  3. #3
    Senior Member
    Join Date
    Mar 2001
    Location
    atlanta
    Posts
    123
    Thanks Jls2K! You da man.

  4. #4
    Senior Member
    Join Date
    Mar 2001
    Location
    atlanta
    Posts
    123
    Actually, that is very usefull but all the swapdebth stuff is for movie clips and I need it for BUTTONS.... I'm not sure how to apply your tutorial because you can't name button instances.

    Thanks though....

  5. #5
    ActionScript.org
    Join Date
    Aug 2000
    Posts
    1,030
    you can't swap depths anything other than a movieclip or level. but as you will see in my tutorial the movieclips are infact BUTTONS within movieclips. problem solved.

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