Yes Stef X....it helped me...thank you very much!!
On 12/6/06, Stef X <[EMAIL PROTECTED]> wrote:
Hi, Just put a gotoAndStop in your goFrame function instead of a gotoAndPlay and redo a Switch case to call the good janela<Destination> like this : function goLink() { trace (linkName); _root.myClip.prin_mc.gotoAndStop(linkName); switch (linkName) { case "fotos": { janelaPFotos(); } (....) } } Hope It'll help St3fX 2006/12/6, Keith Reinfeld <[EMAIL PROTECTED]>: > > How are you setting the value of the linkName variable? > > > -Keith > http://keithreinfeld.home.comcast.net > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of José Maria > Barros > Sent: Wednesday, December 06, 2006 6:54 AM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] Switch case problem... > > Hello again....well i didnt solved it yet... > > See the website..to see what i mean..thank you. > > http://www.justbeloungelx.com > > > And by the way i aprecciate your comment Jason Merril...its definitly with > lots of redundancy...maybe i dont need to make objects fuse all the > time..i > have to check them out.. > > Thanks for all answers..i will try to solve it tough... > > > On 12/5/06, Margo Powell <[EMAIL PROTECTED]> wrote: > > > > Would replacing gotoAndPlay with gotoAndStop work with your timeline > > layout? That might fix your issue. > > > > Jose Maria Barros wrote: > > > here is the goLink function... > > > > > > function goLink():Void{ > > > _root.myClip.prin_mc.gotoAndPlay(linkName); > > > > > > } > > > > > > > > > On 12/5/06, Jose Maria Barros <[EMAIL PROTECTED]> wrote: > > >> > > >> here is the code...i think nothing is wrong... > > >> > > >> switch(linkName) > > >> { > > >> case "about": > > >> var jpAbout = new Fuse(); > > >> > > >> jpAbout.push({target:myClip.prin_mc.textAbout_mc > > ,_alpha:0,Blur_blurX:100, > > >> > > >> Blur_blurY:100,seconds:1,ease:"easeOutQuad", func:goLink, scope: > > >> myClip.prin_mc}) > > >> jpAbout.start(); > > >> break; > > >> > > >> case "noticias": > > >> var jpNoticias = new Fuse(); > > >> > > >> jpNoticias.push({target:myClip.prin_mc.textAbout_mc > > ,_alpha:0,Blur_blurX:100, > > >> > > >> Blur_blurY:100,seconds:1,ease:"easeOutQuad",func:goLink, scope: > > >> myClip.prin_mc}) > > >> jpNoticias.start(); > > >> break; > > >> > > >> case "fotos": > > >> var jpFotos = new Fuse(); > > >> > > >> jpFotos.push({target:myClip.prin_mc.janelaFotos_mc > > ,_alpha:0,Blur_blurX:100, > > >> > > >> Blur_blurY:100,seconds:1,ease:"easeOutQuad",func:goLink, scope: > > >> myClip.prin_mc}) > > >> jpFotos.start(); > > >> break; > > >> > > >> case "sugestao": > > >> var jpSugestao = new Fuse(); > > >> > > >> jpSugestao.push({target:myClip.prin_mc.textSugestao_mc > > ,_alpha:0,Blur_blurX:100, > > >> > > >> Blur_blurY:100,seconds:1,ease:"easeOutQuad",func:goLink, scope: > > >> myClip.prin_mc}) > > >> jpSugestao.start(); > > >> break; > > >> > > >> default: > > >> break; > > >> } > > >> > > >> On 12/5/06, badi malik < [EMAIL PROTECTED]> wrote: > > >> > > > >> > you might be missing a ':' > > >> > > > >> > b > > >> > > > >> > ----- Original Message ---- > > >> > From: Jose Maria Barros <[EMAIL PROTECTED]> > > >> > To: Flashcoders mailing list <flashcoders@chattyfig.figleaf.com > > > >> > Sent: Tuesday, December 5, 2006 11:01:30 AM > > >> > Subject: Re: [Flashcoders] Switch case problem... > > >> > > > >> > yes.... > > >> > > > >> > On 12/5/06, Joey Rivera <[EMAIL PROTECTED]> wrote: > > >> > > > > >> > > You putting breaks in the case statements? > > >> > > > > >> > > Joey Rivera > > >> > > Flash Developer > > >> > > iLearn, Inc. > > >> > > (770) 218-0972 > > >> > > > > >> > > > > >> > > -----Original Message----- > > >> > > From: [EMAIL PROTECTED] > > >> > > [mailto:[EMAIL PROTECTED] ] On Behalf Of > > >> Jose > > >> > Maria > > >> > > Barros > > >> > > Sent: Tuesday, December 05, 2006 1:50 PM > > >> > > To: Flashcoders mailing list > > >> > > Subject: [Flashcoders] Switch case problem... > > >> > > > > >> > > Hi.. > > >> > > Ive done a function with a switch case wich have each one a > string > > >> > > variable > > >> > > value with the name of the link... > > >> > > > > >> > > var linkName:String = ""; > > >> > > > > >> > > switch(linkName) { > > >> > > > > >> > > case "link1": > > >> > > //run function with a gotoAndPlay that goes to > > >> > the frame(linkName) > > >> > > > > >> > > case "link2": > > >> > > //run function with a gotoAndPlay that goes to > > >> > the frame(linkName) > > >> > > > > >> > > etc.... > > >> > > } > > >> > > > > >> > > > > >> > > And when i press a button for that link...he stores the value in > > the > > >> > > variable(linkName) and he runs the function... > > >> > > > > >> > > The problem is that when i press the button one...he goes to that > > >> > > link...but > > >> > > when i press the same button again...he goes to other link... > > >> > > > > >> > > I dont understand...i appreciate some help.. > > >> > > > > >> > > Thanks in advance. > > >> > > _______________________________________________ > > >> > > Flashcoders@chattyfig.figleaf.com > > >> > > To change your subscription options or search the archive: > > >> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > >> > > > > >> > > Brought to you by Fig Leaf Software > > >> > > Premier Authorized Adobe Consulting and Training > > >> > > http://www.figleaf.com > > >> > > http://training.figleaf.com > > >> > > > > >> > > _______________________________________________ > > >> > > Flashcoders@chattyfig.figleaf.com > > >> > > To change your subscription options or search the archive: > > >> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > >> > > > > >> > > Brought to you by Fig Leaf Software > > >> > > Premier Authorized Adobe Consulting and Training > > >> > > http://www.figleaf.com > > >> > > http://training.figleaf.com > > >> > > > > >> > _______________________________________________ > > >> > Flashcoders@chattyfig.figleaf.com > > >> > To change your subscription options or search the archive: > > >> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > >> > > > >> > Brought to you by Fig Leaf Software > > >> > Premier Authorized Adobe Consulting and Training > > >> > http://www.figleaf.com > > >> > http://training.figleaf.com > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > _______________________________________________ > > >> > Flashcoders@chattyfig.figleaf.com > > >> > To change your subscription options or search the archive: > > >> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > >> > > > >> > Brought to you by Fig Leaf Software > > >> > Premier Authorized Adobe Consulting and Training > > >> > http://www.figleaf.com > > >> > http://training.figleaf.com > > >> > > > >> > > >> > > > _______________________________________________ > > > Flashcoders@chattyfig.figleaf.com > > > To change your subscription options or search the archive: > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > Brought to you by Fig Leaf Software > > > Premier Authorized Adobe Consulting and Training > > > http://www.figleaf.com > > > http://training.figleaf.com > > > > > > -- > > Margo Powell > > Applications Analyst > > Department of Nutrition > > University of North Carolina at Chapel Hill > > 800 Eastowne Dr, Suite 100 > > Chapel Hill, NC 27514 > > 919-408-3320 ext 30 > > [EMAIL PROTECTED] > > > > > > > > _______________________________________________ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com