Flash :: Very Bad Flex Load Time / But Only Non Chrome Browsers
Oct 17, 2011
My flex application has a very bad load time (approx 5 to 8 wasted seconds) but only for FF and IE, Chrome appears fine.I've determined there is some kind of useless idle time before the application's initalization event fires. This is not just my development box, it happens everywhere. It is consistent across Flash version, OS and browser versions too. I've tried multiple. Chrome consistenly works very fast, IE and FF have this strange lag.However locally, whether via localhost or remote IP, it doesn't have this issue. I'm sure you'll think it is the download time, but my SWF is very small (400K) and I've purposely made external images that are very small. I also prefetch the images via JavaScript, and firebug reports the the cache is used later. The download size can't really justify the wait time. Not to mention, why is it so much faster in chrome? Is chrome really that fast downloading images and SWF files?
Also, minimal JavaScript is called from Flex, and I've more or less ruled out that is the issue.So it isn't Chrome's super fast handling of JavaScript.I don't see any large load times with Firebug.I see JavaScript excute in the browser inline during a page load, but then the appliation init within the SWF doesn't fire for about 5 to 8 seconds later.I don't see why flash on Chrome is so much faster, nor what could be taking so long for Flash to kick in.Tried the Flex Profiler, but memory usage spikes AFTER the bad load time.Otherwise, I don't know enough or see enough to recognize a problem with it.
View 4 Replies
Similar Posts:
Feb 18, 2011
The sfw goes like lightening in explorar (yes) and in firefox and like a tortoise in chrome. Do I need to download a plugin for chrome or is there a problem with flash and chrome. It's important as I am about to release an important program in schools.
View 3 Replies
Feb 16, 2011
I have some code that gets fired on these mouse events:
button.addEventListener(MouseEvent.MOUSE_UP, function(e:MouseEvent) { ...
button.addEventListener(MouseEvent.MOUSE_OVER, function(e:MouseEvent) { ...
button.addEventListener(MouseEvent.MOUSE_OUT, function(e:MouseEvent) { ...
They all work in all browsers, except for Chrome, where MOUSE_OVER and MOUSE_OUT trigger the events, but MOUSE_UP does not trigger the event. I also tried CLICK, same story.I would suspect that there is some sort of interfering layer or offset in the Chrome rendering, but then wouldn't the other mouse events not register as well?
View 1 Replies
Feb 14, 2012
HTML Structure
<div class="dinz-slider-film trigger-vid">
<object width="480" height="340" class="vid-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="FlashID" style="visibility: visible;">
<param value="sites/all/themes/subtheme/images/test.swf" name="movie">
<param value="high" name="quality">
[Code]...
View 1 Replies
Jul 7, 2011
We've been trying every trick to fix a problem with long lag time in video startup in some environments. In particular, there's a long time gap between the time the custom .swf skin appears and the video starts to play. Only some combinations of OS for the FMS server and client browser shows the problem, but for those combinations it is consistent and appears to be a constant of approximately 59 seconds, regardless of the length of .mp4 or number of times played in our custom .swf. (Our .swf accepts a supplied file location for the .mp4 to stream.)
On our main server (Win2008R2), we run a virtual machine that has Win2008R2 installed. If you click on the video URL from a Mac Safari browser on MacBookPro, the load is FAST (a few seconds). On the other hand if you click from IE on any Windows machine (VM or native, Win7 or WinX), the load is SLOW (one minute). If you try locally on the server virtual machine with the FMS and web server (IIS) installed, the load is also SLOW. The reference flash video (i.e. NOT through our .swf) loads FAST. [code]...
View 2 Replies
Jan 26, 2012
I have one problem with my swf file, I have created an swf for calculating speed. In the time of 12Sec. one person can move some distance with some x speed, an another person can move same distance with 2x speed, but finnaly two persons will reach the distance in same time that is 12Sec. I have created one timer for this, will show the time.If I run the swf the timer is working fine, I embeded this swf into html and I checked that html file using IE it is working fine, but if I check it in FF or Chrome the timer is running bit slow and it is effecting my functionality.
[Code]...
View 16 Replies
Jan 13, 2011
I inherited a flash website about a year ago.. not sure what version it was originally done in. I've made changes on the model last year using CS3 Flash Action script 2, but don't remember the flash version when published. The audio in question is the music that plays in the background when you get on the website:
[URL]
When I changed the image of the model this last week using CS4, I published it as Flash8 actionscript 2... now, the music plays on Mac Safari and Mac Firefox, but not on the Windows versions of IE or Firefox..
this is the code called sound control
onClipEvent(load)
{
_root.soundstatus="on";
_root.mySound = new Sound(_level0);
[Code]....
then there's the stop() that's used when the music is toggled off..
I've tried updating the flash player in Windows to the latest release, and I even tried republishing as flash 10, just not sure where to troubleshoot this..
View 3 Replies
Jun 24, 2009
Flash will ONLY load when it becomes into view on the screen For example, it won't load a Flashmove that is at the bottom of the page INSTEAD: it will ONLY load when that part of the screen comes into view
- Older Flash, ver 7 and below, this isn't a problem
- Newer Flash, ver 8 and above: problem
View 7 Replies
Jan 7, 2011
I built a website in Flash (CS5/AS3) and published it to a .swf and .html file. I then uploaded to my host and tested. My site displays fine in Firefox and IE, but appears as an empty page when attempting to view in: The site will load, but isn't visible for me until I double click in the browser window or minimize/maximize the window... The site also loads fine if I access it through a hyperlink. This one's really got me confused! Any more ideas?
View 1 Replies
Jan 14, 2012
I'm busy creating a mp3 player (for a music store). Everything works perfectly. Some of the files will be redirected to the original source (located on other server) when Flash wants to load the stream. In all major browsers this works perfectly except Webkit browsers such as Chrome and Safari. I have tried to send a "Moved Permanently" 301 header as well as a normal redirect but does not work. Also when i try to download it from the address bar nothing happen (in other browsers i get a popup to download the stream).
View 1 Replies
Aug 16, 2011
I have a problem. I have flash application which loads data from XML files. When I start this application in Google Chrome all XML files loads except one, the largest (100kB).
View 4 Replies
Oct 26, 2010
I have a Flex 4 application which connects to ASP.NET webservice based on FluorineFx. It is authenticated by cookies via RemoteObject.setCreadentials()
Both applications connect to FMS server and talks to each other via RTMFP direct connection (P2P).
I want to debug both instances of this application in Firefox and Internet Explorer at one time by single click (F11).
Now I can debug only in one browser by running Debug in Flash Builder 4. I have created double browser runner with bat file registered as default browser in Preferences > General > Web browser that looks like this:
start "IE" /b "c:Program Files (x86)Internet Exploreriexplore.exe" -private %1
start "FF" /b "c:Program Files (x86)Mozilla Firefoxfirefox.exe" -private %1
But this connects the debugger only to firstly run instance of the application in Internet Explorer.
How can I attach to and debug both instances?
View 2 Replies
Dec 20, 2010
Flex - scroll wheel ok using IE, but not on FF or Chrome?Switching between browsers during debugging and noticed the scroll wheel does not work in Firefox or Chrome, but is fine in Internet Explorer. Anyone else notice this? Suppose I could use a scroll listener and manually do it, but would much rather not!
View 1 Replies
May 9, 2010
why my flash video player doesn't work in Chrome while it perfectly works in other browsers ? (Firefox and IE)
View 1 Replies
Nov 18, 2011
I have a strange issue where Flash Player in Chrome is not updating unless the browser is resized. The app is an online design tool, written in Flex, and one of the features allows the user to upload an image and crop it. The image loads fine, and the crop action does not reload the image but uses Bitmap.copyPixels to create the cropped version.When I test on localhost (though a local server not just straight from the file system) the issue does not happen. However on our QA server the image does not appear unless you resize the browser, when I suppose a screen refresh is forced.I've tried all the usual suspects in AS3/Flex to force a redraw, updateAfterEvent, invalidateDisplayList, etc.we came up with is to resize the browser by a pixel, but this is obviously not ideal and I'd prefer a solution to a work-around.Here's the Bitmap code for reference...
var cropData:BitmapData = new BitmapData( _crop.width, _crop.height );
var originalData:BitmapData = new BitmapData( _loader.width, _loader.height );
originalData.draw( _loader );[code]....
View 3 Replies
Jan 12, 2011
Site won't load in Chrome .Mods - Delete
View 5 Replies
Jan 26, 2011
I've got a strange issue with a Flash site I've built not loading images properly in Chrome on a PC. The images are all hosted on the same site, but either take ages to load or not at all. It's a rather odd bottleneck it seems.
View 1 Replies
Jan 12, 2011
i have my project developed in Flex3, http:[url]....i am facing is, copying(Ctrl + C) the content from screen textarea when the swf is running in chrome browser.suppose, i have to add some text on the stage, so the text area which is opened on the left side, i can't copy the text written in text area, although by right clicking in text area, and selcting the copy option, thats working, but my client has asked for copying the content by using Ctrl + c, although it's working very fine with other browsers,
only chrome is not supporting copying(Ctrl + c), although selecting all(Ctrl + A ) is working.
View 2 Replies
Apr 7, 2010
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.
View 4 Replies
Mar 1, 2011
i hv made a game i split them in two files 1 file is index which have preloader and other is game which have game... problem is, some mozilla browsers can't load the game swf...l
View 3 Replies
Sep 20, 2011
I load an external movie fine with:
f_btn.addEventListener(MouseEvent.CLICK, finteractiona);
function finteractiona(event:MouseEvent):void{
var loadera = new Loader();
[Code].....
It takes 2 clicks to close (or unload) Why?
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
Jan 18, 2011
In my Flex app I give the user the ability to open up a new item form ( s:Panel ) and create multiple items on the page.Sometimes for some odd reason bringing up the panel (simple task) seems to take a really long time to load (like 30 seconds or so) However, the weird thing is that if right after I click to open I navigate away from the Tab and back again to the Flex app tab it shows up right away.
I'm not sure if this has to do with refresh rate or some setting or is it general performance/memory issue with my app that I have to consider. When the application work it works fairly fast which is making me think it's not memory/performance issue.
View 1 Replies
Oct 22, 2009
I am trying to load different styles at run time. In my css files there is only description of the Application tag. If I point to the file in my mxml code: Code:<mx:Style source="name_of_the_file.css"/> it is working. The problem is that I don't know how to do this with as3. I have managed to load datawiththis:Code:StyleManager.loadStyleDeclarations( 'name_of_the_file.swf' ); My question is how I can load not swf but .css file like in the example above.
View 2 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
Jul 19, 2011
I have a Button that when clicked loads a Flex module in my AIR application. However,occasionally the Module fails to load the first time the button is clicked, but it works the second time it's clicked. When I debug it in the debugger the READY event is not fired so the remaining logic is never called.
var moduleInfo:IModuleInfo = ModuleManager.getModule(managedModule.url);
moduleInfo.addEventListener(ModuleEvent.READY, function(event:ModuleEvent):void {
trace("ModuleEvent.READY called.");
[code]....
View 2 Replies
Jul 13, 2011
I wrote a flex demo, customized spark TextInput skin with rounded corners and a search icon in it, like mac os x search box, it's running good in browsers (by Flash Player browser plug-in) either .html or .swf, but error by flash player directly.
[Code]...
View 2 Replies
May 6, 2010
I'm developing a flash game using the default SimpleButton object for my buttons and the hand cursor is working just fine on PC Chrome and Firefox and Safari for Mac, but Chrome on Mac is not letting me swap the default cursor for the hand cursor. I've even set useHandCursor to true for every button I add a click event to and am still getting nothing.
We've got no other rollover events, so it's important that the cursor switch.
View 4 Replies
Nov 18, 2009
Flash AS3:
how to load items one at a time instead of loading in loop at a normal process using AS3? I'm having problem with overwritten value.
I couldn't make that work, it's always overwritten the last value.I tried to use the dictionary and though it will help to resolve my problem...
I want to be able for EACH button when I clicked it displays the visibility of my markers.
private function handleMarkers(event:CustomEventCenter):void
{
// Get items info from custom dispatcher
var nom = event._name.nom;
[Code]....
View 2 Replies
Mar 31, 2010
I have an AIR app initially written in Flex 3 that I had removed the Chrome from, but now it shows up when I compile using Flash Builder 4 with Flex 4 SDK. I have
<systemChrome>none</systemChrome>
<transparent>true</transparent>
set in the *-app.xml file and showFlexChrome="false" showStatusBar="false" showTitleBar="false" set in the tag. The status bar is gone, but I still see the title bar appear.
View 1 Replies