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 Ashley Rajaratnam

 Back
Reply:     1     2     3     4     5  


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)