RE: [Flashcoders] External text from XML file including superscriptanditalic

2005-12-09 Thread Merrill, Jason
Italics are easy, just with a i/i tags if you set your textfield to
accept HTML and enclose the text in the XML with CDATA tags.

Trademark in HTML is usually trade; or #8482- don't know if there is a
spec for service mark yet.  But I don't think Flash's HTML DOM supports
those symbols unfortunately.  I have heard of people inserting graphics,
but that's a pain, and not sure if it's the best/only approach.   Maybe
someone else knows.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Mike Hiatt
Sent: Friday, December 09, 2005 10:17 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] External text from XML file including
superscriptanditalic

Paul, Did you receive an answer to this question? I am needing to do
the
same thing with a service mark

Thanks

Mike Hiatt
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Steven
Sent: Tuesday, November 15, 2005 11:01 AM
To: Flashcoders mailing list
Subject: [Flashcoders] External text from XML file including
superscript
anditalic

I have a flash page that includes several sections of text that are
read in
from an XML file.

I have worked out how to do this assuming all the text formatting is
one
style. However I would like some of the text to be in italic and it to
include the TM as superscript.

Ideally I could just write the text in the xml file as I want it to
appear
on screen in the flash movie. Can anyone advise me if this is possible
and
how. Or if it isnt possible then what is my best option.

Basically the client will be updating the content of the site by
replacing
the xml files and the text needs to have italics and superscript. I do
hope
this is possible:)

Many thanks

Paul

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
NOTICE:
This message is for the designated recipient only and may contain privileged or 
confidential information. If you have received it in error, please notify the 
sender immediately and delete the original. Any other use of this e-mail by you 
is prohibited.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] External text from XML file including superscriptanditalic

2005-11-16 Thread Wade Arnold
Read about the TextFormat class. It should do almost everything that 
you need to do! Note the XML string below has almost all types of text 
formatting in it.


Let me know if you have questions.

TEXTFORMAT LEADING=2LIFONT FACE=_sans SIZE=12 
COLOR=#66BTHis is some crap! /BFONT 
COLOR=#1B66A9B;lkkajsd;lkfj;lkasfdasdfasdf/BFONT 
COLOR=#00/FONT/FONT/FONT/LI/TEXTFORMATTEXTFORMAT 
LEADING=2P ALIGN=LEFTFONT FACE=_sans SIZE=12 
COLOR=#1B66A9Bsome changes/BFONT 
COLOR=#00/FONT/FONT/P/TEXTFORMATTEXTFORMAT 
LEADING=2P ALIGN=LEFTFONT FACE=_sans SIZE=12 
COLOR=#1B66A9Basdfasdf/BFONT 
COLOR=#00/FONT/FONT/P/TEXTFORMATTEXTFORMAT 
LEADING=2P ALIGN=LEFTFONT FACE=_sans SIZE=12 
COLOR=#1B66A9Basdf/BFONT 
COLOR=#00/FONT/FONT/P/TEXTFORMATTEXTFORMAT 
LEADING=2P ALIGN=LEFTFONT FACE=_sans SIZE=12 
COLOR=#1B66A9Basdf/BFONT 
COLOR=#00/FONT/FONT/P/TEXTFORMATTEXTFORMAT 
LEADING=2P ALIGN=LEFTFONT FACE=_sans SIZE=12 
COLOR=#1B66A9Basdf/BFONT 
COLOR=#00/FONT/FONT/P/TEXTFORMATTEXTFORMAT 
LEADING=2P ALIGN=LEFTFONT FACE=_sans SIZE=12 
COLOR=#1B66A9Basdf/BFONT 
COLOR=#00/FONT/FONT/P/TEXTFORMATTEXTFORMAT 
LEADING=2P ALIGN=LEFTFONT FACE=_sans SIZE=12 
COLOR=#1B66A9Basdf/BFONT 
COLOR=#00/FONT/FONT/P/TEXTFORMAT


On Nov 16, 2005, at 2:08 AM, Paul Steven wrote:


Thanks a million Keith

One more question.

Is it possible to make several sentences in a paragraph a different 
font

size?

i.e Can I somehow put some sort of CSS span stlyle to a section of the 
text

in the XML file?

Thanks

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Keith
Reinfeld
Sent: 15 November 2005 19:12
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] External text from XML file including
superscriptanditalic


Paul,

In your XML document:

(Watch the wrap.)

someTag![CDATA[Grandios ProductNameT iitalic description/i 
content

text here.]]/someTag

You can enter the TM directly into the XML document by holding down 
Alt

and typing 0153 on the numberpad.

HTH

-Keith

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul 
Steven

Sent: Tuesday, November 15, 2005 11:01 AM
To: Flashcoders mailing list
Subject: [Flashcoders] External text from XML file including 
superscript

anditalic

I have a flash page that includes several sections of text that are 
read in

from an XML file.

I have worked out how to do this assuming all the text formatting is 
one

style. However I would like some of the text to be in italic and it to
include the TM as superscript.

Ideally I could just write the text in the xml file as I want it to 
appear
on screen in the flash movie. Can anyone advise me if this is possible 
and

how. Or if it isnt possible then what is my best option.

Basically the client will be updating the content of the site by 
replacing
the xml files and the text needs to have italics and superscript. I do 
hope

this is possible:)

Many thanks

Paul

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] External text from XML file including superscriptanditalic

2005-11-16 Thread Paul Steven
I cannot get the TM in superscript to appear in my Flash movie.

I can see it in my xml file - see
http://www.mediakitchen.co.uk/movie_data.xml

My flash movie has the text set to html by clicking on the option in the
text properties box.

It is a Flash MX 2004 Movie published as Flash 7 As 2.0

The font it uses is Frutiger-cn and I have chosen to embed Basic Latin (95
glyphs)

Any ideas why this doesnt work?

Also when I put the i /i around some text, it appeared to break the xml
and nothing after the i appeared in my flash movie at all.

If anyone has any idea what I am doing wrong it would be much appreciated.

Thanks

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Keith
Reinfeld
Sent: 15 November 2005 19:12
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] External text from XML file including
superscriptanditalic


Paul,

In your XML document:

(Watch the wrap.)

someTag![CDATA[Grandios ProductNameT iitalic description/i content
text here.]]/someTag

You can enter the TM directly into the XML document by holding down Alt
and typing 0153 on the numberpad.

HTH

-Keith

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven
Sent: Tuesday, November 15, 2005 11:01 AM
To: Flashcoders mailing list
Subject: [Flashcoders] External text from XML file including superscript
anditalic

I have a flash page that includes several sections of text that are read in
from an XML file.

I have worked out how to do this assuming all the text formatting is one
style. However I would like some of the text to be in italic and it to
include the TM as superscript.

Ideally I could just write the text in the xml file as I want it to appear
on screen in the flash movie. Can anyone advise me if this is possible and
how. Or if it isnt possible then what is my best option.

Basically the client will be updating the content of the site by replacing
the xml files and the text needs to have italics and superscript. I do hope
this is possible:)

Many thanks

Paul

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] External text from XML file including superscriptanditalic

2005-11-15 Thread Keith Reinfeld
Paul, 

Looks like the TM immediately following ProductName didn't survive the
e-mail process. 

I also wanted to mention that, of course, your textfield needs to be set to
html = true and you must assign the nodeValue from the XML document to its
htmlText property.

-Keith

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith
Reinfeld
Sent: Tuesday, November 15, 2005 1:12 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] External text from XML file including
superscriptanditalic

Paul, 

In your XML document: 

(Watch the wrap.)

someTag![CDATA[Grandios ProductNameT iitalic description/i content
text here.]]/someTag 

You can enter the TM directly into the XML document by holding down Alt
and typing 0153 on the numberpad. 

HTH

-Keith

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven
Sent: Tuesday, November 15, 2005 11:01 AM
To: Flashcoders mailing list
Subject: [Flashcoders] External text from XML file including superscript
anditalic

I have a flash page that includes several sections of text that are read in
from an XML file.

I have worked out how to do this assuming all the text formatting is one
style. However I would like some of the text to be in italic and it to
include the TM as superscript.

Ideally I could just write the text in the xml file as I want it to appear
on screen in the flash movie. Can anyone advise me if this is possible and
how. Or if it isnt possible then what is my best option.

Basically the client will be updating the content of the site by replacing
the xml files and the text needs to have italics and superscript. I do hope
this is possible:)

Many thanks

Paul

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] External text from XML file including superscriptanditalic

2005-11-15 Thread Jim Kremens
This has worked for me in the past as well. Basically, the rule is that if
you can actually *see* the character in your xml file, and you've set things
up correctly, Flash will render the character.
 However, I have a project coming up where we'll need to render special
characters from the actual Unicode sequences. (So the files will not have
human-readable characters, just Unicode for special chars). Has anyone had
any luck making that work?
 Jim Kremens

 On 11/15/05, Keith Reinfeld [EMAIL PROTECTED] wrote:

 Paul,

 Looks like the TM immediately following ProductName didn't survive the
 e-mail process.

 I also wanted to mention that, of course, your textfield needs to be set
 to
 html = true and you must assign the nodeValue from the XML document to its
 htmlText property.

 -Keith

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Keith
 Reinfeld
 Sent: Tuesday, November 15, 2005 1:12 PM
 To: 'Flashcoders mailing list'
 Subject: RE: [Flashcoders] External text from XML file including
 superscriptanditalic

 Paul,

 In your XML document:

 (Watch the wrap.)

 someTag![CDATA[Grandios ProductNameT iitalic description/i content
 text here.]]/someTag

 You can enter the TM directly into the XML document by holding down Alt
 and typing 0153 on the numberpad.

 HTH

 -Keith

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Paul
 Steven
 Sent: Tuesday, November 15, 2005 11:01 AM
 To: Flashcoders mailing list
 Subject: [Flashcoders] External text from XML file including superscript
 anditalic

 I have a flash page that includes several sections of text that are read
 in
 from an XML file.

 I have worked out how to do this assuming all the text formatting is one
 style. However I would like some of the text to be in italic and it to
 include the TM as superscript.

 Ideally I could just write the text in the xml file as I want it to appear
 on screen in the flash movie. Can anyone advise me if this is possible and
 how. Or if it isnt possible then what is my best option.

 Basically the client will be updating the content of the site by replacing
 the xml files and the text needs to have italics and superscript. I do
 hope
 this is possible:)

 Many thanks

 Paul

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders