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

AC3 buttons in SWF loading content into iFrame. Works in Device preview in DW (19) but not as a native file.

Guest
Mar 05, 2019 Mar 05, 2019

Copy link to clipboard

Copied

Sorry about the title.

I have a SWF with a couple of buttons with this code:

hot1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage);

function fl_ClickToGoToWebPage(event:MouseEvent):void

{

  navigateToURL(new URLRequest("a1text.html") , "docFrame");

}

in DW I have:

<!doctype html>

<html>

<head>

<meta charset="UTF-8">

<title>Processes</title>

  <link rel="stylesheet" href="styles.css">

</head>

<body>

  <header>

      <a class="site-logo">

          <img class="logo" src="images/logoLines.png" alt="GRS Logo">

         </a>

   <nav class="site-nav">

  <ul>

  <li><a href="#">home</a></li>

  <li><a href="#">services</a></li>

  <li><a href="#">clients</a></li>

  <li><a href="#">news</a></li>

  <li><a href="#">offices</a></li>

  </ul>

  </nav>

  </header>

     <main>

      <section class="intro">

        <iframe src="swf/ipmsTest.swf" align="middle" width="960" height="640" frameborder="0"> </iframe>

     </section>

     <iframe src="pages/placeHolder.html" name="docFrame" width="100%" ></iframe>

     <p align="center">footer (c) 2019</p>

     </main>

  </body>

</html>

When I preview in DW it works as expected, loading a1text into docFrame when I press the button. But when I open index.html from outside DW (Finder), a1text doesn't load.

Any suggestions?

m

Views

215

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

Community Expert , Mar 05, 2019 Mar 05, 2019

Flash is dead.

Adobe Flash Will Finally Die Off in 2020 | WIRED

Current Flash projects should be converted to HTML5 Canvas documents.

Create HTML5 Canvas documents in Animate CC .

Votes

Translate

Translate
Community Expert ,
Mar 05, 2019 Mar 05, 2019

Copy link to clipboard

Copied

LATEST

Flash is dead.

Adobe Flash Will Finally Die Off in 2020 | WIRED

Current Flash projects should be converted to HTML5 Canvas documents.

Create HTML5 Canvas documents in Animate CC .

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

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