Hi all,
To be able to easily add characters to all the textfields in my fla (not
only those allready on stage), I want to find all the textfields in all
movieclips in the library.
To find all the library items I use this script:
var result = "";
var myItem;
for (var i = 0; i < fl.getDocumentDOM ().library.items.length; i ++)
{
myItem = fl.getDocumentDOM ().library.items [i];
result += myItem.itemType + " -> ";
result += myItem.name + "\n";
for (var j in myItem)
{
fl.trace (" * " + j + ": " + myItem [j]);
}
fl.trace (result)
}
When 'itemType == movie clip' I want to check if there is a textfield in
that movieclip. Does anyone know how to do that?
Thanks,
Remco Hoff
[Fabrique, Delft, Netherlands]
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com