Danny Kodicek schrieb:
Chris: Thanks for elaborating on the restrict issue. Looks like I won't
need to explore it just yet, but it's good to know about. (Since I'm
very new to the Flash/Actionscript thing and am learning 'on the job'
with a project deadline looming I'm being pragmatic and just learning
the bits of AS that I need to make the project work. I'll flesh out my
knowledge afterward).
Just to clarify: I'm pretty sure the restrict property only affects
user-typed input, not text that you add dynamically with code.
Danny
Thats correct:
_root.createTextField("txt", 1, 0, 0, 100, 100);
_root.txt.type = "input";
_root.txt.restrict = "abc";
_root.txt.text = "hallo"; // complete hallo is written into the TextField
Janosch
_______________________________________________
[email protected]
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