 <p>there seems to be aproblem with this lines</p> <pre><code>if(getChildAt(i) is platform) </code></pre> <p>leads to error 1067: Implicit coercion of a value of type flash.display:MovieClip to an unrelated type Class</p> <p>the rest of the code seems to be just fine</p>