# Intro

**URL:** https://forum.kirupa.com/t/intro/17621
**Category:** Uncategorized
**Created:** [April 7, 2003, 5:35pm UTC](https://forum.kirupa.com/t/intro/17621 "2003-04-07T17:35:13Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![elietabet](https://avatars.discourse-cdn.com/v4/letter/e/a9a28c/32.png) [@elietabet](https://forum.kirupa.com/u/elietabet)
#### Post date: [April 7, 2003, 5:35pm UTC](https://forum.kirupa.com/t/intro/17621/1 "2003-04-07T17:35:13Z")

</div>

what is the best way to load the main page of a site after the intro is over ??

in other words, i have a preloader that loads the intro, then after it is played, the main page of the site should load.

is there a way to call that main page after the intro is over ??  
or should i put both the intro and the main page in the same SWF file ??

(all site pages are done with MX)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 7, 2003, 7:02pm UTC](https://forum.kirupa.com/t/intro/17621/2 "2003-04-07T19:02:33Z")

</div>

no you can just tell flash to go get the file.  
on the last frame of your intro put this code

```php

onEnterFrame = function () {
getURL ("main.html", _blank);
}

```

replace the words main.html with your file’s name and change \_blank to what you want your target frame to be … and you should be in business

hope this helps

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 7, 2003, 9:09pm UTC](https://forum.kirupa.com/t/intro/17621/3 "2003-04-07T21:09:04Z")

</div>

hey shuga,

i forgot to say that all my pages are with chromless.

should put this code:  
on (release) {  
getURL(“javascript:openIT4FLASH(‘main.html’,700,500,null,null,‘mywinname01’);”);  
}

here is how it goes:

“start.html” has “start.swf”, and includes an “enter” button. (this page is a normal HTML page).

then, this enter button, opens a normal HTML page (\_self). this page is “intro.html” that has “intro.swf”.

now, after “intro.swf” is done, i want it to launch “home.html” which has “home.swf” , BUT in chromless.

i hope u got the big picture, any advice now ??

thanks buddy.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 7, 2003, 9:21pm UTC](https://forum.kirupa.com/t/intro/17621/4 "2003-04-07T21:21:57Z")

</div>

make a blank movieclip and put it in it’s own layer on the last frame of your animation

attatch this code to the blank movieclip

```php

onClipEvent (load) {
getURL("javaScript:openIT4FLASH('main.html',700,500,null,null,'mywinname01')", _self);
}

```

let me know if that works

note: for some reason the forum is editing my java code so where you see the word about … put javascript there

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 7, 2003, 9:40pm UTC](https://forum.kirupa.com/t/intro/17621/5 "2003-04-07T21:40:17Z")

</div>

yep , it worked smoothly but i had to change the code a bit and add a " for the \_self.

thanks a lot man, thank u very much …

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [April 7, 2003, 9:44pm UTC](https://forum.kirupa.com/t/intro/17621/6 "2003-04-07T21:44:33Z")

</div>

you’re very welcome  
glad i could be of assistance
