A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Loading html to dynamic text object

Hybrid View

  1. #1
    Member
    Join Date
    Oct 2002
    Location
    Palm Springs, CA
    Posts
    42

    Loading html to dynamic text object

    It's not shown on the html example, but I just want to verify whether or not I can use BODY tags: text="#000080" link="#ffffff"; etc.

  2. #2
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890

    Re: Loading html to dynamic text object

    Originally posted by calow21202
    It's not shown on the html example, but I just want to verify whether or not I can use BODY tags: text="#000080" link="#ffffff"; etc.
    NO
    But you can use a TRICK with the same result.
    For example:
    <a href="http://www.koolmoves.com><font color="#FFFFFF">KoolMoves</font></a><font color="#000080">...Kool Moves</font>


  3. #3
    Member
    Join Date
    Oct 2002
    Location
    Palm Springs, CA
    Posts
    42

    HTML in Dynamic Text

    Thank you! I'll give it a try. It's not just color, but color changing with the mouse click that I'm looking for.

  4. #4
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890

    Re: HTML in Dynamic Text

    Originally posted by calow21202
    Thank you! I'll give it a try. It's not just color, but color changing with the mouse click that I'm looking for.
    What are you looking for is JavaScript (not available for DynamicText).
    For example,insert these lines after your <HEAD> tag:

    <style type="text/css">
    <!--
    select { font-family: Arial; font-size: 9pt}
    input { font-family: Arial; font-size: 9pt}
    A:hover {text-decoration: underline; color:red;}
    -->
    </style>

    cheers

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