Load flash file in new window

:hangover:
2 questions…can someone please help me?

I have a navigation swf and several other swf files (diff. sections of the site ie. about, contact…etc etc) that would load right below this navigation when users click on the buttons. I used the root.loadmovie thing…

ok…this is done a lot but like when you go onto certain flash websites, it’s a HTML page first and then the flash window pops up seperately in a fixed window…

so how do I do that, and also how do I load two swf’s in the same pop up? since I have my navigation swf plus i need a homepage swf that goes right below the navigation swf?

ugh…i hate explaining things, never make any sense to me. LOL

thank you!(-:

1)what if the visitor clicked on a link to open the pop-up.

  1. You can have the 2 swfs in different layers on the same file. Just load in the menu on the next level up. (Then they’d be in the same pop up)

:nerd:
ok, how do I make the flash pop up after clicking on a link?

thanks seretha!

Howdy…

Do the search on the forum with ‘javascript popup’… :wink:

Here’s my javascript popup:

<script language="javascript">
<!-- This script is Copyright © 1999 - 2003 by Christopher William
Coddington.  All rights reserved.
  Protected by international copyright laws. -->
<!--

function popup() {

window.open ("page.html","window name","height=200,width=400,toolbar=no,menubar=no,scrollbars=0,resizable=no");

}

// -->
</script>

Explanation:

1.) function popup() {
This is the name of the window you want to open. You can select any name you like. Refrain from using numbers and short names, due to it causes the script to fail.

2.) window.open(“page.html”,“window name”,“height=200,width=400,toolbar=no,menubar=no,scrollbars=0,resizable=no”);

}

// -->

Okay, first thing is first. page.html - Just simply enter the page you are targeting. It can be any file you want to target. *.php, *.swf, *.html, *.gif, *.jpg, etc.

window name - if you read the explanation at the first part of the script, where it said function popup(), the word “popup” is the window name. Therefore you would replace “window name” with “popup”.

The bold numbers on height and width just mean you can adjust them to be the exact pixel width you desire.

On the toolbar, menubar, and resizable options, the word “no” is in bold. This means you have the option of either “yes” or “no”. If you want any of these options available to the site visitor, change these values to “yes”, if not, set the values to “no”.

The scrollbars value is set at 0 at the moment. You can only set it to 2, making 2 scrollbars show up on the browser. A standard browser only has 2 scrollbars, so you can’t go any higher than 2. If you have any other questions, feel free to PM me or e-mail me.

Christopher William Coddington (Xzandar / cwcandromeda)

ok i was able to get the popup working, but how do I load my navigation and my homepage flash files again? sorry…i thought i understood. lol…
Or should I have not built my navigation and home page seperately?:block:

Most likely with frames. You will have to describe to me the arrangement you planned to put it all up in, for example: Navigation on left, and main content on the right.

Christopher William Coddington (Xzandar / cwcandromeda)

nevermind, i figured it out… :blush: