A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Button loop breaks rollover

  1. #1
    anyone else hear that? flashpipe1's Avatar
    Join Date
    Jan 2003
    Location
    Upstate NY
    Posts
    1,929

    Button loop breaks rollover

    I've got a Next button with a rollover that works fine. However, when the user reaches the end of the page, the button needs to flash to let the user know they need to click it.

    I set this up the way I would have in AS2, with an up state in frame 1, rollover state in frame 2 and frame 3-10 has the animation for the flashing state. In AS3, as soon as I put the animation in, the rollover no longer works and I think it's tied to my animation layer since it works if I remove that layer. I tried putting the layer under my normal button layer, thinking it's not recognizing the animation as part of the button. I tried using classic tweens and the new tweens and nothing seems to work...

    Any ideas?? I attached the file. You can see that the rollovers work, if you click the pause button, it triggers the flashing animation and then, I get the following error if I try rolling over:

    TypeError: Error #1010: A term is undefined and has no properties.
    at buttonRO_fla::MainTimeline/BtnIn()

    and tracing the target name no longer shows the button name (as it does before you do the flash)...

    Ideas??

    TIA!
    Last edited by flashpipe1; 09-29-2011 at 03:53 PM.
    Love like you've never been hurt, live like there's no tomorrow and dance like nobody's watching.

  2. #2
    anyone else hear that? flashpipe1's Avatar
    Join Date
    Jan 2003
    Location
    Upstate NY
    Posts
    1,929
    Nevermind...I got it...just had to add:

    btnNext_mc.mouseChildren = false;

    Thanks!!

    Love like you've never been hurt, live like there's no tomorrow and dance like nobody's watching.

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