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

Is there a way to exit and reload an AIR iOS APP ?

Explorer ,
May 23, 2016 May 23, 2016

Copy link to clipboard

Copied

hello,

Is there a way to exit and reload an AIR iOS APP ?

I know the nativeApplication.exit() won't work on iOS.

I can't find a solution on the internet.

I hope someone can help me.

TOPICS
ActionScript

Views

553

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
Community Expert ,
May 23, 2016 May 23, 2016

Copy link to clipboard

Copied

create a new main air app that loads your current app.

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
Explorer ,
May 24, 2016 May 24, 2016

Copy link to clipboard

Copied

thanks voor the reply!!

But i figured  it out how to do this.

i used the code:

var appDomain2:ApplicationDomain = new ApplicationDomain(ApplicationDomain.currentDomain);

var context2:LoaderContext = new LoaderContext(false, appDomain2);

var loader2:Loader = new Loader();

loader2.load(new URLRequest ("myMain.swf"), context2);

But it did"t works.

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
Community Expert ,
May 24, 2016 May 24, 2016

Copy link to clipboard

Copied

it did not work?

what problem did you see?

did you add your loader to the display list?

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
Explorer ,
May 25, 2016 May 25, 2016

Copy link to clipboard

Copied

thanks for reply.

no, it did not work. I see that nothings happens. The loader will not open   it.

How must i do it exactly add it to the display list? Because at the moment  i can"t see the problem.

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
Community Expert ,
May 25, 2016 May 25, 2016

Copy link to clipboard

Copied

you need,

addChild(loader2)

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
Explorer ,
May 25, 2016 May 25, 2016

Copy link to clipboard

Copied

oh okeeee!!

yes I did.

I don"t know wat te problem is. There is something I'm doing wrong.

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
Community Expert ,
May 25, 2016 May 25, 2016

Copy link to clipboard

Copied

is myMain.swf added to your included files?

Screenshot - 5_25_2016 , 9_23_11 AM.png

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
Explorer ,
May 25, 2016 May 25, 2016

Copy link to clipboard

Copied

Yes i did

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
Community Expert ,
May 25, 2016 May 25, 2016

Copy link to clipboard

Copied

i can't think of any other way to help via a forum.

someone will probably need to download your files to find the problem.

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
Explorer ,
May 25, 2016 May 25, 2016

Copy link to clipboard

Copied

Thanks kglad .

I 'm  sure  now how to do it. That's great!! I think i must  with a fresh brain look at it again.

At the moment i didn't see it. thanks a lot!!

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
Community Expert ,
May 25, 2016 May 25, 2016

Copy link to clipboard

Copied

LATEST

you're welcome.

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