A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [RESOLVED] ReferenceError: Error #1069

  1. #1
    Junior Member
    Join Date
    Dec 2016
    Posts
    1

    resolved [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()

  2. #2
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    Hi,

    Seems you have been answered here http://stackoverflow.com/questions/4...perty-box-mc-0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center