• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Problems calling context-sensitive AIRHelp from Adobe Flex App

New Here ,
Sep 24, 2009 Sep 24, 2009

Copy link to clipboard

Copied

Hi everyone...

I´m having problems calling context-sesitive AIRHelp from Flex.

I can launch the help from flex using the following code (flex), but allways starts on the default topic.

private function invocarAirHelp(tema:String):void {
      var appID:String = "pc1";
      var pubID:String = "8C47FDE4638CAF7F210634E52A5F8318D893A57C.1";
      var mgr:ProductManager = new ProductManager("airappinstaller");               
      mgr.launch("-launch " + appID + " " + pubID);

}

the launch method can recive parameters after the publisherID, but i dont know the parameters that i should give to the method to start the AIRHelp on an specific topic.

I tryed using the parameters as the call was on the command line, ex:

  mgr.launch("-launch " + appID + " " + pubID + " -csh mapnumber 12");

but i can get any results... with those parameters the help application doesn´t even start

Anyone have an idea to make this works?

Thanks in advance, Sabin

Views

3.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , Sep 25, 2009 Sep 25, 2009

Hi Sabin,

The only supported way to launch AIR applications from the browser is the air "browser API": http://livedocs.adobe.com/flex/3/html/help.html?content=distributing_apps_3.html#1035834

The browser API uses ProductManager internally and exposes higher-level browser API so that we change the implementation if necessary someday. The browser API will stay the same, even if the interactions through ProductManager (or something else) change.

The browser API (air.swf) has other features that make

...

Votes

Translate

Translate
Engaged ,
Sep 25, 2009 Sep 25, 2009

Copy link to clipboard

Copied

Hi Sabin,

The only supported way to launch AIR applications from the browser is the air "browser API": http://livedocs.adobe.com/flex/3/html/help.html?content=distributing_apps_3.html#1035834

The browser API uses ProductManager internally and exposes higher-level browser API so that we change the implementation if necessary someday. The browser API will stay the same, even if the interactions through ProductManager (or something else) change.

The browser API (air.swf) has other features that make it the preferred way to launch apps. For instance, it provides accurate information about which platforms support AIR, and can therefore manage install of new apps and of the runtime itself.

Also, if the application is not installed then Browser API will return Error to the flex application, but that does not happen in case of ProductManager.

That said, you can probably use "--" to separate arguments intended for airappinstaller from arguments that should be passed through to the app itself. 

mgr.launch("-launch " + appID + " " + pubID + " -- -csh mapnumber 12");

-Praful Jain

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 25, 2009 Sep 25, 2009

Copy link to clipboard

Copied

LATEST

Hey Praful_Jain... Thanks for the answer..


It worked just like i wanted to..

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp