Skip to main content
BenSCR
Inspiring
January 28, 2014
Question

Opening seperate SWF files

  • January 28, 2014
  • 1 reply
  • 387 views

I know the first page of the website needs to have an index.html file, then the other pages of a web site can be Flash/SWF files.

I have made a web site and the first file is index.html (with my Flash SWF file embedded inside it), which is an intro page. Then I have a separate Flash/SWF file for the main functional web pages.

What type of ActionScript do I need as a button to open a completely separate Flash/SWF file, so it remains in the same browser window.

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
January 28, 2014

Normally swf files are embedded in html pages regardless of whether they are the index or other pages.

To open a url in the same window you specify "_self" as the window parameter in the navigateToURL() function call.