Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Textfield.prototype question

Textfield.prototype question

2004-02-17       - By Till Schneidereit

 Back
Reply:     1     2     3     4     5  

this should be possible using the following code:

/*NOTE: there might be unwanted wrapping caused by outlook...*/
MovieClip.prototype._createTextField = MovieClip.prototype.createTextField;

MovieClip.prototype.createTextField = function (){
   this._createTextField.apply(this, arguments);
   this[arguments[0]].embedFonts = true;
}

cheers,
till


__ ____ ____ ____ ____ ____ ____ ____ ____ ___
Till Schneidereit Grosse Bleichen 34

phone ++49(0)40 41161823 20354 Hamburg
fax ++49(0)40 41161829 germany
__ ____ ____ ____ ____ ____ ____ ____ ____ ___

> -- --Original Message-- --
> From: Robin Evans [mailto:robin.evans@(protected)]
> Sent: Tuesday, February 17, 2004 2:41 PM
> To: flashcoders
> Subject: [Flashcoders] Textfield.prototype question
>
> Does anybody know if there is any way to add an onLoad
> capability to the
> generic TextField object? Basically I want to change the default of
> TextField.embedFonts = true.
>
> thanks
>
> Robin Evans
> Flash Developer
> www.eurobet.com
> mailTo:robin.evans@(protected)
>
>
>
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
> -- ------
> Supported by Fig Leaf Software
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
> -- ------
> Be sure to check the archives and the wiki:
> http://chattyfig.figleaf.com/
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
> -- ------
> http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104446
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
> -- ------
> To unsubscribe send a blank e-mail to:
> Normal Mode: flashcoders-unsubscribe@(protected)
> Digest Mode: flashcoders-digest-unsubscrive@(protected)
>


=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104456
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)