ActionScript 3.0 :: Load External Swf And Scale To Extended Screen?
Nov 18, 2009
Isn't possible to load an external "swf" application and launch full screen (include extended screen, if exist).
How to scale the external "swf" to display in full screen?
I able to load the "swf", but do not have ideas how to scale the external swf to full screen. (I already set the main swf in full screen)
View 2 Replies
Similar Posts:
Dec 14, 2011
I have this code to scale external images to full-screen:
function resize_image(){
pic = big_mc.swfloader;
Stage.align = "TL";
[Code].....
It works fine but I want to change it so the scaling is determined by the browser height, at the moment it scales to the browser width so you lose some of the image height - Also, need to keep the images in proportion
View 0 Replies
Jul 28, 2011
I would like to ask how do I extend my display on 2 moniters with flash in full screen? My stage size is 1600*600, I want the stage to be extended and display in both moniters. Each moniter resolution is 800*600. Red portion should be displayed on moniter 1, and Blue portion should be displayed on moniter 2. Now, both portions are displayed on moniter 1. Nothing at moniter 2. link to pic: [URL]
View 8 Replies
Jan 20, 2009
[ X ] Problem solved I just came up with something i have some trouble to handle I've tried a couple of solution but none seems to work perfectly
What I'm trying to do is simple, get my flash to go full screen, but whatever resolution the user has, my flash must centers itself with the biggest proportion possible, and two movie clips goes right and left of it, as if they were borders.
I've been able to do this with a simple png, but i was not able with a movieclip where his dimension changes through time. ( i have a tween, so the mc gets really big even though just my stage is displayed)
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
Jun 11, 2010
i've only ever created external .as files that extended a class such as sprite. now i just want to create one that doesn't extend anything and call it from a frame script.
[Code]...
View 1 Replies
Mar 1, 2012
I have finished my Flash presentation which is set for a large monitor. My file is 1920x1080. How can I get the SWF to scale to a smaller monitor if needed? When I output an HTML file, (set at 100%) the file scales, but the rollover buttons only work on (Click) and the cursor doesn't change from the arrow to a hand. Is there a code that I can place within the action window?
View 2 Replies
Jun 10, 2006
I have been playing with this code for a couple of days and I am getting "decent" results but not consistent. Basically I want to get the users resolution and divide it by the optimum resolution and scale the page. What I am trying to attempt is that items stay the same size regardless of resolution. I realize that I will get some distortion but when testing the distortion doesn't seem to effect the overall look of the page. If I stay away from really small fonts I seem ok. Regardless you get some distortion in lower resolution anyways.
Here is the code.
var userResX:Number = System.capabilities.screenResolutionX;
var noXScaleRes:Number = 1440;
var swfXSize:Number = 1000;//stage width
var thisXRes:Number = ((userResX / noXScaleRes) * 100);
var xCntr:Number = (swfXSize / 2) - (((thisXRes * swfXSize) / 100) / 2);
[Code] .....
Now when I test on resolutions with similar aspect ratios 1.7 as the optimum resolution the content scales to respectable "result". But when the aspect ratio is closer to 1 to 1 I don't it squares my content. Since I am handling the x and y separate I am not sure why it would?
View 1 Replies
May 9, 2010
Is there any way to scale up stage according to user's screen resolution?
because:
stage.align = StageAlign.TOP_LEFT; stage.scaleMode = StageScaleMode.NO_SCALE;
and width: 100% in html document
doesn't work when screen is widther than flash site.
I managed to size up stage in AS2 but I have no idea how to do that in AS3.
View 3 Replies
Feb 8, 2011
I drew a farm and I want to be able to move the animals around, also to make it a bit more real, they need to scale down proportionally along the y axis, I have been searching for a tutorial or download to no avail.
View 9 Replies
Mar 18, 2011
I'm developing a Flex application that is designed for screen resolutions of 1280x1024 and more. In the rare case that a projector is used (which usually has a maximum of 1024x768 pixels) I'd like to scale down the application (currently I get lots of scrollbars and clipping).
I've already experimented with the application's properties scaleX and scaleY as well as stage.scaleMode. However, I couldn't quite figure out a way to
render the application without scaling when the application's width and height are larger than certain values use scaling when the width or height are smaller than certain values
View 5 Replies
Jan 13, 2012
I am still struggling with transforming my app build in Java/Eclipse to Flex/Actionscript with Flashbuilder.Now I can not find how I should implement an image to cover the hole screen.[code]...
View 1 Replies
May 10, 2010
I have a Flash movie that runs full screen, but with StageScaleMode.NO_SCALE so that the actual movie size is the same as it would be if I ran it not full screen.
There is a huge difference in performance between full screen and no full screen. This is despite the movie taking up the same screen space.
how I could improve performance at full screen?
View 8 Replies
Jan 30, 2008
Would anybody happen to know if there is a way to scale objects accordingly on stage when switching to fullscreen.. It's sort of like when the stage is set to "scale", and all the objects scale accordingly, but I'm trying to scale the objects while having the stage set to "noScale"..
View 1 Replies
Dec 7, 2009
I'm building a flash website that needs to have fullscreen enabled for the entire site. Does anyone know how to make only specific movieclips scale up in size when entering full screen mode, like various background movieclips?
View 3 Replies
Jul 3, 2010
I have been looking on google and couldn't find a answer. I have a application I created in adobe flex and I need it to scale to the users screen and fill the entire browser window no matter what.
View 1 Replies
Nov 20, 2009
In AS3 flash - I have a textField with a CSS in it that looks like this:
body {
fontSize: 10%;
}
When it runs, the font is small. When I click the full screen button, I expected the font to increase proportionally because I set it for 10%. However, this is not working, the font stays at the same size as when not in full screen. I have debugged the onResize event and I can see the style fontSize=10pct when I log it out.
Am I misunderstanding the meaning of % here? I was hoping it would increase the fontSize automatically when going to full screen mode, but that does not appear to be the case.
View 1 Replies
Jan 20, 2009
When you drag the screen in any direction the background scales and rezises.But How do I make the text stay center and a certain size so that it wont scale to fit the screen and will stay a certain size
View 1 Replies
May 6, 2009
I am trying to create a website that will full scale the browser window with all the flash elements inside but I am having trouble deciding what resolution to design in and how to lock certain content to not scale.
I am trying to achieve the effect that will consist of a high resolution image as the background for each section of the website that will full screen. Content such as logo and footer etc should always remain locked. An example of this can be found at http:[url]..... If you shrink the browser window all content stays centralised and the top and bottom footer do not scale, although the central part of the site does change. I was wondering how this effect was achieved? How does some content remain locked and others scale. I really can not figure out what dimension size to design in and achieve the high res image effect for the site. I too will require a top and bottom footer.how that site was published and constructed that would be brilliant.At present I am playing around with the following code:
fscommand("fullscreen",true);
Stage.scaleMode = "noScale";
Stage.align = "C";
I then know the publishing settings should be set at 100 x 100 percent and that when the swf is imported to the html to write the following style tag:
<style>
body {margin;0px:padding;0px}
</style>
View 1 Replies
Sep 3, 2009
I am making a Full Screen flash site and I need my BG to scale proportionately. Currently I am using:
Code:
_root.attachMovie("bg3","bg3",_root.getNextHighestDepth());
bg3._x = Stage.width/2;
bg3._y = Stage.height/2;[code]...
View 1 Replies
Sep 2, 2009
Essentially I have an animation with two main movie clips - a foreground and background movie clip.I want the foreground movie clip not to scale but the background movieclip to take the full screen of the browser.I'm only using vector images
View 1 Replies
May 6, 2008
I'm trying to load an swf into a main xml-generated swf (photoGallery.swf). The external swf doesn't seem to scale and my display is all messy... After so much coding and so little to no experience, I'm pulling my hair. #_#
check out my files here: [URL] (the folder's size is too big to be directly attached to this post).
View 5 Replies
Dec 20, 2009
i'm trying to load an external swf (as2) and I want to use it as a background for my movie.I'm doing it with this code:
Code:
var bg = new Loader();
bg.load(new URLRequest("background.swf"));
addChild(bg);
[code]....
Why is not working when I set as the width and height the stageWidth and stageHeight parameters?
View 1 Replies
Feb 2, 2011
[URL]while in "portfolio" section, if you resize, the content go to the left.I know WHY it does it : while in a MC, an external movieclip lose his stagesize to compress into the movieclip, if resize, it use the size of ALL the content in the SWF to resize. the external fla stage is 1600 x 680, but the content goes out of the stage to the right to make an 1760 x 680 size.to make it LOAD at the right place and right size, i've got a layer with a MC (externalStageSize) in the external SWF that is the size of the Stage, while on frame 1, only this MC(externalStageSize) is active, so when loaded, the _level0 flash can position and scale the external SWF.
BUT, while active content is on, any live resize does not go well..I tried to "connect" the scaling with (externalStageSize) BUT once loaded the size does not change.I wanted to use the math : "new width" = ("allcontent".width / externalStageSize._width)/Stage.width but _level0.ContentMC.externalStageSize._width return the value it have in the flash... like, even if rescale, it will say "1600" is there a way to counter this ? before you ask : AS3 was out of the question because the person who will maintain the site is not that advanced.
some script used when resize :
ContenuMC : the movieclip in witch external swf is loaded
Code:
function setContent() {
// content dimensions
ContenuMC._width = Stage.width;
[code]....
View 1 Replies
Aug 18, 2009
I have 1 class (that is extending a UIcomponent) that is representing a component. In that component I create different instances of another class that is also a UIComponent but this class doesn't show up in de first class. I see that it is running and that it has the correct hights but I got the feeling that it doesn't show up with this hights. If I trace I see the width and height is 200 X 200 but there is still nothing visible in my component.
View 1 Replies
Dec 27, 2010
I wrote these functions which I use in conjunction to scale down some BitmapData and save it as a PNG. However, the scaledImage.draw(originalImage, scalingMatrix, null, null, null, true); line with smoothing set to true does not have the intended smoothing effect when I save the bitmap data as a PNG using the second function. The resulting image file is not antialiased at all. Is there anything I'm doing wrong here?
public static function scaleImage(originalImage:BitmapData, size:int):BitmapData
{
// Calculate the scaled size.
[code]......
View 1 Replies
Nov 3, 2009
i have a 2 swf, one is main.swf, and another one is load.swf, the load.swf height and width will be change dynamically but i have to load the load.swf into main.swf, with best fit the screen. how?
my main.swf is 1000x780 and my load.swf more than or less than 1000x780 how can i fit this? i use to load the load.swf is content_mc.loadmovie("url");
View 1 Replies
Sep 6, 2009
I've built a photo gallery that resizes with the window browser. The only problem is that when I first open up the window the gallery is not properly scaled to fit the window size. I was given a tip that when you place resizeListener(null); in the code. This worked, but the only problem is that the image scales disproportionately when the window loads. I've noticed that when I tinker around with some of the code (highlighted in RED below) it effects this, but I have not figured out how to resolve it.
import gs.*;
import fl.transitions.*;
import fl.transitions.Tween;
import fl.transitions.easing.*;
[Code].....
View 1 Replies
Mar 8, 2007
Scenario: main moveiclip with 4 other clips in it. I want the rolledover clip to scale up and all the others to scale down and blur.
Question: What is the most effiecent way to code this. Would it be a "for in loop"? I am trying to minimize the code and would rather not use a whole bunch of if then statements.
View 3 Replies
Feb 19, 2010
I want my flash content to scale when I scale my browser window.
View 5 Replies