talkxe
riaxe snippets
riaxe snippets
Aug 5th
While developing a flashlite application for a Samsung BADA phone we face a weird issue. We were not able to load an external XML file. WE got the following error :
FTPS033: A Call to loadVariables(URL) found, limitations might apply.
FTPA018: The call to loadVariables for [URL] was ignored because it was not associated with a keypress.
We were using Flash CS4 and Device Central CS4. After some research on the IDE we found that running the app on the Device Central generated these errors. We switched to Flash CS5 and it worked like a charm.
Jul 7th
After updating the Firefox to the latest version, while using Flex debug I found the debug session did not last much and it crashed after a short period. This happens because firefox kills the debug session. Found a quick fix for the above issue:
1. Goto firefox config by typing about:config in the firefox address bar
2. Click on the I’ll be careful, I promise button.
3. Type dom.ipc.plugins.timeoutSecs
4. Find value and double click and change the value to -1
This changes the default timeout value from 45 secs to unlimited. This should solve the issue.
Jun 9th
Recently while working on a flex project, had an issue while paginating a list of data. Could find many solutions for paginating of Datagrid and lists on the web but I needed little different. So created an application to paginate a large amount of data. This isn’t using any Datagrid or List but a simple VBox. I added some effects as well to it. I used a canvas having a list of images and at the bottom the paginator is placed with the “First”(<<), ”Previous”(<), “Next”(>) and “Last”(>>) buttons for navigation. One can click on the page number to navigate to any specified page.
We need 4 properties to set on application loading complete.
1. Set selectedIndex = 0 ; // As we need to show the first page on load complete.
2. Set visiblePages = the number of pages we want to show every time. Here the visiblePages = 3.
3. Set totalItems = the total number of items
4. Set itemsPerpage = the number of items to be shown in a page.
Screenshot given below.

You can click here to see the example.
I think this sample could be useful for all. Do post back for any issues or suggestions.
Thanks.
May 29th
One can use the OPDA link http://cer.opda.cn/en/index.php?module=certificate&action=apply to apply for a Symbian Certificate. You just need to register with a few steps and you can generate .cer and .key files within sometime. Also, you need to provide the IMEI number of your mobile which you can get by typing *#06#. Here is a snapshot of the certificate generation page.