-
Full Screen - Works but on Esc, the FLVPlayback moves and shrinks
Greetings FK,
I'm currently working on a project using FLVPlayback Components. I'm having this issue:
The user launches the page, the Component loads fine. They play the video and click the "FullScreen" button. The video launches nicely in fullscreen by using this code
Code:
stage.addEventListener(FullScreenEvent.FULL_SCREEN, resizeVideo);
function resizeVideo(e:FullScreenEvent):void{
if(e.fullScreen){
videoInstanceName.width = stage.stageWidth;
videoInstanceName.width = stage.stageHeight;
} else {
videoInstanceName.scaleX = 1;
videoInstanceName.scaleY = 1;
}
}
When the user hits esc. or exits fullscreen, they come back to the movie and see that it has shrunk and moved over a few pixels. It doesnt move the entire SWF, just the component. I assume it has something to do with the "else" line. Let me know if you can be of some assistance. Linked please find my FLA and a link to the page where the issue occurs.
Live Page with issue
FLA
Thanks for your time,
chordmasta
-
Excuse my bump, but is this so noob that it's being ignored, or is it some whacky isolated incident that can't be explained?
Thanks
OP
Tags for this Thread
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
|