ActionScript 3.0 :: Preloader Works On One Server But Not Another?
Jan 18, 2010
I have a big problem with preloader for my flash site. It works on one server but when i try it on another server it does not work. On site where it does not work it displays Infinity in IE and all the time 100% in firefox but in flash when traced preloader works and on another server too. It is the same file.Is there any specific function or mode that server must have or enable for a preloader to work.
working:
[URL]
not working
[URL]
It is really annoying since the one not working is where i am hosting my page.
View 2 Replies
Similar Posts:
Mar 7, 2009
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] .....
View 2 Replies
Jul 15, 2010
i have used the following code to upload file which works in php4 server but dont work inphp 5 server.The flash code is as follows:
import flash.net.FileReference;
import gs.TransformManager;
//Allow this domain[code]....
i am uploading the php file.
View 1 Replies
Feb 22, 2009
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]
View 11 Replies
Feb 1, 2005
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]
View 6 Replies
Jul 15, 2009
I made a preloader that works perfectly to load one of my .swf's on my machine, but how do I make it work on a site? I'm mocking up a site currently just using local files.
View 2 Replies
Feb 1, 2005
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]
View 6 Replies
Feb 11, 2009
I made a preloader for a flash slideshow with different announcements in AS 3.0.When I export the movie to preview it everything works fine. The loading rectangle fills up and then you see the slideshow. The problem comes after I embed it in HTML. Instead of the Preloader to show all i get is a white rectangle the size of the SWF and then the slideshow begins. It's as if it was ignoring the preloader completely. I don't understand why it works when I export it but not on the actual site.
Heres my preloader script:
Code:
stop();
addEventListener(Event.ENTER_FRAME, loadingInfo);
function loadingInfo(e:Event):void {
[code]....
View 7 Replies
Apr 24, 2011
But ive noticed an anomaly. When i test the movie (with simulate download settings ofcourse so that you can actually see the preloader work) the preloader shows only from 90% onwards to 100% and then the page loads up. Which means when i run the movie, the result is a blank frame for quite sometime, when actually the preloader should be showing but it doesnt, instead its just the project default window color, then it starts the preloader at the frag end of the bytes coming in, so it only shows 95%-100% and then the page loads.
The same preloader method (2 looping frames with its AS2) works perfectly in front of the keyframe that contains another webpage, Home.swf which is a seperate file and things work perfectly there.o i put a trace into the 2 looping frames to see whats going on with the acquired bytes variable. I was shocked to see that the preloader loop isnt even running. It running itself only at 94% onwards and then ofcourse reports the percentage on the screen correctly. But till 94% its not able to sense the bytes getting loaded. It senses only after 94% and then starts reporting it.
View 7 Replies
Jun 16, 2009
I would like to add preloader with progress bar to my AS3 page. It's an image gallery. The preloader is on frame 1 and the content is on frame 2. It seems like that the loader works after all the content is loaded. And the progress bar doesn't appear on the screen. What am I doing wrong? For the quick view, the code is below. I also attach the code. To make it simple, I am testing the code with just one image.
frame 1
Code: Select allstop();
addEventListener(Event.ENTER_FRAME, loadF);
[code].....
View 6 Replies
Sep 7, 2005
Here's the code I'm using to call the preloader and call the movie. I got this basic code (now modified for this example) from a nice person on this forum. I put it into different frames that a user's click would activate - and therefore download the jpg into that frame.That works after the user clicks into each frame. BUT ON THE FIRST FRAME, it doesn't work. The code just like this below DOES download the movie, but doesn't launch the preloader.
stop();
_level0.containerMC.loadMovie("HTTP://www.yoururlhere.com/yourimage.jpg");
/* movie loads */
[code].....
View 3 Replies
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]
View 3 Replies
Jul 10, 2007
I just discovered a strange thing : I have a preloader in all my swfs. All work great online and when I test the swf or the preview in html exepted 1 : the first swf to be loaded called homepage.Here is the schema of the site : HTML page is linked ( with a enter btn)to the 1st swf called Homepage. No preloader gets visible and so, the swf takes a long time to load after clicking the enter button of the html page.Note : the html page is visible until the swf is totally loaded....
View 2 Replies
Jan 22, 2010
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)
View 16 Replies
Feb 23, 2011
If anyone has a minute, can you look at this script and spot the flaw. I got it fron[URL].. It MOSTLY works, the bar travels across as it is loading, but the dynamic elements (percent loaded, # of bytes loaded vs. # bytes total) are blank areas. Haven't a clue. I can e-mail you the Flash file, I saw no provision to upload it to this Forum.
[Code]...
View 7 Replies
Apr 21, 2009
I have a preloader that works fine, but when I reload the Internet explorer page with F5, it hangs, it basically stays there... keeps looping, but does not move to next scene.If I close the IE window and relaunch or if I clear cache it works fien again.Thsi is the AS3 code I am using:
import flash.events.ProgressEvent;
stop();
root.loaderInfo.addEventListener(ProgressEvent.PRO GRESS, loadProgress);
[code].....
View 2 Replies
Jan 27, 2011
I've written a simple preloader which I've put in its own movie clip. The code is as follows:
[code]...
The code works out a value between 0 and 1 called 'loadVal' this is used to animate a masking object a distance defined by a variable called 'yShift'. loadVal is rounded up to give a whole number that is displayed in a text field showing the percentage of the movie which has loaded.The preloader seems to be running and it will trigger the move to play when it completes but I can't see the preloader previewing in the Bandwidth Profiler, even when I set the data speed to be very slow. I've noticed this issue before and it is annoying as I need to see how the preloader looks and works.
View 4 Replies
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
Dec 3, 2003
At run time, Is it possible to detect the 'Connection Speed of the user' and change the way my preloader works? Say If the user is on a Dial up connection then play the initial 50% of the movie that has been loaded while loading the remaining 50% in background, If the user is on DSL or cable then load the entire 100% movie and so on.
View 4 Replies
Oct 6, 2010
I want to know if FMS works for IPTV?
View 18 Replies
Jan 19, 2011
I've got a project that loads a couple of external flv videos. It works great locally but when I upload it to a web server I just get a blank screen.
Googling reveals two possible issues... server mime types, and flv path issues.
Everything is in the same folder so I'm doubting it's a path issue.
If it's the mime type issue, how do I go about fixing it? My host is dreamhost.
*update, I tried adding the following two lines to my .htaccess file but it didn't change anything:
AddType application/andrew-inset ez
AddType video/x-flv flv
Here is the html: [URL]
And here is the whole project in a zip if anyone has time to take a look:
[URL]
View 1 Replies
Jul 7, 2009
I have a mp3 player that i purchased from a site. It works fine on my local drive but when uploaded to a server (and I've tried both Linux & Windows) doesn't work. It loads in setting & the mp3 file names from an XML file. I was able to verify that the XML data is in fact loading. The hitch seems to come when trying to create and load the XML data into an XML object.I added text field & changed the value of the text property at different points of the script to narrow down where the script gets stuck. The exact line of code that doesn't run from the server is:
Code:
var xml:XML = new XML(e.target.data);
I tried adding a crossdomain.xml file that allowed all domains but that didn't seem to help. Below is the code that loads the XML file & calls a function when loaded with the offending line of code.And my test site is here: SWF
Code:
public function MusicPlayer() {
//Security to load music
Security.allowDomain("*");[code]..............
View 1 Replies
Jan 19, 2011
I've got a project that loads a couple of external flv videos. It works great locally but when I upload it to a web server I just get a blank screen.
View 2 Replies
Mar 23, 2010
flash works on local machine but not server?
View 1 Replies
Aug 1, 2006
So I have an html file with a swf in the center which loads pictures and text via XML. It works fine on my own computer but on the actual site it doesn't load the pictures or text it, in any browser.
View 1 Replies
Jun 24, 2009
I am loading into my movie a super simple test swf ... a moving box over 100 frames that stops at frame 100 .... once its loaded I just move it out of site so I don't reload it ... when its turn comes up again I bring it into position and send a gotoAndPlay(1) code to it ... here's the weird part it works on my server, as well as in Flash dev environment but when the swf comes off of our corp intranet server it plays fine but that code does nothing
View 5 Replies
May 23, 2010
I would like to know how bandwidth detection works in FMS? Does it downloading something or what? Does FMS is using rtmp or http protocol to check it?
View 7 Replies
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
Dec 13, 2010
I need a solution for this: when the port 1935 is closed, the NetConnection switch rtmpt (port 80). The NetConnection class built in function: proxyType="HTTP" not works or I use not rightly.In the FLVPlayback class works this function, but I don't know how..
View 7 Replies
Apr 11, 2012
I have managed to install the trial version of FMS - developer 4.5 using the defaults including Apache, and it works reasonably well. However it has used-up all the available IP addresses so that IIS does not now work. I need IIS and FMS to reside together on the same server, as IIS provides document download and upload for our web-site on a different server. I have tried changing the FMS.ini file to limit the IP and Ports used, but to little use. My server is Win2k8 R2, and IIS V7.5 + V7.0 for FTP; all 64bit.
View 6 Replies