title: AS3 How to switch to a different scene once a set of movieclips are not visible on stage?
body: <p>I am making an app, the app is quite simple in one part you have 4 flower petals and you pick all 4 and that takes you to a different scene that displays a logo "try again" for some reason i cant even trace the activity once these petals are picked on that stage (each petal is a movieclip). i also wrote the movieclips as variables into AS3 by linking it through classes, i dont even know if this is really necessary and i put the sentence "helloworld" to be traced when movieclip "one" is not vissible and this does not happen either. (i also tried arrays, and if("array".visible == false then gotoandplay "other scene" with the same results.) ; "the place" is the scene i want to go to once the petals are picked. </p>
  
  <p>this is my current code and theres no error but it does not work as i would want it to, since it does not register that the movieclip is not visible nor does it go to the other scene.</p>
  
  <pre><code>var one = new sunflowerpetal10;
  var two = new sunflowerpetal12;
  var three = new sunflowerpetal13;
  var four = new sunflowerpetal14;
  var five = new sunflowerpetal15;
  var six = new sunflowerpetal16;
  
  var hello:String;
  hello = "helloworld";
  
  if(one.visible == false, two.visible == false, three.visible == false, four.visible == false, five.visible == false, six.visible == false)
  {
   trace(hello); 
  
   gotoAndPlay(1, "theplace");
  }
  </code></pre>
  
  <p><strong>Help please!</strong>
  are my movieclips that are already on stage not registering on AS3? or what seems to be the problem??</p>