  | |  | Textfield.prototype question | Textfield.prototype question
2004-02-17 - By Till Schneidereit
Back 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)
|
|
 |