ActionScript 2.0 :: Loaded Into A Fullscreen SWF Which Will Load?

Jul 22, 2010

I have a Flash movie which needs to be projected so that it remains the same size, while a container fills the screen. In other words, it needs to be loaded into a Fullscreen SWF which will load it. However, the object itself needs to remain a static size. That way, regardless of the size of the viewers monitor/resolution, it will display at 1024x636. How exactly would I go about doing this? Maybe I am missing a simple function. This is what I have so far, but it is neither positioning the object properly(in the center), nor is it preventing the loaded object from scaling.

ActionScript Code:
fscommand("fullscreen", true);
loadMovie("inner.swf", loader);
loader._x = stage._width - loader._width;
loader.fscommand("allowscale",false);

View 8 Replies


Similar Posts:


ActionScript 3.0 :: Load Full Browser With A "fullscreen"-button To Go Fullscreen?

Aug 30, 2009

I'm making a flash site, and i want it to load full browser with a "fullscreen"-button to go fullscreen. The problem, however, if i resize, the site will keep the same width-to-height ratio...But if i'm testing it using the flash debugger, everything resizes just correct...My html:

HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">[code]......

View 1 Replies

ActionScript 3.0 :: Loaded Swf's Black When In Fullscreen?

Aug 19, 2011

I have a project which consists of a menu, which is put into fullscreen using "stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;" on the first frame.The menu navigates to three seperately loaded swf's which match the fullscreen resolution. However, when the swf's are loaded the screen is black while in fullscreen. They can only be seen when I hit esc to take it out of fullscreen. Put it back into fullscreen and the screen returns to black. (The code does not break or throw an error, everything works fine outside of fullscreen). None of these problems occur in Flash Pro, only after I have exported them and tested them out on a different computer. I don't have a lot of code in the menu sections, and each swf tested individually works fine, fullscreen or not.

Anyone have any idea of anything I might try? I've been lost on this for a few days now, and it's the only thing keeping me from completion.

[Code]...

View 2 Replies

ActionScript 3.0 :: Fullscreen Not Working Correctly In Loaded Swf?

Dec 11, 2008

I have a swf loading an external SWF which is a video player. The video player loads fine into the SWF, but if I hit full screen it goes full screen but I cant see anything. Its all black. I can still see the "hit escape to exit" bubble thing.If I embed the video player by itself(ie. ISNT loaded into a swf) the full screen function works fine.

View 3 Replies

ActionScript 2.0 :: Prevent Fullscreen Call From Loaded Movie?

Apr 3, 2008

I'm loading in a .swf file using loadMovie(), but the .swf being loaded has a fscommand("fullscreen", true); command on it's first frame and it's forcing my main file to launch fullscreen too.

I don't have the original file so I can't remove the fullscreen command.

View 7 Replies

Actionscript 3 :: Fullscreen Mode Loaded When Opening Flash Player?

Oct 7, 2010

Is it possible to make a flash player go full screen (not in browser)? Would there be any bug / error on different version of Flash player?

View 3 Replies

ActionScript 2.0 :: Fullscreen - Dynamically Loaded Multiple Smooth Bitmaps

Aug 3, 2007

I have played around with the Dynamically Loading Bitmaps With Smoothing from Tinic U ro as well as somme other advices from people on the kirupa forum. The code works great. I am trying to load different Bitmaps, fullscreen, on the click of a button (or any other event). The images load, but they just stack on top of each others and thus, they don't resize to the stage properly. Here is the code with the attached FLA: ( you'll need 3 jpg named bg1.jpg, bg2.jpg, bg3.jpg, all in the same folder as the fla)

[Code]...

View 3 Replies

ActionScript 3.0 :: Load Image Fullscreen In MovieClip

Mar 25, 2010

I am loading a video clip into an mc at certain times ...
//load video
var connection:NetConnection = new NetConnection();
var stream:NetStream;
var video:Video=new Video(stage.stageWidth,stage.stageHeight);
var metaObj:Object = new Object();
var isPaused:Boolean=true;
[Code] .....

The video loads fullscreen initially and on resize because of my video var params (var video:Video=new Video(stage.stageWidth,stage.stageHeight). However, my image does not load fullscreen initially but does on resize. Are there params I can enter somewhere to allow my image to load fullscreen?

View 5 Replies

ActionScript 2.0 :: Load External Swf Into Main Clip, Then Go Fullscreen?

Feb 12, 2009

The main site (index.swf) had an image slideshow style gallery displayed prominently across the entire site - i.e it never changed while the rest of the site did. That is gone, but in its place is an external .swf (video.swf) which is a video player to stream flv video via php. convoluted, no?

Now, I got the php streaming player from FlashGuru [URL] and it works beautifully. I added in a button for full screen toggle, and that was a cinch - two lines of AS and editing the html and I was done. I tested it as a standalone swf file, and it streams wonderfully, goes full screen with ease...perfect more or less. See it at [URL]

Then I load the video.swf movie into the index.swf movie, and when I click the full screen button, the main root (index.swf) goes full screen. The problem is that I want only the video (video.swf) to go full screen - without reloading or restarting the streaming video.

I currently have the files up at [URL] to see the swf files in action; would post the .fla files here but since the template was purchased I can't post it, and the video player is basically stock other than the full screen switch. What the heck, I'll post it here just in case...

{also, a side note; I do plan on having multiple videos to load - I currently plan to use different .swf files for each one, but if I could just pass a variable from the main (index.swf) to the other (video.swf), it would save a bit of HD space on my server.

View 2 Replies

ActionScript 2.0 :: Delay Fullscreen Background Image Load?

Aug 11, 2009

I've got some lovely code from another flash forum which loads a scalable fullscreen image background behind a fixed size flash movie, but have a problem:The jpg background image loads before the flash movie, and I'd like to delay the jpg appearing by, say, three seconds.I've tried everything I can in the code, but don't know enough about actionscript to make it work.

Code:
stop();
Stage.scaleMode = "noscale";

[code]....

View 3 Replies

ActionScript 3.0 :: Get Flash Movie Load And Then To Go Into Fullscreen Mode?

Jul 11, 2011

I'm trying to get my flash movie load and then to go into fullscreen mode. I'm using swfobject to load the swf and received a similar if not the same "Full screen mode is not allowed" error and did some reading and saw that apparently fullscreen needs to be initiated by a link or something.So my next step was to try and get Actionscript to call my javascript function when the movie was loaded. When that failed I tried putting in a link and still get the following error.

ActionScript Code:
SecurityError: Error #2152: Full screen mode is not allowed.
at flash.display::Stage/set_displayState()

[code]......

View 0 Replies

ActionScript 2.0 :: Fullscreen Flash Scrollbar With Load Movie

Oct 2, 2007

What I am trying to accomplish is creating a main movie where I can load content into it, but if the content being loaded is longer than the viewer's screen, it will scroll.

I managed to get the actual scroller working but the template file I made to load movies into isn't working quite right. I am attaching a zip file for everyone to look at.

[URL]

View 3 Replies

ActionScript 2.0 :: FMX - Fullscreen And Load Movie Displaying At Actual Size?

May 21, 2003

[URL]when you resize the browser window you'll notice that the background pattern remains the same size but there's never a browser-scrollbar, besides that the movie in the center that is loaded stays centered when resizing while keeping it's window-dimension constant (it's actually 2 seperate movies forming the center window).

View 6 Replies

ActionScript 3.0 :: Fullscreen Button On The Playback Component, Which Will Allow The User To Toggle The Video Fullscreen?

Apr 13, 2009

I like to make a fullscreen desktop application, with an FLV, using the FLV Playback component. However, I�d like there to be a Fullscreen button on the playback component, which will allow the user to toggle the video fullscreen.I cant, for the life of me, figure out how to do this with various settings�it should be easy! This is what I have--is there a better way to do things (without a custom movie player)? My inital settings are as follows:

Code:
stage.displayState = StageDisplayState.FULL_SCREEN;
theMovie.fullScreenTakeOver = false;

Then I have a function which should work--but my button won't appear in fullscreen--Can I apply this function to the built-in fullscreen button?:

Code:
function handleClick(event:MouseEvent):void
{
if ( !theMovie.fullScreenTakeOver )[code]....

View 9 Replies

ActionScript 2.0 :: Fixed Size Loaded Movie In Fullscreen Movie?

Oct 3, 2007

I have a movie that opens up full screen and load an external movie into it. No problem there but I want the loaded movie to keep its original size and not resize with the full screen movie. In the screenshot, you see how the yellow external movie loads into the fullscreen green movie. The white rectangle is only for size reference (photoshopped it in) and is not in the actual flash movies. The yellow movie is supposed to be 800x125 pixels but resizes with the fullscreen of the green movie.

View 1 Replies

ActionScript 2.0 :: Fullscreen Scroll Bar On Fullscreen Flash Site

Apr 19, 2009

I need a fullscreen scroll bar on my fullscreen flash site , i need it to function similar to this URL...

View 1 Replies

ActionScript 3.0 :: Preload Multiple - Load And Display The Percentage Loaded Of Total Bytes And Bytes Loaded Of All The Files

Jul 13, 2009

What I'm trying to do is get the total bytes of all the files I want to load and display the percentage loaded of total bytes and bytes loaded of all the files. Its a slideshow so i want all the files loaded and then it will play. I've looked at bulk-loader but it wasn't what I needed. The image are loaded from an xml file. I think I would need to create an Array and then find out the total bytes but I don't know how to reference the loader in the progress.

[Code]....

View 2 Replies

C# :: WebBrowser Flash Fullscreen / ESC Won't Exit Fullscreen

Jul 14, 2010

I have a swf inside a html page. If I open it with IE or FF and put it into full screen I can exit full screen with the ESC button.Now if i try this with my WinForms app and WebBrowser (or ShockWave Flash Object) it's not working??

View 3 Replies

ActionScript 2.0 :: Loading Fullscreen External SWF's Into A Fullscreen SWF?

Oct 19, 2006

What I've done is created a "fullscreen SWF" by using ActionScript to stretch a movie clip (yellow rectangle) in the background to fill the whole browser frame. The navigation is positioned in the upper left using ActionScript also; when the user resizes the window, positions are adjusted so the nav always stays in the upper left. (Adapting the technique from http:[url]....

External SWFs are loaded from an XML file into a blank movie clip on a layer that is between the yellow background and the navigation (adapting the kirupa XML Photo Gallery). Here's my problem: I want to be able to create full screen backgrounds for these external SWFs so when they are loaded into the main SWF they cover up all the of yellow background of the main clip. Also if the user resizes the window, I hope like the main SWF, the background on the external SWF can also resize to match.

If you press next twice to get to item three for example, I want to be able to stretch that orange box to fill the entire background. You'll notice if you resize the window on the third item, the orangle rectangle will adjust, it's just not correct.

View 2 Replies

ActionScript 3.0 :: Fullscreen Video From Fullscreen Air App?

Feb 24, 2011

I'm hoping someone can help me with an issue I'm having.
 
I currently have an AIR Application that runs fullscreen.
 
At some point in the application, I am trying to get a video to play fullscreen as well.

[Code]...

View 3 Replies

ActionScript 2.0 :: Open Image In Fullscreen With Stage.displayState="fullScreen";?

Dec 28, 2006

i have my photo gallery and if you push a button photo has to open in new window with fullscreen.

for fullscreen i use Stage.displayState = "fullScreen";

View 2 Replies

Load Next Only When The Other Movie Is Loaded?

Jan 24, 2010

I have 3 swf movies called 1.swf, 2.swf, 3.swf which I am loading onto different levels in my Flash movie.I am trying to make it load 1 at a time and in 1,2,3 order and only 2 will load when 1 is completed and 3 will only load when 2 is done.I have about 20 movies to load and need it to load in order instead of all at once.

View 3 Replies

SWF Will Load Once But Won't Play Again When Page Is Loaded

Jan 9, 2010

my swf will only load once in internet explorer.. When you navigate out of that page and come back to it it won't play automatically anymore...

I'm using FLASH CS4 and use the google swf code 2.2...

here's the page [URL]

it used to be so easy just inserting it in Dreamweaver =/ but that wouldn't work either

View 1 Replies

Load A Set Of Cue Points Based On Which Flv Is Currently Loaded?

Jun 15, 2009

I want to load a set of cuepoints into my flv player, I have 5 flvs and I want a particular set of cues to load depending on which flv is currently playing,

View 8 Replies

SWF Will Load Once But Won't Play Again When Page Is Loaded?

Jan 9, 2010

my swf will only load once in internet explorer.. When you navigate out of that page and come back to it it won't play automatically anymore...I'm using FLASH CS4 and use the google swf code 2.2...here's the pageit used to be so easy just inserting it in Dreamweaver =/ but that wouldn't work either

View 1 Replies

Actionscript 3 :: Loader Do Not Load If Already Loaded?

Aug 13, 2010

Is there some way to check if what you are loading is already in memory and don't need to be loaded a second time?

View 1 Replies

ActionScript 2.0 :: Play Out 1 Loaded SWF B4 Load Another?

Nov 20, 2003

I have a Nav MENU with the usual about, services, portfolio buttons on press of those buttons a seperate SWF file is loaded into a empty movie clip named "container" what i want to happen is

e.g. on press of portfolio button it plays out the home SWF which is already loaded into empty movie clip,and then when the home.SWF has reached the end frame it will then load the new portfolio SWF into the same lets say the first 10frames of any of the external SWF are the unraveling of the movie then there is a stop(); function then the next ten frames are the re-packing (sorry for terminology) of the movie

View 1 Replies

ActionScript 2.0 :: Load Variables From Loaded SWF's

Jan 6, 2005

I am developing a flash board game which entails moving a piece around a board as a result of throwing a dice (the person will either move the dice themselves or it will move according to the outcome of the throw). When they land on particular squares I am going to have a random question (this is going to be a loaded SWF) appear that will have a multiple choice questions.Can I save the result of 'multiple choice question' within the main movie / separate movie and then use this variable ?

View 4 Replies

ActionScript 2.0 :: Load Images Only While Nothing Else Need To Be Loaded?

Jan 7, 2010

I want to load a bunch of images only when nothing else need to be loaded. So basically I have to check if something is currently loading or not. If something is currently loading I have to stop the image loading. Once again when nothing is loading I want to continue to load images again. How do I check if something is currently loading? I could use a boolean variable called "loading" or something, but is there a better approach?

View 1 Replies

ActionScript 2.0 :: Transition Tutorial Load A Swf Into A Loaded Swf?

Jul 31, 2006

I am working with the transitions tutorial: [URL]... Here is a link to the modified example im working on. [URL]...If you are familiar with this tutorial you will see this is familiar. Main movie checks to see if the specific section is at "midframe" if its not it waits and does nothing, then once you have transitioned to midframe and stopped it, click on the next section will then transition out and load the next movie. I am tring to do a little variation of it.

ok we have mainmovie2004.swf which has 4 buttons. Each button, section1, section2, section3, and section4 all load specific movies to "container" on the main timeline. Section1 button loads section1.swf, Section2 button loads section2.swf...etc. Well I have placed another set of buttons in each section (just section1 and 2 for example sake). Each button loads a specific movie into container_small (yeah I know it doesnt follow camelCode but thats the least of my concerns). I have been messing around with the code and I am able to get Section1 to load, then when I click on the first pink button in section1 it loads section1.1 which is (section1_1.swf). When I click on the next button it just reloads the same section no matter what. The other sections work because when you load section1 and click on any pink button the corresponding swf loads just doesnt ever transition out. The tree would like like this: {mainmovie2004.swf[section1.swf(section1_1.swf)]}.

I think the problem is the last frame of each sub section has an action that will load the next section. I need to get the path correct.

[code]...

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved