evynco
1
Hi guys I’ve been hunting through the forum and tutiorials but still have some headaches.
(MX2004)
I have made a ‘whiteboard’, users can draw on it, change width of pen, clear it.
I need to:
- allow users to add text as well as lines
- allow them to add a circle or a square
- clear last stroke/shape
- save the drawing
- email it or print it
=== fixed now, see replies below ====
evynco
2
Thanks Canadian !
My users can now add lines, circles, squares etc.
Now I need to allow them to add text within the whiteboard.
So far I’ve tried using [COLOR=red]createTextField [/COLOR][COLOR=black]to add an input field at the mouse position, like this:[/COLOR]
_root.createTextField(“mytext”,1,_xmouse,_ymouse,300,100);
mytext.type= input;
mytext.multiline = true;
mytext.wordWrap = true;
mytext.border = true;
myformat = new TextFormat();
myformat.color = 0xff0000;
myformat.bullet = false;
myformat.underline = false;
mytext.setTextFormat(myformat);
Which draws a blank field, now how do we type into it ?
Puzzled, Queensland.