Basic Button question
Filed under: mercebank.com
  • OK this is incredibly annoying. I just got back into flash (I used to use MX) and I cant even get the damn button to go to a frame on the timeline. I've tried gotoandplay and this -

    stop();
    bio_btn.onRelease = function(){
    gotoAndStop(100);
    }

    which I found in a tutorial and neither work.

    I tried both 100 and "biography" which is the name of the frame. NEITHER work.

    bio_btn is what I called the button instance

    Please help. This is ridiculous.

    thanks


  • upload your FLA .... and I'll have a look at it


  • it's just in the main timeline, not inside a MC or anything. basically I'm at frame 80 and want to go to frame 100. lol

    I'll try what you posted. thanks :)


  • no that doesnt work. :(


  • where is the MC that you want play and the button at ?

    try this options ...

    stop();
    bio_btn.onRelease = function(){
    this.gotoAndStop(100);
    }

    stop();
    bio_btn.onRelease = function(){
    _parent.gotoAndStop(100);
    }

    stop();
    bio_btn.onRelease = function(){
    _root.gotoAndStop(100);
    }







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Basic Button question , Please add it free.
    mike @ March 21, 2010 edit