HTML tags in Flash 6

Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default HTML tags in Flash 6

    Hi.

    I am having days of nightmares trying to format my HTML enabled text
    feild with just the basic tags that are available in version 6.

    Some things work, some don't, I'm totally confused

    Currently I can get the links to work but not the target window
    attribute ie target="_blank" (doesn't work)

    <font color="#FFFF00"><a href=”[url]http://www.blahblah.com”[/url]
    target=”_blank”> [url]www.blahblah.com[/url] </a></font>

    any one have any idea what I am doing wrong?

    Chris

    CPettit Guest

  2. Similar Questions and Discussions

    1. problem displaying html tags in flash from xml - URGENT PLEASE !!!!
      Hi All, I have a flash application in which the data is retrived from an xml file which is dynamically written using ASP as ADMIN Console (i.e the...
    2. Using HTML tags in Flash
      Hello I have some XML that's loaded into Flash by ActionScript and in the XML, I have some text under a node as a parameter called "content" but...
    3. Flash and HTML tags in XML text
      I have an XML which i use to get some links to be displayed in a textField inside Flash. My problem is that Flash seems to misunderstand the...
    4. which html-tags does flash MX support?
      hi, I'm just wondering, you can import html text in flash, but which tags are generally supported by MX? there's the <i>, <u>, <a>, <b>,...
    5. HTML tags by Flash plugin versiion
      I've been combing the web looking for documentation on what tags work with what versions of the Flash plug-in. I'm aware that some of this stuff...
  3. #2

    Default Re: HTML tags in Flash 6

    use ( ' ) within the opening and closing ( " )

    // where tf is the instance name of your dynamic textfield
    tf.html = true;
    tf.htmlText = "<font color='#FFFF00'>"+
    "<a href='http://www.google.com' target='_blank'> Google </a></font>";



    "CPettit" <chris@digitalskye.net> wrote in message
    news:404639C0.7080405@digitalskye.net...
    > Hi.
    >
    > I am having days of nightmares trying to format my HTML enabled text
    > feild with just the basic tags that are available in version 6.
    >
    > Some things work, some don't, I'm totally confused
    >
    > Currently I can get the links to work but not the target window
    > attribute ie target="_blank" (doesn't work)
    >
    > <font color="#FFFF00"><a href=”[url]http://www.blahblah.com”[/url]
    > target=”_blank”> [url]www.blahblah.com[/url] </a></font>
    >
    > any one have any idea what I am doing wrong?
    >
    > Chris
    >

    Jack Guest

  4. #3

    Default Re: HTML tags in Flash 6

    Thanks Jack, I should have realized that it was string literal so the
    quotes would be different.

    I am also seeing other weird anomolies, that I now believe are related
    to formating or character issues when copying and pasting from a word
    document.

    Since the AS window is so difficult to write out long strings, what is
    the recomendation on what to use to author the text content with the
    appropriate tags etc.?

    thanks again

    Jack wrote:
    > use ( ' ) within the opening and closing ( " )
    >
    > // where tf is the instance name of your dynamic textfield
    > tf.html = true;
    > tf.htmlText = "<font color='#FFFF00'>"+
    > "<a href='http://www.google.com' target='_blank'> Google </a></font>";
    >
    >
    >
    > "CPettit" <chris@digitalskye.net> wrote in message
    > news:404639C0.7080405@digitalskye.net...
    >
    >>Hi.
    >>
    >>I am having days of nightmares trying to format my HTML enabled text
    >>feild with just the basic tags that are available in version 6.
    >>
    >>Some things work, some don't, I'm totally confused
    >>
    >>Currently I can get the links to work but not the target window
    >>attribute ie target="_blank" (doesn't work)
    >>
    >> <font color="#FFFF00"><a href=”[url]http://www.blahblah.com”[/url]
    >>target=”_blank”> [url]www.blahblah.com[/url] </a></font>
    >>
    >>any one have any idea what I am doing wrong?
    >>
    >>Chris
    >>
    >
    >
    >
    CPettit Guest

  5. #4

    Default Re: HTML tags in Flash 6

    another question for anyone:

    If you need to use the "" quotes in the body of the string, how do you
    handle the conflict with the "" quotes that represent the begining and
    the end of the string?

    Again: I am seeing totally intermitent reliabilty here...one minute it
    works, the next the whole thing falls apart and the formating is all
    messed up. I remove the offending "" and then it works again.

    I'm going crazy here, its just text formatting for crying out loud...

    ??????

    CPettit wrote:
    > Thanks Jack, I should have realized that it was string literal so the
    > quotes would be different.
    >
    > I am also seeing other weird anomolies, that I now believe are related
    > to formating or character issues when copying and pasting from a word
    > document.
    >
    > Since the AS window is so difficult to write out long strings, what is
    > the recomendation on what to use to author the text content with the
    > appropriate tags etc.?
    >
    > thanks again
    >
    > Jack wrote:
    >
    >> use ( ' ) within the opening and closing ( " )
    >>
    >> // where tf is the instance name of your dynamic textfield
    >> tf.html = true;
    >> tf.htmlText = "<font color='#FFFF00'>"+
    >> "<a href='http://www.google.com' target='_blank'> Google </a></font>";
    >>
    >>
    >>
    >> "CPettit" <chris@digitalskye.net> wrote in message
    >> news:404639C0.7080405@digitalskye.net...
    >>
    >>> Hi.
    >>>
    >>> I am having days of nightmares trying to format my HTML enabled text
    >>> feild with just the basic tags that are available in version 6.
    >>>
    >>> Some things work, some don't, I'm totally confused
    >>>
    >>> Currently I can get the links to work but not the target window
    >>> attribute ie target="_blank" (doesn't work)
    >>>
    >>> <font color="#FFFF00"><a href=”[url]http://www.blahblah.com”[/url]
    >>> target=”_blank”> [url]www.blahblah.com[/url] </a></font>
    >>>
    >>> any one have any idea what I am doing wrong?
    >>>
    >>> Chris
    >>>
    >>
    >>
    >>
    >
    CPettit Guest

  6. #5

    Default Re: HTML tags in Flash 6

    >Since the AS window is so difficult to write out long strings, what is
    >the recomendation on what to use to author the text content with the
    >appropriate tags etc.?
    i tend to break long strings into managable lines with -
    test.text = "<p align=center>"+
    "string1................................"+
    "string2................................"+
    "string3................................";

    > If you need to use the "" quotes in the body of the string, how do you
    > handle the conflict with the "" quotes that represent the begining and
    > the end of the string?
    escape the quote with \ -
    test.htmlText = "<a
    href=\"asfunction:popwindow,http://www.google.com\">Google</a>"

    hth


    "CPettit" <chris@digitalskye.net> wrote in message
    news:40468A28.9010508@digitalskye.net...
    > another question for anyone:
    >
    > If you need to use the "" quotes in the body of the string, how do you
    > handle the conflict with the "" quotes that represent the begining and
    > the end of the string?
    >
    > Again: I am seeing totally intermitent reliabilty here...one minute it
    > works, the next the whole thing falls apart and the formating is all
    > messed up. I remove the offending "" and then it works again.
    >
    > I'm going crazy here, its just text formatting for crying out loud...
    >
    > ??????
    >
    > CPettit wrote:
    > > Thanks Jack, I should have realized that it was string literal so the
    > > quotes would be different.
    > >
    > > I am also seeing other weird anomolies, that I now believe are related
    > > to formating or character issues when copying and pasting from a word
    > > document.
    > >
    > > Since the AS window is so difficult to write out long strings, what is
    > > the recomendation on what to use to author the text content with the
    > > appropriate tags etc.?
    > >
    > > thanks again
    > >
    > > Jack wrote:
    > >
    > >> use ( ' ) within the opening and closing ( " )
    > >>
    > >> // where tf is the instance name of your dynamic textfield
    > >> tf.html = true;
    > >> tf.htmlText = "<font color='#FFFF00'>"+
    > >> "<a href='http://www.google.com' target='_blank'> Google </a></font>";
    > >>
    > >>
    > >>
    > >> "CPettit" <chris@digitalskye.net> wrote in message
    > >> news:404639C0.7080405@digitalskye.net...
    > >>
    > >>> Hi.
    > >>>
    > >>> I am having days of nightmares trying to format my HTML enabled text
    > >>> feild with just the basic tags that are available in version 6.
    > >>>
    > >>> Some things work, some don't, I'm totally confused
    > >>>
    > >>> Currently I can get the links to work but not the target window
    > >>> attribute ie target="_blank" (doesn't work)
    > >>>
    > >>> <font color="#FFFF00"><a href=”[url]http://www.blahblah.com”[/url]
    > >>> target=”_blank”> [url]www.blahblah.com[/url] </a></font>
    > >>>
    > >>> any one have any idea what I am doing wrong?
    > >>>
    > >>> Chris
    > >>>
    > >>
    > >>
    > >>
    > >
    >

    Jack Guest

  7. #6

    Default Re: HTML tags in Flash 6

    Eureka! that does seem to be doing it.

    If I build my HTML peice by peice, entirely in the AS window using
    concactation, it seems to be the solution I was looking for.

    Thanks again for your help Jack

    Chris



    Jack wrote:
    >>Since the AS window is so difficult to write out long strings, what is
    >>the recomendation on what to use to author the text content with the
    >>appropriate tags etc.?
    >
    >
    > i tend to break long strings into managable lines with -
    > test.text = "<p align=center>"+
    > "string1................................"+
    > "string2................................"+
    > "string3................................";
    >
    >
    >
    >>If you need to use the "" quotes in the body of the string, how do you
    >>handle the conflict with the "" quotes that represent the begining and
    >>the end of the string?
    >
    >
    > escape the quote with \ -
    > test.htmlText = "<a
    > href=\"asfunction:popwindow,http://www.google.com\">Google</a>"
    >
    > hth
    >
    >
    > "CPettit" <chris@digitalskye.net> wrote in message
    > news:40468A28.9010508@digitalskye.net...
    >
    >>another question for anyone:
    >>
    >>If you need to use the "" quotes in the body of the string, how do you
    >>handle the conflict with the "" quotes that represent the begining and
    >>the end of the string?
    >>
    >>Again: I am seeing totally intermitent reliabilty here...one minute it
    >>works, the next the whole thing falls apart and the formating is all
    >>messed up. I remove the offending "" and then it works again.
    >>
    >>I'm going crazy here, its just text formatting for crying out loud...
    >>
    >>??????
    >>
    >>CPettit wrote:
    >>
    >>>Thanks Jack, I should have realized that it was string literal so the
    >>>quotes would be different.
    >>>
    >>>I am also seeing other weird anomolies, that I now believe are related
    >>>to formating or character issues when copying and pasting from a word
    >>>document.
    >>>
    >>>Since the AS window is so difficult to write out long strings, what is
    >>>the recomendation on what to use to author the text content with the
    >>>appropriate tags etc.?
    >>>
    >>>thanks again
    >>>
    >>>Jack wrote:
    >>>
    >>>
    >>>>use ( ' ) within the opening and closing ( " )
    >>>>
    >>>>// where tf is the instance name of your dynamic textfield
    >>>>tf.html = true;
    >>>>tf.htmlText = "<font color='#FFFF00'>"+
    >>>>"<a href='http://www.google.com' target='_blank'> Google </a></font>";
    >>>>
    >>>>
    >>>>
    >>>>"CPettit" <chris@digitalskye.net> wrote in message
    >>>>news:404639C0.7080405@digitalskye.net...
    >>>>
    >>>>
    >>>>>Hi.
    >>>>>
    >>>>>I am having days of nightmares trying to format my HTML enabled text
    >>>>>feild with just the basic tags that are available in version 6.
    >>>>>
    >>>>>Some things work, some don't, I'm totally confused
    >>>>>
    >>>>>Currently I can get the links to work but not the target window
    >>>>>attribute ie target="_blank" (doesn't work)
    >>>>>
    >>>>> <font color="#FFFF00"><a href=”[url]http://www.blahblah.com”[/url]
    >>>>>target=”_blank”> [url]www.blahblah.com[/url] </a></font>
    >>>>>
    >>>>>any one have any idea what I am doing wrong?
    >>>>>
    >>>>>Chris
    >>>>>
    >>>>
    >>>>
    >>>>
    >
    >
    CPettit Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139