Professional :: Preloader Does Not Work Well In Explorer 8
Nov 4, 2010
I am just starting to use flash.
I designed a flash site with Flash CS4 and Actionscript 3.0.
I am using this simple preloader, basically I learned from a tutorial:
stop();
//PreloaderloaderInfo.addEventListener(ProgressEvent.PROGRESS, updatePreloader);
function updatePreloader(evtObj:ProgressEvent):void{//container for the progress of the site (download)var percent:Number = Math.floor((evtObj.bytesLoaded*100)/evtObj.bytesTotal);preloader_txt.text = percent+"%";if (percent==100){ nextFrame(); }}
make it refresh properly in explorer 8, as it works well once, but if you refresh, it stops working, and stays on 0%.
For this website I've put a preloader on the 1st frame and the site on the 2nd.I've tested the site after having created a small animation which makes appear the main menu, a logo and an image.Everything did work good, so I went on building the site.Now that I have created some pages I've tested again the whole site and the preloader doesn't work anymore.Testing the site on the "ctrl+enter" window and simulating the download I have a white background (both the preloader and website background are yellow) then I see the preloader for a fraction of second and suddenly the site appears.
Publishing the site on my web space the background is correctly yellow, but the preloader doesn't appear, the browser's loading bar stops at half then the preloader appears again for a fraction of seconds and suddenly the site appears (tested on Firefox, IE, Opera, Chrome and Safari, same behaviour with all of them).It looks that the preloader is become part of the site and that there is an invisibile preloader.The setting in: Publish settings -> Flash -> Script Settings -> Library Path -> Default Linkageis set to "Merged into code"the same happen if I set "Runtime Shared Library" and "Custom Preloader Loop".
I just started working CS4 and finished my firest simple web page([URL]), nearly the way I wanted. Having little or no action code experience, I did what I could. Then CS4 was upgraded to CS5. When I opend the CS4 project and saved it to CS5 (making it irreversible), the preloader that worked in CS4 did not work in CS5.
I know someone has had this problem. I used Lee Brimelow's preloader:
http:[url]..........
ActionScript Code: //Import the required assets import flash.display.*;[code].........
In Safari, and firefox, this works fine. However, in IE, the preloader never moves past the first screen. See here: http:[url]........... I then noticed, If I right click on my flash player settings, and turn the "Loop" option off, and then hit play, it works fine. Is there a way to fix this or turn off the loop mode that is auto checking itself? It appears that my movie does go to frame 3, and then directly back to frame 1, in which it stops, leaving the grey preloader bar at its final resting place, but not moving forward to frame 3 like it should. I added a stop action to frame 3 as well, so not sure why it is moving past that frame, and back to the beginning.
I have a preloader with the following code stop(); this.loaderInfo.addEventListener(ProgressEvent.PRO GRESS, onProgress); this.loaderInfo.addEventListener(Event.COMPLETE, onComplete); function onProgress(erogressEvent):void { var loaded:Number = e.target.bytesLoaded; [Code] ..... It works great with Firefox and Safari on a mac but when viewing in internet explorer on a pc, the loader does not work at all.
I have been searching Google trying to find a solution to my problem with no joy, so I thought I would post in here to try my luck.I have created a small movie which can be found here, [URL], the problem I have lays with the button at the top of the movie titled "Click Here to Create Your Canvas". I have 'Publish Previewed' in Flash and the button works fine - changing on mouseover and opening link, however when viewed in HTML the button changes as intended but the link does not open on release.
I realize this is probably a simple question but my google-fu is failing me. I would like to get a windows explorer like file browser to popup when I click a button to select images to upload to my AIR application.However I cannot find a component that handles File exploring. Does anyone know what to use?
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.
i have a site developed in AS3 www.macweb.com.br and the link Portfolio load data from a XML file.
Some people that uses Windows XP 64 Bit with Internet Explorer 8 and Flash Player 10.0.45.2 (and others IE with Flash Player version as mentioned) are reporting that the Portfolio Icons and informations are not show.
I have tested this behave with my browsers IE 8 (on Win XP 32), Chrome, FireFox, Safari and Opera and the problem dont occur to me, so i need some light to look for the problem, if it is in my Flash file.
I got this website at work which I've just updated.It was working pretty well, yesterday I showed it to a friend.And it was working perfectly. This morning, I hear sound but all i get is a black screen.It works on every other browser (chrome, firefox, SeaMonkey, etc.) but in Internet Explorer, black screened.If anyone can,I need a quick solution, my bosses are freaking out and that is kindda out of my league as for "trouble shoot".Why something that was working not even 12 hours go goes awry on me today?
Following embed code is from [URL] but it doesn't work in Internet Explorer 8. Firefox no problems. Any recommendations for improvements?
[Code]....
UPDATE 2010-05-14: If I'm not mistaken HD.se uses Flowplayer and all those flasvars are for that. Perhaps someone here is good with Flowplayer? I've never used it myself.
I DLd one of those free Flash templates. [URL].. It opens great in my Flash CS4 and plays the swf perfectly. However when I Publish the .html, it opens in IE but stays on the first frame of the preload. loading 0%" A pop occurs to tell me I have to allow Active X which I do but the html never plays foward or completes the preload. Here is a screen shot of the AS on frame 1.[URL]...
The website that I built, I used Adobe media encoder and flash to make it a .flv file, the website works fine as far as playing the pages with video in Safari and Firefox, when I go to the same website in internet explorer the video plays with a big black border each of my video's, why would that be ?
I'm putting an swf on a website and it's working great except for IE. (Although it works great in IE 9). In some versions of IE it will start to play then stop as if the video was never load and in others it will just go white. It works great in other browsers, just our favorite browser IE seems to screw it up (big surprise).
Recently any flash videos I watch keep freezing even when the video is fully buffered. The sound continues to play but the picture stops. It can jerk into life after a few seconds but then it'll freeze again and keep doing this for the duration of the video. I have no problems on my Windows PCs on the same web connection.[code]...
I'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.
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.
I 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.