External XML Loading

var xmlUrl:URLRequest=new URLRequest("myxml.xml");
var xmlob:URLLoader=new URLLoader(xmlUrl);
xmlob.addEventListener(Event.COMPLETE, xmloaded);
function xmloaded(event:Event)
var dataxml=XML(event.target.data);
function loadProgress(event:ProgressEvent):void {
var percentLoaded:Number = event.bytesLoaded/event.bytesTotal;
percentLoaded = Math.round(percentLoaded * 100);
trace("Loading: "+percentLoaded+"%");

1 comment:

  1. It’s a very good and informative post. Your resources are very nice. I like your post and thanks for sharing your knowledge with us!
    This will helped me a lot to increase the quality of my web design services


Thanks for comment, We are professionals in Web Designing, Flash, E-learning, Logos Designing, Templates Making, Business Cards, Flash Banners, Flash Components

If you need any of assistance, please contact to swamy.webdesigner@gmail.com

Note: Only a member of this blog may post a comment.