Not to say you shouldn't use Director, but is shockwave -may- not be the
best tool for the job...if all you are looking for is text handling of input selection, flash can definitely do that.



First Question: Have you tried using the custom text formatterstuff and the Selection class in flash? It has worked for me in the past (Flash6+).

replaceSel() can replace the current selection with new text, but it
won't re-render the look if it is an html field.
my_txt.replaceSel(text);

Otherwise look at using the Selection class to get the in and out point
of the selection and re-apply the text to the string.


Second question: What is your delivery? Web? If so, why not return the records from a database call via php, cold fusion, jsp, or some other middleware solution. They are pretty good at accessing DBs very efficiently.

Just post your data back to a page that is looking for your params and
that page would interface with the database and execute the proper query.

Let me know if I am missing something here...

~Mathew

Matt Wells wrote:

Hello,

Tried this in flash and it doesn't have the capabilities. :(

Can anyone tell me if this posibal in shockwave/director?

I want to read a couple of paragraphs from a database. (So this project
would be a shockwave project.) Into a editable text field. What I need
to do is highlight a specified word(s) in the text field and insert an
html tag on the front and back of the highlighted text by pressing a
button. Here would be an exsample!

Hi my name is Matt!

I would highlight name in the above text line and press a button. The
result Im looking for would be.

Hi my <b>name<b> is Matt!

Now I need to write back to a database on the server.

Just need to know if its posibal or not.

Thank you,

Matt Wells


[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to