riaxe snippets
symbian
loadMovie loadClip external image height width issue in AS2 [Solved]
Aug 5th
Recently while working on an AS2 project in flashlite we had a issue of getting the height and width of a dynamically loaded external image from a URL. Here is the solution we formulated:
var mclListener:Object = new Object();
mclListener.onLoadInit = function(targetmc:MovieClip) {
trace(“movie loaded”);
trace(targetmc._width);
};
var imagemcl:MovieClipLoader = new MovieClipLoader();
imagemcl.addListener(mclListener);
imagemcl.loadClip(URL, mc);
FTPA018 and FTPS033 issues in Flashlite[Solved]
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.
How to generate .Sis certificate and key with OPDA for development
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.
