0

it's my first Question. plz read this.

now i'm developing Air mobile project.

it has many contents of flash(swf file) and it should be show that contents to user.

android is possible. but ios isn't.

i know puffin web browser.

but i want user clicked swf file(url type), open puffin web browser and play clicked file.

is it possible?

summary.

how launch puffin web browser or other app(able to load swf file) on my application?

and if it's possible, how pass url that clicked file?

thx read my question. have a good day.

4

2 に答える 2

2

Flash Platform アプリケーション内から、navigateToURL()を使用してリンクを開くことができます。概念的には次のようなものです。

navigateToURL(new URLRequest("http://www.mydomain.com"));

AIR アプリで;. これにより、基になるオペレーティング システムに要求が渡されます。アプリケーション内から、OS がアプリケーションを処理する方法を制御することはできません。つまり、起動するブラウザを制御することはできません。

于 2013-02-19T14:48:02.397 に答える
1

UIDocumentInteractionControlleriOS では、他のアプリを呼び出す ために使用できます: http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIDocumentInteractionController_class/Reference/Reference.html

Puffin の場合、Puffin は を登録"puffin://"するため、URL を として設定している限り"puffin://XXX"、システムは URL = で Puffin を起動します"http://XXX"。また、「puffins://XXX」は にマップされ"https://XXX"ます。

于 2013-05-23T08:36:11.333 に答える