I'm tearing my hair out over these transitions!

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.

Thanks

Paddy

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

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

Paddy

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]

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?

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

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.

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

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

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.

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.

Here ya go Wizard thanks for all the help.
www.paddyduke.co.uk/fla1.zip

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.