ActionScript 2.0 :: Scale External Images To Full-screen?

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


Similar Posts:


ActionScript 2.0 :: Full Screen, Keep Scale Ratio, Center Screen?

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

Flex :: Scale An Image To The Full Screen Using Actionscript?

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

ActionScript 3.0 :: Slow Performance With Full Screen And No Scale

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

ActionScript 2.0 :: Scale Objects When Switched To Full Screen

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

ActionScript 3.0 :: Full Screen Scale Mode For Specific Movieclips?

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

Flash :: TextField With Css FontSize Set To Percentage Does Not Scale In Full Screen?

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

IDE :: Flash Full Screen In Browser - Lock Certain Content To Not Scale?

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

ActionScript 2.0 :: Making A Full Screen Flash Site To Scale Proportionately?

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

ActionScript 2.0 :: Movie Clip Not To Scale / Background Movieclip To Take Full Screen Of Browser

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

ActionScript 3.0 :: Scale Images In Full Browser Sites?

Jul 24, 2010

What's the best practice to scale images in full browser sites? I am new to Flash and have a pretty good understanding of how most things work in Flash. My newest goal is getting Flash to scale 100% on all browsers. But when I do, my pictures become pixelated and I'm sure videos would do this as well. So my question is - what's the best practice or actionscript to keep this from happening? Sites like [URL] that have utilized their abilities to scale their images on any browser are great examples. How can I achieve this?

View 1 Replies

ActionScript 3.0 :: YouTube Chromeless Player Ceases To Enlarge Up To Full Screen Width In Full Screen Mode?

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

Prevent Images From Stretching In Full Screen?

Mar 24, 2010

I am having troubles with a Flash presentation (photo gallery) file that is stretching the images out of proportion. The photo gallery is a fullscreen presentation and it acquires the images from an external images folder via a XML file. Is there any particular code that I'm not aware of to keep the images displaying in their correct proportion in fullscreen instead of them stretching all the time?

View 3 Replies

Make The Gallery Images Full Screen

Jul 15, 2011

[URL] They wanted me to make the gallery images full screen.. I have done this but this time the next and other buttons stays behind the big image when you enter the gallery (koleksion and showroom parts). Also the sliding menu stays behind this picture.. How can I fix this that the buttons and menu stays on the picture..

View 16 Replies

ActionScript 3.0 :: Display A FLVPlayback Full Screen The Same As When Click On The Full Screen Component Button?

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

Flash - Close A Video From Full Screen Without Closing The Projector Full Screen?

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

Javascript :: Flex - Get Full Screen, Withsame Vertical And Horizontal Bar, As It Was Just Before Full Screen?

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

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

Flash :: Resize Loaded Images When Switching To Full Screen?

Nov 2, 2009

I have a swf that loads images from my server and resizes them to fit the 800x600 stage size. The original images are stored at 1024x768 max pixels. The user can press a button to go into fullscreen mode. What should I do to show the images at the best quality?

a) should I resize the loaded images to their max size (1024x768).

b) do I need to reload the entire image if it has been resized to 800x600 or is the original image still accessible and I can replace the 800x600 image with the original?

I am using AS2 and Flash 8 (but require users to have Flash Player 10 for fullscreen)

View 1 Replies

Asp.net Mvc :: Include A Page Which Displays Images From Database, In FULL SCREEN MODE?

Apr 7, 2012

I have a working MVC project.I want to include a page which displays images from database, in FULL SCREEN MODE.How do i go about this? Flash? SilverLight?

View 2 Replies

ActionScript 3.0 :: Online Photography Portfolio - Scalable Full Screen Images

Jun 7, 2010

I am currently building myself an online photography portfolio. I want scalable full screen photos. The only problem here is, photos are different sizes and landscape/portrait. This is what I have so far. [URL]. If you resize the browser to a different ratio to the landscape image, you see black margins top and bottom. I want the image to always bleed.

This is what I have used:
ActionScript Code:
//resize image function setImageSize():void {
// Portrait image
if (imageLoader.height>imageLoader.width) {
imageLoader.height=stage.stageHeight-thumbBase.height;
imageLoader.scaleX=imageLoader.scaleY;
[Code] .....

For a portrait image, I want to show the margins so I am happy how it is for portrait.

View 3 Replies

ActionScript 3.0 :: Why Does Full Screen StageDisplayState, Makes Videos Full Screen?

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

ActionScript 3.0 :: Go Full Screen By Using The External Interface?

Oct 16, 2008

I'm trying to go full screen by using the external interface...

i am able to communicate with the flash via JS but there it doesn't go full screen.

Is there any security issue concerning this?

View 2 Replies

Flash - AS3 External SWF Full Screen Button

Dec 13, 2011

Right now in my project I have a main SWF that loads an external SWF that contains a youtube chromeless player. My issue right now is that the main+loaded swf are embedded in HTML and there is an effect on the site that moves the flash. I have the video controls in html/javascript but since I can't externally call fullscreen unless its a flash button the controls have a "hole" in the bar to allow a button in flash to poke through for fullscreen. Issue is that when the flash moves, so does the fullscreen button. Basically can a separate embedded flash swf just act as a fullscreen button for another embedded flash object?

View 2 Replies

ActionScript 3.0 :: Calling An External Swf And Going Full Screen

Oct 1, 2009

im trying to make a swf where when i click a button it calls an external swf and then goes full screen.

View 6 Replies

ActionScript 3.0 :: Resize External SWF To Full Screen?

Aug 20, 2011

I'm building a course to be hosted on my LMS and am unsuccessful at resizing my external SWF files in my player.

My Flash HTML output contains:

HTML Code:
<style>
html, body {margin-left:auto; margin-right:auto; height:100%; background-color: #ffffff;}
body {margin:0; padding:0; overflow:hidden;}

[Code]....

When I launch introduction.swf in preview and resize my window, it all works great, but in the HTML page is does not scale the external SWF.

I have messed with various different solutions with now change in results.

View 1 Replies

ActionScript 2.0 :: Full Screen Scrolling On External SWF's?

Feb 3, 2008

I am loading external SWF files into a blank movieclip (content1) Problem is each SWF is different in height.I need to be able to do a full screen scroll but the scroll will only work with the main stage height, Is there any way to make the page scroll to the bottom of each external movieclip? At the moment it either clips off or I have to set the stage height to something like 1200px to scroll through all the text.

View 2 Replies

ActionScript 3.0 :: Centered External Swf Over Full Screen Bg?

Mar 9, 2009

Im attempting loading external .swf while having it centered OVER a full screen background.everything works in this code I have here, I just cant get the .swf centered, what am I missing?

Code:
import flash.display.*;
import flash.net.URLRequest;

[code].....

View 4 Replies

ActionScript 2.0 :: External Links From Full Screen Toggle?

Dec 22, 2009

I am having a issue when in toggled full screen mode. Any external links are opening behind the browser window.

View 4 Replies

ActionScript 2.0 :: Full Screen With External Contents Loaded?

Feb 8, 2009

can I make the flash movie full screen (filling entire area of browser window and continue to do so on window resize) AND load an external swf into that movie so that external swf does not get stretched but remains at 100% its default size?

View 1 Replies







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