Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
CPettit #1
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
-
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... -
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... -
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... -
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>,... -
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... -
Jack #2
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
-
CPettit #3
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
-
CPettit #4
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
-
Jack #5
Re: HTML tags in Flash 6
>Since the AS window is so difficult to write out long strings, what is
i tend to break long strings into managable lines with ->the recomendation on what to use to author the text content with the
>appropriate tags etc.?
test.text = "<p align=center>"+
"string1................................"+
"string2................................"+
"string3................................";
escape the quote with \ -> 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?
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
-
CPettit #6
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



Reply With Quote

