The other post "Word Processor in Flash" reminded me of a problem I had a while back which I'm sure someone on this list would have an idea how to get round.

I was trying to build a Flash application that behaved much like a command line OS. So it consisted of an input text field, which printed text and waited for commands to be written into it before performing certain procedures.

The crux of the problem involved catching input commands, such as delete, enter etc, before they were applied to the Text field itself so they could be interpreted and more importantly controlled.

I tried running a watch on the textfield variable, which so nearly let me do everything I wanted but wouldn't allow me to disallow the functionality (delete would still delete even though you got a chance to view the changes before they were applied).

Does anyone have examples of this kind of functionality already built? I assume a constant updated variable of the content must be created to allow switching back to previous states if the user does something that's not allowed. A running example would be a great help.

Thanks,

Dan Efergan
[EMAIL PROTECTED]


_______________________________________________
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

Reply via email to