-
[RESOLVED] ReferenceError: Error #1069
This is just an example of concept. I'm trying to hide movie clip from the stage using loop. I'm getting following error when I publish it. Any help would be appreciated. I have also put picture of the example.flash_as3.JPG
Code:
import flash.display.MovieClip;
var q;
for (q = 0; q <= 3; q++)
{
stage["box_mc_" + q].visible = false;
}
Error message:
ReferenceError: Error #1069: Property box_mc_0 not found on flash.display.Stage and there is no default value.
at test_fla::MainTimeline/frame1()
-
.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|