flash AS question
Out of context: Reply #36
- Started
- Last post
- 40 Responses
- CygnusZero40
A friend of mine told me to try this--
// One level up
function doMyAnimationYo(targetMC)
{
new mx.transitions.Tween(targetMC, "_alpha", mx.transitions.easing.None.easeN... 0, 100, 30, false);
var scaleup = new mx.transitions.Tween(targetMC, "_yscale", mx.transitions.easing.None.easeN... 125, 25, 150, false);
var scaleup = new mx.transitions.Tween(targetMC, "_xscale", mx.transitions.easing.None.easeN... 125, 25, 150, false);
scaleup.onMotionChanged = function()
{
if(scaleup.time == 120){
new mx.transitions.Tween(targetMC, "_alpha", mx.transitions.easing.None.easeN... 100, 0, 30, false);
}
}And then inside each clip put this._parent.doMyAnimationYo(thi...
Getting these errors, some problem with the open the open/close brackets. Any ideas?
Symbol=main, layer=actions, frame=1, Line 3 Statement block must be terminated by '}'
Symbol=main, layer=actions, frame=1, Line 12 Syntax error.