ActionScript 3.0 :: Loaderinfo Event - Works Fine Locally And In IE But In Firefox It Fails?

May 4, 2010

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]....

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Flash Website Not Working On Firefox On PC But Works Fine On FireFox On MAC?

Jul 21, 2009

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.

View 2 Replies

Php :: MiniGame Works Fine In FlashCS5 But Fails Online?

Mar 31, 2011

I was wondering what is everyone's experience are on why a network request would work in FlashCS5 and in a browser locally but when i post it online it fails.The survivorId is sent from the string query. Both tests were done calling a network database.I've tried the following:Outputing the survivorId in a text field and seeing if the parameter variables were being sent correctly.Set the "Networking Only" option in the publish settings.Also is there a way to output trace actions from browsers for more in depth debugging?*EDIT: I have recreated the bug locally in a browser. Without trace actions i don't know if i can figure it out.*EDIT2: That bug only showed up because its from localhost (Apolligies, this is just wierd)Heres My Code, There is the "Stage" then it goes "localSurvivor"(movieClip) then in side that localSurvivor movieclip the "lPlayer" class is addChild() to localSurvivor MovieClipStage-> localSurivor-> lPlayer(survivorId);On the stage is this code:

//Set localP Id
var survId:Number = root.loaderInfo.parameters.sId;
//Object(root).informationTxt.text = survId;

[code].....

View 2 Replies

ActionScript 2.0 :: FileExist Works Locally - Fails On The Web

Oct 15, 2009

I have learned that the only way to conditionally test if an XML file exists is to go ahead and load it, first. Then base your conclusions on whether the load fails or succeeds.

I have used the code below to determine file existence with my own project, but it will only correctly work from my own hard drive. If I push my compiled work onto my web space, the result will always be True (file exists), even though it is absolutely False. I have tested this condition with the Alert component, and the routine indeed fires as True when it should not. I am not trying to cross domains when checking, either; it is all within the root directory.

why the routine would fail on the web, but work perfectly on my own hard drive?

Code:
fileExists = new LoadVars();
fileExists._parent = this;
fileExists.onLoad = function(success) {

[Code].....

View 4 Replies

Professional :: The 'works Locally Fine, Not On Server' Deal?

Feb 5, 2010

There was always a flash movie on the homepage and it worked fine. A couple days ago I replaced the movie with a new one and added a .swf to the portfolio page as well. On the portfolio page, the movie is layered behind a series of transparent .pngs that link to their corresponding lightbox designations. The movie just plays, there isn't any interaction this way, atleast not in flash.

The problem: Everything works perfectly fine locally on all browsers and not at all on the server across all browsers. I have seen this problem before and read alot of posts about it.I know I have the proper scripts files. I've re-saved flash movies, changed their location within the site, published them with the appropriate settings, nothing seems to do the trick. Whats worse is that the lightbox doesn't even work online and it runs fine locally. Infact you cant even click on the .pngs and they aren't positioned the same with the css as they are viewed locally. I've overwritten the css with the up-to-date stylesheet many times as well

View 5 Replies

ActionScript 2.0 :: XML Data Displayer - Works Fine Locally... But Not On Site?

Jun 2, 2007

I have my XML Data Displayer referring to an XML feed on the web, it works fine when I run it locally, however it doesn't work when I run it off my site.There's no missing files- since I'm referencing to an XML feed on the web.How can I solve this problem and display XML data from the web, on the web?

View 2 Replies

ActionScript 3.0 :: Video Site Works Fine Locally, But Not After Upload

Jan 15, 2012

getting this here Flash website to work. It is an .swf that has four different buttons in it. Each different button uploads a different video thumbnail with a play-button over it. When you click on that thumbnail with the play-button over it, it goes to the thumbnailed video which automatically plays. Here is the link:

[URL]

There are no bells and whistles with the html, it's just tagged and uploaded with the Fullscreen-true so that you can make the video go full-screen.

But see, when I upload the thing, the buttons no longer navigate to the different videos unless the play-button over the thumbnail is already pressed and its video is already playing. I need them to work anyways.

View 2 Replies

ActionScript 2.0 :: Loading Variables Not Working On Server But Works FINE Locally?

May 17, 2010

I have one .swf that loads a second one on level 2.level 2 then in turn loads variables from a text file .The problem is that it works locally, but refuses to work on the server. The urls are all local. This is such a simple procedure, I can't figure out what is wrong..... are there limitations doing this via server vs. locally? I never get any "file open" errors locally. I've spent 2 hours on this.... I'm just using a simple LoadVars similar to this example:

Code:
loadText = new LoadVars();
loadText.load("text3.txt");

[code].....

View 5 Replies

ActionScript 3.0 :: Cannot Acces Loader.content On Online Swf, Works Fine Locally?

Jul 1, 2010

I have an image gallery with a thumbnail class which needs information about the content being loaded to be able to resize it appropiatly. Using.content.height and .content.width I can acces this information, however the swf (online) stops working when this code is encountered. No errors are thrown.piece of code from where it stops working

Code:
if (targetThumb.content.width > targetThumb.content.height) {
//scale the width

[code]......

View 1 Replies

ActionScript 3.0 :: Preloader Not Working In Safari , Works Fine In Firefox?

Feb 21, 2010

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

Code:
import caurina.transitions.*;
stop();

[code]......

View 1 Replies

Flash :: Full Screen Site Not Working On PC IE / Firefox Only (mac Works Fine)

Aug 6, 2009

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.

View 2 Replies

ActionScript 3.0 :: This.loaderInfo.addEventListener(Event.COMPLETE Not Firing In Firefox?

May 10, 2010

I'm using this.loaderInfo.addEventListener(Event.COMPLETE to call a function when the flashVars are available as many tutorials/examples suggest. Is it correct to use it in the root of the main swf? The event is often not firing in firefox.

Here's the test code. Am I doing something wrong?

Code:

import flash.display.Loader;
import flash.events.Event;
var flashVars=new Object();

[code]....

View 2 Replies

ActionScript 3.0 :: Dynamic Borders - Code Works Great In Firefox But Fails Miserably In IE6?

Oct 9, 2009

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?

View 2 Replies

ActionScript 2.0 :: Images Does Not Load Properly In Flash 8 And Firefox - Works Fine In Flash 9 Or IE

Oct 25, 2006

Here's the site: [URL] From feedback I've gotten, it appears that under certain circumstances the first image in a set of images does not load properly, although I haven't seen it myself. I'm told this happens only in Firefox. And I believe only Flash player 8. Works fine with FF and Flash player 9, or IE with 8 or 9 I believe.

View 14 Replies

Professional :: LoaderInfo Event "Complete" Not Firing Properly In FireFox?

Nov 13, 2009

I am working with Flash CS 4 with AS 3.0. I use the following code to hook into Loading complete for mystage:this.loaderInfo.addEventListener(Event.COMPLETE, loaderComplete);The code works properly in IE 8.0 (Windows 7) and Chrome. I have Flash Player 10 installed and the movie is targeted for Flash Player 9. The movies are showing a random behavior on FireFox 3.5.3.The website is under construction. The top bar contains 7 small & 1 big flash movie. View the page first in IE or Chrome. Then see it in FF. The labels from the flashvars are not being picked up properly. The load Complete function is not working properly.

View 5 Replies

Cannot Load Flash On Server But Locally Fine

Jul 11, 2009

I'm converting a several-years-old all-Flash site for a friend. I can activate the site in any browser if all the files are stored on my local drive but when I FTP the files to a server and try to launch, I get an error indicating either that the server has timed out or that the process is taking too long. I suspect the problem is in the index.html file which refers to some very old locations where the Flash Player is probably no longer obtainable, but I'm not sure.
[Code] .....

View 1 Replies

Professional :: SWF File Plays Fine Locally, But Not Online?

May 3, 2010

I have a very rudimentary Flash movie that I have created. Link here to a copy of the SWF file on my company's website:The movie appears to work all right in IE, but not in Firefox or Google Chrome.Here are the details:It's a leaderboard ad, and like I said, it's pretty basic. I have a simple motion tween, and then an incredibly looooooong series of nested movie clips that create the effect of a counter (like a rapidly rising jackpot).I'm not really hip with the intricacies of ActionScript, so I couldn't code something more elegant. The "counter" is supposed to represent an increasing amount of money that not using our services might cost a company.

Ones, tens, hundreds, thousands, and ten thousands use a simple repeating movie clip. hundred thousands use one that is 10x as long, and so on. I had to stop at 1 millions, as the # of frames in between numbers was prohibitively long.i.e. there are 10 frames in between numbers for the hundred thousands place in the movie, 100 frames for millions, and 1,000 frames for millions.but, like I said, I'm a beginner at ActionScript.Thinking the problem might be due to the incredibly long movie clips, I removed the animations from some of the higher numbers from my movie, and this did not appear to affect whether it plays in Firefox or Chrome.

View 10 Replies

Professional :: Animation Fails To Fully Play First Time - Second Attempt Fine

Jun 4, 2011

I made a simple 15 second animation. When I play it in the program (not published yet), it plays fine. When i publish it however (I have tried both flash published and HTML published), it plays about 3/4's of the way, and restarts. The second time through (and from then on), it plays fully, just fine. How do I stop this?

View 1 Replies

ActionScript 3.0 :: Reading LoaderInfo Flashvars Then Chaning Them And Reading Them Again Fails

Oct 24, 2011

I am changing the flashvars variables v1=value&v2=value ect then after the flash movie runs I am changing the variables externally by javascript, so far so good.when flash first loads it reads the vars correctly.when I try to read them ( after the change ) it keeps reading the old values.[code]everything works except I cannot seem to read the changed FlashVars.

View 1 Replies

ActionScript 3.0 :: Have Two SWFs On An HTML Page. One Loads Fine And The Other (loaded Externally) Apparently Fails?

Sep 13, 2010

I have two SWFs on an HTML page. One loads fine and the other (loaded externally) apparently fails.

I get this from the server:

Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.

I get this when testing it locally in Safari:

Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.

I don't really understand where the hick-up is... because my paths are actually quite simple. All my flash files on the website are located in the same folder. The first one loads in fine, but the one being loaded into it does not. When viewing the SWF by itself, everything checks out as well.

View 7 Replies

ActionScript 3.0 :: Call To Service Fine In Firefox, But Not In Chrome Or IE

Dec 14, 2009

I'm making a call to an API function on a server through my swf file. The service is supposed to return an XML.

In Firefox, this works perfectly fine, when I print it out, I get the XML string.

But in IE or in Chrome, I get nothing back. Well, when I print out what comes back it prints out as UNKNOWN. Unfortunately I don't have access to the api so I don't know if that's actually a string that is sent back, or if that is something that flash is printing out.

Has anyone had problems with calling services from different browsers not working?

I can't really provide the code as it's proprietary... But, more info, the urlRequest is also sending header requests along with it.

View 7 Replies

ActionScript 2.0 :: Shared Object Wont Work In Firefox, Fine Elsewhere?

Nov 18, 2009

ActionScript Code:
stop();
var myCookie:SharedObject = SharedObject.getLocal("mySavedData");

[code]....

View 3 Replies

ActionScript 2.0 :: Swf Works Fine On Machine - But Not On The Web?

Aug 25, 2010

Finally got this project all wrapped up and working perfect, and was feeling pretty proud of myself, and then I went and posted the exact same .swf on the web and it doesn't work anymore. Specifically, there are a bunch of icons which I hand placed into the FloorMC - which then attachMovie a copy of themselves into a LegendMC and UtilityRefMC, but they dont seem to be attaching anything when I run it through a browser.

[Code]...

View 9 Replies

ActionScript 3.0 :: URLLoader() Not Loading Php File In Firefox Or Opera, Fine With IE And Chrome

Jul 14, 2011

I have run into a problem with the URLLoader that I havent encountered before. I have reviewed my code several times and maybe I am missing something.

Basically, I have a separate loader class that I want to communicate to a php file located in the same directory. That php file forms an xml markup within and returns the location of a background image from the database. As you can see from the code, I have event listeners for progress, loaded, and IOerror.

This works fine in IE and Chrome. However in FF and Opera, my custom progress bar shows 100%, but the info bar shows "IO Error" (which is kind of a visible trace statement on the swf for informational purposes) and it does not go anywhere.

This is the swf's location: [URL]

PHPGetBackground class:
package com.hexonite.loader {
import flash.display.Sprite;
import flash.events.Event;

[Code]....

View 4 Replies

SWF Works Fine On PC, But Doesn't Execute Online

Sep 3, 2009

I created a custom google voice callback swf so someone could put in their phone number, and google voice will call them and connect them to me (essentially calling me). Everything works fine when i run it from my computer, but when I put it online it doesn't work.

The way it works is you put in your own phone number and name, then click call, and it rings the phone of the phone number you put in. This doesn't happen when accessing it from online though.

I've provided a link to the fla for your view, and I'll also post the embed code I have on my site.

Embed code:

Code:
<div id="gvoice">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="616" height="162" id="gvwidget"

[Code].....

View 1 Replies

Flash Not Loading - Works Fine On Localhost

Feb 11, 2010

Building a website and the navigation menu is flash (.swf file). The mnuLoader.swf file retrieves information from settings.xml file. Everything worked perfectly when I tested in localhost/website/page.html. When I upload to hosting server www.website/index.html the mnuLoader.swf displays but does not load (its like it can't find the settings or picture files and displays the same as when you are waiting for something to load etc).

I have tried changing the xml file path from relative to absolute and no change. All three files index.html - mnuLoader.swf - settings.xml are in the same directory and the mnu_imgs folder contains the img icons for the menu. I don't understand why it would work on localhost but not on the actual server? Also directly underneath on the website I have another flash banner (just looping text pretty much) that works fine both on localhost and actual server so am pretty sure is not an access issue etc.

The mnuLoader.swf is Flash 8

View 2 Replies

ActionScript 3.0 :: Swf Works Fine When Its Not In A Google Gadget?

Oct 7, 2010

This swf works fine when its not in a google gadget.It will read and write xml as the user interacts wtih it. Why once its embeded inside a gadget will it only read xml? It will not send xml to my file on my server and write a new xml file.

Actionscript Code:
var reg3 = new XML(myendxml);  //Chat.text +=  "in the function";  var variables:URLVariables = new URLVariables();  variables.xmlData = reg3; 

[code].....

View 4 Replies

SWF Works Fine But Breaks When Embedded Online

Mar 19, 2010

As you can see on [url]...the last part of the Flash movie seems to be broken. Oddly enough, when I take the embedded SWF and view it separately[url]...

I'm not a flash expert, I don't know what can go wrong with embedding etc. but the actual FLA file seems to be ok, the map layer that is coming through randomly at the end shouldn't even be there! The frames at this point of the timeline on this layer are actually empty.

View 11 Replies

ActionScript 3.0 :: Works Fine In Debug But Not When Published

Jun 7, 2010

I have simple navigation code setup to step through frames (I'm using Flash instead PowerPoint--too many pictures that are PSDs and illustrations that are AIs to do the conversions over to something PowerPoint understands).[code]When I test it using the debug (Ctrl+Shift+Enter) it works fine.When I publish it, the up and down arrows work but the Home and End keys do not work.They do nothing, no error messages, nothing.Using Flash CS4 Pro 10.0.2 ActionScript 3. Windows 7 64-bit.

View 1 Replies

Professional :: UIScrollBar Works Fine On Pc But Not On Server?

Nov 22, 2010

I created a textfield on stage, set it as dynamic, put a UIScrollBar next to it , with component inspector I set scrollTargetName to the instance name of the textfield then I wrote these actions:
 
var externalReq:URLRequest = new URLRequest("loremIpsum.txt");var externalLoad:URLLoader = new URLLoader();externalLoad.load(externalReq);externalLoad.addEventListener(Event.COMPLETE, textReady);function textReady(event:Event):void {    theText.text = event.target.data;}
 
Ot works on pc just fine.  When I upload the swf and the text file to my godaddy linux hosting account the scroller doesn't work.example on server: [URL]the text you see displayed is only about a quarter of the file, I should be able to scroll through it.

View 1 Replies







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