ActionScript 2.0 :: SWF Taking A Long Time To Initiate
May 26, 2004
I have a product demo in Flash that's roughly 1MB in size. When people access a page that this demo lives on, the demo doesn't visibly "appear" until over half of the total bytes have already been loaded..You can see this by clicking here, and seeing that by the time the swf materializes on the screen, the preloader progress bar is already over 50% (or so).How can I fix it so that at least something shows up right away, so that the user isn't staring at a blank screen for 30 seconds? The preloader seems to work ok.
View 3 Replies
Similar Posts:
Aug 3, 2009
Whenever I launch the Flash application or try to save or load a file, I get the "beach ball" for 30-60 seconds, sometimes a bit longer.I have plenty of disk space, plenty of memory.I'm on a 8 core Mac Pro with 10GB of memory, so I don't get it. It should load instantaneously just like Photoshop and In Design do.
View 2 Replies
Feb 10, 2009
I implemented a flv player with actionscript 3.0. The player loads a list which contains the url of flv. Users allow to choose different flv to play. However, when playing 3rd flv, the player uses a lot of time to play.
View 1 Replies
Dec 15, 2010
I have never worked on flash - I used a developer to code a flash based webcam recorder that runs on red5 as backend. He provided me with the swf file and the source like mxml file.This recorder has 3 images and the total size of swf file is 800KB.Now when I load it on my production server - this page takes sometimes upto 10 secs to load. I'm completely lost as to what the reason is and not sure where to start debugging.I'm not sure if the problem is in the flash code or is it that red5 is taking a long time to establish the connection.
View 1 Replies
Jul 28, 2009
I'm trying to implement a simple NetStream video player with Progressive Video, but for some reason the video is taking about 12-13 seconds to begin buffering...I don't get it. If you check this link, you can see the buffer progress, you can see that it sits at 0 for >10s, until finally starting to buffer, at which point it finishes very quickly. [URL] It's a hard one to search for as any query using connection or slow obviously returns a bunch of crap that I don't need...
[Code]...
View 1 Replies
Dec 23, 2009
I've got a file upload that's working just fine except for the fact that the Event.COMPLETE event seems to take way longer than it should to fire. The Progress event is firing just fine and filling up the progress bar, and on top of that the entire file arrives on the server just fine, and way before the complete event fires. I've read I need to echo something back from the server, but I have no idea what that should be.
View 4 Replies
Aug 18, 2010
why dynamic streaming taking too much time to switch video from lower bit rate to higher bit rate and vice versa. I am doing dynamic streaming in following ways -
var param:NetStreamPlayOptions = new NetStreamPlayOptions();
param.oldStreamName=oldStream();
param.streamName=newStream()
[code]....
I am using duel buffering and that is 3 seconds when video starts and 10 seconds when "NetStream.Buffer.Full". Video taking approximately 30-50 seconds to switch video and when I am calling the above code.
View 6 Replies
Mar 13, 2009
I have a slideshow posted at url....My client is saying it takes too long to load, and I am finding that it is loading all of the photos first before you can scroll through and view them. It's just not functioning properly.I wonder if someone could look at the actionscript and give me any suggestions? Maybe there's something else going on?I have attached the script from the original fla file.
View 6 Replies
May 31, 2007
My website[URL]is taking too long to upload, can somebody tell me how to fix this problem
View 2 Replies
Jul 3, 2008
I have made an application in flash, which is more like a photo/video gallery, in it, an event(birthdays parties) can be selected and a scroller appears which contains the thumbnails of all the pictures of that event, and one video appears in another panel,basically one video per event(birthdays and parties) is supported.My problem is that pictures are around 50, and there size can be around 2 MB, sometimes it happens that whole flash CS3 hangs, it is too difficlt to use the application this way...near impossible..these pics are loaded dynamically through xml file and i have used loadMovieClip.loadClip() method to load pics to movieclips and loadMovieClip.onLoadInit() method to resize them to make thumbnail and the main picture in the gallery
View 12 Replies
Oct 9, 2009
I am using sendAndLoad heavily in my fms3.5.2 application because it accesses an API on the webserver to execute commands. It calls a PHP file on the webserver which connects to a database, does some processing and returns XML output. Now, LoadVars has been giving me problems for months now. I suspect it is the reason my application crashes intermittently.
Also, lately.. it takes about 2 minutes just for the sendAndLoad to reach the onData stage. I have no idea why. This is not a problem of the PHP taking long to display the XML because if I access the PHP directly using `links` linux command, then it returns practically immediately.
View 1 Replies
Feb 5, 2004
I'am making a advanced mp3 player arund this tutorial: [URL] and i want the users of the player to see how long they have listen or how long time back of the song. i have the AS i what to use but i cant connect them. becuase the tutorial i used does not make a sound objekt (MUSIC)
[COde]...
View 1 Replies
Aug 1, 2010
I'm trying to play a 10 minute long video (h264/mp4) which is 39MB in size, after I call stream.play(fileURL) it doesn't start playback until its loaded around 12-16MB of the file (many many seconds later), I finally get onMetaData at this point too. Why doesn't it begin playback right away, or at least w/in a couple seconds? What can cause this bloated lead in time?
View 2 Replies
Mar 7, 2011
Some background info: I'm trying to create a website to upload my photography portfolio to; the URL is as such [URL] So what I have done is create a parent page and created a variable that functions as a loader. Whenever a button is clicked an external swf file is loaded into that variable. And within those external swf files are additional buttons that will load an image into another loader.
Here's my question; for those of you who've tried the site will realise the images are taking an eternity to load, everything I learn about actionscript tells me this should not be the case. Each of the photographs are between 100 - 300kb in file size and really should not take more than a few seconds. This leads me to conclude theres something wrong with my code.
The code itself is nothing special, in fact it is the absolute most newbie way of creating a function eventlistener for every button. This is the code for the parent page;
var loader = new Loader();
var Xpos:Number = 440;
var Ypos:Number = 380;
[code]...
Here is where things got hectic for me for a while. I tried using the same type of code in the parent page for the external swf pages, for some reason it does not work, I had use the loader component (component's instance name is interfaceloader);
Product_A.addEventListener(MouseEvent.CLICK,Produc tA);
function ProductA(event:MouseEvent):void {
interfaceloader.source = "Product_A.jpg";
}
Once again to summarise my issues; why are 100 - 300kb images taking so long to load even on a ADSL connection and is my code part of that problem?
View 0 Replies
Jun 17, 2010
I haven't played around in flash for awhile due to other projects outside of it taking up most of my time, but I'm trying to create a simple 4 digit count-up display that uses a sprite-like movieclip instead of a dynamic text field.
The movieclip has 0-9 layed out vertically and each interval basically shifts the movieclip instance up by 20 pixels. There are 4 instances of the movieclip on stage side by side.
I'm wondering if there is a simpler way to do this other than how I did. I honestly can't wrap my brain around this anymore without going insane, and just wanted to get some other opinions.
[Code]...
View 9 Replies
Jun 23, 2009
I have implemented an image scroller. Now the client had reported that a few seconds are taking to load images. We have a local server. When we load images from it, it's not taking that much time to load images.You just copy the following code in a notepad save it as .html extension, which is the widget taken from client site.
[Code]...
View 10 Replies
Feb 10, 2011
We have a flex application and in that we have a screen that taking a lot of time to load, almost 60 seconds.Basically the screen is a very big form. I wanted to divide the form as a wizard but the client wants a single form with Vertical Scroll on. Now there are 8 sections in the form, each section has two form elements (so around 16 form components) but i have divided each section into a separate component of its own as some pieces are reused .So the whole screen is like Form - Divided into 8 sections Each Sections is an mxml components contained in a Almost each components contains two form components kept side to side in horizontal flow i.e something like that.This screen is taking hell of a lot of time to load. How should i speed it up, please tell the approaches.Also the main application doesn't take much time to load, this particular screen is loaded on the click of a button and on clicking the button the screen gets stuck because its taking a lot of time to load.
View 2 Replies
Nov 29, 2010
I do not why but now my flash files are taking much more time(Ctrl+Enter) to load than usual .. Automatically debugger starts when i run the file. And for heavy files, the file hangs and ends up in restarting my Flash Application. I am using CS4.
View 1 Replies
Mar 28, 2010
I have built a SoundClass which handles my sound. Any time I want to call upon a sound, I call upon the class and its function. Problem is, there is like a buffering time or something. For instance, when I jump with my character, I am trying to play the jump from the SoundClass I created. It plays, but takes about 3 seconds. Btw, it does this regardless of if its in its own class, or in the same class I am calling it from. The jump.mp3 is only 4KB.
Here is how I have it set up
Code:
package {
import flash.display.Sprite;
import flash.events.*;
[code]....
If I am in another class, I can call upon this by using "soundClass.jumpS();" It plays, but takes a few seconds. I have a trace on the function jumpS() and it traces immediately.
View 2 Replies
Dec 30, 2010
I want to run the loop for long time in my application. If i do within few seconds i am getting a alert message like "Script in this movie make flash player to run slow . do you want to abort the script". How to overcome from this.
View 6 Replies
Nov 11, 2011
I use FMLE to publish h264 video to FMS , my server side code (main.asc)[code]...
View 10 Replies
Oct 15, 2009
For some reason connecting to Flash Media Server 3.5 takes around 40 seconds. The server is running on Windows Server 2008 (64-bit edition) on a virtual server located in a reliable hosting center and I'm connecting to it over the internet. The server is using built-in Windows Firewall with all the inbound TCP ports required by Flash Media Server opened (80, 1935 and 1111).
If I disable the server's firewall the connection time drops to 20 seconds, but it's still pretty damn long time just for establishing connection. We probably have some company firewall at this end (the client side), but other streaming media services works just fine over this connection.
View 6 Replies
Feb 13, 2008
Why? Is there another app I can use to publish it?
View 1 Replies
Jan 12, 2010
I am loading some XML with HTTPService in Flex. It is taking longer than I would like to load. So I want to do some trouble shooting, but in order to tell what is making a difference I need to be able to time the requests and how long they are taking.
What is the best way to time an http service to see how long it took from HTTPService.send() to HTTPService.result
View 2 Replies
Oct 22, 2010
I have a swf file with 545 kb. and i am loading this in a html page using div concept. but it takes nearly 10 seconds to load the swf file. i want to reduce the loading time to 4 to 5 seconds.
View 0 Replies
Apr 25, 2010
I'm trying to play some sounds in my flash project through action script. However for some reason in my code the call to Sound.play takes from 40ms to over 100ms in extreme cases, which is obviously more than enough to be very noticeable whenever a sound is played. This happens every time a sound is played, not just when that sound is first played, so I dont think its because the Sound object is still loading data or anything like that...
At the start I have this to load the sound:
class MyClass
{
[Embed(source='data/test_snd.mp3')] private var TestSound:Class;
private var testSound:Sound;//flash.media.Sound
[Code].....
This as far as I can tell is following the same process as other Flash programs I found, however none of them seem to have this problem. Is there something that I've missed that would cause the play() method to be so slow?
View 1 Replies
Nov 21, 2011
I just created a basic flash file to play a video on my web page and it's taking several minutes to load before it starts playback. I'm using progressive downlaod and the file is in *.mov format and is 84MB in size. At first that seemed large to me for web play back, but I thought it could handle it since I thought the way progressive download works is that it would start playing the first frame right away and progressively play other frames as they download. However, this seems to be downloading the whole file first (or a major part of it) before starting any playback at all.
Is there some kind of setting I'm missing or is my understanding of the download incorrect and the file size is too large? Some vitals: I'm using Flash Pro CS5 - To create my flash file, I used the standard import video wizard and selected the a file that is "on my computer" and "load external video with playback component" and then, I selected one of the standard skins.- To deploy the vidoe on my webiste I have three files:
1) swf file containing the FLV component
2) the swf file related to skin
3) the actual video (84MB, mov file) - Web page includes/embeds reference to swf file
View 12 Replies
Jul 20, 2011
I have loading the webview in my Activity. the Web content is having some flash content. when i try to finish the Activity. Its taking too much time. the screen goes to blank screen for little time and resuming to the app.
View 1 Replies
Jan 14, 2010
URL...the problem is why it takes as long as it does to initiate the loading of the site if it's already loaded the site, here's the code for the preloader that loads the file that is being waited on:[code]
View 2 Replies
Sep 30, 2011
Making a game and I have a preloader class which is linked to the main 'game.fla' file, in the preloader class I have imported the 'Game.as' class that contains ALL the code to run the game. The problem I am having is that I can't seem to 'initiate' the game once all the elements are loaded.
View 2 Replies