I created a movieclip symbol and exported to actionscript, I created the .as file:
class BRIQUE extends MovieClip
{
function BRIQUE()
{
graphics._x=10;
}
}
“graphics” is an image imported on the stage inside my symbol, but it seems not to be accessible this way (I get an error), nevertheless it works this way in as3 then what is the right way in as2 ?
Thanks
in AS3 there is an option in Flash that says something like “automatically declare every instance on stage in my class” so Flash adds the
public var graphics:MovieClipautomatically. i think in AS2 you have to do this manually.AND please use a different name for the variable –
graphicsis an built-in thing.