Flashplay can support MMI(for example the command "fscommand2")? | developer.brewmp.com Flashplay can support MMI(for example the command "fscommand2")? | developer.brewmp.com

Developer

Flashplay can support MMI(for example the command "fscommand2")?

hi,
I want to create a flash player can rendering the flash and support the MMI extension.But when i add the project of flash_extension to c_ui_flashplay project, the test .swf file include fscommand2,but not running.
Would you tell me how to create this application?

My test ActionScript like this:

fscommand2("FullScreen", true);

Thanks.

I'm not sure I fully understood your question, but in order to access the ActionScript extension (ASE) implemented by flash_extension from the c_ui_flashplayer app, you'll need to do a couple things:
1) Enable ASE access by adding the following to c_ui_flashplayer.cif and recompiling the .mif:
Dependencies {
"0x01080098", -- AEEPRIVID_FlashPlayerAllowASExtensions
"0x01080521" -- AEEPRIVID_FlashPlayerAllowASExtensionEvents

2) Add the following ActionScript to your .swf (see flash_extensionapp.as):
sample = new com_qualcomm_asesample();
This will allow you to now call methods on the ASE.
See IFlashPlayerClient and IFlashPlayerCtl in the C API reference guide if you are interested in handling calls to fscommand2("Fullscreen").
Hope this helps,
Mike

I'm not sure I fully understood your question, but in order to access the ActionScript extension (ASE) implemented by flash_extension from the c_ui_flashplayer app, you'll need to do a couple things:
1) Enable ASE access by adding the following to c_ui_flashplayer.cif and recompiling the .mif:
Dependencies {
"0x01080098", -- AEEPRIVID_FlashPlayerAllowASExtensions
"0x01080521" -- AEEPRIVID_FlashPlayerAllowASExtensionEvents

2) Add the following ActionScript to your .swf (see flash_extensionapp.as):
sample = new com_qualcomm_asesample();
This will allow you to now call methods on the ASE.
See IFlashPlayerClient and IFlashPlayerCtl in the C API reference guide if you are interested in handling calls to fscommand2("Fullscreen").
Hope this helps,
Mike

Hi Mike:
Thanks for your replay.I will studying this part of your refer.
Best regards
Plane

Hi Mike:
Thanks for your replay.I will studying this part of your refer.
Best regards
Plane