Package Flash Lite application
I'm having some trouble when trying to package a flash lite app into a wrt widget.
I do everything that's on the guide here on forum nokia and the app starts ok, but it's an app that uses device capabilities, more precisely the accelerometer.
Trying it as an swf on the phone works perfectly but when I package it the accelerometer does not work.
Does anyone know something about this?
Thanks
Pam
Re: Package Flash Lite application
[QUOTE=pamepros;801580]I'm having some trouble when trying to package a flash lite app into a wrt widget.
I do everything that's on the guide here on forum nokia and the app starts ok, but it's an app that uses device capabilities, more precisely the accelerometer.
Trying it as an swf on the phone works perfectly but when I package it the accelerometer does not work.
Does anyone know something about this?
Thanks
Pam[/QUOTE]
Hello Pam,
If you want to get more information about flash lite application.
For that, check this link : [URL="http://library.forum.nokia.com/index.jsp?topic=/Flash_Lite_Developers_Library/GUID-543B43D5-FB0F-4612-8D6F-4DAB97E59E8C.html"]http://library.forum.nokia.com/index.jsp?topic=/Flash_Lite_Developers_Library/GUID-543B43D5-FB0F-4612-8D6F-4DAB97E59E8C.html[/URL]
I hope it link will useful to you.
Thanks.
Re: Package Flash Lite application
I have already read all the info in the library but I can't find a complete guide to get my flash app into a .sis or .wgz package.
Did someone publish or packaged a flash lite app with device capabilities into a widget?
Thanks!
Re: Package Flash Lite application
For SIS packaging you can try SWF2Go,
For WRT you can check the following link with a sample WRT widget and other tips for packaging.
[url]http://wiki.forum.nokia.com/index.php/How_to_package_Flash_content_in_a_Widget[/url]
Best,
// chall3ng3r //
Re: Package Flash Lite application
Hi Pam,
If you are looking for SIS packaging, try out Carbide C++. It is really good and after all the hurdles that you face in different packagers, you would really find this work with the snap of fingers. There are although a few modifications that you are required to do in the CPP code for the application to run when it is saved in either of the memories (phone and memory card) in the handset. All that you would need is an Active Perl and S60 SDK. Note below the instructions:
FOllow [url]http://wiki.forum.nokia.com/index.php/Create_Flash_Applications_with_Carbide.c++[/url]
1. install Active perl 5.6.x. (or the latest incase of any unavailability)
2. install SYmbian SDK.
3. install Carbide.c++_v2.3 exe
4. Unzip FlashWiz4Carbide and place the contents to plugins folder in the above installed path (C:\Program Files\Nokia\Carbide.c++ v2.0\plugins).
5. Incase the latest perl version gives a build error, refer [url]http://wiki.forum.nokia.com/index.php/File:Perlchanged.zip[/url] to replace the files in the SDK installation's path "C:\Symbian\9.2\S60_3rd_FP1_4\Epoc32\tools\perllib" from [url]http://www.forum.nokia.com/piazza/wiki/images/6/65/Perlchanged.zip[/url] or refer [url]http://wiki.forum.nokia.com/index.php/KIS001302_-_Compiling_context-sensitive_help_fails_with_latest_version_of_Perl[/url].
6. Make the following change in the CPP code:
#include <e32std.h> //add this below the existing include statements
// _LIT(KStubFlashContent, "\\Private\\<Provided_UID>\\FlashStub.swf");//comment this
_LIT(KStubFlashContent, "C:\\Private\\<Provided_UID>\\FlashStub.swf");//add this instead of the above
TUid CstubApplication::AppDllUid() const
{
return KUidFlashStubApp;
}
CApaDocument* CstubApplication::CreateDocumentL()
{
RProcess currentProcess;
TFileName fileName( KStubFlashContent );
// Get letter of drive to which app was installed. It might be E or F instead of C
fileName[0] = currentProcess.FileName()[0];
currentProcess.Close(); // Close handle (not the app).
config.iIsMMI = EFalse;
config.iIsStubApp = ETrue;
// config.iContentFileName.Copy( KStubFlashContent );//comment this
config.iContentFileName.Copy( fileName );//add this instead of the above
config.iContentChecksum = 0;
config.iExtensions = NULL;
config.iReserved1 = NULL;
//config.iReserved2 = 0; //comment this
config.iReserved2 = 20000;//add this instead of the above
if (!FlashStubsSupported())
{
User::Leave( KErrNotSupported);
}
return CreateFlashDocumentL( iFlashLibrary, this, config );
}
Refer:
[url]http://discussion.forum.nokia.com/forum/showthread.php?t=192879[/url]
[url]http://discussion.forum.nokia.com/forum/showthread.php?p=727236#post727236[/url]
Re: Package Flash Lite application
Ciao,
SWF2Go or the [URL="http://www.forum.nokia.com/Develop/Other_Technologies/Flash_lite/"]Online packager[/URL] should do the work.
If you are not familiar with Symbian development I would not recommend Carbide C++ but if you do it gives you complete control.
Alessandro
Re: Package Flash Lite application
How to pack the Flash lite 4 with AS3 app in SIS? Carbide does not work.
Re: Package Flash Lite application
I also have the same problem. I tried messing with some of the settings in the pkg file, but no use.
swf2go strangely caused great slowdown in my dummy apps just about a second after launching.
Any help?