1119: Access of possibly undefined property

Hi,

I am not able to solve this particular issue.

1119: Access of possibly undefined property box1 through a reference with static type flash.display:DisplayObjectContainer.

I have a MovieClip on Stage for which Class is MillionaireButton. and instance name is box1.

There is another MovieClip on Stage in which on 2nd frame I am trying to access the box1 movieclip but nothing worked.

I tried all this but it does not work :frowning:

trace(parent.box1 as MillionaireButton);

trace(MillionaireButton(parent.box1));

I have also attached the sample file. Please help