Stuart,
I'm not sure I've followed this thread thoroughly, but have you embedded a
font and specified it in a text format you're using?
That is, you can't just say embedFonts = true. To do that, you must embed a
font in the Library, and use that font in the field's text format,
controlling the fi
ck again it
> displays the text again no bold/italic!
>
> - Original Message -
> From: Cory Petosky
>
> To: Flash Coders List
> Sent: Thursday, April 03, 2008 8:43 PM
> Subject: Re: [Flashcoders] Reading properties of a textbox [AS3]
>
>
> R
ash Coders List
Sent: Thursday, April 03, 2008 8:43 PM
Subject: Re: [Flashcoders] Reading properties of a textbox [AS3]
Replace that with:
formatter.italic = !currentFormat.italic;
The conditionals aren't necessary in that situation. :)
On Thu, Apr 3, 2008 at 1:21 PM, Stuart (Fun
:43 PM
Subject: Re: [Flashcoders] Reading properties of a textbox [AS3]
Replace that with:
formatter.italic = !currentFormat.italic;
The conditionals aren't necessary in that situation. :)
On Thu, Apr 3, 2008 at 1:21 PM, Stuart (FunkDaWeb) <[EMAIL PROTECTED]> wrote:
>
:o(
>
> Onwards and upwards!
>
> Thanks for your help!
>
> SM
>
>
> - Original Message -
> From: jonathan howe
> To: Flash Coders List
> Sent: Thursday, April 03, 2008 6:53 PM
> Subject: Re: [Flashcoders] Reading properties of a textbox [AS3
i change to your
> > code...
> >
> > ReferenceError: Error #1069: Property formatter not found on
> > flash.text.TextField and there is no default value.
> > - Original Message -
> > From: jonathan howe
> > To: Flash C
gt;formatter.italic = false;
> }
>
> _selectedBox.setTextFormat(formatter);
> - Original Message -
> From: jonathan howe
> To: Flash Coders List
> Sent: Thursday, April 03, 2008 5:53 PM
> Subject: Re: [Flashcoders] Reading properties of a tex
;
}
_selectedBox.setTextFormat(formatter);
- Original Message -
From: jonathan howe
To: Flash Coders List
Sent: Thursday, April 03, 2008 5:53 PM
Subject: Re: [Flashcoders] Reading properties of a textbox [AS3]
Hi, Stuart,
Based on the error message sounds like maybe you are trying to
Thursday, April 03, 2008 4:04 PM
> Subject: Re: [Flashcoders] Reading properties of a textbox [AS3]
>
>
> var formatter:TextFormat = _selectedBox.getTextFormat();
>
> On Thu, Apr 3, 2008 at 10:43 AM, Stuart (FunkDaWeb) <[EMAIL PROTECTED]
> >
> wrote:
>
> >
03, 2008 4:04 PM
Subject: Re: [Flashcoders] Reading properties of a textbox [AS3]
var formatter:TextFormat = _selectedBox.getTextFormat();
On Thu, Apr 3, 2008 at 10:43 AM, Stuart (FunkDaWeb) <[EMAIL PROTECTED]>
wrote:
> Hi all im tring to write a button that changes the fo
var formatter:TextFormat = _selectedBox.getTextFormat();
On Thu, Apr 3, 2008 at 10:43 AM, Stuart (FunkDaWeb) <[EMAIL PROTECTED]>
wrote:
> Hi all im tring to write a button that changes the format of a textbox
> from normal to italic and back again. I have written the below code but i
> cannot sea
Hi all im tring to write a button that changes the format of a textbox from
normal to italic and back again. I have written the below code but i cannot
seam to get it to work!
var formatter:TextFormat = new TextFormat();
if (formatter.italic == false)
{
formatter.italic = true;
12 matches
Mail list logo