Search code examples
actionscript-3flashflvstagedisplaystate

Movieclip in Front of include .flv


I made a .swf Application which goes automatic to the fullscreenmode with the functions

stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
stage.scaleMode = StageScaleMode.NO_SCALE;

So what i wanted to do is to start a .flv video and in front of this .flv include, i want to have a Movieclip, which is in front of the .flv Video.

That doesn't work, in the Fullscreen mode. If i minimize the windwow. The Movieclip goes in front of the flv- included video.

So what i need is, to have something like a z-index function in the fullscreenmode.

Can anybody help me

Thanks

Flash Player: 11.4


Solution

  • I made my own solution :

    var container:Sprite = new Sprite();
    
            container.addChild(logo);
            container.addChild(startVideo);
    
            container.swapChildren(logo, startVideo);
    
            this.addChild(container);
    

    Whith this Sprite object it works fine.