05-10-2008, 06:52 PM
Do you rememeber the old command line prompts that had a blinking square where the typing cursor was. Well I want a flash effect where text is being typed real time on a flash .SWF with the prompt described above. Sort of like a misson control sci fci intro to a scene. Any thing out there I can use instead of coding this myself?
05-12-2008, 03:34 AM
I have an idea, but I can't find any code for it.
I'm thinking that if you use a mono-space font, that you can measure the length of the string inputted. So make a listener for keystrokes and then recalculate the string length. Then multiply that by the number of pixels each character is to get the proper distance from the origin.
You would want to make sure to embed a font with this, but I think that would be a good way to go about it.
05-12-2008, 08:26 AM
Cool, what if I wanted to have the flash type out preprogammed text one character every 200ms?
05-12-2008, 03:17 PM
Here is a tutorial on automatic type writing.
05-19-2008, 09:39 AM
super mate many thanks and love in Christ ;-)