Dear All,
I have 5 buttons in one movieclip “star_mc”
- star_mc.sub1
- star_mc.sub2
- star_mc.sub3
- star_mc.sub4
- star_mc.sub5
I give it this script below on frame 1 (Scene 1)
for(i=1;i<=5;i++)
{
strButton = “sub”+String(i);
star_mc.this[strButton]._xscale = 200; // ERROR !!!
}
How can i fix this error “Expected a field name after ‘.’ operator” ?
Thanks You,
Zee