Hey all,
I'm going crazy trying to get this right. Here's what i'm trying to do:
I have a small dynamic text box used for displaying news on a flash page. I want to be able to update it without going into my .fla file. The text file itself contains this text:
HTML Code:
news=<img src='test1.jpg'><br><align=right>This is my test paragraph. Filler
text here, a little more here, and finally some here.<br>Testing</align>
1. I understand MX 2004 supports <img> tags in dynamic text boxes.
2. The image itself spans across the width of the text box like a banner (one pixel shorter).
3. I want the text file, when loaded to display the image on top (like a banner) then below it have text.
4. The dynamic box is set to Multiline (wrapped) and "render text as HTML" selected.
I have tried numerous different codes in actionscript to get this to load but it will not. I have my dynamic text box named with an instance name and a variable name (news). Also, the text itself will not display according to the HTML code attached to it. The most i have gotten with all methods of AS is this..
Quote:
This is my test paragraph. Filler text here, a little more here, and finally some here.
Testing.
|
Flash will not format the text (even with align - right enabled on the dynamic text box) to the right side, and will not display my image either.
I have tried loadVariablesNum tag and most within this series of string.
Can someone please paste the code i would need to load this .txt file into my dynamic text box within flash?
Thanks so much in advance.