RE: [Flashcoders] Depth prob...
Cool. Jason Merrill >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] Behalf Of MJorge >>Sent: Monday, January 30, 2006 12:50 PM >>To: Flashcoders mailing list >>Subject: Re: [Flashcoders] Depth prob... >> >> >>Ok, it´s working Thanks for the tip Jason... >> >>On 1/30/06, MJorge <[EMAIL PROTECTED]> wrote: >>> >>> Thks, >>> >>> So i´ll have to create a movieClip for each of my files i´m >>loading and >>> make tha attachMovie to them separately... >>> >>> On 1/30/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: >>> > >>> > You can only attach one movie clip per movie clip >>instance - so just >>> > create more empty movie clips to attach them to. If you >>attach a movie clip >>> > to an existing movie clip, the original gets overwritten. >>> > >>> > Jason Merrill >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>-Original Message- >>> > >>From: [EMAIL PROTECTED] >>> > >>[mailto: [EMAIL PROTECTED] >>Behalf Of MJorge >>> > >>Sent: Monday, January 30, 2006 12:32 PM >>> > >>To: Flashcoders mailing list >>> > >>Subject: [Flashcoders] Depth prob... >>> > >> >>> > >> >>> > >>I´m loading the vars from two different databases to Flash. >>> > >> >>> > >>But i´m having some prob´s with my "attachMovie" and the >>> > >>depth cause it >>> > >>will delete the other attachMovie it run´s at first >>> > >> >>> > >>Can someone help please? >>> > >> >>> > >> >>> > >>myVar = new LoadVars (); >>> > >>myNewVar = new LoadVars (); >>> > >>nomes = new Array (); >>> > >>newNomes = new Array (); >>> > >>// >>> > >>/// >>> > >>myVar.onLoad = function () >>> > >>{ >>> > >>for (var a in this) >>> > >>{ >>> > >>if (a != "onLoad") >>> > >>{ >>> > >> nomes.push (this[a]); >>> > >>} >>> > >>} >>> > >>ok = true; >>> > >>l = nomes.length; >>> > >>i = 0; >>> > >>howManyNew = ((nomes.length) - 1); >>> > >>for (n = 0; n < howManyNew; n += 8) >>> > >>{ >>> > >>mc = attachMovie ("teste_lib", "mainClip" + i, i++); >>> > >>mc.tit.text = nomes[n + 7]; >>> > >>mc._x = -227; >>> > >>mc._y = (i * 6) - 320; >>> > >>i++; >>> > >>} >>> > >>}; >>> > >>myNewVar.onLoad = function () >>> > >>{ >>> > >>for (var b in this) >>> > >>{ >>> > >>if (b != "onLoad") >>> > >>{ >>> > >>newNomes.push (this[b]); >>> > >>} >>> > >>} >>> > >>newOk = true; >>> > >>s = 0; >>> > >>len = ((newNomes.length) - 1); >>> > >>for (v = 0; v < len; v += 8) >>> > >>{ >>> > >>my_mc = attachMovie ("newTesteLib", "myClip" + s, s++); >>> > >>my_mc.tit.text = newNomes[v + 7]; >>> > >>my_mc._x = -30; >>> > >>my_mc._y = (s * 6) - 320; >>> > >>s++; >>> > >>} >>> > >>}; >>> > >>myNewVar.load ("http://www.mypage.com/file.php";); >>> > >>myVar.load (" http://www.mypage.com/file2.php";); >>> > >> >>> > >>-- >>> > >> >>> > >>Mário Jorge >>> > >>Icq: 164987050 >>> > >>Msn + Mail: [EMAIL PROTECTED] >>> > >>Web: http://www.beedigital.net >>> > >>Blog: http://www.beedigital.net/blog >>> > >>___ >>> > >>Flashcoders mailing list >>> > >>Flashcoders@chattyfig.figleaf.com >>> > >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> > >> >>> > NOTICE: >>> > This message is for the designated recipient only and may contain >>> > privileged or confidential information. If you have >>received it in error, >>> > please notify the sender immediately and delete the >>original. Any other use >>> > of this e-mail by you is prohibited. >>> > ___ >>> > Flashcoders mailing list >>> > Flashcoders@chattyfig.figleaf.com >>> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> > >>> >>> >>> >>> -- >>> >>> Mário Jorge >>> Icq: 164987050 >>> Msn + Mail: [EMAIL PROTECTED] >>> Web: http://www.beedigital.net >>> Blog: http://www.beedigital.net/blog >>> >> >> >> >>-- >> >>Mário Jorge >>Icq: 164987050 >>Msn + Mail: [EMAIL PROTECTED] >>Web: http://www.beedigital.net >>Blog: http://www.beedigital.net/blog >>___ >>Flashcoders mailing list >>Flashcoders@chattyfig.figleaf.com >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Depth prob...
Ok, it´s working Thanks for the tip Jason... On 1/30/06, MJorge <[EMAIL PROTECTED]> wrote: > > Thks, > > So i´ll have to create a movieClip for each of my files i´m loading and > make tha attachMovie to them separately... > > On 1/30/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: > > > > You can only attach one movie clip per movie clip instance - so just > > create more empty movie clips to attach them to. If you attach a movie clip > > to an existing movie clip, the original gets overwritten. > > > > Jason Merrill > > > > > > > > > > > > > > > > > > >>-Original Message- > > >>From: [EMAIL PROTECTED] > > >>[mailto: [EMAIL PROTECTED] Behalf Of MJorge > > >>Sent: Monday, January 30, 2006 12:32 PM > > >>To: Flashcoders mailing list > > >>Subject: [Flashcoders] Depth prob... > > >> > > >> > > >>I´m loading the vars from two different databases to Flash. > > >> > > >>But i´m having some prob´s with my "attachMovie" and the > > >>depth cause it > > >>will delete the other attachMovie it run´s at first > > >> > > >>Can someone help please? > > >> > > >> > > >>myVar = new LoadVars (); > > >>myNewVar = new LoadVars (); > > >>nomes = new Array (); > > >>newNomes = new Array (); > > >>// > > >>/// > > >>myVar.onLoad = function () > > >>{ > > >>for (var a in this) > > >>{ > > >>if (a != "onLoad") > > >>{ > > >> nomes.push (this[a]); > > >>} > > >>} > > >>ok = true; > > >>l = nomes.length; > > >>i = 0; > > >>howManyNew = ((nomes.length) - 1); > > >>for (n = 0; n < howManyNew; n += 8) > > >>{ > > >>mc = attachMovie ("teste_lib", "mainClip" + i, i++); > > >>mc.tit.text = nomes[n + 7]; > > >>mc._x = -227; > > >>mc._y = (i * 6) - 320; > > >>i++; > > >>} > > >>}; > > >>myNewVar.onLoad = function () > > >>{ > > >>for (var b in this) > > >>{ > > >>if (b != "onLoad") > > >>{ > > >>newNomes.push (this[b]); > > >>} > > >>} > > >>newOk = true; > > >>s = 0; > > >>len = ((newNomes.length) - 1); > > >>for (v = 0; v < len; v += 8) > > >>{ > > >>my_mc = attachMovie ("newTesteLib", "myClip" + s, s++); > > >>my_mc.tit.text = newNomes[v + 7]; > > >>my_mc._x = -30; > > >>my_mc._y = (s * 6) - 320; > > >>s++; > > >>} > > >>}; > > >>myNewVar.load ("http://www.mypage.com/file.php";); > > >>myVar.load (" http://www.mypage.com/file2.php";); > > >> > > >>-- > > >> > > >>Mário Jorge > > >>Icq: 164987050 > > >>Msn + Mail: [EMAIL PROTECTED] > > >>Web: http://www.beedigital.net > > >>Blog: http://www.beedigital.net/blog > > >>___ > > >>Flashcoders mailing list > > >>Flashcoders@chattyfig.figleaf.com > > >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > >> > > NOTICE: > > This message is for the designated recipient only and may contain > > privileged or confidential information. If you have received it in error, > > please notify the sender immediately and delete the original. Any other use > > of this e-mail by you is prohibited. > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > -- > > Mário Jorge > Icq: 164987050 > Msn + Mail: [EMAIL PROTECTED] > Web: http://www.beedigital.net > Blog: http://www.beedigital.net/blog > -- Mário Jorge Icq: 164987050 Msn + Mail: [EMAIL PROTECTED] Web: http://www.beedigital.net Blog: http://www.beedigital.net/blog ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Depth prob...
Thks, So i´ll have to create a movieClip for each of my files i´m loading and make tha attachMovie to them separately... On 1/30/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: > > You can only attach one movie clip per movie clip instance - so just > create more empty movie clips to attach them to. If you attach a movie clip > to an existing movie clip, the original gets overwritten. > > Jason Merrill > > > > > > > > > >>-Original Message- > >>From: [EMAIL PROTECTED] > >>[mailto:[EMAIL PROTECTED] Behalf Of MJorge > >>Sent: Monday, January 30, 2006 12:32 PM > >>To: Flashcoders mailing list > >>Subject: [Flashcoders] Depth prob... > >> > >> > >>I´m loading the vars from two different databases to Flash. > >> > >>But i´m having some prob´s with my "attachMovie" and the > >>depth cause it > >>will delete the other attachMovie it run´s at first > >> > >>Can someone help please? > >> > >> > >>myVar = new LoadVars (); > >>myNewVar = new LoadVars (); > >>nomes = new Array (); > >>newNomes = new Array (); > >>// > >>/// > >>myVar.onLoad = function () > >>{ > >>for (var a in this) > >>{ > >>if (a != "onLoad") > >>{ > >>nomes.push (this[a]); > >>} > >>} > >>ok = true; > >>l = nomes.length; > >>i = 0; > >>howManyNew = ((nomes.length) - 1); > >>for (n = 0; n < howManyNew; n += 8) > >>{ > >>mc = attachMovie ("teste_lib", "mainClip" + i, i++); > >>mc.tit.text = nomes[n + 7]; > >>mc._x = -227; > >>mc._y = (i * 6) - 320; > >>i++; > >>} > >>}; > >>myNewVar.onLoad = function () > >>{ > >>for (var b in this) > >>{ > >>if (b != "onLoad") > >>{ > >>newNomes.push (this[b]); > >>} > >>} > >>newOk = true; > >>s = 0; > >>len = ((newNomes.length) - 1); > >>for (v = 0; v < len; v += 8) > >>{ > >>my_mc = attachMovie ("newTesteLib", "myClip" + s, s++); > >>my_mc.tit.text = newNomes[v + 7]; > >>my_mc._x = -30; > >>my_mc._y = (s * 6) - 320; > >>s++; > >>} > >>}; > >>myNewVar.load ("http://www.mypage.com/file.php";); > >>myVar.load ("http://www.mypage.com/file2.php";); > >> > >>-- > >> > >>Mário Jorge > >>Icq: 164987050 > >>Msn + Mail: [EMAIL PROTECTED] > >>Web: http://www.beedigital.net > >>Blog: http://www.beedigital.net/blog > >>___ > >>Flashcoders mailing list > >>Flashcoders@chattyfig.figleaf.com > >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > NOTICE: > This message is for the designated recipient only and may contain > privileged or confidential information. If you have received it in error, > please notify the sender immediately and delete the original. Any other use > of this e-mail by you is prohibited. > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Mário Jorge Icq: 164987050 Msn + Mail: [EMAIL PROTECTED] Web: http://www.beedigital.net Blog: http://www.beedigital.net/blog ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Depth prob...
You can only attach one movie clip per movie clip instance - so just create more empty movie clips to attach them to. If you attach a movie clip to an existing movie clip, the original gets overwritten. Jason Merrill >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] Behalf Of MJorge >>Sent: Monday, January 30, 2006 12:32 PM >>To: Flashcoders mailing list >>Subject: [Flashcoders] Depth prob... >> >> >>I´m loading the vars from two different databases to Flash. >> >>But i´m having some prob´s with my "attachMovie" and the >>depth cause it >>will delete the other attachMovie it run´s at first >> >>Can someone help please? >> >> >>myVar = new LoadVars (); >>myNewVar = new LoadVars (); >>nomes = new Array (); >>newNomes = new Array (); >>// >>/// >>myVar.onLoad = function () >>{ >>for (var a in this) >>{ >>if (a != "onLoad") >>{ >>nomes.push (this[a]); >>} >>} >>ok = true; >>l = nomes.length; >>i = 0; >>howManyNew = ((nomes.length) - 1); >>for (n = 0; n < howManyNew; n += 8) >>{ >>mc = attachMovie ("teste_lib", "mainClip" + i, i++); >>mc.tit.text = nomes[n + 7]; >>mc._x = -227; >>mc._y = (i * 6) - 320; >>i++; >>} >>}; >>myNewVar.onLoad = function () >>{ >>for (var b in this) >>{ >>if (b != "onLoad") >>{ >>newNomes.push (this[b]); >>} >>} >>newOk = true; >>s = 0; >>len = ((newNomes.length) - 1); >>for (v = 0; v < len; v += 8) >>{ >>my_mc = attachMovie ("newTesteLib", "myClip" + s, s++); >>my_mc.tit.text = newNomes[v + 7]; >>my_mc._x = -30; >>my_mc._y = (s * 6) - 320; >>s++; >>} >>}; >>myNewVar.load ("http://www.mypage.com/file.php";); >>myVar.load ("http://www.mypage.com/file2.php";); >> >>-- >> >>Mário Jorge >>Icq: 164987050 >>Msn + Mail: [EMAIL PROTECTED] >>Web: http://www.beedigital.net >>Blog: http://www.beedigital.net/blog >>___ >>Flashcoders mailing list >>Flashcoders@chattyfig.figleaf.com >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Depth prob...
I´m loading the vars from two different databases to Flash. But i´m having some prob´s with my "attachMovie" and the depth cause it will delete the other attachMovie it run´s at first Can someone help please? myVar = new LoadVars (); myNewVar = new LoadVars (); nomes = new Array (); newNomes = new Array (); / myVar.onLoad = function () { for (var a in this) { if (a != "onLoad") { nomes.push (this[a]); } } ok = true; l = nomes.length; i = 0; howManyNew = ((nomes.length) - 1); for (n = 0; n < howManyNew; n += 8) { mc = attachMovie ("teste_lib", "mainClip" + i, i++); mc.tit.text = nomes[n + 7]; mc._x = -227; mc._y = (i * 6) - 320; i++; } }; myNewVar.onLoad = function () { for (var b in this) { if (b != "onLoad") { newNomes.push (this[b]); } } newOk = true; s = 0; len = ((newNomes.length) - 1); for (v = 0; v < len; v += 8) { my_mc = attachMovie ("newTesteLib", "myClip" + s, s++); my_mc.tit.text = newNomes[v + 7]; my_mc._x = -30; my_mc._y = (s * 6) - 320; s++; } }; myNewVar.load ("http://www.mypage.com/file.php";); myVar.load ("http://www.mypage.com/file2.php";); -- Mário Jorge Icq: 164987050 Msn + Mail: [EMAIL PROTECTED] Web: http://www.beedigital.net Blog: http://www.beedigital.net/blog ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders