Re: [Flashcoders] Cannot assign text component from array with href / asfunction

2005-10-28 Thread Miles Thompson
At 12:26 PM 10/28/2005, you wrote: > > > > > > > > BRUCE CLARKE'S SON > > />COPS A SECURITIES ACT PLEA > > > > > When I click, nothing happens, unless it is trying > to open a browser and > I'm testing in the debugger or simply running the > movie. I've added a > trace() to addStory, nothing

Re: [Flashcoders] Cannot assign text component from array with href / asfunction

2005-10-28 Thread Steven Loe
> > > > > > > > BRUCE CLARKE'S SON > > />COPS A SECURITIES ACT PLEA > > > > > When I click, nothing happens, unless it is trying > to open a browser and > I'm testing in the debugger or simply running the > movie. I've added a > trace() to addStory, nothing appears in the output > window.

Re: [Flashcoders] Cannot assign text component from array with href / asfunction

2005-10-27 Thread Miles Thompson
At 08:01 PM 10/27/2005, you wrote: > > BRUCE CLARKE'S SON />COPS A SECURITIES ACT PLEA I'm no expert on asfunction but, seems to me it's pretty limited. You could just pass the function name and the Array index value: f.e.: Then you could read the value of the array at index 6 from within

Re: [Flashcoders] Cannot assign text component from array with href / asfunction

2005-10-27 Thread Steven Loe
> > BRUCE CLARKE'S SON />COPS A SECURITIES ACT PLEA I'm no expert on asfunction but, seems to me it's pretty limited. You could just pass the function name and the Array index value: f.e.: Then you could read the value of the array at index 6 from within your addStory function. Not exactly

[Flashcoders] Cannot assign text component from array with href / asfunction

2005-10-27 Thread Miles Thompson
Movie has two text fields, the left one is named txtHeads and is filled with lines like this: BRUCE CLARKE'S SON/>COPS A SECURITIES ACT PLEA When "BRUCE CLARKE'S SONCOPS A SECURITIES ACT PLEA", asfunction should be calling addStory, as follows: function addStory(stryElement:String){ //