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

Animation (AN CC) with redirect opens in the animationbox itself

Community Beginner ,
Apr 18, 2017 Apr 18, 2017

Copy link to clipboard

Copied

Hello,

I am stuck for hours now at a problem with adobe muse and animate cc.

I created a small interactive animation where I want the button to redirect me to my main page after a certain amount of time.

The redirection should open in the same Tab, but it always opens in the small animation windows itself (picture).

2017-04-18_22-53-38.png

The Animation is done with animate and the oem file created was placed into muse.

This is the code I used within my animation (I tried changing parent to different parameters; e.g. self;blank)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

this.startbtn.addEventListener("click", fl_ClickToGoToAndPlayFromFrame.bind(this));

function fl_ClickToGoToAndPlayFromFrame()

{

  this.gotoAndPlay(12);

  window.setTimeout(function() {

    window.location.href = "http://adbio.eu/adbio-europe","_parent";

}, 4300);

}

How am I able to solve this problem?

Any help is greatly appreciated

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

__________________________________

OEM-FILE: final.oam - Google Drive

AN CC-FILE: engine.fla - Google Drive

WEBPAGE: http://adbio.eu/

Adobe Animate CC - General

Views

900

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

LEGEND , Apr 19, 2017 Apr 19, 2017

I know nothing about OAM or Muse, but this seemed to work:

window.parent.location = "http://adbio.eu/adbio-europe";

Votes

Translate

Translate
Apr 19, 2017 Apr 19, 2017

Copy link to clipboard

Copied

Moved the thread to Adobe Animate CC - General for getting the expert advice.

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
Enthusiast ,
Apr 19, 2017 Apr 19, 2017

Copy link to clipboard

Copied

_Parent will open a window if it is not in an iFrame if I recall correctly. Try using _Self

Its been a while since I had to code this type stuff so forgive if not accurate

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 Beginner ,
Apr 19, 2017 Apr 19, 2017

Copy link to clipboard

Copied

I alrdy tried that, but the result is the same. You can check my page. Just changed it to "_self".

But thanks for your contribution

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
LEGEND ,
Apr 19, 2017 Apr 19, 2017

Copy link to clipboard

Copied

I know nothing about OAM or Muse, but this seemed to work:

window.parent.location = "http://adbio.eu/adbio-europe";

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 Beginner ,
Apr 20, 2017 Apr 20, 2017

Copy link to clipboard

Copied

LATEST

That's it! Thank you - you're a legend!

Have a nice day!

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