# SWF transitions on the web

**URL:** <https://forum.kirupa.com/t/swf-transitions-on-the-web/159513>\
**Category:** flash\
**Created:** [August 18, 2005, 1:54am UTC](https://forum.kirupa.com/t/swf-transitions-on-the-web/159513 "2005-08-18T01:54:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pharoh32](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@Pharoh32](https://forum.kirupa.com/u/Pharoh32)\
**Post date:** [August 18, 2005, 1:54am UTC](https://forum.kirupa.com/t/swf-transitions-on-the-web/159513/1 "2005-08-18T01:54:26Z")

</div>

I’ve searched tons of threads and can’t find the answer. I’ve used the transition between external swf tutorial for my portfolio site.

[http://keepitmovindesigns.com/KIM\_WEB\_V3\_reset.html](http://keepitmovindesigns.com/KIM_WEB_V3_reset.html)

When I test my site on my computer all eternal swfs load perfectly.

I’ve uploaded it to my server. The first section (HOME) loads automatically along with my mp3 player, which is good. However, when I press a button for another section and ‘home’ exits, the one that is supposed to load in it’s place doesn’t load.

Has anyone else ever had this proble? Further more does anyone know how I can resolve this issue?

hers is the code used on my buttons.

Main Swf code:

```php
 
 
on (rollOver) {
this.gotoAndPlay("over");
}
on (rollOut) {
this.gotoAndPlay("out");
}
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "portfolio";
//refer to _root
_root.contents.loadMovie("portfolio.swf");
} else if (_root.currMovie != "portfolio") {
//refer to _root
if (_root.contents._currentframe >= _root.contents.midframe) {
_root.currMovie = "portfolio";
//refer to _root
_root.contents.play();
}
}
}

```

[color=black]External Swf Code[/color]

frame 1 code:

```php
midframe = 299;

```

frame 299 code:

```php
 stop();

```

last frame code:

```php
 _root.contents.loadMovie(_root.currMovie+".swf"); 

```
