tags:

views:

184

answers:

2

Hi

I want to create banner and do exchange with others. Banner will be flash because it will load just entry titles with URL's from XML, which is on my site.

Is this possible at all?
Could someone point me to some tutorial or give me some tips?

Thanks in advance

A: 

You could use ActionScript to load the XML from the other sites.

When getting data via ActionScript you can use the async URLLoader or use a JavaScript function via the synchronous ExternalInterface.call. You can find information about both methods at www.actionscript.org.

URLLoader Example

var loader:URLLoader = new URLLoader();
loader.addEventListener( IOErrorEvent.IO_ERROR, this.ioError );
loader.addEventListener( Event.COMPLETE, xmlLoaded );

var request:URLRequest = new URLRequest(file);
loader.load(request);

ExternalInterface Example

if (ExternalInterface.available)
return ExternalInterface.call(jsFunctionName, optionalArgs);
Jason Rowe
A: 

Great thanks :) I can't give you best answer, somehow i lost my cookie :\
and system doesn't recognize me

Kenan