look, maybe, here ...
// just declaring the dataType won't be enough
var xmlData:XML;
trace(xmlData instanceof XML); // <- outputs: false
// declaring the dataType and assigning an instance of XML
var xmlData:XML = new XML();
trace(xmlData instanceof XML); // <- outputs: true
typeof doesn't and will never return XML as a result. Look up the
table in the help panel for 'typeof':
String:string
Movie clip:movieclip
Button:object
Text field:object
Number:number
Boolean:boolean
Object:object
Function:function
hth,
Cedric
Sorry, typo
The fla says 'var xmlData:XML'.
Any other suggestions?
Thanks,
Willem
Op 23-aug-2007, om 10:16 heeft Cedric Muller het volgende geschreven:
and if you do:
var xmlData:XML;
??
Cedric
var xmlData:xml;
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
Geografiek is a Dutch, Utrecht-based map and chart design company.
Willem van den Goorbergh can be contacted by telephone: (+31)
30-2719512 or cell phone: (+31)6-26372378
or by fax: (+31)302719687
snail mail: Hooghiemstraplein 89 3514 AX UTRECHT
Visit our website at: http://www.geografiek.nl
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
_______________________________________________
[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
_______________________________________________
[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