I’m trying to make a button with a smoky animated effect when you mouse over it. I started by copying the default button. From there I made all the modifications to it that I wanted. But as soon as I try adding tweened motion in the timeline, the button starts going crazy. It flickers and resizes rapidly. Any idea how I should go about adding tweened motion to a symbol in the button’s timeline?
Actually, it looks like this flickering/resizing issue happens just by adding a new symbol to the timeline. I don’t even have to tween it.
Edit: OK, narrowing it down further. it’s not because I added a symbol. I can add more symbols. It’s because I added an object that’s too big apparently. It looks like when I mouse over the button, it resizes and becomes really small, which triggers the mouse off, which makes the button its regular size, which triggers the mouse over, which resizes the button and it becomes really small again…
I solved it. I’ll post the solution here in case anyone ever has the same problem and comes across this post. In button.as, I did a search for “resize” and found a section of code that starts with the comment “// Resize and update constraints.” I made my own button class and deleted that section of code. It now seems to be working. I hope I didn’t break something else that I’ll need this button to do.
nice to hear that : )