hi all
simply I created new flash document,
.. created new movieclip named "ball" with instance name "ball" in the stage
in the ball movieclip I put this code in the actionscript panel
I want to use this variable in the main stageCode:var color = "red";
i used
but didn't work and the result is "undefined"Code:var ballcolor= ball.color; trace (ballcolor);![]()




Reply With Quote