-
FLVPlayback went blank in fullscreen AS3
I'm making a fullscreen swf contains 2 scenes in Adobe Flash using AS3. In the first scene, there is one button named btn, which is it will go to Scene 2 when it be clicked. In scene 2, there is FLVPlayback name player. And that's scene went blank when I clicked button btn in the scene 1 I tried to use player.fullScreenTakeOver = false; in the button btn action in scene 1, bu it's not working, because scene 1 can't identify player which is in the scene 2. Please help, here is my code :
SCENE 1
stop();
stage.displayState = StageDisplayState.FULL_SCREEN;
import fl.video.FLVPlayback;
btn.addEventListener(MouseEvent.CLICK, ac);
function ac(event:MouseEvent):void
{
player.fullScreenTakeOver = false;
gotoAndStop(1, "Scene 2");
}
SCENE 2
stop();
import fl.video.FLVPlayback;
stage.displayState = StageDisplayState.FULL_SCREEN;
player.fullScreenTakeOver = false;
function startAnimation():void
{
player.play();
}
function stopAnimation():void
{
player.stop();
}
-
.
Hi,
Attach your files as I have no errors with copying your code.
Alas we do not have all the code etc etc and files.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|