Skip to main content
Inspiring
June 25, 2013
Answered

AS3 Full Screen script, video crashed

  • June 25, 2013
  • 1 reply
  • 14228 views

I load external video with playback component (skin over play stop seek mute vol.swf), its working great but when I use 

fscommand("fullscreen", "true");

on my first scene (first keyframe in time), and after that when I reach my video scene. I got just black screen

This topic has been closed for replies.
Correct answer kglad

sorry to say how??


use the netstream class:

var nc:NetConnection=new NetConnection();

nc.connect(null);

var ns:NetStream=new NetStream(nc);

var video:Video=new Video();

addChild(video);

video.attachNetStream(ns);

ns.play("yourvideo.flv");

1 reply

kglad
Community Expert
Community Expert
June 25, 2013

nothing crashed.

assign your video's fullScreenTakeOver property to false.

71081Author
Inspiring
June 25, 2013

Sorry to say. Can you please tell me how?? In the property i can’t find “full screen take over - false”.

kglad
Community Expert
Community Expert
June 25, 2013

click the flvplayback component shown in your screenshot.  in the properties panel assign it an instance name (eg, flv_pb).

click frame 1, layer 3 and in the actions panel, add:

flv_pb.fullStageTakeOver=false;