A Flash Developer Resource Site

Results 1 to 20 of 20

Thread: Anyone have a list of HTML tags allowed in dynamic text boxes?

  1. #1
    Senior Member
    Join Date
    Apr 2002
    Posts
    157
    I was looking for the answer on macromedia.com but all I could find was the list for Flash 5, which I'm hoping is a subset of what's allowed in MX.

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Same and only tags apply to MX!
    Sorry!

  3. #3
    Senior Member
    Join Date
    Apr 2002
    Posts
    157

    damnit!

    thanks for the quick response, as always...

    how would i go about formatting text in a text box like a list in html? i'm setting up a text box that looks like a resume... you know "Honors:" and then all of the text lines up nicely next to it...

  4. #4
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397

    <*p align='right'>? Without the "*".

  5. #5
    Senior Member
    Join Date
    Apr 2002
    Posts
    157
    no... i was looking for something more along the lines of a list, or a tab space or something. i can set up different dynamic text boxes in the proper position, but i really didn't want to get into all the action scripts it would require to keep things in the right position. i'm trying to make a template that a non-flash user can update and trying to keep it simple (under budget ).

    thanks, i think i'll just go with non-conventional resume formatting.

  6. #6
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    When you type your text and start a new paragraph with (p)just leave a few spaces and the text will be indented. When you use the child node in xml for your text to be displayed you can do anything manually: no script.

    I deleted my former links. This is much easier:

    http://www.stormpages.com/cancerinfo...xt_scroll.html
    [Edited by cancerinform on 09-16-2002 at 10:29 AM]

  7. #7
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    I have to apologize for my stupid examples. I made a textfile with a list like in html ul and li with an open disk


    http://www.stormpages.com/cancerinfo...xt_scroll.html

  8. #8
    Senior Member
    Join Date
    Apr 2002
    Posts
    157
    ok, i saw your post and was like "uhhh... i don't even know how to respond to that"

    from the example, it appears to be exactly what i was looking for. thanks so much, i will let you know if i have any problems.

    much appreciated...

  9. #9
    Senior Member
    Join Date
    Apr 2002
    Posts
    157
    ok, correct me if i'm wrong but it looks like you've just spaced the text out using space characters to get them to line up like an LI or UL... is that the case? this is actually what i was trying to avoid as i'm trying to set this up so someone can just copy and paste text into the file and not have to figure out where the lines will end and add spaces to get the alignment.

    maybe i'm missing something with the formatting of the text file?

    also, what is the advantage of loading the variables like you have vs. a simple loadVariables("text.txt", this); ?

    thanks again...

  10. #10
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    Yes, I am manually putting in spaces and empty lines. I don't know a different way. I use BBedit 6.1 for the text.

    _____________
    also, what is the advantage of loading the variables like you have vs. a simple loadVariables("text.txt", this); ?
    _______________

    I always use loadVars(). I got kind of used to that. I think I had difficulties with loadVariables long time ago.

  11. #11
    Member
    Join Date
    Aug 2000
    Posts
    44
    Use a dynamic text field. Set

    myTextField.html= true;
    myTextfield.htmlText = myText;

    in my text put in html (li) tags. you need to close them. then off you go you have a bulletted list.

    You can't do an ordered one with html. I have spent some time messing around with this.

    Sorry if this isn't what you are looking for I didn't have time to go throught all the posts in detail.

  12. #12
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    This morning I discovered something new to me:
    (p)(/p)*will leave a blank line in a textfield.

    *have to be tags

  13. #13
    Senior Member
    Join Date
    Apr 2002
    Posts
    157
    cancerinform: can you use &*l*t to create < and &*g*t to create > signs (removing the *)?

  14. #14
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    From a text file, &*l*t to create < won't work!

    I've searched a very long time to get this... Here's the solution:

    %26lt;

  15. #15
    Senior Member
    Join Date
    Apr 2002
    Posts
    157
    i know, i was asking him to do that before he posted his fix with the parenthesis. because before he did that, it said:

    "This morning I discovered something new to me:

    will leave a blank line in a textfield

    So i had no idea what he was saying would create that blank line.

  16. #16
    Senior Member
    Join Date
    May 2002
    Posts
    110
    There are a couple of tags not listed at Macromedia that can be used:

    <*br>
    <*li>

    there maybe more, thats all i know.

  17. #17
    Senior Member
    Join Date
    Apr 2002
    Posts
    157
    oldnewbie, surely you have this link in your favorites: http://www.macromedia.com/support/fl...l_encoding.htm

    "%3C" will create a &lt and "%3E" will create a &gt

    i never knew that the &ltli&gt tag was supported in MX, thanks to the two people that mentioned it.

  18. #18
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Sorry to contradict you but "%3C" will not work when read from an external text file. It will even cut off the following text in the textfield.

    Only thing that works for me is %26lt;

  19. #19
    Senior Member
    Join Date
    Apr 2002
    Posts
    157
    hmm... i just had a whole response ready about how neither one was working for me and then i noticed the semi-colon and found to my delight that it worked the way you said. any idea why macromedia's solution does not work? thanks for the note, i'll have to make a note of that. it might also be worth note for other readers that %26gt; will create &gt, in case that wasn't painfully obvious to you

  20. #20
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Curiously "%3E" works fine! It's only the "<" that won't work!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center