Re: [Flashcoders] Getting text from a specific line...

2006-09-21 Thread Adrian Ionut Beschea
just a thought... you can try to retrieve all text  in your texbox and split it 
by newline
something like : 
var test_str = my_txt.text;
lines_arr = test_str.split(newline); 

Don't know if it works, never tested it. 


- Original Message 
From: Michael Kønig [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, September 21, 2006 1:08:13 PM
Subject: [Flashcoders] Getting text from a specific line...

I am hoping to get some help on making a text effect in the lines of the one 
on this site:

http://www.selftitled.ca/

Pick something from the green section and press the white cross.

The thing is I can doit for a single line, but I need to do it dynamically 
for a paragraph with several lines.

With max scroll and some dummy textboxes I can calcualte the number of lines 
in a paragraph. Then I make a textfield for each paragraph and set scroll so 
it all ens up looking like a paragraph but now in individual lines. My 
problem is I still cant figure out what the text is in the particular line!

Thats what I need help with...
Or other suggestions for approaching the issue.

Thanks
Michael

_
Download din yndlingsmusik p MSN Music:  http://www.msn.dk/music  - det er 
nemt og billigt

___
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


RE: [Flashcoders] Getting text from a specific line...

2006-09-21 Thread Merrill, Jason
Which text effect on that site are you trying to emulate?  I'm not sure which 
effect you're after.  The navigation on the right side or the text that appears 
when you click the cross?  The navigation on the right is done with individual 
movie clips that contain textfields, and all of those are in a movie clip that 
scrolls.  The text that appears when you click the cross is a textfield's 
values being overwritten and the whole container clip being tweened. At least, 
it seems that way to me, I could be wrong.  

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Michael Kønig
Sent: Thursday, September 21, 2006 6:08 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Getting text from a specific line...

I am hoping to get some help on making a text effect in the lines of the one
on this site:

http://www.selftitled.ca/

Pick something from the green section and press the white cross.

The thing is I can doit for a single line, but I need to do it dynamically
for a paragraph with several lines.

With max scroll and some dummy textboxes I can calcualte the number of lines
in a paragraph. Then I make a textfield for each paragraph and set scroll so
it all ens up looking like a paragraph but now in individual lines. My
problem is I still cant figure out what the text is in the particular line!

Thats what I need help with...
Or other suggestions for approaching the issue.

Thanks
Michael

_
Download din yndlingsmusik på MSN Music:  http://www.msn.dk/music  - det er
nemt og billigt

___
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