Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Developer
DachFlach
Posts: 148
Registered: ‎12-06-2010
My Device: Not Specified

Re: Loading Blackberry SDK into Flash CS6

Here is the contents of the  AdobeAIR3_1.xml:

 

<?xml version="1.0" encoding="UTF-8"?>
<players>
<player id="AdobeAIR3_1" version="14" asversion="3" minasversion="3">
<name>AIR 3.1</name>
<publishobject2 id="Air_Desktop_iOS" version="3.1" intversion="3.1"></publishobject2>
<path menuSortCategory="20"/>
<path platform="WIN">Air_Desktop_iOS.dll</path>
<path platform="MAC">Air_Desktop_iOS.bundle</path>
<playerDefinitionPath as2="$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(UserConfig)/Classes/FP7" as3="$(AppConfig)/ActionScript 3.0/AIR2.5/airglobal.swc" />
<!-- This item is used to indicate that some UI integrated within Flash should be enabled for this player.
-->
<feature name="multiScreenPublish" supported="false" />
<feature name="mobileDebug" supported="true" />
<feature name="apolloPublish" supported="true" />
<feature name="apolloTestMovie" supported="force"/>
<feature name="apolloDebugMovie" supported="true"/>
<feature name="apolloPackaging" supported="true"/>
<feature name="publish_localPlaybackSecurity" supported="false" />
<feature name="publish_hardwareAcceleration" supported="true" />
<feature name="useDefineFont4ForDeviceText" supported="true" />
<feature name="useDefineFont4ForEmbeddedFonts" supported="true" />
<feature name="textLayoutFramework" supported="true" />
<feature name="document_class" supported="true" />
<encodingPresets>
<preset uuid="0c95a8ba-8b71-44d5-b269-8fd1cf89a6ed" name="F4V - Same As Source (Flash 9.2 and Higher)" ext="f4v" default="true"/>
</encodingPresets>
</player>
</players>

Contributor
Idlemedia
Posts: 32
Registered: ‎04-25-2011
My Device: Blackberry Playbook

Re: Loading Blackberry SDK into Flash CS6

Thanks Dach, I think it worked. I'm running swfdump now to verify the swf version. From there, did you just do a command-line .bar build with the forceAir flag?

Developer
DachFlach
Posts: 148
Registered: ‎12-06-2010
My Device: Not Specified

Re: Loading Blackberry SDK into Flash CS6

Glad to hear it.

Commandline yes. Forceair flag no.

Contributor
Idlemedia
Posts: 32
Registered: ‎04-25-2011
My Device: Blackberry Playbook

Re: Loading Blackberry SDK into Flash CS6

Thanks. I think everything is correct here, so there must be some other reason why my app installs but won't launch.
New Developer
DitoAu
Posts: 31
Registered: ‎08-03-2012
My Device: Alpha C

Re: Loading Blackberry SDK into Flash CS6

did you check the   -app.xml  file the node call---->>

 

 

<initialWindow>
        <!-- The main SWF or HTML file of the application. Required. -->
        <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
        <content>bin.swf</content>

 

have you set the bin name right?

Contributor
Idlemedia
Posts: 32
Registered: ‎04-25-2011
My Device: Blackberry Playbook

Re: Loading Blackberry SDK into Flash CS6

Hi Dito,

 

Yes, in the xml file, that is pointing correctly to the name of the swf created by CS6 (and is reading as swf version 14 in swfdump). Not sure what's up, but in case my issue is completely independent of the discussion here, I've posted to this thread:

 

http://supportforums.blackberry.com/t5/Adobe-AIR-Development/Flash-CS6-AIR-App-fails-to-launch/td-p/...