make flv playback exact fit to window project not desktop
hi , first want use flash cs5 - flash player 10 - as3
i want when click on full screen button on flv playback component flv player window goes exact fit flash window not desktop or better if can set resolution full screen mode ....
i have strange problem full screen function not work in third party flash protection , projector tools ...
finally found component use as2 script make full screen button function exact fit window , it`s interensting cause flv player works in test movie mode !!!
as full screen function in default flash cs5 not work in test mode , must run swf directly local or run projector ...
i realize when full screen function works in flash test movie ( ctrl + enter ) mode work in third party tools ...
i don`t why maybe security reason in as3 dont let run test movie , third party tools ...
what can ??
how can write script flv playback component read new function full screen mode , set exact fit window ( project ) not desktop ( size of project not chang @ , flv player resize window )
is possible set resolution resize mode ?!?
is possible create button ??!?
i know ask many questions , maybe u confued , have spend week solve problem , checking third party tools , no success , post problem many forums ...
pleaseeeeeeee me
full screen full screen. want full window.
to that, don't use skin native fullscreen button, add own button , code button want:
fs_btn.addeventlistener(mouseevent.click,f);
function f(e:mouseevent):void{
if(flv_pb.width<stage.stagewidth){
flv_pb.width=stage.stagewidth;
flv_pb.height=stage.stageheight;
flv_pb.x=0;
flv_pb.y=0
} else {
//reset
}
}
More discussions in ActionScript 3
adobe

Comments
Post a Comment