Assuming the loaded trace is not going through... Try tracing success
outside of the conditional. If you aren't getting any traces, make sure the
class is importing correctly. Double check your class path and that your
class defintion corresponds to the appropriate package. If it's just a
matter of success, then your xml doc is flawed or your path is incorrect.

On 7/30/07, Omar Fouad <[EMAIL PROTECTED]> wrote:
>
> class LoadXML {
>
>     function LoadXML() {
>         var xmlData:XML = new XML();
>
>         xmlData.ignoreWhite= true;
>         xmlData.onLoad = function (success) {
>             if(success) {
>                 trace("loaded");
>             }
>         }
>         xmlData.load("data.xml");
>         trace(xmlData);
>     }
> }
> this is not working
>
> --
> Omar M. Fouad - Digital Emotions
> http://www.omarfouad.net
>
> +2010 - 2346633 - +2012 - 2644441
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> 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
>
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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

Reply via email to