A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: My buttons are loose the will to live, Please save them

  1. #1
    Member
    Join Date
    Aug 2006
    Posts
    63

    Exclamation My buttons are loose the will to live, Please save them

    hi all,

    I have some buttons moving in from the side of the page and stop.

    These buttons have the function to play specific labels inside a movieclip, in the movie clip there are 4 pages with content and labeled up.

    Now as these buttons are moving accross the page u can click them and it does exactly what it's supposed to do by playing the movie click from the right label.

    Now once the tween has finished and the buttons are in their final position they loose the will to live and stop working.

    Any suggestions as it's winding me up a trick or treat.

  2. #2
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    are the button being motion tweened into their end position? if so, make sure the buttons still have their code when they reach the end of their tween
    Evolve Designs Interactive Media
    the natural selection

  3. #3
    Member
    Join Date
    Aug 2006
    Posts
    63
    Yeh, i've action scripted the buttons on the first frame.

    Here's the code:

    btn1.onRelease = function() {
    whoarewecontent.gotoAndPlay ("whatwedo");
    }

    btn2.onRelease = function() {
    whoarewecontent.gotoAndPlay ("whatwewant");
    }
    Last edited by stuart1882; 10-29-2007 at 05:54 PM.

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