FORUMS: list search recent posts

Flash Dynamic Text Problem

COW Forums : Web Design

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Kathy Summers
Flash Dynamic Text Problem
on Jun 4, 2010 at 11:03:51 pm

I am having a problem with the dynamic text on a site I am designing.

I am not a proficient Action Script coder, so this may be a simple solution.

The text is meant to look as though it is typewritten, with each letter appearing separately. This part works fine. The text box should then disappear, however, and I can't get that to work. Any ideas on how to do this? I tried using motion tweens and adjusting the alpha via the timeline, but I had horrible results and all I had was flickering text. I think I just need a little bit more Action Script code.

I am using AS3.

Here is the code:

var str:String = '"jennifer brings exactly the kind of personal warmth and professionalism that is ideal for that special day." -cynthia bartley, mother of the bride';

var i:uint = 0;

var timer:Timer = new Timer(40);

timer.start();

timer.addEventListener(TimerEvent.TIMER,gotime);

function gotime(e:TimerEvent) {

textbox_txt.appendText(str.charAt(i));
i++;
if(i>=str.length) {
timer.stop()

}

}


Any help is greatly appreciated. Thanks.


Return to posts index

Fernando Mol
Re: Flash Dynamic Text Problem
on Jun 6, 2010 at 3:29:04 pm

Actionscript is the programming language for Flash. You may get better advice for this question on the Flash forum.

I have achieved the effect you're mentioning, but not using Actionscript, also, not with dynamic text. Just plain animation using masks and fades.

*Always share a link to your site and rate the posts. This is a free service for you and for us.


Return to posts index

Kathy Summers
Re: Flash Dynamic Text Problem
on Jun 8, 2010 at 3:59:56 pm

Thanks Fernando. I will try there.

Kathy


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]