Hi all!

This may sound like a newbie problem, but i'm an experienced actionscript programmer! As you know, every once in a while, you get bit by the little things.

i've built an app, and the buttons act strangely. When i click them, they don't respond reliably.

When i roll over them, i see the finger icon.

When i click them, *randomly* the button will either act properly OR my cursor on press will appear as the regular arrow and the button will not work. The button looks like the finger again when i release. It's very twitchy. Most of the buttons in question are back/next arrows made to cycle through multiple pages of content, so they need to stand up to many many clicks.


Here's how i make them do what they do:

1. function on frame 1 called funcSetupBtns()
2. on frame 5, a few levels deep, a movie clip goes to a certain frame where the buttons appear, and funcSetupBtns is called 3. funcSetupBtns "throws" button actions to some the button clips from the main timeline

i.e. clip1.clip2.clip3.thBtn.onRollOver = function():Void { trace("click"); };


Here's what i've tried:

1. There was a theory that the buttons were too deeply nested to behave properly, but moving them up to the main timeline did not solve the problem

2. The buttons don't exist on the frame that declares (not "calls" - "DECLARES") the function - it was suggested that i put the buttons on frame 1. But this did not solve the problem.

3. i have tried using standard movie clips as my buttons, and using transparent button clips (y'know - the blue things that have only hit states and nothing else) over top of my visible button clips. Movieclips/buttons - doesn't matter. The problem persists.

Here's a bit of evidence:

The buttons only REALLY start acting up when i introduce to the stage a puppet character. It's a clip with two nested clips for a profile and front view of the character. Each of these nests all of the character parts - arms, legs, etc. Each body piece houses x different costumed pieces. It seems to really slow down the fla ... could it be that just having one of these guys on the stage is tiring my flash file and the buttons are starting to give out?

If that's the case, does anyone have any solutions to rebuilding this puppet character? The idea is that the user can mix n' match costume pieces. i have timeline animation where i animate the character, and i just tell the arms and legs etc to go to the frame the user chose.

Is there a much better way to do this kind of thing?

THANKS EVERYONE!  Sorry for the long email.

_________________________________________________________________
Take advantage of powerful junk e-mail filters built on patented Microsoft® SmartScreen Technology. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*.

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to