I'm having a strange problem with buttons in Flash pro CS5.5 and CS6. I'm adding a custom component to a button and for some reason I'm getting this compiler error.
Symbol1_1, Line 8 1086: Syntax error: expecting semicolon before rightparen.
After some research I've found that the FLVPlayback component created by Adobe is also causing the error. To reproduce it, create a button and on any of the named frames ( UP, OVER, DOWN or HIT ) place a FLVPlayback component, then compile the fla. I also noticed other components created by Adobe compile fine when in a button but only if they aren't pre-compiled. Only the pre-compiled components seem to have issues in buttons. Unfortunately I need a pre-compiled component.
Has anyone else seen this? Is there a work around?