# A couple actionscript questions

**URL:** <https://forum.kirupa.com/t/a-couple-actionscript-questions/113967>\
**Category:** Uncategorized\
**Created:** [June 23, 2004, 1:28pm UTC](https://forum.kirupa.com/t/a-couple-actionscript-questions/113967 "2004-06-23T13:28:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nycbrian](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@nycbrian](https://forum.kirupa.com/u/nycbrian)\
**Post date:** [June 23, 2004, 1:28pm UTC](https://forum.kirupa.com/t/a-couple-actionscript-questions/113967/1 "2004-06-23T13:28:20Z")

</div>

Hi all,

Second post here at Kirupa, thanks for the quick response on the first. Basically, I am new to flash and actionscript and I want to get an idea on how the majority of people structure the flash websites they make.

First, do most of you actionscripters, when creating a website, use a parent movie that holds the sites navigation and an embedded blank movie clip to load individual content pages? I get the feeling that is true because it saves a lot of space in your swf file.

That was the easiest question. Next, when you create a transition effect to keep the viewer occupied between loading different pages, how do you usually go about this?

Assuming you have a blank movieclip in the main SWF to load individual page content. Do you have a movieclip animation that is called in the main SWF that is a layer above or masks the container movieclip which is loading the external content? Or, do you have the transition in the actual content SWF, with a transition in effect, midframe with the content, then transition out effect.

It seems the second choice might be a little more repetitive, but maybe a little more simple, then again, maybe not.

My last question is not actionscript but javascript. I want to load my flash file from a link on an html page that launches a new window that is perfectly sized around the flash movie, with none of the menu bars and that works on windows(ie, netscape, opera) and MACs. As a secondary, if its possible, I would like to have the flash movie pop up into the center of the screen, right now it pops into the top left corner.

Here is the script I have. It works for PCs with IE, but a friend that looked at it on her MAC had to resize the window:

```auto
<A HREF="" onClick="window.open('flashmovie.html', 'newWnd', 
  'width=750,height=400'); return false;">Try this</A> 

```

The flash.html is the automatic html page that flash publishes your SWF file.

Thanks,  
Brian
