New and with a question on transitions

Heya guys! Just joined and already got a question about Transition tut
http://www.kirupa.com/developer/mx2004/transitions.htm

Basically Ive got this file (headware) and its a filw with transitions in it… just like in tha tutorial. When I test it on its own it works fine and loads up external swf as intended.
However when i load that file (headware) into another file (index) it messes up.
This is what happens:
Under Products click on Headware, and then click on Visors after the animation ends. It plays the same file as before. I.e. doesnt load up the swf i asked for.
http://www.starikov.co.uk/mockdesigns/piste/Index.html
I would appreciate sooo much is someone could help.

SmelyCat

p.s. Nice forum!!!

can i look at your fla. I think you just made a simple error because the pathing issue seem to be fine. Make sure you double check your fla carefully. Try changing the fla to _parent instead of _root.

Ahhh cool i will try that!
Ill post the fla sometime tomorow buddy!
Im going to take a quick look at it before bed.

Thank you soo much!
SmellyCat

Morning!
What part shoudl i change to _parent? the buttons or the frame? or the swfs?

it looks like you have it working now, no?

on the tut change all the _root to _parent on the button

Looks like it’s working now

nah its not working how i want it to work.

Its not playing the outro. I just told it to go and load the swf.

If anyone got any ideas on how to go about it let me know.

Cheerz
SmellyCat

show me the money!!! i mean the fla.

Button script:
on (release) {
if (this.currMovie==undefined) {
this.currMovie = “[COLOR=Red]name here[/COLOR]”;
[COLOR=Red]changehere[/COLOR].loadMovie("[COLOR=Red]name here[/COLOR].swf");
}else if (this.currMovie != “[COLOR=Red]name here[/COLOR]”) {
if ([COLOR=Red]changehere[/COLOR]._currentframe >=
[COLOR=Red]changehere[/COLOR].midframe) {
this.currMovie = “[COLOR=Red]name here[/COLOR]”;
[COLOR=Red]changehere[/COLOR].play();
}
}
}

Last frame script:
_parent.[COLOR=Red]changehere[/COLOR].loadMovie(_parent.currMovie+".swf");

It works for me at least ^^

Ill give it a go in the morn… im off to bed… its 5 30 am here… hehehe… im zombified!
thank you soo much for your help dude.
Ill see if it work and let you know!

Thank you thank you thank you!

SmellyCat

whats changehere?
change it to wat?

smellycat

change here = the instance name of your container.
name here = name of the file but only for the .swf the rest you can put any name but make sure all the same.

Cool! cheerz dude! Ill try it out 2nite!

SmellyCat