ActionScript 3.0 :: Movie Files - Full Screen And Sound Once On Stage
Apr 9, 2011
Firstly I'll explain what it is that I am doing. I'm creating an interactive CV within Flash CS5 using ActioScript 3.0. I've made my CV and everything works fine. I have a page however named Creative Work. Inside this page I've imported 3 video files and minimized them down so that the navigation/ play/ fullscreen bar is only showing. I've indicated on the page that the videos are best viewed in fullscreen, which is why I've got the navigation bar with no video, as I want people to press full screen.
1). My first problem is that none of the videos will go full screen when the full screen button is clicked. My document size is 550 x 400 and my videos well excede that size. My understanding was that Flash would fullscreen them to your document size. Do I need to put something within ActionScript, code wise, that allows the videos to be full size in relation to my document size, or do I need to edit the videos so that they are 550 x 400?
[Code]...
View 5 Replies
Similar Posts:
Jul 28, 2011
i am wondering from this code, it makes the stage full screen, does it also makes the content of my movieclips scaled to full screen? i have tried this code and it does not seem to do that, how can i make my content to scale to fill a stage's full screen? i have a Movieclip containing a background with a class to make special effects on the background, i am having trouble making the background be "fullscreened" nicely with the stage.
View 1 Replies
Jun 18, 2010
I've been working on a project that requires lots of scaling around a center point.
I always thought that stage.stageWidth and stage.stageHeight give you the dimensions of the stage you set in the properties panel no matter what. But when I went into fullscreen mode (with scaling), both the width and the height changed to the dimensions of the screen rather than staying the dimensions I specified.
View 1 Replies
Oct 27, 2009
Is a command for AS2 to make my movie file play fullscreen (stretch, fit to screen, anything).
goFullScreen(); is great but it leaves white bars left and right. What's odd is that I'm using Adobe Flash Media Live Encoder and it seems to display a perfect widescreen that I want as an input and output but once compiled in flash, it's more square leaving me with white bars left and right. The frame for the video in flash is also widescreen looking.
edit: I ended up stretching the width of the frame but if there is a better way through a command that would make my life easier so I don't have to adjust to every monitor that I run this on.
View 0 Replies
Feb 11, 2009
My question is what needs to be done in order to make a .swf file go into full screen without falling to a black screen when a movie is played? I have tried coding it, however I come up with the following error.
[Code]....
What should I do to fix this? This is not going to be an HTML file, however, so the initial thought of changing the publish settings does not seem to work this time.
View 9 Replies
Jul 9, 2011
I tested my skin for YouTube Chromeless player, and seems it worked properly.All graphic elements, including TLFTextFields, are stored in external SWF, all the AS3 code - in loading SWF.I use ProLoader class to load SWF.However, when I tried to attach Player skin code to my Home Page code, I immediately bumped into two issues:
1. TLFTextFields ceased to display proper font;
2. YouTube Chromeless player ceased to enlarge up to Full Screen width in Full Screen mode, whereas all publishing settings were kept the same...
Although I managed to cope with TLFTextField bug by replacing instances with vars in loaded SWF, I have no the slightest idea what to do with those paddings in Full Screen mode... Neither removing all children on stage before loading YouTube Player skin, nor compulsory resetting player's size can't make it work...
View 10 Replies
Sep 17, 2008
I wnat to display a FLVPlayback full screen the same as when you click on the Full Screen component button.
function goFullScreen():void {
vidPlayer.enterFullScreenDisplayState();
}
var vidPlayer:FLVPlayback;
[code]....
View 1 Replies
Jan 24, 2002
how do I make the projector file to autorun on a CD in full screen mode??
View 2 Replies
Dec 10, 2010
I am creating a full screen projector with flash CS4. In the projector I have more videos, starting from an swf player-
The problem I encounter is this:
The projector starts correctly FULLSCREEN (using AS). The video plays 900x506 correctly. If I click on the player, to get the video full screen, it works. But when I press ESC, not only the video, but also the PROJECTOR looses full screen.
This is a bit annoying. Is there a way to apply the "back to normal size" only to the video? I do not want to prevent the app to be exited from full screen, it's not a problem if the user wants to exit the projector full screen. But not when the user exits the video from fullscreen mode.
How to target only the video?
View 1 Replies
Aug 9, 2011
// for Full Screen stage.displayState = StageDisplayState.FULL_SCREEN;// for the normal screen stage.displayState = StageDisplayState.NORMAL;But this code does not fulfill my requirement. I need Vertical Scroll Bar, even I go to the FullScreen, but I don't find any Scroll with this code.Even I tried "window.open" of JavaScript with ExternalInterface, but I couldnot succeed.
View 2 Replies
May 20, 2009
I'm creationg a full screen projector presentation and i'm havin issues with the stage align on full screen. it opens in the middle of the stage and is chopping off the top of the large stage. does anyone know the as2 for Stage.align="T"; ?
View 1 Replies
Aug 18, 2009
If Im going to create a full screen flash website what size should my stage document be?
View 1 Replies
Sep 29, 2011
i am creating an interactive application that will run independantly on a computer.I have implimented the full screen stage display state to a btn, and it works great!
-------code-----
import flash.display.StageDisplayState;
function goFullScreen():void
{
[code].....
however as soon as i add a video [i will be adding several] the video takes on the full screen property, and that is not the desired effect.I have used several diff ways to import the video but as soon as i call the full screen, it goes to an all black screen.
View 1 Replies
Nov 5, 2009
I have added full screen code on my movie so that the user can extend the size of the movie. eg If the user expands the browser window to 1200 X 900, then my movie will become 1200 X 900 without the movie deforming.
Code:
Stage.scaleMode = "noScale";
Stage.align = "TL";
[code]....
View 3 Replies
Nov 18, 2009
I need to use full screen mode in my flash application, for some reason when i go into full screen mode in safari or chrome, the stage is completely disabled. I tried using a very clean swf file with nothing on it, just 2 buttons: one for full screen and the other for normal screen, and still i can't click on anything after going into full mode. In IE and FF everything works fine
View 1 Replies
Mar 21, 2011
I have a movieclip, that inside it's timeline I have a function that after loading an image into stage, call a function to fullscreen the stage. When I open my swf file alone, it just do fine but when I open it in html file, it doesn't go fullscreen. (It doesn't relate to allowFullscreen or something like that, cause if move my fullscreen command before loader complete , it goes perfect, but if i use in onComplete event , it doesn't do anything when viewing in html.
Inside my movieclip i have this that doesn't work :
Code:
import flash.events.MouseEvent;
import flash.display.Loader;
import flash.events.Event;
import flash.net.URLRequest;
function func1(evt:MouseEvent)
[Code] .....
All the things goes right. I used the trace command. The FullScreen command doesn't work on Loader Class , Complete Event when displayed in html file
View 3 Replies
Jun 8, 2011
I have an SWF file with a full-screen button working perfectly. I have added an FLVPlayback component, working correctly.
However, if the whole stage is in "Full Screen" mode, and I click on the button which loads the FLVPlayback component, the screen becomes black and the FLV doesn't even load.
I have tried addind the action movieHolder.fullScreenTakeOver = false; but it did not help.
I m working with Flash CS5 and AS 3
View 14 Replies
Nov 10, 2010
My main swf is 960x600 and loads full screen. it is a projector or swf, local. I have the code on frame 1 to ensure full screen and show all:
stage.scaleMode = StageScaleMode.SHOW_ALL;
stage.displayState = StageDisplayState.FULL_SCREEN;
Then I load an external swf into a mc, and it goes full screen as expected. BUT the main swf that loaded that external one, at the time of load, suddenly gets scaled back down to its normal size: 960x600, on the top left corner of the Player Window (or the full screen), so somehow at 0,0. Whn I unload the external swf, I can put the code stage.scaleMode = StageScaleMode.SHOW_ALL; to get it back to where it was. But unfortunately I have some buttons from the Main swf that are supposed to be on top of the loaded one, and should stay where they are. But now they all move because of this scaling down.
the mc that is being used as a container for the loaded external swf is an empty mc located at 0,0. The external swf has the same size as the main one: 960x600
I searched and tried things but could not get it to stay in show-all mode when loading this external swf...
View 0 Replies
Dec 18, 2009
But when i publish it with flash the included html file does not show it full screen of course:how to set the publish settings / or adjust the html file to have the same effect as if you would open the index.swf file ?
View 3 Replies
Feb 7, 2009
Is it possible to call full screen video from outside of a movie, like from a link? I have the full screen button on my player, but would also like to have a text link in the body of my html to launch full screen.
View 0 Replies
May 13, 2009
How do i keep a embedded video from trying to display fullscreen? I have a flash movie [I'm using it as a presentation] and in it i have a video [embedded as FLVPlayback] when i run this in flash player in full screen mode [the flash player not the flash file]. when it gets to the frame with the video the video tries to run in fullscreen. I just want it to run with in the flash file that is running fullscreen.
View 2 Replies
Dec 12, 2009
So I have a video playing in an FLVPlayback component. When I hit the full screen button and the video goes full screen, I would like to add a movie clip at the center of the screen. How do I do that?
View 2 Replies
Dec 12, 2009
So I have a video playing in an FLVPlayback component. When I hit the full screen button and the video goes full screen, I would like to add a movie clip at the center of the screen. How do I do that?
View 6 Replies
Jun 9, 2008
Dear members and experts in Kirupa forum, first I apologize because I only join this forum just to ask this question . I already come across some flash forum but can't get the answer to my problem. If somebody from this forum come up with a solution, I may have myself a frequently visited forum. It works, of course... but that's not the problem.The problem occurs when I want to have button scrBtn that can toggle between Full Screen view and normal view.It is obvious that the image that I loaded in the movie clip will get pixelated.That's why when I click the scrBtn button here is the script:
Code:
scrBtn.onRelease = function(){
if(Stage.displayState == "fullScreen"){
[code]....
View 14 Replies
Feb 28, 2008
Regarding System.capabilities.screenResolutionX in FMX, how would I achieve a movie clip on my stage to automatically alight to the left of the screen/browser depending on the viewers screen resolution?
View 1 Replies
Feb 24, 2010
I've pretty much finished my site... [URL]. The problem with this is that with someone who has a lower resolution, the movie tends to get cropped. Since I have the movie set at 100% width and height the scroll bars don't exist. I'm trying to make built in scroll bars in flash that will activate when the movie gets cropped as such. I only need them for a few pages. I'm not sure if I am going about this the easiest way..I know you can do it if it was just one movieclip but the site is alot more complicated than just one movieclip.
For skills_mc I have a class..
mc_skills.as
Actionscript Code:
package{
import flash.display.*;
import FluidLayout.*;
import flash.display.Sprite;
import flash.display.StageAlign;
[Code] .....
It's throwing a ton of errors..
1017: The definition of base class Movieclip was not found.
View 2 Replies
Jul 20, 2010
What is the as3 code I can write to make the projector files (both PC and MAC) open in full screen.
View 5 Replies
Jan 14, 2010
So i've made my .swf files. The only thing is they all play at full screen when i play them using my web browser. I need them to play at 548 x 408. when i open the .fla and go to properties it says the size IS at 548 x 410 but it can't be if its playing full screen.
View 2 Replies
Oct 16, 2009
We have this legacy code of a flash video player that functions well enough but still has some loose ends I need to tighten up. It can do the basic "switch to full screen and back to normal size" stunts, however with one exception.
On the first fresh load of the app, if I switch to full screen mode first, and then click to play the movie, the player would be in full screen, yet the movie itself would remain in it's original size.
//trigger
if (stage.displayState == StageDisplayState.NORMAL) {
stage.addEventListener('fullScreen', procFullScreen);
stage.scaleMode = StageScaleMode.NO_SCALE;
[Code]....
The VideoDisplay object even returns the expected width/height, but the movie just plays in it's original size. If I switch screen sizes during movie playback, then the movie size will shrink or stretch as it should.
View 1 Replies
Oct 16, 2009
I've been searching for a way to do this without using html. For some reason i can't have my enter site button load the main movie from the splash page and go full screen at the same time. here is my full screen code: (where do I put my loadMovie script to make both events happen at the same time)
_root.enter_btn.onPress = function(){
if(Stage["displayState"] == "normal"){
Stage["displayState"] = "fullScreen";
[Code].....
View 0 Replies