View Full Version : ActionScript to randomly load Flash banners (from XML)

12-10-2009, 04:19 PM
Hi all,

I've a XML file with the following contents:

<banner src="http://www.xyz.com/swf/file1.swf"/>
<banner src="http://www.xyz.com/swf/file2.swf"/>
<banner src="http://www.xyz.com/swf/file3.swf"/>
</banners >

file1/2/3.swf are Flash banners of a certain size, let's say 500 x 100px.

The action script itself should/must reside in a SWF (no java script or others allowed) and should RANDOMLY read any display file1...3.

Would be great if you can help! Thanks.

Best regards