Have you tried using the action
in the actions panel of each state in your button.
Thanks for your reply!
Yes, I tried adding an actions layer to the button in editing mode (where up, down, over states are visible) but Flash won't allow me to input code there. Its totally greyed out, including <> fly out menu on the upper right. This is regardless of if I have a frame selected in button editing mode.
I tried giving the button on stage an instance name and doing a stop(); command on the actions layer there. No dice.
I made sure there isn't a button within a button (a big no, no).
I will post if that works. Its the back door way. I will be interested to see what Adobe does with Edge Animate and Flash in the future. Right now it's buggy.
You can program using java script in flash.
use the code
inside the button frame
if not working and all becomes gray as described above then target your button from the main timeline like
But remember to change .someClip & .subClip with their correct names.
Thanks Flashy_1995, gonna try it!
One problem solved last night: hand on hover over appears now!
I had a tween span on stage using a button. For some weird reason, after I tweened the button it turned to a movie clip, not a button. I changed it back to a button on all instances of the object on the timeline & stage. No hover state yet, but at least the hand appears.
Welcome and keep me posted.
the above code should work.
Have you tried it yet
In the end I didn't have to do it. I fixed everything via the timeline. Now everything is working!
html5 canvas doesn't like to tween buttons. It will do it but if the buttons contain animations, things go wonky. Instead I had flash tween the bitmap of the button and once the animation concluded, I changed over the bitmap to the button in the next keyframe so the user could click on it. Its seamless, you can't see a hiccup. Hover-over states worked after that as does the hand.
Hopefully this helps others who have this same problem.