ActionScript 2.0 :: Why XML Image Preloader Works In IE But Not Firefox
Mar 2, 2007
My portfolio is a combination of elements from Kirupa's gallery and my own.The portfolio works fine but the loader just doesn't work correctly. It can be tested at URL...In Firefox the loadbar flashes once(which it shouldn't do) and the dynamic text box displays a NaN% and then 100% so something isn't being defined correctly. In IE 6.5 however there is no NaN% displayed, the preload bar flashes once and then works fine. I don't know why there would be a difference between browsers.Please take a look at the code below and let me know why the files being loaded into the picture container aren't correctly preloading. It's been a week of working on this endless portfolio and I just want it to be over.[code]
my site is comprised of several images loaded dynamically and added to the display list. i declare a bunch of loaders on the first frame, and add a preloader progress listener to the largest image to have one preloader for all the assets. I then added a COMPLETE listener to the same image, and add that image, along with all the others in the onComplete function. i have two issue. the preloader doesnt work in Safari. but works fine in Firefox? and i'm totally stumped on what it could be? another compatibility issue that seems to be arising is that one of the galleries of my site which corresponds to the "drawn" link. also does not seem to be working in Safari, but works in Firefox. its a fairly simple xml based image gallery, which loads thumbs on to the stage, and then loads a larger version of each, when the corresponding thumbnail is clicked. the other galleries of the site work fine in safari, and are basically the same code wise.heres my code for the loading and preloader in the first frame
works perfect on my macbook pro (safari, firefox, and opera) but when I view the site on Vmare Fusion Windows XP and use IE and FireFox the pages don't load... I don't know what to make of this. Has anyone hear or seen anything like this happen before? BTW the website was created in Adobe Flash CS4/ AS 3.0 and published using Flash Player 10.
I finished my website and uploaded to internet. And when I showed friends that use IE7, Chrome or any other browser besides Firefox it failed to work. The SWF gets stuck at the preloader at a certain percentage but the animation of the preloader still runs. Here is the link (try to watch from different browsers): [URL]
Trying to recode map program to utilise modest map rather than original hand made map routines. Finished up yesterday and had squashed bugs pretty much(annoying flicker issue but that didn't appear on another web browser I figure it's flash/browser related issue). Then I realised I need to try this in IE as well. And it doesn't work. Map loads up so modest map code is working. What is NOT working is everything else. It's supposed to track locations and draw arrows to their positions.
It doesn't go to where it's supposed to initially. No arrows are drawn. No control buttons from HTML side work. Nothing. Zip. I have suspicion it could be the ExternalInterface which works differently on firefox and IE. Could that be reason? If so how does one go detecting what browser I am using and how does one need to take that into account? Or is there something else that's different between IE and firefox I need to take into account?
IE itself only gives rather mystified error message. Message: Unspecified error(my translation since original is in Finnish) Line: 49 Column: 5 Code 0: [URL] Funny thing is both php file and output html file is 37 lines long...
I've started my first flash movie and it works in IE but not in Firefox. Can anyone help me out? Here is the code that I am using (I pulled the syntax from a web site and modified it):
in IE this just pretends its loading forever also, i got the width and the height to adjust to the window size and its working great (in firefox anyways) but thats not what im really after, i want the height to be 100% but i want the width to adjust based on either the height of the window or the height of the object. anyone know a trick for that? i cant seem to find a way to do it in SWFobject
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" lang="en" xml:lang="en">
I made a scale animation that works on IE 7 but it does notwork on Firefox 3.The button toggles between scaling up and down. In Firefox, it starts the loop for scaling up but it isquickly interrupted and return to its original scale.What should I change in the below code to make it alsofunctional on Firefox 3 ?
<head> <script language="javascript"> var obj = null;
I am trying to execute an AS3 function from my javascript using the ExternalInterface. Seems to work fine in IE, but firefox is always returning javascript error method undefined.
I have been Googling this for ages and eliminated the following possibilities:
1) Some people say you need to have an embed tag inside your object tag, so added one - no luck.
2) Many people say that you need to make sure that your flash is loaded before calling the javascript. Well my call is after pressing a link on the page. I am always using the flash application first and only pressing the link at the end.
3) Then I thought that maybe it is a security problem so added the following:
I made a scale animation that works on IE 7 but it does not work on Firefox 3. The button toggles between scaling up and down. In Firefox, it starts the loop for scaling up but it is quickly interrupted and return to its original scale. What should I change in the below code to make it also functional on Firefox 3?
My swf is on a secure server (https / Apache). It makes calls to a php script in order to connect to a database. This works fine in firefox, but for some reason doesn't work in Internet Explorer (have tried using version 6 & 7).
Now I've read Gary Rogers' page about going to Internet Options> Advanced> Disable the option "save encrypted pages to server". The problem is that this option wasn't checked when testing the games in IE, meaning that it was not the cause of the problem, however, most other people said this fixed their issue.
in IE this just pretends its loading forever also, i got the width and the height to adjust to the window size and its working great (in firefox anyways) but thats not what im really after, i want the height to be 100% but i want the width to adjust based on either the height of the window or the height of the object. anyone know a trick for that? i cant seem to find a way to do it in SWFobject
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" lang="en" xml:lang="en">
Would anyone know why the photo stack flash gallery won't work in Firefox? IE works fine. I'm fairly sure its just a bit of syntax i'm missing, or a compatibility issue. I am using a .swf file which imports images in using an xm l file and then displays them as a stack of photos which can then be rotated and looked through.
I have flash files on a page which load and play a sound file, then advance via getURL javascript to the next page when the sound file has finished playing (i.e. the movie is non-interactive, maybe this is part of the problem).
On firefox - both PC and Mac - it works just fine. On Mac Safari and Chrome at least is doesn't seem to do anything, but the same javascript works fine when I issue it to the browser manually.
1. In the html I have used OBJECT with nested EMBED. With all the browsers that I tested, this worked fine, as did having only the EMBED code
2. I have used the allowScriptAccess parameter correctly in both cases (always), and the swf is hosted on the same subdomain as the survey engine too...
3. I'll check now if a simple alert() is displayed
I have a movie that retrieves an RSS feed from this URL: [URL]
The XML document can be successfully parsed in Flash when viewed in Firefox, but it doesn't work in IE. Here is a file that demonstrate this: [URL]
However, if I open the RSS feed and save a copy of it and post it to my web server, it does work in IE: [URL]
Here's the version of the RSS that is working when saved: [URL]
I don't believe that there is any difference in the two XML documents. Cross domain policy files are in place on both servers - and it doesn't appear to be a cross-domain issue since it works in Firefox.
The code in the flash files are the same except for the URL of the XML they are retrieving. Here's the code for the one that isn't working:
var xmlFeed:XML = new XML(); xmlFeed.ignoreWhite = true; xmlFeed.load("http://www.clipsyndicate.com/rss/feed/5572?wpid=2892"); xmlFeed.onLoad = function(success) { txtTest.text=xmlFeed; }
I added a UIScrollBar component to a dynamic text box. You can see it at following address: [URL]. The first time it loads up in IE the scroll bar does not work, when you hit refresh the scroll bar works. When loaded on Firefox it does not work at all, even when refreshed. Here's a sample of how it is structured: The Dynamic text box is under two movie clips. I want to keep it as a dynamic text box because the content is pulled from an XML file found online. As a test I created a SWF with a dynamic text box and added the UIScrollBar on it, this one however is not under any movie clips and it works fine in both IE and Firefox.
I'm using Flash CS3, exporting for flash player 9 and having troubles with the code below only in Firefox 3 (flash player 9 or 10).In IE 6 & 7, all works OK.The code below should show small thumbnails of images. It does work on everything I tested except firefox 3. What is weird is that if I empty my cache and load the page online, it does not show any thumbnails or sometimes only one. However, if i reload the page without emptying my cache, it will then work perfectly.Here is my code :
Code: System.security.allowDomain("http://www.translucidedesign.com"); var prefix = 'http://www.translucidedesign.com/kana/';[code]..........
I am building a video player web-app that uses flash for playback and jquery/javascript for UI. By design of the person who wrote the flash component I need to use setVariable to communicate between the javascript and the flash player. I've read all over the internet that a lot of people have had problems gettin setVariable to work in FireFox. I designed my app in firefox because i wanted to use firebug to help me in development. Now that the whole thing has been built, i find that setVariable is not working in IE. The error i get is:Object doesn't support property or method 'SetVariable';Here's a bit of the pertinent code:I construct my html through javascript, so this is how I construct the player:
var player = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,16
Can anyone give me a clue as to why this markup works fine in Safari, but not in Firefox?This should load an ugly blue placeholder (which I get in safari) but in Firefox, swfobject just gives me the alternative content.[code]
I have a flash-based ad that displays/hides based on some javascript. It works in Firefox, Safari, Chrome ... but not in Internet Explorer 8. This is for donations to a non-profit during the holiday season,
My full screen flash site works oerfectly on Mac's (I have a mac). But on PC IE and Firefox the full screen flash site is cut off 1/4 of the way down the page (see screen shots in zip or test if you are on PC). live site [URL] The site uses a swf object (files included in the zip). I got this from a template on flashDen. my problem is that I only have my mac and can't test on PC IE / firefox. Not that I would know where to start. I think that the problem might be the swf object from [URL] but not sure? I need to sure my site to apply for jobs. But recruiters use PC and it is very embarrassing that they can only see 1/4 of the screen.
I've createa simple flash banner (FL10, CS4) that is used stored in multiple locations on a server, which is sent a relative path to an XML file via FlashVars. relative path images are then loaded from this xml file.the base class for the banner is.Thins all works fine locally and in IE but in Firefox it fails about half the time to trigger the loaderinfo Event.COMPLETE call.(essence of the Base class below:)
public class Banner extends MovieClip { public function Banner() [code]....
migrating some of my code snippets over from AS2.I tried reproducing one of my most used bit of code - the dynamic border - in AS3, but I have run into a small problem.
PHP Code: var sw:int = stage.stageWidth -1; var sh:int = stage.stageHeight -1;[code].....
So this code works great in Firefox but fails miserably in IE6, Flash Player 9. So my question is does anybody have a workaround that works on IE6, Player 9?
Changed AS3 defualt linkage to merged into code, and now my flash file will not load into firefox. It works fine in Chrome, but IE8 and firefox site at frame 1 of my movie, and no code is executed. Works perfectly in chrome. What do I do?the reason i changed to merged into code is because i made an imbeded preloader, and using preloader method as custom preloader loop and setting default linkage to Runtime Shared Library (RSL) borks the file.
Discovered yesterday that the preloader I've been working with (loads external SWFs into levels based on this tutorial) which works fine on a local preview and IE, is having some major issues in Firefox. I thought this was a little bizarre at first but have since discovered that it could be something to do with 4 bytes that IE ignores but Firefox has a problem with. I've been searching for a solution that I can use pretty much constantly since then, and I'm stumped. Here's a link if you want to see it in (in)action: link
In IE, everything is good. Page loads, preloader starts at the bottom of the progress bar and progress is acurate. In Firefox, page loads, external swfs DO preload but progress bar doesn't display. When swfs are 100% loaded, the full progress bar appears with my "click to enter" link. But people will definitely have left the page thinking nothing is happening by then.
I am currently building an animated intro page for a website and have built a preloader for it following the Preloading in ActionScript3 tutorial. When I test my movie and simulate the download, all works perfectly. However after uploading it onto the the web to test it out, I encountered a problem. The page just remains static, with the percentage stuck on 100 and the main content swf doesn't load. Here is a link to this page causing me grief, [URL]
I'm trying to preload external swf files as needed and show the progress each time a file is being preloaded. It works exactly as intended when I simulate it on my desktop but not at all when uploaded on the web: first of all nothing happens up until 50% of the main movie is already loaded and then when the the attempt is being made to load additional content, some weird number displays (-214...%) instead of the percentage. Take a look: [URL]
I'm working on a website ([URL] - don't think the flash file can be seen in FF yet) and I want to load an swf-file with some illustrations and such. As this could get a little big, I have made another swf-file which shows a preloader and loads the first swf-file. The preloader works perfectly when tested in Flash CS3, but when uploaded to and tried on my webhost's server, the preloader doesn't load anything. Instead it of the load-percentage it just writes "NaN". You can find the as3-code down below. The preloader-swf and the swf to be loaded are located in the same folder. Both are as3.
This is the code from my as-class file: package classes{ // Imports necessary classes import flash.display.MovieClip; import flash.text.TextField; import flash.events.Event; [Code] .....