|
-
AS2: Hard - Type effect in a dynamic textfield in whose html = true
I only found on the boards how to make it on normal dynamic textfields. But I wanted to use it in dynamic textfields that renders text in html format.
I started 4 hours ago.. and I think I'm gonna stop first. It's a bit tiring and it looks like it's going to be very tough to do this using if else's.
I wanna know if any one here has attempted to do such a thing?
How I pictured the program to go through a given text, such as:
<P ALIGN="CENTER"> HELLO<MAN<What's your name </P>
First, it will write the tags on a new string:
<P ALIGN="CENTER"></P>
But, it will remember where the non-tag portion is (location 18 to 46), then what it does is sets the textfeild.htmlText to <P ALIGN="CENTER"></P>
Second, it will slowly write in the non-tags, probably through an interval.
a: <P ALIGN="CENTER"> </P>
b: <P ALIGN="CENTER"> H</P>
c: <P ALIGN="CENTER"> HE</P>
etc..
it should work, and it allows the person to use html tags.
But... hehe it's a lot of work for such a simple effect.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|