# Help in flash website actionscript

**URL:** https://forum.kirupa.com/t/help-in-flash-website-actionscript/173954
**Category:** Uncategorized
**Created:** [December 31, 2005, 10:31am UTC](https://forum.kirupa.com/t/help-in-flash-website-actionscript/173954 "2005-12-31T10:31:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![teknococaine](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/teknococaine/32/2043_2.png) [@teknococaine](https://forum.kirupa.com/u/teknococaine)
#### Post date: [December 31, 2005, 10:31am UTC](https://forum.kirupa.com/t/help-in-flash-website-actionscript/173954/1 "2005-12-31T10:31:49Z")

</div>

Hey… Made a website with this tutorial: [kirupa.com - Transitions Between External SWFs](http://www.kirupa.com/developer/mx2004/transitions.htm)  
But I tweaked the actionscript because my structure is different…

Anyway, My menu buttons are in a movie clip . And in the buttons, I put this code…

> on (release) {  
> \_parent.currMovie = “profile”;  
> \_parent.play();  
> }

and on the last frame of the main timeline i put this code:

> container.loadMovie(currMovie+“.swf”);

The problem is, sometimes it loads the profile page, and sometimes it doesnt!

Please help me…
