A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [CS3] Play frame in Movie Clip/Boutton

  1. #1
    Member
    Join Date
    Jul 2005
    Posts
    31

    [CS3] Play frame in Movie Clip/Boutton

    Hello all.
    I'm creating a simple flash file and I'm having a little issue.
    I need to, at a certain time, play the hover state of a button. How can I do that?
    I can't do a gotoAndPlay() since it doesn't continue playing and I can't select a frame in a movieclip or a button!

    Please help,
    rodney

  2. #2
    Senior Member calmchess's Avatar
    Join Date
    Sep 2006
    Location
    Earth
    Posts
    2,588
    PHP Code:
    //timer code 
    if (timeVar == someTime){
    gotoAndStop(frame num or name);
    }; 
    I assume you already have a way to determine the time you want to play the hover state of the button.
    ~calmchess~

  3. #3
    Member
    Join Date
    Jul 2005
    Posts
    31
    uh, thanks, but actually thats not really what I was thinkin of...

    Let me explain a bit better... i have:

    An animation (text) with about 20 frames...
    underneath I have 4 buttons.

    Now at the 5th frame, the first button plays its down state as if I hoved my cursor on it, then at the 13th frame the 2nd button's down state is played too... all that without stoppin the whole timeline.
    Last edited by rodneybf; 02-05-2008 at 02:38 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