ActionScript 2.0 :: Slideshow Resizing To Full Browser Only Work Halfway
Jan 6, 2010
We've only successfully got this flash slideshow to resize correctly up until it goes to the #2 slide. I've looked all over the net, including this forum, many other have similar problem with resizing and scaling their movie clip to the full browser with correct aspect ratio, but most of them all involve a single video MC only. In my case, it's a bit more complicated which involves several pictures, masks, along with a pre-loader. Here's the FLA file. [URL]. Basically in a nutshell i am trying to make a website with an animated flash background that will scale to the user browser size according to the increase and decrease in browser width. exactly like you would see here on samsung's website [URL]. We know that it has something to do with the resize listener code. but we just can't overcome this glitch.
View 0 Replies
Similar Posts:
Feb 27, 2009
I'm using the code below to resize a mc so that it fits a full screen browser even when its resized. Its working fine but...
How do you make the mc (bga) resize in proportion. At the moment it squashes & stretches
// ***Stage aligned top left
Stage.align = "TL";
// *** Stop the stage from scaling with the browser window.
[Code]....
View 2 Replies
Jul 23, 2007
how people use the full browser size in flash, even when resizing? Just like they did on [URL], the navigation is always on the bottom of the window, still after resizing the same for [URL], here also the background images resize real time
View 3 Replies
Jun 23, 2010
How do you prevent all of your text automatically changing the font size when a browser is made full screen? I have a number of fixed field sizes I want my text to stay within but when the browser is expanded to full screen it changes the fonts so the text no longer fits in the text boxes and it forces scrolling.
View 2 Replies
Aug 2, 2009
I'm working on a slideshow using a class that I wrote that builds the slideshow and an XML file that points to the images. I plan on improving it later but for now I just want it to cycle through a set of images, resize them if they're too big or small, and show a loading bar while the image is loading. It works fine if I test it in the Flash IDE or standalone Flash Player, but if I drag the SWF into Firefox or Safari, the loading bar refuses to show up. I also tried publishing to an HTML file and that didn't work either. I figured there could only be two different reasons why it wasn't showing up - either it wasn't being added to the stage, it wasn't being made visible after it's initially set to invisible. I decided to comment out the part of the code that make it invisible to begin with the loading bar showed up, but it wasn't showing how much of the image had been loaded when it changed to a new picture. Here's my code:
[Code]...
For some reason the pictureLoading function isn't being called when I test it in any browser. I've seen the loading bar randomly pop up a few in times in Safari 4 but then I try closing the window and testing it again and I get nothing. Can anyone help me figure this out? About:plugins in Firefox says I have Flash Player 10.0.22 installed, and I'm using Flash CS3 in OS X.
View 3 Replies
Apr 1, 2010
I am working in Flash CS3 and Actionscript 3.0 My application resizes according to browser width and height. If the user first resizes the browser and then loads the flash application, I could not get the full browser width untill the user goes for full screen. Is there any way around, to get the full browser width before the user goes for full screen.
View 1 Replies
Jan 22, 2009
I'm working on a small flash site and I want the swf file to have "bleed" or to go to the very end of the window so that the swf isn't just ploped over top of a background. [URL]
View 1 Replies
Apr 14, 2005
I have a standalone Flash projector running off CD. Currently, I use
getURL("http:url....);
to open the page on default browser. Only problem is the browser window is opening at the size it was last used. I like to see it opens full screen.
View 2 Replies
Jun 17, 2005
I've modded an early version of the infamous resizing slideshow script to pull sound clips from the XML file, and automatically advance to the next photo after the sound clip finishes.
But if you just let the slideshow run by itself, it doesn't perform the resizing border trick right. It gets hung on the size of the first picture, and from then on, it's always one picture behind (unless you press the next or previous buttons at any point, in which case it corrects itself).
You can see my problem for yourself.
You can download a zip file that includes the FLA.
I'm pasting what I think is the relevant code below.
Code:
// Show the first slide and intialize variables
function startSlideShow(success) {
if (success == true) {
[Code]....
View 1 Replies
May 8, 2007
[URL].. Anyone know the AS to make it automatically check the size of the browser for the listeners_notice when you resize the browser it works perfectly...but not when it first loads up.
[Code]...
View 11 Replies
Oct 3, 2009
does anyone here know a free or commercial slideshow component for AS3 (must work with flex 3) which does the following:
cross-fading,ken burns zooming and panning with per image definition (eg. with xml file)scale-to-fill resizing of images dynamically resizable frame size (so it can be used as a browser background)It should work like on the following site [URL]My client wants this, but programming it from scratch will take rather long
View 2 Replies
Feb 11, 2004
i'm trying to make a slide show under the image is a grey bar that has to resize to every new image width.i found this kind of effect on this very nice site of a german photographer [URL]i would like to implement this into my design.i tried to make it by making some changes to a script i found a kirupa, but ... i don't get the right result.
View 6 Replies
Apr 16, 2005
is there a way to tell flash in a button event to open a a html site (php-cgi) with a small size, lets say like 300px x 200pxThe html.site/php-cgi) id like to get openned and resized at 300x200 looks like this:
__________
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
[code].....
View 4 Replies
Mar 8, 2011
I need to re-size the imgx attribute in the code below,at the moment image only covers half screen, I want to use to my desired size (full size)[code]
View 2 Replies
Jan 7, 2007
I'm trying to resize a full flash site. I'm using if statements to do this. Is there a better way? I want the resize to hold the proportions. Additionally, my if-statement method is too cumbersome. It doesn't always keep the content in the center (doesn't resize to the content to be in the center).
Scenario: The base is a black background that resizes according to the window size. The main image stays in the middle of the page.
Code:
var holderAllMC:MovieClipLoader = new MovieClipLoader();
var holderAllMCListener:Object = new Object();
holderAllMCListener.onLoadProgress = function(target, loaded, total) {
[Code]....
View 8 Replies
Dec 7, 2010
Consider the following Flex code:
private function fullScreenHandler(evt:FullScreenEvent):void {
if (evt.fullScreen) {
viewstack.selectedIndex = 2;
[Code].....
I have a viewstack with two containing canvases. Canvas 1 is used when in normal mode and canvas 2 which is used when in full screen mode.
To properly resize the objectInViewStack2 I need to know how large the screen is when in full screen mode.
View 1 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
Jan 23, 2009
I have a stage of 600x400 and in the publish settings I chose this same width and height (with pixels dimension, and scale: No Scale).And when I load the swf in a browser:
[URL]
It resizes the swf stage size.(I know this because I have a value which is positioned according to the stage width/height, and also because if I choose an opaque windowless I can see that it is bigger than I want it to be)Am I loading the .swf wrong?
View 2 Replies
Feb 10, 2010
I saw this site in another post and I've noticed this becomming the trend in photo galleries. [URL]When you drill down and open up a photo, the photo resizes with the browser while the rest of the movie elements expand without resizing. I'd love to know how this is done.
On a side note, it used to be impossible to resize a photo cleanly in Flash. Is something being done here or is it just improvements in Flash players?
View 4 Replies
Jun 9, 2011
Basically I am working on a project which I have coded using HTML, HTML5, CSS and JavaScript. The issue I have is that I want a flash object/animation to show on the first page. Now despite resizing the file within the HTML it seems that within Firefox and IE it sets a default size and doesn't fit the screen.
When tested on Safari it seemed to work fine but just doesn't show as intended on Firefox and IE.
Below you can a find a link to get a better understanding of what I mean.
[URL]
View 1 Replies
Feb 14, 2006
i need to dinamically resize some swf in flash 8 but the only code i found on internet for resize swf's stage is for an old version (6 or maybe 7)i tried to use in flash 8 but i guess for security issues it just don't work
View 2 Replies
May 11, 2009
i have 2 movieclip in my flash file. 1st one is the background which i want to resize full accoding to the browser.
2nd one i don't to resize it should be in the same size accept the 1st movieclip.
i tried 100% window from the publish setting but it resizing both the movieclip.
View 1 Replies
Feb 12, 2010
i've a problem with the resizing to the browser of a swf. I preload this swf that have in one layer a movieclip that contains the main animation and in the above layer this actionscript:
[Code]...
Does the resizing actionscript is loaded when the preload load the swf "main.swf"? Because it seems no. In fact when the preload end its process and load main.swf the code in the first layer (the above code i've posted here) for resizing it and adapting to the browser page seems that it's not working. seems that it jump that code.
View 8 Replies
Sep 21, 2010
I've some problems with my flash website I've a photo as a background and I need to stretch that image on browser window without scale. I need that the image was expanded on all window of a browser and proportionally changed together with change of a window of the browser.I've been set 100%x100% in Publish settings and padding=0,margin 0 in body style in dreamweaver. I have been using
stage.addEventListener(Event.RESIZE, resizeListener);
function resizeListener (e:Event):void {
trace("stageWidth: " + stage.stageWidth + " stageHeight: " + stage.stageHeight);
[code].....
View 6 Replies
Dec 4, 2011
I'm about 99% done with a site I'm working on and the client just hit me with a low blow.The designs that I got from their designer were a certain dimension, so I built the site with the assets based on those dimensions and now that I'm nearing the end of the project, the client seen the site on their 13 inch macbook and freaked out "everything looks too big!" is what they said. Is there a way to resize assets based on browser size without having to go in and do too much modifying? I tried looking this up, but I got a bunch of Event.RESIZE responses which I don't think I'm looking for that.
View 3 Replies
Jul 2, 2009
Intro:I started a flash-based website a few years ago. Back in 2006 I was able to get a xml scrolling thumbnail, image loader to work without a glitch.For numerous reasons I had to put the project on hold until now. [one was that my 30 day trial of flash expired and only recently was I able to purchase the Adobe Web Suite CS4 as well as a new computer which could run the apps.]
Last Friday saw a bump in the road in the development of my site as two, rather straightforward task, turned into something short of a nightmare as I have been unable to get past these two, seemingly, relatively simple task.I have posted in 4 other flash forums the issues, in detail, that I am facing - and have quite a bit of interest/views in the topic as the numbers suggest - yet no response/answer as of yet. [Which confirms other messages I have seen which seem to state that working with buttons has become increasingly difficult with the newer version of flash - something Im a bit surprised with actually from Adobe. - I would have thought there would be a palette where you could set parameters...]
Screenshot of Site/Timeline: Before getting into the two questions I have, I would like to post an image of the site as it looks whenever an swf file is saved out, as well as a piece of the timeline in the back for reference.As of now when the swf file is saved out you get exactly what you see above:
a: A scrolling thumbnail
b: ...which loads a large image when clicked on it - PEFECT...
BUT...1a: I need for the buttons to load in this action, not for it to just load on its own.[i.e., the silk_paintings gallery is what is open, so I need the "silk_paintings" button to call up this action]
note: Initially I had attacked this problem by taking out the actions layer you see above and applying it directly to the individual buttons with some crude MouseEvent Listener/Handerls... that did not work - at all.Im sure it may be "easier" to make an array out of it, but with my coding level it may be "easier" to apply it to the buttons.
1b: How I currently see it, I would take the xml-list and duplicate it for the number of galleries I have.[I would then re-name the xml-list to reflect the name of the galleries they are to represent, i.e. "silk_paintings"][also, I would have to rename the folders to "thumbnails1,2,3, etc., & "images 1,2,3, etc"
From there I would duplicate the actions and paste it into the buttons, changing the xml-list name to that of "silk_paintings", etc., as well as write in the MouseEvent listener Handler to make it work. [ah, ha, but what is that magic phrase, I have tried to implement various code from other tutorials, and all in vein.]
At this point I would be tickled pink just to get this to basic function to work.However, once the buttons are working and calling up the xml, etc., then I need the buttons to stay on the semi-transparent blue color it is whenever in the 'hit' state. [note: NOT pictured above.]With the way the buttons are currently set up, and with wanting to use scripting to get them to interact with the thumbnail gallery, it will have to be some miraculous code to tell that button what color to stay as whenever its clicked, and of course it going back to white when another button is clicked.
Conclusion:Since this is an Adobe Forum I would like to make a few additional statements in hopes that the developers, etc. may take heed.Adobes products are not cheap, and when I went to purchase the websuite I went in as a designer needing a program as not to need to program.I understand the flexibility that coding gives, but something as simple as linking buttons should not be in the realms of rocket science.
stop();
fscommand(allowscale, false);//keep SWF display at 100%
var x:XML = new XML ();//Define XML Object[code]....
View 31 Replies
Apr 21, 2009
I am building a flash site for my own photography business and the site is designed in such a way that it will scale from 1200x720 down, but never up. So on the biggest monitor, the biggest this should get is 1200x720.
I am having an issue where after you resize the page down smaller than the biggest, i the main container of the content "mainStage" is too small, and even after maximizing the window, it is still stuck on a small size.
-- if you refresh the page with the window at ANY size, it works PERFECTLY.
-- if you resize the browser without refreshing the page, you will reproduce my issue.
I have uploaded the page here to be seen. [URL]
-- Here is the source for this. [URL]
i really want to get this resizing dynamically to work before i work on the rest of the page.
View 13 Replies
May 15, 2010
i am making flash website in AS3 and i have i problem with resizing.I tryed a houndrit codes, classes, examples, tutorials bud nothing worked correctly.In main timeline a have two movieclips first is as a background and second as wholesite. I dont want to resize Background. I want to resize WholeSite movie clip only. It will resize to browser resolution. But width and height stay constrain - width go resizing with height. Here is my FLA: http:[url]....and here is test of that site: http:[url]....
View 3 Replies
Apr 11, 2009
Is there a way to detect when a browser resize has completed? I have a function I want to execute once when the browser has finished resizing, but putting it in my resize function causes it to get called multiple times.
View 2 Replies
Sep 12, 2008
I am building a website and want it so that when the user clicks a hyperlink it opens a new browser window that is 700 x 400 when it is opened.URL...
View 1 Replies