RE: [Flashcoders] Basic loop problem (with end of message)

2008-07-09 Thread Andrew Murphy
et d'en détruire le contenu sans le communiquer a d'autres ou le reproduire. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Jinks Sent: Tuesday, July 08, 2008 4:24 PM To: Flash Coders List Subject: RE: [Flashcoders] Basic loop problem (with

RE: [Flashcoders] Basic loop problem (with end of message)

2008-07-08 Thread Paul Jinks
truire le contenu sans le communiquer a d'autres ou le reproduire. > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Paul Jinks > Sent: Tuesday, July 08, 2008 10:07 AM > To: Flash Coders List > Subject: RE: [

RE: [Flashcoders] Basic loop problem (with end of message)

2008-07-08 Thread Andrew Murphy
nous vous saurions gré d'en aviser l'émetteur et d'en détruire le contenu sans le communiquer a d'autres ou le reproduire. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Jinks Sent: Tuesday, July 08, 2008 10:07 AM To: Flash Code

RE: [Flashcoders] Basic loop problem (with end of message)

2008-07-08 Thread Paul Jinks
Thanks to everyone who replied on this, mostly with the same solution: On Tue, July 8, 2008 1:07 pm, Andrew Murphy wrote: > mainText.htmlText = ""; > for(var i:uint = 0; i < cueArray.length; ++i) { > mainText.htmlText += "" + cueArray[i] + ""; > } Unfortunately, this doesn't fix the problem

RE: [Flashcoders] Basic loop problem (with end of message)

2008-07-08 Thread Andrew Murphy
mailto:[EMAIL PROTECTED] On Behalf Of Andrew Murphy Sent: Tuesday, July 08, 2008 8:07 AM To: 'Flash Coders List' Subject: RE: [Flashcoders] Basic loop problem (with end of message) Whenever you want to out put the array you wipe the htmlText before you run the output loop: mainTex

RE: [Flashcoders] Basic loop problem (with end of message)

2008-07-08 Thread Andrew Murphy
contenu sans le communiquer a d'autres ou le reproduire. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Jinks Sent: Tuesday, July 08, 2008 7:33 AM To: Flash Coders List Subject: Re: [Flashcoders] Basic loop problem (with end of message) Thanks t

Re: [Flashcoders] Basic loop problem (with end of message)

2008-07-08 Thread Ashim D'Silva
You can reset your text field before you loop. That will clear it up and you can start filling it up again. textField.htmlText = ""; 2008/7/8 Paul Jinks <[EMAIL PROTECTED]>: > Thanks to everyone for your help. This gets me closer to what I'm looking > for. > > Unfortunately, there's a complicatin

Re: [Flashcoders] Basic loop problem (with end of message)

2008-07-08 Thread allandt bik-elliott (thefieldcomic.com)
you could reset the list every time the loop is called so: var len2 = cueArray.length; mainText.htmlText = ""; for (var i = 0; i"; } On Tue, Jul 8, 2008 at 12:32 PM, Paul Jinks <[EMAIL PROTECTED]> wrote: > Thanks to everyone for your help. This gets me closer to what I'm looking > for. > > Unf

Re: [Flashcoders] Basic loop problem (with end of message)

2008-07-08 Thread Paul Jinks
Thanks to everyone for your help. This gets me closer to what I'm looking for. Unfortunately, there's a complicating factor: if the user scrubs across the same point in the video again, they end up with duplicates/triplicates of the list. Since we actually want people to do this, I'm looking for

Re: [Flashcoders] Basic loop problem (with end of message)

2008-07-08 Thread jonathan howe
Hi, Paul, Currently, in each loop you are overwriting the text in the field (it's not like trace() ). If you're using AS2, use the += operator instead of = If you're using AS3, use appendText() (although I'm not currently remembering the htmlText / appendText interactions) -jonathan On Tue, J

Re: [Flashcoders] Basic loop problem (with end of message)

2008-07-08 Thread Piers Cowburn
Hi Paul, Try: var len2 = cueArray.length; for (var i = 0; i"; } Piers On 8 Jul 2008, at 11:56, Paul Jinks wrote: Apologies for last post: it got sent before I'd finished. That'll teach me to try to use the tab key using IMAP ;-). Here's the message again in full: I'm new to coding and