I'm loading XML cross domain and it works but it's really slow, or sometimes it never load...
Code:
system.usecodepage=false;
c = new XML();
t = new LoadVars();
[Code].....
how can i make sure that the XML is loaded everytime?! Sometimes I have to click the link in flash to reload the page that shows the XML to get the XML to load...
I have a Wordpress website located here: http:[url]....I'm trying to figure out why the page loads slow - I'm almost sure it has to do with Flash and size of images, plus rotating banner. I don't know how to edit or fix the problem though. So the question is: What is causing my website to load slow, and what EXACT steps can I take to fix the problem.I've already tried adjusting some of the browser ActiveX filters and other temp fixes, but that is not the proper solution. If this is a flash or image loading issue, can you tell me the EXACT step in how to edit these issues?
Somehow through tons of research I've been able to make myself a flash website which features my work. There is one big problem, my site loads really slow and I'm afraid I'm loosing all of my potential clients who probably won't wait for it to load.
Here's my website url: [URL]
I'm hosting with hostgator if that matters at all, I've also optimized the images.
Just need a bit of guidance. This is my portfolio site My images are loading in very slowly. I'm loading them in with a UILoader component for more functionality and my code is below. Also the images look a bit distorted. Does anyone see anything wrong with the code or maybe my server godaddy account is running slow.
var myImage:String = "images/showcase.jpg"; var myRequest:URLRequest = new URLRequest(myImage); showImg.scaleContent = true;
This is really weird and I have no idea what could be causing this.I have this simple Flash site:
http:[url]....The main interface is loaded, and then it starts to preload a few external JPG images.The problem is that with IE it is taking about FOUR times (or even more) the time to load the same pictures with FF. In a slow connection such as a 128K the main interface takes the same time to load either on FF aswel IE - about 5-10 seconds. Then, it starts loading the external pictures - in FF it will take about 20 seconds more and in IE it will take about 80 seconds more. It is clear to me that the problem is not in the site loading itself, but in the contents loading. I can't see what in the browser could be interfering in the SWF, unless that the IE Flash plugin have some known (or unknown!) bug regarding to MovieClipLoader!
The only thing I can have in mind, is that I am not terminating the listeners in the onLoadComplete events, so theoretically they would be keeping the CPU busy even after the pictures finish to load (I spawn about 30 listeners, one for each picture). However, I doubt that this is the reason or else it would make FF slow down too, indeed? Also I noticed that when running the application in the authoring environment (control+ENTER) but loading contents from remote server, it have the same behavior as when loaded within IE (slow loading).
I am building a website entirely out of flash. I know thats not a great idea, but it is not the biggest website in the world, however it does contain seven or eight .sws that take some time to load.When I test the website via a cable connection (T1), the speed of opening the website is not bad, but on DSL pretty slow.I dot want to turn people away from my site how can I make sure my flash site doest load that slow? Ie read somewhere that if you put all the .Ss into one master file it could make the site load faster.seen some flash websites that are big and their files load
We have installed Flash Media Server on a Linux machine.It has 2GB of RAM,Fedora 9 with kernel 2.6.27.5-41.fc9.i686, the install required a few packages (compat-expat1 was one) to be installed before we saw the sample page. The sample page takes a few minutes to load and opening the page to connect to the admin console is about the same.
This is currently on our internal network while we try and see how it works. Are there any specifc TCP related kernel tuning parameters (eg in sysctl.conf) which need to be put in place over and above the out-of-box configuration. Any troubleshooting hints which might identify the problem. The install seemed ok nothing in /var/log/messages and checking to see what is running (ps aux | grep fms) I see
but when we clear our browser cache and go to a page it is taking forever.It is taking about 5 minutes to open up the initial page, but when it is open the videos all seem to come through fine.The server previously had apache on it but I removed that copy and went with the version included with FMS.
I've got a basic dynamic XML gallery on my website and I noticed that thumbnails in the gallery do not load on slow internet connections. They load only when I enter the gallery for a second time. The debug flash player doesn't throw any errors. Is there maybe some loader property that allows longer timeout for the loader to finish loading?
I'm creating an application where the user uses the Arrow Keys to navigate around the menus and Spacebar to continue. On the first screen is the main menu that launches external swf's. (I have it as an exe). When I play the external swfs individually in the Flash Player.......the navigation is perfect and runs smoothly. But when I launch the external swf's through the first screen (menu).....the loaded swf becomes very slow/sluggish to react when I hit the Arrow Keys. (E.g. have to hit the arrow key 3/4 times before it moves). The frame rate in each fla is the exact same. I use the levels to launch the external swf. I have also used the "load into an empty movieclip" and the outcome is still the same. I'm using CS5.
In terms of performance, does loading .swfs into a flash movie have any implications. I've been experimenting with loading complex swfs into a simple movie and the complex .swf seems to perform a lot slower within the .swf than as a standalone. The host movie has no other funcitonality other than as a simple container. Is it in general terms better not to load .swfs into a movie but to code everything inside 1 movie ?
Im not really new to flash, but pretty useless at Actionscripting and i think thats what i need in this situation.A flash movie was predesigned for us at 12 FPS. which was fine at first but now i have to import those movies into Adobe Presenter 7 which once published runs them at 30 FPS by default. So you can see my problem.. the 12FPS files run way to fast.Im trying to avoid having to edit everyone of those movies and increase the timelines to work with 30 FPS.. that would take weeks.So my question is, can i load the entire movie into a MovieClip and then set my main movies property to 30 FPS and have the MC play at only 12 FPS? i believe i read about this somewhere.or is there a way to automatically extend the timelines? im using CS3 Pro.
I have created a logo using several objects. And they come one by one on my stage while playing. But these objects (which all are movie clips) coming too fast.
I'm working in an application that is a kind of presentation with lots of content that should be displayed in "frames".
But I realized, after some struggle, that to put all the content inside the .FLA file doesn't work. Just a couple of tables with text imported from ms word are enough to let the FLA file unusable, even though it occupies little space on disk.
So I've written a function that loads content from an XML file and display it into a movieclip, that contains empty textfields and image containers. Another function organizes the content.
The problem is that the SWF file gets extremely heavy after navigating over a couple of frames, and I believe is shouldn't cause all the content is dynamic. I managed to remove all the listeners and loaded images.
If i have the windows task manager(ctrlalt del) opened while the Flash application is on, I notice that every time I update the content of a "frame" by clicking on a menu item or the navigation buttons, the flashplayer consumes more and more memory.[code]...
Some stuff is as fast as before, like scrubbing and playing and applying a tween.But other, simple stuff, like selecting frames, adding frames - regular or key - takes 2-5 seconds each. Really anything with the timeline is slow. This happens especially with long movies (1.5 minutes - 2500 frames). Which shouldn't matter. I had movies 5 minutes long working fine.
I have Flash CS3 installed (windows) I have two images, I shape tween from one to the other.
The .fla file is 15MB in size, and the .swf is 800kb,
My problem is that, even though I've set the animation to run at 30fps, I barley manage more than 1.4fps a second, it should take 5seconds to complete, yet its taking 140seconds.
i have an embedded video in my .fla. It's like the "background" of the scene. I need to slow down this video in a specific keyframe, and then return to the normal speed.
Firstly, is it possible to speed up the process of compile and run (ctrl+shift+enter), because it's so slow and it's very annoying when you do minor changes and you want to quickly see the effect
Secondly, many times at compile & run command flash player doesn't fire up, because it's running in memory for no reason, and there in no flash movie playing, so it's really nasty that I have to keep killing process to be able to run the movie.
When I have a symbol with multiple symbols inside, it's very slow to convert frames to keyframes or to move the keyframes in its timeline. Is there anything I can do to fix this?
The execution of JSFL files seems to have slowed down in Flash CS5. Or, at least, the updating of the display has been severely slowed down. I have a command I use all the time -- so much that I don't even think about it -- that worked fine in CS4 and earlier, but in CS5 it seems to execute too slowly. My command is a replacement for the "Step Forward One Frame" and "Step Backward One Frame" commands in the control menu (the "<" and ">" keys). I wrote them so that the selected symbols remain selected when going to a new keyframe. Of course, I use this all the time just like I did with the original "<" and ">" keys, and they need to run fast enough that I don't notice their execution time. They don't do that much processing at all, so it really shouldn't be a problem.
I also wrote some functions for profiling, and they indicate that the command is actually running in a reasonable amount of time (around 50ms). When I run it again immediately, though, the execution time balloons to about 300ms. Not only that, but in both cases the display takes its sweet time updating itself. It seems to wait until all activity is finished, and then updates. This means that when I execute the command repeatedly (keyboard-scrubbing the timeline) I don't get to see the current state of the stage until I stop completely and wait for it to update.
As I said before, I never had trouble with this in CS4 and earlier. So my question is: is there any way to tell Flash to update its display in a command, so that I don't have to wait for Flash to get around to it? Relatedly, is there any way to give the javascript interface a higher priority so it'll execute commands faster? keys). I wrote them so that the selected symbols remain selected when going to a new keyframe. Of course, I use this all the time just like I did with the original
I am very new to AS3 and the way CS5 has the default preloader is a bit confusing to me as well. I have two files -- one with the preloader AS3: var l:Loader = new Loader(); l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loop); l.contentLoaderInfo.addEventListener(Event.COMPLETE, done); l.load(new URLRequest("part2.swf")); function loop(e:ProgressEvent):void{ [Code] .....
Then I have another SWF with my main content called "part2.swf". When I "publish" part2.fla, I go to ActionScript settings and select Preloader method as Preloader SWF and then on the line below I select the name of the file that points to the one above that contains the script. Even when I do a simulate download test on the movie it compiles like a dog. I don't understand. If I use the "default preloader" in CS5 ... those annoying little dots with no progress bar or display text (who designed that?) ... it seems to run just fine. I've tried putting a frame preloader in frame as I understand the "preferred" method is to call an external loader file. So I'd really like to get an external preloader to work.
Does anyone else experience publishing ad hoc builds for the iPhone (from flash cs5) taking a long time (10 minutes +) ? Whereas it would only take a couple for a (non ad hoc) test build. I suspect it might be stuck in a loop somewhere.Or is it simply a matter of waiting patiently whilst the provision is being approved (or whever it's waiting on)
I am having a issue with CS5 flash iphone app displaying slow laggy animations when I use a background image. I have pinpointed this issue by making a simple iphone application with only a vertically accelerating ball and one background image. If I use the background image the ball will animate slow and laggy, without the image it performs fine.
Also...while I have your attention, does anyone know why only CS5 will allow me to compile IPA files that will run on my 1G ipod touch with ios 3.1.3. I would like to use CS5.5, but the IPA from that version will not run on my device.
var ddd:XML; var ttt:URLLoader =new URLLoader(); ttt.load(new URLRequest("test1.xml"));[code]..........
when i use this it takes long time to do this for loop and the swf is shocked for many second until it works.is the xml is so big to be loaded in array in as3 or i have done some thing wrong?
I did a flash application that has a login form in flash, and authenticates in php. That was 3 months ago, and the sending requests and response is very fast -- that is, when i click submit button, within 3 - 5 seconds it will have a response from php.
Recently, I did another login in flash, using similar code as I previously have done. Now, the sending request and respond is very long, each time the server may take up to 10 seconds to respond. Why is it taking so long yet the previous one is fast?
Same host, same php files, similar swf (not much changes in swf).
I found this, but got no idea how to slow it down: var myTextLoader:URLLoader = new URLLoader(); myTextLoader.addEventListener (Event.COMPLETE,onLoaded); function onLoaded (e:Event):void { tekstbx.text = e.target.data; tekstbx.addEventListener (Event.ENTER_FRAME,efh);
I'm running web browser over RDP (Terminal Server). However, the flash animation is slow over RDP. Is there anything can be done or perhaps anything to tell flash player to drop frames during animation?
is it possible do have a delay that doesnt slow everything down? I need it so one animation plays, waits a few seconds, and then the next plays. Right now it plays the second animation two fast so the first doesnt complete, but I need the animations to play a full speed
i want a button that when rolled over, it gradually stops a movie clip. I don't want it to stop dead. I also want a button that when you rollover it the movie clip then starts again, but gradually.