Re: [Flashcoders] incrementing a target?

2006-10-19 Thread Glen Pike
Erm, I think you might want to try _root.mainMC.auto.subMC[textField + i].text Not sure. Bill Pelon wrote: Hello, I'm having problems figuring out how to grab an array value and use that when targeting. This is my fucntion below. What I am wanting to do is take the [i]value and be able

Re: [Flashcoders] incrementing a target?

2006-10-19 Thread Bill Pelon
@chattyfig.figleaf.com Sent: Thursday, October 19, 2006 3:16 PM Subject: Re: [Flashcoders] incrementing a target? Erm, I think you might want to try _root.mainMC.auto.subMC[textField + i].text Not sure. Bill Pelon wrote: Hello, I'm having problems figuring out how to grab an array value and use

Re: [Flashcoders] incrementing a target?

2006-10-19 Thread Glen Pike
19, 2006 3:16 PM Subject: Re: [Flashcoders] incrementing a target? Erm, I think you might want to try _root.mainMC.auto.subMC[textField + i].text Not sure. Bill Pelon wrote: Hello, I'm having problems figuring out how to grab an array value and use that when targeting. This is my fucntion

RE: [Flashcoders] incrementing a target?

2006-10-19 Thread Pete Miller
] On Behalf Of Bill Pelon Sent: Thursday, October 19, 2006 5:33 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] incrementing a target? Seems to jumble me up a bit, I get this error. Expected a field name after '.' operator. _root.mainMC.auto.subMC.[textField+i].text

Re: [Flashcoders] incrementing a target?

2006-10-19 Thread Hans Wichman
. _root.mainMC.auto.subMC.[textField+i].text = turbo.attributes.name ; thanks though... - Original Message - From: Glen Pike [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, October 19, 2006 3:16 PM Subject: Re: [Flashcoders] incrementing

Re: [Flashcoders] incrementing a target?

2006-10-19 Thread Bill Pelon
[EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, October 19, 2006 3:40 PM Subject: Re: [Flashcoders] incrementing a target? Hi, There maybe a typo in your code? it should say subMC[textField + i] There should be no (dot) . before

RE: [Flashcoders] incrementing a target?

2006-10-19 Thread Steven Sacks | BLITZ
var mc = this[btn + i]; mc is your target. mc.onRollOver = function() {}; The issue you might have is that you cannot assign functions and certain properties to a movieclip you are going to loadMovie on because as soon as the movie is loaded, it overwrites all the methods and properties you

Re: [Flashcoders] incrementing a target?

2006-10-19 Thread Victor Gaudioso
mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, October 19, 2006 2:45 PM Subject: RE: [Flashcoders] incrementing a target? var mc = this[btn + i]; mc is your target. mc.onRollOver = function() {}; The issue you might have is that you cannot assign functions and certain properties

Re: [Flashcoders] incrementing a target?

2006-10-19 Thread Glen Pike
Aha! Your text fields on stage are named txtField0, txtField1, etc. But you are trying to index them as [textField + i] Sorry that is partly my fault as my original answer said text... not txt.. as your code does. so to clarify.. _root.mainMC.auto.subMC[txtField + i].text =

Re: [Flashcoders] incrementing a target?

2006-10-19 Thread Muzak
try the Flashnewbie mailing list http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie - Original Message - From: Bill Pelon [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, October 20, 2006 12:07 AM Subject: Re: [Flashcoders

Re: [Flashcoders] incrementing a target?

2006-10-19 Thread Bill Pelon
Thanks Glen, This worked perfectly... Bill - Original Message - From: Glen Pike [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, October 19, 2006 6:10 PM Subject: Re: [Flashcoders] incrementing a target? Aha! Your text fields