ActionScript 3.0 :: Resizing Flash | Different Browsers?
Oct 8, 2009
I'd like to create an animated background for my latest gig using Flash. My only issue (as of right now) is different browser sizes. I know a way to make a standard background resize (meaning no nasty scroll bars) using Javascript, but it's not working with the embedded movie.
Because i design on a new mac book pro, my resolutions is very high and the flash movie fits perfect in my screen, just the way i want it to sit in every computer.
But on a computer with a lower resolution, i now that that my web site would be much larger and not fit right.
So how can i make it so the movie adjusts to different resolutions and sits just perfect?
I inherited a flash website about a year ago.. not sure what version it was originally done in. I've made changes on the model last year using CS3 Flash Action script 2, but don't remember the flash version when published. The audio in question is the music that plays in the background when you get on the website:
[URL]
When I changed the image of the model this last week using CS4, I published it as Flash8 actionscript 2... now, the music plays on Mac Safari and Mac Firefox, but not on the Windows versions of IE or Firefox..
this is the code called sound control
onClipEvent(load) { _root.soundstatus="on"; _root.mySound = new Sound(_level0);
[Code]....
then there's the stop() that's used when the music is toggled off..
I've tried updating the flash player in Windows to the latest release, and I even tried republishing as flash 10, just not sure where to troubleshoot this..
I am not simply trying to contain things and have the container resize without the contents resizing. I would just use a simple MovieClip for that.. My main focus is on the use of BitmapFill. I'm trying to make a repeating background image for a container; thus far I'm able to draw my BitmapFill sprite to the size I want. (Which is the stage's height) but when the stage is resized, I want to re-size my container but have my containers BitmapFill crop or add more as the window is resized bigger or smaller. Allow me to illustrate what I mean:
I've got a simple rectangle sprite that fills with a bitmap from the library and a simple resize handler function that detects when the window has been resized.what I would like to do is have my rectangle resize to the height of the stage.stageHeight maintaining its bitmap fill, but not resizing the bitmap fill or any children within the sprite.
From what I've read, this is a little tricky because the sprite resizes in relation to what it contains.. or.. something like that.. I really don't know any more.. I saw one example where a person extended the sprite class but I don't know why or how..
in my library there is an image called 'pattern' and my code looks like this:
I'm loading a few pngs/jpgs externally so they can be swapped out occasionally, and the issue I'm running into is when they are shrunk they become fairly choppy. Is there a way to have flash re-render them, or do something to smooth the resizing as opposed to going in and resizing every file manually myself?
I've got a little problem with BitmapFill, I'm trying to use a sprite as a container for various things and i would like it to have a filled pattern background. my problem is that i want it to resize the sprite to the height of the window but not have the background fill resize, and add more / crop as the window size is changed. to illustrate what i mean, please view the diagram attached to this post .
I have an image in my library called 'pattern' and my code is as follows:
Any word on the development of Flash for 64 bit browsers? Last I saw from Adobe was a note posted over a year ago saying they were working on it. 64 bit browsers are really common now.
Flash 10.0.45.2 bug with web browsers Internet Explorer and Fire fox Mozilla. I noticed this bug recently on youtube and facebook while I was trying to watch some videos the video was not playing I had to restart my computer again to fix the issue. This is a temporary problem which could be resorted by giving a restart.But I thought of bringing this bug to notice. I agree with Steve Jobs and the Apple people that adobe flash really hangs the pc and its buggy at times
I was wondering, because of my recent liking of AS3 and active flash content:
Just how compatible are flash files in web browsers?
Will they run in every browser? (obviously not, but which ones don't they run in / which ones do they have trouble running in?)
Why, in Internet Explorer does it always give me a hard time about running active content with its security warnings? (is there a way to get around this / allow the content to play normally without hassle? e.g When I got to Sony.com Internet Explorer does not complain about running that active content.)
Is there anything else you know about the compatibility that you would like to share?
Not sure if there's a fix for this or not. I've had this happen to me on the last two sites I've built. I embed the flash movie into my site in Dreamweaver, and everything works perfectly in Safari. When I view the site in Firefox however, the flash movie loads a few pixels off (see pics). Anyone have a fix for this?I've tried setting the vertical align of the movie to "bottom," and I've also tried dragging all of the cells tight in the site. I've even tried rebuilding the site all together. As soon as I bring in the flash, the cells get off in FirefoxSite in Safari:
I have a flash interactive (Flash Player 9) with a shadowbox (lightbox clone) display wrapper. Interactive has fullscreen capabilities and is set to wmode:transparent.Works great in FireFox 3+ and IE7.IE6 and Firefox 2 however, instead of popping up in the 640X520 shadowbox diplay box, it opens up the actual .swf file (and fills the entire window).Anyone know what the likely culprit could be? Is the shadowbox wrapper, flash parameters, or fullscreen mode?I tested other shadowbox flash files in IE6 and Firefox2 without issues.
i am facing problem with internet explorer and google chrome, viewing my flash document. When i test my flash document on IE, it simply does not show my flash work at all. Instead this show up:
and on google chrome i have just click on screen for it to show otherwise nothing happens.
I have a Flex 4 application which connects to ASP.NET webservice based on FluorineFx. It is authenticated by cookies via RemoteObject.setCreadentials()
Both applications connect to FMS server and talks to each other via RTMFP direct connection (P2P).
I want to debug both instances of this application in Firefox and Internet Explorer at one time by single click (F11).
Now I can debug only in one browser by running Debug in Flash Builder 4. I have created double browser runner with bat file registered as default browser in Preferences > General > Web browser that looks like this:
I have swf object with z-index:-5; position:absolute; Also a div with ul in it where div has also, z-index:5; position:absolute; All browsers display div over my flash except IE9.
I have one swf, and roughly 4 or 5 classes. when the swf loads, the document class places 3 movieclips onto the stage- one of them animates across the screen. Using the tween class, I listen for the COMPLETE tweenEvent, which when triggered, instatiates a slideshow class. the slideshow class loads in a series of pics.On safari(mac), linux, no issues. on firefox(mac), the 3 mc's never appear, but instead, there is the same time delay as if the animation did play, and then the pics DO load. my client says everything works fine on first load, but returning back to the page after navigating away causes the same problem I described above. THey are on IE- probably 7.
I've created a Flash animation and inserted the SWF file (created in Flash 8) into my Dreamweaver CS2 file. It all works fine in preview (both in Flash and Dreamweaver). But on any of the browsers the public file doesn't show the flash animation.
I have a transparent layer in Dreamweaver over the SWF file so that I could put hotspots which are working.
Here is the link to the website:[URL]
I've updated AC_RunActiveContent and downloaded a trial FlashCS5 but still no luck.
I'm having problems with Flash Player locking up my web browser. Any time I play a flash movie to make the browser crash (not responding). I've tried IE 8, Firefox, and Chrome all with the same results. Here are the specs:ATI Mobile Radeon driver version 8.632.0.0Flash version 10.153.64Windows 7 HP 64bit4GB RamDual Core AMD
Trying to solve flash video crashes in multiple browsers. Both IE8 and Chrome in Windows 7 Home Premium 64b were crashing with flash videos. Reading forums, Adobe Flash was to blame in that it has problems with IE8 64b etc. Well I made sure that the 32bit version was running and still had the same problem. Occasionally I noticed a message advising that the 8500 graphics card had recovered rom a crash. The graphics driver was uninstalled and then re-installed. Strangely both my browsers were no longer processing internet packets. I uninstalled Chrome and re-installed the latest version. IE8 and Chrome then operated normally AND no more flash video crashes.
Back in 1999, I taught myself how to use Flash (it was before Actionscript). I used it to make a funny website called Mirsk-T: [URL]..I also created some basic HTML on the site's front page to determine whether a visitor had Flash version 4 installed. If the person didn't, then the person would see a page with a link to Adobe's download site.
Now, it's 12 years later and I haven't used Flash since I created Mirsk-T in 1999. I also haven't done any HTML coding either. But I'm having problems getting Mirsk-T to work with certain browsers. The site works fine with Safari, Internet Explorer 6 and 7, and OmniWeb. However, when I access the site with Firefox or Chrome or Camino, I see the GIF image I created that appears when a visitor doesn't have Flash installed. And I know I have Flash installed on those browsers.
I therefore have no idea why the site isn't working with those browsers.
A few more details: The Mirsk-T site consists of two different pages. The opening page is at www.mirskt.com (www.mirskt.com/index.html). It consists of a Flash movie that is a song with animated lyrics. Once the song ends, visitors are taken to [URL]..The page with the song is what's not loading in Firefox, Camino and Chrome. If I directly put [URL]..into the browser bar of Firefox, Chrome and Camino, that part of the site works. So, there's something strange going on with the HTML in the page with the song. I'm guessing the HTML I had written back in 1999 for detecting Flash is not working anymore somehow.
So, I'm wondering if anyone has any idea why the front page (the Flash movie with the song) isn't working in some browsers. I don't know if I'm skilled enough to be able to change the HTML even if someone here knows what's wrong. But then maybe someone here could do me a favor and quickly fix the index.html file. I'm guessing it would only take a few minutes for someone who knows what he/she is doing.
I'm looking for a way around using flash for video's on a site. Any suggestions for something that might work across multiple browsers that isn't flash based? HTML5 seems promising, but I need something with more browser acceptance. I'm trying to avoid having to serve up difference video's based on user agents.
I have a Flash carousel on my website, and I wanted to change one of the images, and delete another icon altogether. I have uploaded the revised XML file, published the new .swf (just in case), and uploaded to my Joomla site.For some strange reason, its still showing the old icons in Firefox (even though I've deleted these images from the referenced folder), and its showing the new icons in IE, only without the one image I added. Very strange.I've refreshed, created a new .swf, made sure I've saved the XML file etc but no changeThis is probably one of those amateur mistakes I think, I've thought of everything but drawing a blank at the moment.Oh i should probably mentioned that the revised carousel has 4 icons, and the old one has 5. The new image I put in has an icon of a jigsaw.XML File is as follows
This is such a common thing that I imagine there must be a "good" way of cleanly embedding Flash into HTML5? I'm only interested in supporting the following browsers: FF3, FF4, IE7, IE8, IE9, Chrome and Safari.
I know there's some Javascript solutions like SWFObject, but that seems like overkill. Isn't there just a clean, quick and easy way using HTML?
Additionally: Is there any downside to just using <embed>? It was previously depreciated by the W3C, but I understand it's back in HTML5. So why not just use it instead of faffing around with <object>?
I have a flash menu on this site: www.lakecenter.org. The menu works fine in all browsers EXCEPT IE9. It looks like this javascript file is not loading:
In IE9 it just displays BUTTON1, BUTTON2 etc but in all other browsers it displays the complete menu. This is what happens when the ActiveContentDropDownWide.js script is removed which is why it seems to be a problem with that script and IE9. But I could be wrong?