  | |  | Textfield.prototype question | Textfield.prototype question
2004-02-17 - By Ashley Rajaratnam
Back
Could try overloading
TextField.prototype.TextCreateTextField
Or the only other way I can think of atm would be to add something like
this possibly in the first frame of the movie...
It 's not very tidy solution though :s
for(varobj in _root){
trace( "name: "+varobj+ " The type: "+typeof(_root[varobj]))
if ((typeof(_root[varobj])) == "object "){
trace( "we got an object could be textfield ");
//if do some condition maybe based on name or property to see
if it // is really a textField set the embedfonts property
_root[varobj].embedFonts = true;
}
}
-- --Original Message-- --
From: Robin Evans [mailto:robin.evans@(protected)]
Sent: Dienstag, 17. Februar 2004 14:41
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:104453
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |