<?xml version="1.0" encoding="iso-8859-1"?><rss version="2.0">
<channel><title><![CDATA[ActionScript.org Flash, Flex and ActionScript Resources - Comments for article: Scripted Typewriter Effect]]></title><link>http://www.actionscript.org/resources</link><description /><language>en-us</language><copyright><![CDATA[http://www.actionscript.org/resources]]></copyright><generator>N/A</generator><webMaster>general.redirect@gmail.com</webMaster><lastBuildDate>Sat, 21 Nov 2009 17:31:01 CST</lastBuildDate><ttl>20</ttl><item><title><![CDATA[Comment #1]]></title><link>http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment3020</link><description><![CDATA[you can also implement this feature using the following:

this.createEmptyMovieClip("typewriter", depth)

typewriter.onEnterFrame = function() {

//call substring function here

//once q is greater than length of text
call: 
delete typewriter.onEnterFrame



}<br/><br/>
(Comment posted by actionscript novice at 5:05 am, Fri 11th May 2007)]]></description><author>no@spam.com (actionscript novice)</author><pubDate><![CDATA[Fri, 11 May 2007 05:05:27 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment3020</guid></item><item><title><![CDATA[Comment #2]]></title><link>http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment3337</link><description><![CDATA[Love the tutorial! Is there anyway I can use this with XML?<br/><br/>
(Comment posted by Johnny at 9:58 am, Tue 22nd May 2007)]]></description><author>no@spam.com (Johnny)</author><pubDate><![CDATA[Tue, 22 May 2007 09:58:56 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment3337</guid></item><item><title><![CDATA[Comment #3]]></title><link>http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment3715</link><description><![CDATA[is there a way to get this to read from a .txt file?  i have been looking and looking and i cannot figure it out.  great tutorial though, helped me out a lot.<br/><br/>
(Comment posted by Jake at 3:12 pm, Mon 4th Jun 2007)]]></description><author>no@spam.com (Jake)</author><pubDate><![CDATA[Mon, 04 Jun 2007 15:12:45 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment3715</guid></item><item><title><![CDATA[Comment #4]]></title><link>http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment10338</link><description><![CDATA[Thanks it worked beatifully. BTW, if you want to use it with Flash Lite 1.1 just change 
textbox = text.substring(0,q) 
to
textbox = substring(text,0,q)

thanks again<br/><br/>
(Comment posted by Alvaro at 6:29 pm, Thu 20th Mar 2008)]]></description><author>no@spam.com (Alvaro)</author><pubDate><![CDATA[Thu, 20 Mar 2008 18:29:52 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment10338</guid></item><item><title><![CDATA[Comment #5]]></title><link>http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment12204</link><description><![CDATA[NICEEE THIS IS VERY HELPFUL! :))<br/><br/>
(Comment posted by ophelia at 11:55 am, Thu 30th Oct 2008)]]></description><author>no@spam.com (ophelia)</author><pubDate><![CDATA[Thu, 30 Oct 2008 11:55:44 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment12204</guid></item><item><title><![CDATA[Comment #6]]></title><link>http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment13124</link><description><![CDATA[Also, the speed of the text can be very fast with a low Framerate
just change this in frame 2:

if (q < text.length) {
	textbox = text.substring(0, q);
	q++

To:

if (q < text.length) {
	textbox = text.substring(0, q);
	q+(q++)+(q++)+(q++)<br/><br/>
(Comment posted by peter at 3:24 pm, Sun 14th Jun 2009)]]></description><author>no@spam.com (peter)</author><pubDate><![CDATA[Sun, 14 Jun 2009 15:24:54 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment13124</guid></item><item><title><![CDATA[Comment #7]]></title><link>http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment13212</link><description><![CDATA[Not working anymore.
define variables with var:

var q = 0;

and its textBox.text = text;<br/><br/>
(Comment posted by Tim at 5:44 am, Thu 9th Jul 2009)]]></description><author>no@spam.com (Tim)</author><pubDate><![CDATA[Thu, 09 Jul 2009 05:44:03 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment13212</guid></item><item><title><![CDATA[Comment #8]]></title><link>http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment13297</link><description><![CDATA[Make sure to embed the font also or it won't show on a browser<br/><br/>
(Comment posted by Jason at 4:19 pm, Thu 30th Jul 2009)]]></description><author>no@spam.com (Jason)</author><pubDate><![CDATA[Thu, 30 Jul 2009 16:19:35 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment13297</guid></item><item><title><![CDATA[Comment #9 (Reply to Comment #8)]]></title><link>http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment13306</link><description><![CDATA[Hi this looks like exactly what I'm trying to do but I'm using Flash CS4 and I can't see how to attach dfifferent action scripts to different frames - can anyone help?
If I try this then I just get one action script that runs for all frames.<br/><br/>
(Comment posted by Stuart at 12:37 pm, Tue 4th Aug 2009)]]></description><author>no@spam.com (Stuart)</author><pubDate><![CDATA[Tue, 04 Aug 2009 12:37:33 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment13306</guid></item><item><title><![CDATA[Comment #10]]></title><link>http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment13312</link><description><![CDATA[OK found out how to attach actionscript to individual frames by making them all keyframes.

Only problem now is how to get text to scroll when it is longer than the textbox.

I have set textbox to 'scrollable', which works if I create a separate text box input field and type into it, but does not work for the typewritter textbox for some reason?<br/><br/>
(Comment posted by Stuart at 1:37 am, Wed 5th Aug 2009)]]></description><author>no@spam.com (Stuart)</author><pubDate><![CDATA[Wed, 05 Aug 2009 01:37:54 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment13312</guid></item><item><title><![CDATA[Comment #11 (Reply to Comment #10)]]></title><link>http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment13325</link><description><![CDATA[set your textbox to "multiline" instead of "multiline nowrap"<br/><br/>
(Comment posted by Jessica at 11:02 am, Mon 10th Aug 2009)]]></description><author>no@spam.com (Jessica)</author><pubDate><![CDATA[Mon, 10 Aug 2009 11:02:47 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment13325</guid></item><item><title><![CDATA[Comment #12]]></title><link>http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment13582</link><description><![CDATA[how do I make it stop when the text is all written instead of having it keep repeating.
I got rid of button action and played the script onEnterFrame by making a movieclip.<br/><br/>
(Comment posted by Nain at 6:30 pm, Thu 15th Oct 2009)]]></description><author>no@spam.com (Nain)</author><pubDate><![CDATA[Thu, 15 Oct 2009 18:30:20 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment13582</guid></item><item><title><![CDATA[Comment #13]]></title><link>http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment13699</link><description><![CDATA[Thank you very much!!! This is great. Instead of "multiline nowrap", "multiline" is nice.<br/><br/>
(Comment posted by Rama Mohan at 5:34 am, Wed 18th Nov 2009)]]></description><author>no@spam.com (Rama Mohan)</author><pubDate><![CDATA[Wed, 18 Nov 2009 05:34:58 CST]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/50/1/Scripted-Typewriter-Effect/Page1.html#Comment13699</guid></item></channel></rss>