Re: [Flashcoders] weird htmlText split and join behavior

2006-11-29 Thread GregoryN
Marcelo and luchyx, thanks for replies. A few words about my case. This is a kind of digest page where summary blocks are followed by click to see details links. When user clicks such a link, details info will be displayed right below the link on this page. Click again - hide details. As you

Re: [Flashcoders] weird htmlText split and join behavior

2006-11-29 Thread l u c h y x
HI gregory. Yes the htmlText is a pain.! The problems never end. And macromedia now adobe never fix those behaviors in the text field. I think that you can check for flash 8 movie if you have filters available or other flash 8 functions like setTimeOut. if(_global.setTimeout() != undefined)

[Flashcoders] weird htmlText split and join behavior

2006-11-28 Thread GregoryN
Hello all, I'm upgrading a project from v7 to v8 player. Main reason is better text readability. In this project, split().join() combination is used to hide/show some text (similar to css tricks in normal html). It works great in player v7, but, when published for v8, all text becomes

Re: [Flashcoders] weird htmlText split and join behavior

2006-11-28 Thread Marcelo Volmaro
V8 of the player (i donĀ“t know 9) seems to have a BIG problem with textfields. Anytime you modify the contents of an html text field from WITHING the text field (ie: you are modifying the textfield using a link on the textfield) the player start doing weird things with the content. I have

Re: [Flashcoders] weird htmlText split and join behavior

2006-11-28 Thread l u c h y x
First do a Trace of (my_text1.htmlText) and see what happens with the HTML content. Usually you can do this my_text1.htmlText = my_text1.htmlText.split( tag2replace ).join( my_replace ); But the string tag to replace string2replace:String = brbr*tag_to_replace /*brbr; After you put on the