ActionScript 3.0 :: URLLoader Not Working In Any Browsers But Fine In The Flash IDE
Oct 14, 2009
I have a problem that seems very strange. A flash script is using URLLoader to update some records and send back a message. In the flash IDE there is no problem. However, when I upload to the server, or viewing the swf file locally in any browser, the browser just hangs and does not show anything. I have also added a IOErrorEvent.IO_ERROR handler which does not give me any information. The URLloader is communicating with a php script. I have found out that it works with a .txt file. Is the anything that needs to be included in the php script?
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?
A simple flash video doesn't appear in IE. I've looked at answers to the same problem by NineBerry, however, I've tried those suggestions without luck.[code]I didn't include the file mulholland_intro_slideshow.fla as I doesn't seem necessary.I'm also aware that when encoding with Flash the object can only be made to played locally or via the network. I encoded locally for testing but it also plays across the network. Is that even relevant? I don't know.
I have a flash project, its working fine in local system, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading... [URL]
I have a flash project, its working fine in local system and checked this file with uploading in someother websites, its working fine there too, but the same file is not working in live here is the link of the site, its showing blank page, the flash contents are not loading.URL...and here the same file which i have uploaded it in other server its working fine.URL...
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.
It seems that when I test my PHP mail in flash it works perfectly fine, but when I export it and try it in a browser it doesn't. Whats the deal, is it server-side?
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.
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.
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 am creating a website that has links to flash animations. i have created a folder called flash in the root folder and copied the relevant .fla, .swf and the .mp3 files into that folder. the animations are working fine but the audio isnt.it all works fine in flash itself.
The thing is that i have the following code. It simply does not execute the loader_complete function (found it with adding different traces) In other frame in the same project it does work, identical code. What could be the source of this inconsistency?[code]
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..
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 am trying to make a preloader, althought it loads just fine the preloader bar wont move, better: the filesize against the loaded bytes does not let it move. Code [URL].
I want to call a function inside a Flash movie from javascript, using the ExternalInterface class. The problem is that to get it to work with Firefox I need to use the embed element and with the rest I have to get the object element. To solve it, I gave different ids to that two elements and depending on the user agent I select one or the other:
function getMovie(movieName) { alert(navigator.userAgent); if (navigator.userAgent.indexOf("Firefox") != -1) {
[Code].....
This works, but it is not very elegant and it may not work with other browsers..
Using MacOSX 10.4 Tiger Flash Professional 8 Firefox, IE, Safari
I created a flash movie. All of the pictures fade in and out perfect. There is a button on each of the pictures and these buttons take you to the picture�s respective page. When I test the movie the buttons work fine. When I export the movie as (.swf) and try it again the buttons work. I am hosting it on a GoDaddy domain that has been purchased and am referencing it on another site that I own. When I embed it onto my website, the movie plays fine but the buttons are not functional. Here are the things that I have tried to rectify the problem:
- Tried exporting and publishing to Flash Player 7 and 6 DID NOT WORK - Instead of: on (release) { getURL(http:// . . ._self) }
I created a new layer and gave the button an instance name and used it as an action layer:
MyButton.onRelease = function() { getURL(www . . . ., _self) } DID NOT WORK
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
I have a SWF file that uses Mouse and Keyboard Events. When I test the SWF file in the flash IDE the events work fine. When I run the SWF file stand-alone with the Flash Player, the events work fine as well. But, when I open the SWF in a browser, neither mouse clicks or key presses register. Even if I puslish the SWF as a HTML, it doesn't work either.
I have started creating a panel plugin for Photoshop, but I seem to have run into a road block. I am using a simple URLLoader to grab some info from the internet, but when I load the plugin it never seems to be called nor does it fail. Here is an example of what I am trying to do.
var url:String = "http://www.mySite.com/page.php";var urlR:URLRequest = new URLRequest(url);urlL = new URLLoader();urlR.contentType = "text/plain";urlR.data = "var=something";urlL.addEventListener(Event.COMPLETE,
i've been going over this code all day and I have no idea what's wrong with it. I'm doing a similiar operation a little higher and that one works so I have no idea why this one doesn't. All I'm trying to do in this case is populate a List UIComponent that I created with information that I get back from the PHP file. For some reason the loader.addEventListener(Event.COMPLETE, userOnLoad) isn't working and my program never gets any farther than that.
So I have a contact form that works flawlessly in the Flash development area, but doesn't work in-browser. I've tried in multiple browsers, and it doesn't work in any of them. Here is the relevant AS3 code:
Code: var url:String = "http://******/Scripts/sendContact.php"; var contactVar:URLVariables = new URLVariables(); contactVar.userName = commentName;
[Code]....
On a side note, if this helps any, sendToURL using the POST method doesn't seem to work with anything hosted on this server, but with GET it does.
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");
I've published Mac projector files and .exe file from Flash CS4 for several months without issue. For the past week when I've published Mac projector files the .app icon appears on my desktop but when I try to play the file the dock opens but the file doesn't play. Any Mac projector files I published prior to this problem play fine.I've tried creating a new .fla file and have reinstalled Flash but I'm still having the problem. EXE files and SWF files play fine. Also, the Mac projector files publish at about half the file size they did before this problem, while the EXE and SWF files are the same size.
I'm running FMS 3.5. My live streams and recorde streams work fine. Whenever I am in the Admin console though, nothing displays or reports. These screen shots are displaying the FMS server activity while several videos are being streamed around Europe:
i have this problem, the urlloader is supposed to stream some binary data to the server (upload) but it doesn't seem to work with anything except Internet Explorer! I have tried it with Safari (only on mac!) on Firefox (on mac and on windows!) and on Chrome![URL] and these source is:
I am using a Repeater in an Accordian which does not appear to see a single element in userArray. If I add another entry to userArray then the Repeater works fine.
private function currUsersServiceHandler(event:ResultEvent):void{ if (event.result.currentUsers != null) { if (event.result.currentUsers.user is ArrayCollection) // if more than one elements are present {
[code]....
Edit:There is another thing I have just noticed i.e. that the accordian does show a single tab (when Array has a single element) but it's not labeled with the first name which I am setting. If I enter another user, two tabs appear and both are labeled with names I am setting. The first tab appears labeled too then.