-
bbcode formatted text (not html)
I was wondering how I could take text with bbcode in it and format it in a dynamic textbox WITHOUT converting it to HTML tags.
I would put in this (without the spaces):
This would come out like:
-
Senior Member
The Flash player to my knowledge only recognizes html tags.
- The right of the People to create Flash movies shall not be infringed. -
-
I know, but with Actionscript?
-
Senior Member
The flash help files did not show any entries. Google also did not show any results.
- The right of the People to create Flash movies shall not be infringed. -
-
That doesnt matter, with Actionscript, couldn't you make the text in between bold and then remove the tags? I just dont know how.
-
Senior Member
if that is what you want to know, no problem. Give your textfield a name like myTextfield and then write this for example.
var myTextfield:TextField;
myTextfield.html = true;
myTextfield.htmlText = "<b>This is bold text.</b>";
- The right of the People to create Flash movies shall not be infringed. -
-
I know how to do that, what I want to do is use actionscript to take the text shown above and convert it to bold text, like the html does, but without making html.
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
|