dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: buttons in movie clip?!

  1. #1

    buttons in movie clip?!

    i have been using this (previous post - infinite menu)

    http://www.kirupa.com/developer/mx/infinite.asp

    and have finally got the movie clip working, but i have just tried to apply actions to my buttons that make up my movie clip and the links dont work?!

    i am using:

    on release
    gotoandstop ("??????", 1)


    the different stages of the buttons show (up, over, down, hit) but when i click on the button it wont go to the next page? i'm not sure why?

    i can apply actions to the button when it is selected (as an item not button) but when i go into the button section it says i cant apply actions. so i applied the actions as i would to a normal button, just selecting it, but it doesn't transfer me to the next page when i test the movie and click on the buttons?

    i cant post the fla, it is too big as it is and i dont have anything to condense it.

    any ideas? help

    sadie

    Last edited by sadie.king; 01-26-2003 at 11:08 AM.
    out of practice!

  2. #2
    Junior Member
    Join Date
    Aug 2001
    Posts
    11
    sadie.king,

    It sounds like the problem is occurring, because the button is embedded in the movie clip.

    Try placing this script on the root of the movie, replacing "movieClip_mc" and "button_btn" with the actual names of those elements:

    movieClip_mc.button_btn.onRelease = function() {
    movieClip.gotoAndPlay(1);
    }

    This way, the cursor goes "through" the movie clip and reaches the button.

    Pat

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