-
Loading text and formatting
Hi!
I know how to load external TXT files into flash.
What I need now is, to load it and format certain parts of it automatically.
For example, I have a blog with lots of posts, and the posts are:
---------begin-------
TITLE
DATE
Content
----------end--------
And so, I need the title and the date to be one font, with different colors between them, and the content is another font, on a third color.
I have to do this because I've been putting the posts directly inside flash, and they got so long after a while, that I can't have all of them on my screen at any one time, they exceeded flash's height limit...so, to edit the older ones, I need to keep scrolling everything up, which is a pain...
Anyone?
-
Can you have a different text field for each of the title, date and content in your flash document.
You can give them each a variable name.
Then have scroll bars just for the content field.
ETA.
Sorry, just thought of something even simpler....
Can't you just put <font color="red">Title</FONT>
<font color="blue">Date</FONT>
<font color="black">Content ..</FONT>
in the actual text file?
Last edited by holliebelle; 09-21-2009 at 01:14 AM.
-
Hmmm
I can't do that, each post has its title and its content...
Also I have another problem, they all need to be equally spaced, so if I throw the text fields in there, and they all have different lenghts of content, which they do, they're gonna start overlapping each other...
I need to do it in one text field, that way I can control all the spacing in the TXT file, that way it's uniform.
-
LOL, I fail.
I was gonna try and delete the duplicate post, but alas. Serves as a bump!
Last edited by Baterax; 09-21-2009 at 09:35 AM.
Reason: duplicated
-
Hmmm
I just read your edit, will try that and get back here. Thanks already!
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
|