Flash lite Packager for Symbian^3 (N8)
I am flash lite developer and I want to do package for my swf and other files, I want to launch swf from symbian application, I found a blug-in for carbide c++ that generate c++ code of the launcher, but after building it and generating a sis it can't be run, here is the launcher code
#include "FlashLite.h"
#include <eikstart.h>
// Create an application, and return a pointer to it
CApaApplication* NewApplication()
{
return new CstubApplication;
}
TInt E32Main()
{
return EikStart::RunApplication(NewApplication);
}
CstubApplication::~CstubApplication()
{
if (iFlashLibrary.Handle())
{
iFlashLibrary.Close();
}
}
const TUid KUidFlashStubApp =
{
0x20040c0b
};
_LIT(KStubFlashContent, "\\Private\\20040c0b\\FlashLite.swf");
TUid CstubApplication::AppDllUid() const
{
return KUidFlashStubApp;
}
CApaDocument* CstubApplication::CreateDocumentL()
{
config.iIsMMI = EFalse;
config.iIsStubApp = ETrue;
config.iContentFileName.Copy(KStubFlashContent);
config.iContentChecksum = 0;
config.iExtensions = NULL;
config.iReserved1 = NULL;
config.iReserved2 = 0;
if (!FlashStubsSupported())
{
User::Leave( KErrNotSupported);
}
return CreateFlashDocumentL(iFlashLibrary, this, config);
}
Can any one help me to build flash packager or launcher for symbian^3 devices??
Re: Flash lite Packager for Symbian^3 (N8)
What is the error message?
Re: Flash lite Packager for Symbian^3 (N8)
@Risalmin, No message error, It displays an black screen for 2 or 3 seconds and close
Re: Flash lite Packager for Symbian^3 (N8)
I also have the same problem, and I've been researching for a couple of weeks now. My experience is that FL3 works well inside a carbide stub application, as described in the online instructions, but FL4 content displays a black screen for a second or two, and then quits. The best I could get was a error 6 with garbled graphics and no motion, and that's it unfortunately...
Re: Flash lite Packager for Symbian^3 (N8)
My guess it that the path to the SWF is not correct. Make sure the path the to SWF is correct. You can first try with an absolute path as well. Once, it starts working, you can then build absolute path dynamically.
If you are looking to develop more Flash Lite apps, and want an easy on click solution, try our SWF2Go product. It's the best and only Flash Lite packaging tool for all Symbian devices. You can download unlimited time trial version and make unlimited apps, and buy a copy of SWF2Go when you are ready to deploy.
Best regards,
// chall3ng3r //