Re: [Flashcoders] Help Formating/Styling Dynamic Text

2006-08-29 Thread R.A. Williamson

Double check these things:

1) The TextFormat::font must be set to the linkage id of the embedded 
font, not the font's original name (i.e. BigBoldTreb, not Trebuchet MS).

2) set TextField::embedFonts property to true.
3) call TextField::setTextFormat *after* text is assigned to the TextField.

HTH,
Ryan

Aaron Roberson wrote:

rw,

I have tried two techniques for embedding my fonts:

1. In the library panel, choosing New Font, and selecting my font
(Arial, bold, 12pt).

2. In the properties panel, selecting my font and choosing embed and
selecing a-zA-Z.

Neither of these methods are working :(

The first method does nothing at all, while the second method makes
the fonts dissapear all together.

Any suggestions?

-Aaron

On 8/22/06, R.A. Williamson [EMAIL PROTECTED] wrote:

This typically happens when you have not embedded the bold variant of
the font (assuming your dynamic textfield is using embedded fonts).
-rw

Aaron Roberson wrote:
 When I dynamically load text into a dynamic textfield using xml the
 text does not remain bold. How can I get the dynamic text to be bold?

 Thanks in advance,
 Aaron
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Help Formating/Styling Dynamic Text

2006-08-23 Thread R.A. Williamson

Aaron,

Are you aiming for all the text to be bold, or just a selection set by a 
TextFormat object or HTML?


I would be happy to look at an example of what you're tying to do if you 
want to shoot me a FLA or some code snippets: [EMAIL PROTECTED] 
Always hard to debug font issues with my imagination. :)


-rw

Aaron Roberson wrote:

rw,

I have tried two techniques for embedding my fonts:

1. In the library panel, choosing New Font, and selecting my font
(Arial, bold, 12pt).

2. In the properties panel, selecting my font and choosing embed and
selecing a-zA-Z.

Neither of these methods are working :(

The first method does nothing at all, while the second method makes
the fonts dissapear all together.

Any suggestions?

-Aaron

On 8/22/06, R.A. Williamson [EMAIL PROTECTED] wrote:

This typically happens when you have not embedded the bold variant of
the font (assuming your dynamic textfield is using embedded fonts).
-rw

Aaron Roberson wrote:
 When I dynamically load text into a dynamic textfield using xml the
 text does not remain bold. How can I get the dynamic text to be bold?

 Thanks in advance,
 Aaron
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Help Formating/Styling Dynamic Text

2006-08-22 Thread R.A. Williamson
This typically happens when you have not embedded the bold variant of 
the font (assuming your dynamic textfield is using embedded fonts).

-rw

Aaron Roberson wrote:

When I dynamically load text into a dynamic textfield using xml the
text does not remain bold. How can I get the dynamic text to be bold?

Thanks in advance,
Aaron
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Multiple html formattings in a TextField

2006-08-21 Thread R.A. Williamson

Rui,

You'll need to embed three versions of Arial (normal, bold, and italic), 
for this to work.


-rw

Date: Mon, 21 Aug 2006 17:06:13 +0100
From: Rui Duarte Silva [EMAIL PROTECTED]
Subject: [Flashcoders] Multiple html formattings in a TextField
To: FlashCoders Mailing List flashcoders@chattyfig.figleaf.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;   charset=iso-8859-1

Hi,

Suppose I have a Dynamic TextField on the stage and I want to:

1. Insert html formatting such as font face=”Arial”This normal
ArialbrbThis is Arial Bold/bbriThis Arial Italic/i/font
2. Embed the font (in order to allow it to be masked and to keep
anti-aliasing)
3. Use it under a mask

Is this possible?

Rui Duarte Silva
Senior Flash Developer / Senior Product Manager

MNI - Médicos Na Internet, Saúde na Internet, SA
Alert Life Sciences Computing

www.alert-online.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] RE: Better XML parsin

2006-08-21 Thread R.A. Williamson
I've found XFactor Studio's XPath library to be invaluable: 
http://www.xfactorstudio.com/


In a similar vein, does anyone here use a solid alternative to XML 
config files, perhaps with server-side object serialization or some such?


-rw

Flash Mel wrote:

Jack - Awesome!  I'm off to the store for a while, soon as I get back
I'll give this a test.

David - Thanks for the link.  Looks useful as well.  I'll give these a
try and respond in a few thanks peeps.

Cheers,

fM



On 8/21/06, Jack Doyle [EMAIL PROTECTED] wrote:
I wrote a class that might be useful to you. Just point it at your XML 
file
and it'll load it and parse it into Arrays/Objects. See the top of the 
class
file for some documentation. It can also reverse parse (dump an object 
back

into XML format).

http://www.greensock.com/ActionScript/XMLParser.zip

This is the first time I'm making it available to the public, so I 
welcome

comments/suggestions (be kind). It's been working quite well for me for
months.

Jack Doyle

---
Date: Mon, 21 Aug 2006 15:46:24 -0400
From: Flash Mel [EMAIL PROTECTED]
Subject: [Flashcoders] Better XML parsin

Hello everyone,

There has to be a better way to parse XML.  Using for loops seems
antiquated.  Could I do a while loop and cycle through all the
possible nodes?  What else is out there for parsing XML in a cleaner
fashion?

Cheers!

fM



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com