DisplayObject won't cast to MovieClip, halp please!

Hi everyone, im new to this forums. I will have time for a more proper introduction later today :p.

Im in a bit of a trouble. I have a quite a few hours of programming experience in other OOP languages but im pretty new to AS3 and there’s one thing that wont work, one that should be easy because i’ve done it countless times in Java and its now being a pain in the *** :(. I have the next code:


        private function handleCompleteLoad(e:Event):void{

            var loadedObject:DisplayObject = loader.getChildAt(0);
            var loadedMovieClip:MovieClip= loadedObject as MovieClip;
            this.addChild(loadedMovieClip);
        }

And it turns out that the casting fails and it always returns null. I would like to have the loaded swf as a MovieClip because i need control over it (needs to play once, and needs to be changed once it has finished), but if i can’t do the casting im afraid i wont be able to have the control i need. DisplayObject doesnt have the methods nor the properties that i require :(.

Any halp?

Thanks for reading!