This content has been marked as final. Show 3 replies
let's see if i can help...
1) you should use LoadVar.sendAndLoad - rather than just send in order to maintain the current swf file - even if you only specify a "POST" method param.
2) you should use the Tween class to 'grow the scale of the button - and shrink back to size it onRollOut - without a need to create a duplicate instance.
3) you should use the DropShadowFilter to achieve this with code
so this should look like:
clbeech, you rock! Thank you very much for the help and example! The shadow filter and tween work great, but I still can't seem to get the sendAndLoad to work. In fact, when I change from myVars.send to myVars.sendAndLoad it doesn't even open the new page.Since the code seems pretty straight forward I may suspect something else in the flash file interfearing with the post, but all my code is in the example above.
One more question... When I created the original symbols I neglected to change the registration point to the center of the symbol so when the tween occurs, the symbol grows to the right and out of mouse location creating a problem. Is there an easy way to change my symbols current registration point without going into each symbol and moving the graphic to match the current reg point as center?