| Reply | « Previous Thread | Next Thread » |
|
The native Flash Lite 3.0 player included with the newest firmware for the N95 8GB (Firmware v15.0.015) appears to have a severe XMLSocket bug. When calling the XMLSocket.send() method, the device will hang for an inordinate amount of time after the call. All redrawing of the UI, processing in actionscript and MovieClip animations of any kind remain on hold for up to a second or two, and will then recommence.
This poses a major problem in the development of our SWF, as we commonly make XMLSocket calls all the while the UI is supposed to remain interactive. It's important to note that the problem is NOT present on an N95 running the exact same SWF in the flash lite 3.0 developer edition player. we are running the same code side by side on each of the phones, hitting the same xml socket server. the crossdomain.xml file located in the apache server on the computer running the socket server is configured to allow connections from all domains. To demonstrate the issue, we created a little test swf that includes a movieclip of a little rotating rectangle on an infinite loop, to show the status of the UI in terms of redrawing. then, some actionscript in the first frame of the root clip establishes a connection to the socket server, and calls the send() method of the XMLSocket connection, 3 times (3 times rather than once, just to embellish the effect of the lag/redraw issue). On the N95 (FL3.0 developer edition) the animation continues to spin without interruption throughout the 3 send() calls to the socket server. On the N95 8GB (native flashlite 3.0 player), the animation freezes for a couple of seconds before resuming. any one have any thoughts or experience with this particular bug? All we can determine is that it's definitely associated with (and only with) the XML socket send() method. Whether or not there is an "onData" handler present has no effect (negative or positive). It is interesting to note that if you do introduce an onData handler, the animation resumes at the same time the onData handler is called -- meaning it's actually taking the N95 8GB device longer to "send" data to the xml server, in addition to it causing the UI to freeze. To duplicate this experiment yourself, this is the actionscript we placed on the first frame: Code:
var sock:XMLSocket = new XMLSocket();
sock.connect("127.0.0.1", 3000);
sock.onConnect = function() {
sock.send("test1");
sock.send("test2");
sock.send("test3");
}
Thanks, Ryan Rowe Frog Design |
| ryan_at_frog |
| View Public Profile |
| Find all posts by ryan_at_frog |
|
I'll ask this from the dev team.
Hartti |
|
The dev team was not able to reporoduce the bug. Would it be possible to see the source of your app?
You can contact me through my screen name Hartti |
|
Hey guys,
I have exactly the same issues with the new device. The new memory size is awesome. But that breaks it all... Any new experience to handle that? Or any feedback from the dev team? Cheers, Florian |
|
Hi!
We faced this problem too (we use local socket communication) http://forum.kuneri.net/index.php/to...98.html#msg498 BR, Jukka www.kuneri.net - Innovative Flash Lite and S60 mobile solutions www.kunerilite.net - Faster, easier and cheaper way of developing great looking S60 applications www.pikkoo.com - Mobile Screensavers and Wallpapers 2.0 |
|
I've passed along my test code to the nokia/adobe dev team. they are working through reproducing the issue, understanding it and hopefully resolving it. I or someone from their team will post a response once there are any improvements.
thanks |
| ryan_at_frog |
| View Public Profile |
| Find all posts by ryan_at_frog |
|
I have not heard back about any resolution for this. I'll check back after Easter.
Hartti |
|
Looks like this may be related to the implementation of the new security sandbox model. Info will be coming soon on what action is being taken.
|
|
Any news regarding that issue?
Follow me on Twitter www.twitter.com/ugurkaner Create sexiest Symbian apps faster & easier www.kunerilite.net Create, share & download Flash mobile screensavers & wallpapers www.pikkoo.com SWF to SIS, NFL and CAB; online for free www.swfpack.com |
|
Hi all,
I've spoken to the team on this issue. Ryan, Pasi, Ugur/Yukka a fix did go into a player so it may well be in the latest firmware. Please confirm. Ugur/Yukka this may not apply to you for the sandbox reason. Thanks, Mark Developer Evangelist Adobe Mobile and Devices Mark Doherty Developer Evangelist Adobe Systems, Mobile and Devices EMEA |
|
Hi Mark,
Our N95 8GB has the latest firmware: V 15.0.015 Pasi also had the latest as far as I remember (N95): v 21.0.016 Problem still persists on those devices; http://ptm.fi/?p=35 Either bug still exists, or fix is coming with next update. Thanks, Ugur.- Follow me on Twitter www.twitter.com/ugurkaner Create sexiest Symbian apps faster & easier www.kunerilite.net Create, share & download Flash mobile screensavers & wallpapers www.pikkoo.com SWF to SIS, NFL and CAB; online for free www.swfpack.com |
|
So whats the word on this one. If my own findings are correct there is a significant amount of "lag" when loading xml data (approx 1000ms) Are there any workaround?
|
|
There is no update at this time, it is a known bug.
Mark Doherty Developer Evangelist Adobe Systems, Mobile and Devices EMEA |
|
Is this issue is solved in Flash Lite 3.1 ?? Because i still get hangs on continuous call to local http server. i just extended SWFxME with accelerometer support . Every thing works fine but when FL 3.1 send request to server, UI drawing of flash lite also hangs for a second. It makes the content unplayable. Exactly, the same is the issue discussed here (almost one year before): http://ptm.fi/?p=35
Btw, i m using Nokia 5800 , FW 20.0.012 . Best Regards, SajiSoft "The purpose of software engineering is to control complexity, not to create it." --§ajid Ali Anjum-- http://sajisoft.wordpress.com/ |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |