# I'm tearing my hair out over these transitions!

**URL:** https://forum.kirupa.com/t/im-tearing-my-hair-out-over-these-transitions/65934
**Category:** flash
**Created:** [September 30, 2004, 5:51pm UTC](https://forum.kirupa.com/t/im-tearing-my-hair-out-over-these-transitions/65934 "2004-09-30T17:51:19Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![paddy1](https://avatars.discourse-cdn.com/v4/letter/p/e36b37/32.png) [@paddy1](https://forum.kirupa.com/u/paddy1)
#### Post date: [September 30, 2004, 5:51pm UTC](https://forum.kirupa.com/t/im-tearing-my-hair-out-over-these-transitions/65934/1 "2004-09-30T17:51:19Z")

</div>

I’m following Voets tutorial but I’m trying to change it a little.

Here’s the problem:  
I have a site (movie/whatever) witha a container in it. There are no buttons on this main page. My buttons are in an externally loaded file called “main.swf”. This file loads into the base initially and then the plan is that when a button is clicked, all the buttons slide out again in the closing transition and then the new section, say, Profile, is loaded. The problem is that the buttons are in an external swf. Nothing is working. A little while ago I thought I had it fixed but then I got lost and now it’s worse than before. I’m so confused. Please help.

If anyone wants to help me all the relevant files can be found [**HERE**. The start of the site can be viewed [url=“http://www.paddyduke.co.uk/v2/”] **HERE** ](http://www.paddyduke.co.uk/fla.zip).

Thanks

Paddy

---

<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: [September 30, 2004, 7:28pm UTC](https://forum.kirupa.com/t/im-tearing-my-hair-out-over-these-transitions/65934/2 "2004-09-30T19:28:41Z")

</div>

So far I’ve discovered that there are 18 people who can’t help me. Anyone out there who can?

---

<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: [September 30, 2004, 9:09pm UTC](https://forum.kirupa.com/t/im-tearing-my-hair-out-over-these-transitions/65934/3 "2004-09-30T21:09:29Z")

</div>

34 views?!? Come on, someone must know how to help. ☹ I really want to get the code for this site working as soon as possible. Please help if you can.

Paddy

---

<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: [September 30, 2004, 9:28pm UTC](https://forum.kirupa.com/t/im-tearing-my-hair-out-over-these-transitions/65934/4 "2004-09-30T21:28:03Z")

</div>

Try this on your button/'s:[AS]on (press) {  
if (\_root.currMovie == undefined) {  
\_root.currMovie = “Name”;  
\_root.container.loadMovie(“Name.swf”);  
} else if (\_root.currMovie != “Name”) {  
if (\_root.container.\_currentframe\>=\_root.container.midframe) {  
\_root.currMovie = “Name”;  
\_root.container.play();  
}  
}  
}  
[/AS]

---

<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: [September 30, 2004, 9:35pm UTC](https://forum.kirupa.com/t/im-tearing-my-hair-out-over-these-transitions/65934/5 "2004-09-30T21:35:36Z")

</div>

Okay Wizard I tried your AS and it loads the new swf okay, which I was able to do using some code you posted a little while ago for Branwen, but the closing transition doesn’t play. It just jumps straight to the start of the opening transition of the new swf. What am I doing wrong?

---

<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: [September 30, 2004, 9:39pm UTC](https://forum.kirupa.com/t/im-tearing-my-hair-out-over-these-transitions/65934/6 "2004-09-30T21:39:42Z")

</div>

You might’ve forgotten to place the AS that goes on the last frame of each transition.

---

<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: [September 30, 2004, 9:45pm UTC](https://forum.kirupa.com/t/im-tearing-my-hair-out-over-these-transitions/65934/7 "2004-09-30T21:45:55Z")

</div>

Nope I’ve got the code in the last frame. I least I think I’ve got it right; I could be wrong. Did you download my fla? If not see first post. btw The code in the last frames of the external files I provided don’t have names for the swfs.

---

<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: [September 30, 2004, 9:48pm UTC](https://forum.kirupa.com/t/im-tearing-my-hair-out-over-these-transitions/65934/8 "2004-09-30T21:48:55Z")

</div>

Damm you and your MX2004 lol… save for MX and I’ll _try_ and fix it.

---

<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: [September 30, 2004, 9:51pm UTC](https://forum.kirupa.com/t/im-tearing-my-hair-out-over-these-transitions/65934/9 "2004-09-30T21:51:05Z")

</div>

How do I save for MX? I know, I’m slow.

---

<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: [September 30, 2004, 9:54pm UTC](https://forum.kirupa.com/t/im-tearing-my-hair-out-over-these-transitions/65934/10 "2004-09-30T21:54:31Z")

</div>

Hell if I know! lol… no, I think it’s done through **Save As…** and then you would select Flash MX or something like that.

---

<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: [September 30, 2004, 10:02pm UTC](https://forum.kirupa.com/t/im-tearing-my-hair-out-over-these-transitions/65934/11 "2004-09-30T22:02:06Z")

</div>

It says I’ll lose a bunch of stuff if I save for MX including the AS and some library stuff. Kinda buggers everything up a bit doesn’t it? I’ll try it anyway. btw the names of the external files will all end in ‘1’ (e.g. main1.swf) now. I can’t be bothered changing the code.

---

<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: [September 30, 2004, 10:10pm UTC](https://forum.kirupa.com/t/im-tearing-my-hair-out-over-these-transitions/65934/12 "2004-09-30T22:10:33Z")

</div>

Here ya go Wizard thanks for all the help.  
[www.paddyduke.co.uk/fla1.zip](http://www.paddyduke.co.uk/fla1.zip)

---

<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: [September 30, 2004, 11:42pm UTC](https://forum.kirupa.com/t/im-tearing-my-hair-out-over-these-transitions/65934/13 "2004-09-30T23:42:24Z")

</div>

Man, this thing’s giving me a headache now. :hangover:

I mean, I’m pretty sure the problem’s something with paths but I don’t know what to do.

I’ll keep messing with it until I figure it out. :tb:  
Unless someone else figures it out first.
