PDA

View Full Version : XML the code for SWF's?



Jiruharudo
September 12th, 2008, 05:01 AM
Hi all,

I'm making this simple flash banner where you can put all you wish to show in a XML file, and flash will show these one by one.

This is the code for the XML:


<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<images>
<pic>
<image>02.jpg</image>
</pic>

<pic>
<image>03.jpg</image>
</pic>

<pic>
<image>smmovie.swf</image>
</pic>

</images>

My problem is with the swf, it does show, but doesn't show/scale as it should.

It's 'prolly not the flash script, cuzz I'm using scaling, not height/width. (Which apparantly doesn't affect flashfiles like swf?)

Anyone know the appropiate code for storing swf files?

Please help me with this..