ActionScript 3.0 :: Preloader Can't Work In IE8 But In Firefox
Jan 25, 2010Why doesn't my preloader work in IE8?The preview looks fine in my Flash CS4.
How can I attach my files? It kept saying the upload is failed.
Why doesn't my preloader work in IE8?The preview looks fine in my Flash CS4.
How can I attach my files? It kept saying the upload is failed.
Why the preloader doesn't work in IE 8 but works in FireFox?
Attachments:
index.swf (224.8 K)
index.html.zip (3.2 K)
i tried the tutorial that teaches you how to create a preloader....i followed the instructions and it still doesnt work! what's wrg?[code]on my first frame actions....i put the "gotoAndPlay (36)" cause i tried a previous preloader that took more than 1 frame and didnt want to change my button's "goTo" frames...but i figured it wont change anything..anyways, i put that line of code as my first frame action....by double clicking the timeline..then i create a symbol for that frame 1 and created an animation.
View 1 RepliesMy 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]
View 3 RepliesDiscovered 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.
[Code]...
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]..
View 4 RepliesI have uploaded a swf but when viewed in Firefox, the swf does not work. However, the swf does work in IE.
I used Flash MX 2004 to export the swf.
Anyway, my firefox can view other websites with flash properly so the problem is definitely with my swf.
here's my html if it helps:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>My Website</title>
<style type="text/css">
[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
Code:
import caurina.transitions.*;
stop();
[code]......
I'm trying to call a method inside a flash movie from js, every time the mouse leaves the "div". It works on Internet Explorer, but not in firefox. Here is the html script:
<script type="text/javascript">
window.onload = function(e){
init();
}function init(){
document.getElementById('div').onmouseout = function(e) {
[Code] .....
Here is example of the problem, there is an alert for the js and the flash should be able to remove the swf (see a gray background? it works! see a image, flash didn't receive the call): [URL]. This should work with internet explorer / safari / chrome (pc/mac) only firefox seams to reject this.
In firefox and chrome on my macbook the video plays full screen in the background.However, my client is complaining about it not working at all on windows computers. While I thought that most browser compatibility issues were mostly browser based and not OS based, apparently the same site does not work in firefox and chrome on pc's.I'm not 100% sure, but it might be some sort of a z-index problem? I heard that the video would show up, but none of the content would.
View 1 RepliesSWFUpload I am using SWFUpload to upload files to a database (Windows XP) over https. Everything works as expected in IE (7 and 8), but using my Firefox 3.3.15 it fails without error message. Using the upload mechanism using http works fine!I found this thread using google. They describe that installing the CAs certificate as trusted issuer would help. Unfortunatly it did not (it was a certificate issued by a CaCert authority).
It works on the machine of my colleague who uses Firefox 3.3.15, but he cannot recall that he did anything special to make it work. I had a look at other machines using Firefox and none of them were able to upload a file to the database.I red that SWFUpload uses flash and that flash might use other certificates than Firefox itself. Does anyone know anything about it?
EDIT: This is the javascript code for the object creation:
// Create the SWFUpload Object
var swfupload_object = new SWFUpload({
upload_url: "[% cgi_path %]/mdb_bulk_import.pl",
file_post_name: 'upload_file',
[code]....
I just finished my first website using AS3. I am using buttons to access to the different section of the site.
There are working perfectly in Firefox but not in IE and Opera.
Here is the website address: [URL] (the site is in French, but you can understand where to click)
how do i get the backwards and forward buttons to work in firefox? I am using the anchors property but still doesnt work in firefox.IE is no problem though. I am a newbie,Been doing Flash for only 2 or 3 months. Trying to build a flash site for my business cause I can't stand HTML
View 5 RepliesI am trying to generate an <object> tag only embed code and cannot get Firefox to pass Flash along the FlashVars values. This seems to work everyplace else that I've tried it but fails in Firefox. Here is a sample of the embed that I'm using:
<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="550" height="400" id="Main" align="middle" data="Main.swf">
<param name="movie" value="Main.swf" />
[code]....
note that the Flash experience does show up in Firefox but when I do traces and actually run the application this fails to read the values.
This movie is supposed to start on a random frame, but the code seems to get ignored in Firefox. I also have some weird behavior when i test it locally, but it works fine in IE8, Safari, and Chrome: [URL]
Here is the code:
i = Math.floor(Math.random()*3385);
gotoAndPlay(i);
//trace("Current Frame: "+this._currentframe);
The .fla can be downloaded here: [URL]
This is the code I use to run a swf that makes zoom on images:
<body>
<center>
<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash
[Code]....
This code works properly in IE7 but in Firefox I have discovered that the images are loaded after than the swf. This swf file needs some parameters to work with the images, but if the images are not loaded previously then the swf does not work properly. In firefox, a page refresh is needed if the images are not yet loaded in the cache.
I have resolved the problem partially preloading the images in the previous page link using: <img src="imagebig.jpg" style="display:none;" alt="" width="781" height="1051"/> With this solution, the images are loaded prior to the swf loading.
I'm creating an Entry Page slideshow here with Flash Cs3 and AS2: [URL] I'd like to be able to click on the whole slideshow (or the "Enter Site" text) to go to another page on the site, which I'm calling "[URL]." I've read various tutorials all day and tried many things, but couldn't seem to apply any "on release" action to the "Enter Site" text that would work. I even created an invisible button (putting a keyframe on just the HIT state and deleting it from the UP state), named the instance "invbutton3", and then typed in this action on the first frame and inserted a keyframe at the end of the show:
[Code]....
I'm using ActionScript to listen for key presses and route to a method to handle them. It works fine in Flash Player Debugger 10.1, but does not work with the SWF in a browser. I've tried it with all sorts of keys: letters, numbers, etc. But I can't get it to work at all in the browser. I'm using Safari 5.1 and Firefox 3.6.8 on the Mac. Here's my relevant code:
[Code]....
ActionScript Code:
stop();
var myCookie:SharedObject = SharedObject.getLocal("mySavedData");
[code]....
The latest versions of firefox and Safari both cannot display email links. For some reason they don't parse ou the "mailto:".
View 5 RepliesI wrote an flash actionscript 3.0 movie that needs to use netconnection and netstream for streaming. When I test the movie through flash ide the movie connects alright.But when I insert the swf in html and view from firefox, chrome or other browser NetConnection.connect() does not work. Movie sort of hangs at the moment NetConnection.connect is called(). The function assigned to NetStatusEvent is not called and no command after that moment is carried out.It only occurs when viewed through web browser but when it is tested in flash ide it works alright.
View 1 RepliesI'm trying to create a preloader for a site I am creating. Originally I was going to make it an internal preloader, but I ran into that issue where the preloader doesn't start until 50% (or more). After searching these forums for a solution to "that" issue, I found it suggested that the best way to fix it is simply do an external preloader instead.
When testing the preloader using the bandwidth editor, I see that the preloader animation isn't starting now until it's at 100%, instead I simply get a white screen. Once it reaches 100% the preloader animation runs through and then...nothing. My main.swf doesn't load. It just stops.
Here is my code:
Code:
var fileToLoad:Loader = new Loader();
var fileURL:String = "testmovie.swf";
var fileRequest: URLRequest = new URLRequest(fileURL);
[code]...
preloader is my movieclip with the animation, and preloader.loading_txt is a textbox inside that mc which displays the % loaded. I wanted to make it so that once the preloader (and its animation) reach 100%, the preloader mc then plays frames 101 - 124 (which are a small transition animation into the main site). Once it reaches 124 it's supposed to call the main.swf to load.
I am trying to get a preloader to work properly. I have it setup so that when the movie gets to frame 19, it returns to frame 1 unless frame 20 is loaded.
I used this same preloader previously and it worked fine.
Here is the error message: 1087 Syntax Error: extra character found after the end of program.
Here is the file location: [URL]
if (_framesloaded= "totalframes" ) {
gotoAndPlay (2);
} else {[code]....
Thsi script is on the first frame( in the first frame is the movie clip i want for my preloader, second frame is a tween which has no stop at the end, so it goes to the main scene. Is there any thing wrong with this script? When this site was online, the preloader took a long time to come up, and it is only 28 kbs large... what can i do for this?
I have finally managed to get my automated slideshow to work using alpha tweens and a setInterval function, my next problem is that my preloader won't work, in fact I can't even get a static text box to display in the preloading frames. I have followed 2 tutorials on the preloader and have made a few before with no problem but this time its just not working at all.Here's the fla.
View 5 RepliesI read a transition tutorial i got from this website but cant get the preloader bar to work. here is the link to the kirupa tutorial:[URL]...
i tried everything under the sun. can anyone aid with a preloader bar to work with this specific tutorial? I dont need different for this. I need some code that will make a preloader bar work with this specific code.
I have a preloader that works, but I made this website and when I loaded it online I realized I need preloaders in it. But how do I do that? The website is completed, but I guess now I have to go back and put in preloaders on all the pages? I have pages where you click and they load a picture(from an external page) or they load a video clip. How do I put preloaders in there, is there a simple way?
View 2 RepliesLink to source files: [URL]
I'm trying to get a preload movie clip (loaderMovieClip_mc) to show up when an image is being pulled from the xml data bank and then turn the visibility to false when the image is done loading. I have no idea what I'm doing wrong any bump in the right direction would be very cool.
Error message:
TypeError: Error #1009: Cannot access a property or method of a null object reference. at flashIndex6_fla::MainTimeline/frame1()
I think there is a conflict happening between the unloading of the imageLoader:Loader class:
[Code].....
Not sure if that's the right direction but its the best idea I have at this point.
I have tried commenting out the imageLoader unload code but that didn't resolve the issue.
These issues only appear on Safari and Firefox on Mac.I tested with Opera and Chrome and Windows (inc. IE), but they work fine.
Mac OS 10.6.8
Firefox 5.0.1
Safari 5.1
Flash CS5.5
1 Hiding the original black arrow cursor (Firefox only)When cursor rollovers to an Invisible button (oneBtn), I want to show custom cursor (newCursor) and hide mouse. But Firefox shows the custom cursor as well as the black arrow...
2. Mouse.show doesn't work only on Safari, Mac.When rollout to the invisible button (oneBtn), the custom cursor (newCursor) hides but the mouse doesn't appear. This happens only on Safari.
stop();
Mouse.show();
newCursor._visible = false;
[code].....
I am very new to flash and on the net I've found a class that allows me to use a nice scroll bar for the content. My problem is that I can't get a preloader working with the class. When I want to add scrips to the frames it bugs the class if I try to implement the preloader inside the class I can't get it working. Here's the class I am using for the scroll bar. - if you want to test it, it will require additional data. You can get it all here: [URL].
package{
import flash.display.*;
import flash.text.*;
import flash.events.*;
import gs.TweenLite;
import com.warmforestflash.ui.FullScreenScrollBar;
public class Main extends Sprite{
[Code] .....
If I try to insert the preloader script inside the class it has problems with the stop(); & play(); commands. Any way to get a preferably simple preloader working with the class I am using?