Flex :: Get App To Load Quicker?
Apr 28, 2010
We've got an app written in Flex that displays data from our app. The .swf file is only 427kb, but it takes a full five seconds to load in Firefox. This is a headache for our users because they need to access the page that contains the app frequently. (The app displays documents, and it's really slow to march through a list of them).
I've confirmed that it's not a slow web server problem. The .swf appears to be cached in the browser. Firebug reports that every time the web page accesses the .swf, the app server returns a "304 Not Modified" response, meaning that the load time from the server is almost zero.
Is there anything we can do to debug this issue? Or is the Flash player just slow?
View 4 Replies
Similar Posts:
Feb 10, 2009
I want to call a function which does something a number of times. The complication is that i want to call it increasingly quickly, ie call it once after 1s, then again after 0.8s, then after 0.5s, then after 0.2s (the actual numbers aren't important I have an equation to work them out).
View 5 Replies
Sep 3, 2009
Are their any tricks or things I can do with actionscript to make images load quicker? I have a full browser xml image gallery and the images are physically big but optimised in Photoshop. I have a preloader to display the loading amount, but is there a way to speed up the loading?Flash image galleries I've seen have images of similar size to mine but seem to load quicker. Is there a way to partly preload the images before they are used. I don't want to preload all the images cos that would take ages.
View 1 Replies
Dec 16, 2010
I want to know if there is a faster way to take several bitmaps and arrange them one after another in a single layer in a movie clip.
This is how I am doing it currently.
Stage 1: Import the bitmaps to the stage
Stage 2: Distribute the bitmaps to layers
Stage 3: Make the first bitmap a movie clip symbol and cut the other bitmaps' frames
Stage 4: Go into the symbol, create a new layer, and paste the frames.
Stage 5: Click and drag the other frames into one layer, one after the other.
I now have a single movie clip with all my bitmaps ordered one after the other in the timeline.
View 2 Replies
Feb 21, 2012
I am using SWF Quicker to edit a flash swf file, but whenever I export it, all the sound is gone. Even if I export it without making any modifications, all the sound disappears. I have tried using different versions of ActionScript (1.0, 2.0, 3.0) and different Flash Player formats, but every time there is no sound
View 1 Replies
Feb 28, 2003
i just want to know if one layer can move quicker then the movie frameset
exmple { movie frameset is 12 i just want one layer to go at 20 }
View 3 Replies
Feb 13, 2010
You got an eventlistener for an object that can dispatches events in intervals of 0.2ms.And if the eventhandler would need 0.5ms for his operation, what would happen? (listener and handler are in the same class).Would the last event overwrite the event before? In my case, I get some data from a xmlSocket, and I thought, that some datastrings can come in quicker than to work it off in my handler.
View 4 Replies
Jan 24, 2010
I've created a small game with Box2d for AS3 - I have sprites attached to the stage that take their position from the underlying Box2d world. These sprites are mostly PNGs.When the game runs with DrawDebugData() bening called every update, it runs nice and smoothly. However when I comment this out, it runs choppily. In both cases all my sprites are being rendered. So it seems that it's running faster when it's drawing the debug data additionaly (i.e. my sprites are on the screen in both cases!)What's going on? Does drawing the debug data flick some sort of 'render quick' switch? If so, what's the switch!? I can't see it in the Box2D code.
function Update(e){
m_world.Step(m_timeStep, m_velocityIterations, m_positionIterations);
// draw debug?[code]...
Interestingly, If i set the debug draw scale to something different to my world scale, it slows down to 19fps. So there's something happening when it draws the boxes under my sprites causing it to run quicker..
View 2 Replies
Jan 9, 2010
I am connecting FMS over RTMP from a firewalled network where RTMP is blocked.Connecting to my FMS server from there takes (a too long) one minute before the Flash client switches from RTMP to encapsulated RTMP into HTTP.Is there any way to by pass this delay or is it a plug-in inner behavior that cannot be short-cut ?
View 3 Replies
Nov 10, 2009
I needed to translate a SWF file, and used Sothink SWF Quicker to decompile the swf file.Now I want to re-compile it, with the changes made. How can I do that?When I try to "Publish" or "Export" the file with the same program, the new file is only with about 250 bytes, and the previous one had about 450 KB.
View 2 Replies
Nov 17, 2009
I get a ActionScript class for loading the content:
public class LoaderContainer extends Sprite {
public function LoaderExample() {
loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
addChild(loader);
[Code]...
View 1 Replies
Mar 2, 2007
I'm currently working on a project that contains a lot of data, about 14.000 records. This means an xml file of about 3mb. Now my question is: Should I use the xml file to load all the data at once, or should I use a webservice, that provides the data when I need it? Keep in mind that I'm new to webservices. And if I'm going to use a webservice: How do I store the data, in a mySQL database?How fast is a webservice?
View 1 Replies
Jan 11, 2010
I have a situation where I need my swf to load from a domain. Currently my flex set up always loads a SWF from file [URL]...
View 1 Replies
Jul 23, 2010
I'm looking at a tutorial to display placemarks using a KML file on a flex application. I'm using IGN API (openscales) in flex project. The example works perfectly (http:/[url].......
<os:KML url="http://www.parisavelo.net/velib.kml"
proxy="http://openscales.org/proxy.php?url="
numZoomLevels="20"
style="{Style.getDefaultCircleStyle()}"/>
But when I'm hosting the same kml file on my server like that :
<os:KML url="http://www.cycom.org/velib.kml"
proxy="http://openscales.org/proxy.php?url="
numZoomLevels="20"
style="{Style.getDefaultCircleStyle()}"/>
Placemarks don't show up on the map. I tried to host the kml file on different hosts but that doesn't change.
View 1 Replies
Feb 16, 2011
I have a Flex module created in Flash Builder 4 as a swf file. I am trying to load and run in within a Flash application. I can get the module loaded but I can not get the flash application to access any module functions. Here is how I load the module in Flash and the error I get. If I change the module to an application type swf then it loads and runs but now I have two applications on top of each other. I would like the loaded module swf to be able to have access the Flash stage object.
ReferenceError: Error #1069: Property application not found on MyModule__mx_core_FlexModuleFactory and there is no default value.
var loader:Loader = new Loader();
[code].....
View 1 Replies
Jun 30, 2011
i have a mobile application that i am attempting to use to load an interactive .swf file. At first, i was just going to use the .mxml applications from my other project file in flex, but they're for desktop apps and running on Flex 3.6, and Mobile apps can't be built on less than 4.5 :P
so, i figured i'd export the first project to a .swf, and load it in my mobile application, but nothing i do will get it to show up. anyone know a solution?
[Code]...
View 1 Replies
Oct 9, 2009
I installed Flex Builder plug in (3.2) into Eclipse 3.4. The installation had no errors, but I get this error when trying to start a new Flex Project.The selected wizard could not be started.
[url].... was unable to load class com.adobe.flexbuilder.apollo.ui.wizards.flex.FlexApolloProjectWizard.
com/adobe/flexbuilder/editors/common/ui/project/wizards/AbstractFlexProjectWizar d
I have tried re-installing several times, even tried the older eclipse versions.
View 2 Replies
Mar 1, 2010
I have some swf compiled in flex I want to load it into my movie clip in flash pro.
...So how to for example load flex swf inside Flash CS4?
View 1 Replies
Apr 19, 2010
I have a flex app that takes data from a back end database then displays the content in one of 3 views. These views are all in a viewstack which is instantiated in main.mxml The method to get the data (remote object)is also in main.mxml.
The views rely on the data so how can I go about making sure that the data is loaded first before any of the views in viewstack are created / initialised to stop me having null reference errors?
View 1 Replies
Apr 30, 2009
How to load flex components through xml?
View 1 Replies
Apr 30, 2009
How to load flex components using XML. The scenario is simple as like this, i need three buttons to appear in my panel, but the option true or false whether to appear should be in xml.
View 4 Replies
Feb 6, 2012
I want to load some html page see this in Flex 3.5 or more I followed this tutorial but somehow i think it only works in Flex 2, I even tried by unchecking Generate HTML wrapper file but no luck.
View 3 Replies
Aug 14, 2009
Can I implement the "load" method in FileReference in other way? My client use FP 9 and this method is implemented in FP 10. I am using BlazeDS + Spring and I want to upload images.
View 1 Replies
Oct 31, 2009
How to load images in as3:Load them all at once, for example like this (pseudo as3 code):
for each (var url:String in images){
loader.load(url);
}
[code].....
View 2 Replies
Dec 7, 2009
I need to load several images as Bitmap or BitmapData objects. The images are hosted outside the Flex project, and they're referenced by an external configuration file, so I can't embed them. Because the images won't be displayed directly to the user (they're being added to a PDF that is generated for download), creating a grouping of Image objects, attaching them to the application, and waiting for their LoadComplete handler to fire seems inefficient.
What is the best way to load these images into an application? Programatically load images in it?
View 1 Replies
Dec 26, 2009
I used Flash player 10, and Flex SDK 3.4. The code as followings:
// Following comes callbacks
function imageLoadOpenCallback(evt:Event):void
{
trace("in--open");
}
function imageLoadCompleteCallback(evt:Event):void
[Code]...
Only the imageSelectCancelCallback handler get called when I select some files in the dialog. But no load/open/io_error handler get called at all. I have Google some code example, in which it used FileReference instead of FileReferenceList. I don't know the reason,
View 3 Replies
Feb 25, 2010
I am building a website of songs library using flex, I have made an mxml file for each page, for example the home page, albums listing page, album details page, search result page and so on. I want to know how would I link them all together, for example on the home page there will be some featured albums when I click on an album am supposed to go to the swf file of the album details same if am clicking on an album from the search result page.I've checked the Adobe Flex Help and found the SWFLoader Control but I understood that it's intended for loading swf files that add graphics or animations but not for something that will have user interaction and in my case there will be user interaction like for example in the album page users can add comments, review comments added by other users, rate the album, buy it and so on.
View 1 Replies
Mar 9, 2010
I want to play Audio in flex application.I am using SWFLoader for it.Is there any other way to load audio into Flex applications.
View 1 Replies
May 5, 2010
I have a SWFLoader in mxml of my flex app.[code]...
I get the alert popup (that is the loadComplete is called) but do not get any swf loaded, not able to view anything. What can be the problem, am I missing something or some security issue? I also tried the image control to load the swf. Moreover, the swf are pdf files converted to swf so can this be an issue of different frame rates between flash and flex ?
View 1 Replies
May 17, 2010
I have a small flex application. What I want to achieve is, I want my user to pass the script as a parameter. so he has the flexibility to do anything with the buttons->like add event, hide the other buttons.
Something like this(below)
<param name="script" value="import flash.events.Event;
private function printMessage(event:Event):void {
message.text += event.target.label + " pressed" + "
";
}">
View 1 Replies