|    
			
				24/04/2007, 11:22
			
			
			  | 
  |   |  |  |  Fecha de Ingreso: marzo-2006 
						Mensajes: 91
					 Antigüedad: 19 años, 7 meses Puntos: 0 |  | 
  |  ayuda por favor con root  
  hola amigos como estan=, hace tiempo que no aparecia por cuestiones tecnicas , y de antemano siempre agradezco al foro y la gente que siempre brinda ayuda.Bueno mi consulta es la siguiente, me e bajado una plantilla para practicar nuevas cosas y entre los problemas que me aprecen es del root con la carga de swf externos , ya que tengo una peli principal y un clip de peliculas donde van los botones con el siguiente codigo:
 
 stop();
 
 
 var snd = new Sound();
 snd.attachSound("sound1");
 
 var snd2 = new Sound();
 snd2.attachSound("sound2");
 
 container.loadMovie("home.swf");
 _root.currMovie == "home";
 
 this.home_btn.onRollOver = function  () {
 this.gotoAndPlay("over");
 _root.snd.start(0, 1);
 }
 this.home_btn.onRollOut = function  () {
 this.gotoAndPlay("out");
 
 
 }
 
 this.home_btn.onRelease = function  () {
 _root.snd2.start(0, 1);
 
 press = "true";
 
 if (_root.currMovie == undefined) {
 
 _root.currMovie = "home";
 container.loadMovie("home.swf");
 } else if (_root.currMovie != "home") {
 if (container._currentframe >= container.midframe) {
 
 _root.currMovie = "home";
 container.play();
 
 }
 
 }
 }
 
 
 
 
 
 this.about_btn.onRollOver = function  () {
 this.gotoAndPlay("over");
 _root.snd.start(0, 1);
 }
 this.about_btn.onRollOut = function  () {
 this.gotoAndPlay("out");
 }
 
 this.about_btn.onRelease = function  () {
 _root.snd2.start(0, 1);
 
 press = "true";
 
 if (_root.currMovie == undefined) {
 
 _root.currMovie = "about";
 container.loadMovie("about.swf");
 } else if (_root.currMovie != "about") {
 if (container._currentframe >= container.midframe) {
 
 _root.currMovie = "about";
 container.play();
 
 }
 
 }
 }
 
 
 
 
 
 
 this.services_btn.onRollOver = function  () {
 this.gotoAndPlay("over");
 _root.snd.start(0, 1);
 }
 this.services_btn.onRollOut = function  () {
 this.gotoAndPlay("out");
 }
 
 this.services_btn.onRelease = function  () {
 _root.snd2.start(0, 1);
 
 press = "true";
 
 if (_root.currMovie == undefined) {
 
 _root.currMovie = "services";
 container.loadMovie("services.swf");
 } else if (_root.currMovie != "services") {
 if (container._currentframe >= container.midframe) {
 
 _root.currMovie = "services";
 container.play();
 
 }
 
 }
 }
 
 
 
 
 
 this.products_btn.onRollOver = function  () {
 this.gotoAndPlay("over");
 _root.snd.start(0, 1);
 }
 this.products_btn.onRollOut = function  () {
 this.gotoAndPlay("out");
 }
 
 this.products_btn.onRelease = function  () {
 _root.snd2.start(0, 1);
 
 press = "true";
 
 if (_root.currMovie == undefined) {
 
 _root.currMovie = "products";
 container.loadMovie("products.swf");
 } else if (_root.currMovie != "products") {
 if (container._currentframe >= container.midframe) {
 
 _root.currMovie = "products";
 container.play();
 
 }
 
 }
 }
 
 
 
 
 
 
 this.contact_btn.onRollOver = function  () {
 this.gotoAndPlay("over");
 _root.snd.start(0, 1);
 }
 this.contact_btn.onRollOut = function  () {
 this.gotoAndPlay("out");
 }
 
 this.contact_btn.onRelease = function  () {
 _root.snd2.start(0, 1);
 
 press = "true";
 
 if (_root.currMovie == undefined) {
 
 _root.currMovie = "contact";
 container.loadMovie("contact.swf");
 } else if (_root.currMovie != "contact") {
 if (container._currentframe >= container.midframe) {
 
 _root.currMovie = "contact";
 container.play();
 
 }
 
 }
 }
 
 this.sound_on.onRelease = function  () {
 _root.amb.start(0, 99);
 }
 
 this.sound_off.onRelease = function  () {
 _root.amb.stop();
 }
 
 
 como veran cada boton tiene su codigo, e intentado crearle un MC vacio llamado container, me carga bien el home.swf pero las otras nooo, ojala me puedan ayudar,o indicar como hacerlo, gracias
     |