Problem with "Transitions..." tutorial

ahhhhhh!!! dude thanks for your time but what i am really trying to do is have the “section1” swf load in the container and in addition to that have another swf load without making the “section1” swf leave from the stage.

In other words have the “section1” load with an intro and then have another swf. load with an intro too but still have section1 loaded in the container.

And have both of them visible at the same time?

Then you would have to create an extra container and replace “container” in the ActionScript with the new one.

exactly have both of them visible i tried making a new container called “container2” but when i try to load an swf. in it nothing shows.

i am going to try once again maybe i can figure it out sooner or later.

thanks again for your time wizard!

It should work… all you would have to do is change the Instance Names in the AS.

Dammit i hate to bring this thread back up, but i still got problems with this.
Once again, what i am trying to do is basically have 2 containers visible at the same time using the AS from the “swf transitions” tutorial.

Wizard or anyone else please take a look at the attached files so you can see whats going on.

Thank you!

anybody?

I see what’s going on but I am not sure how to fix it… the problem is you have _root. in the script when it’s not necessary because the container2 is not in the root file.

I tried a couple of things (including removing root) and for some reason could not figure it out, I’m wondering if it’s even possible.

Have you tried just placing “container2” in the root file instead of the external one and keeping the script the way it is?

I used Wizard’s method and it works great but for some reason now my button rollovers are busted. Could this perhaps be because the buttons are MCs? When I tried putting the AS in my AS layer using the instance name of the button mc it doesn’t do the transition. What’s going on?

Yes i tried putting the container2 in the root file and keeping the same script but it still wont bring the swf. in. I tried alot of difderent combinations but i still cant get the extra swf to play. Ialso tried putting container2 on the root file and aslo have it on the external swf., but that didnt work either.

Maybe is not possible as you said but it seems kind of weird.

try this:

[size=2]button.onPress = function () {

_root.createEmptyMovieClip(“container”, 1);

loadMovie(“yourmovie.swf”, “container”);

container._x = 150 ;

container._y = 150 ;

}

[/size]- just replace “button” for the instance name of the button that will open the new container.

  • replace “yourmovie.swf” for the name of your yourmovie.swf
  • adjust X and Y as you like

I tried replacing as you said but i get " Statement must appear within on/onClipEvent handler
vita.onPress = function () { "

This is how i have my script:

vita.onPress = function () {

_root.createEmptyMovieClip(“container”, 1);

loadMovie(“vita.swf”, “container”);

container._x = 150 ;

container._y = 150 ;

}

what am i doing wrong?