# XML the code for SWF's?

**URL:** <https://forum.kirupa.com/t/xml-the-code-for-swfs/270677>\
**Category:** programming\
**Created:** [September 12, 2008, 8:01am UTC](https://forum.kirupa.com/t/xml-the-code-for-swfs/270677 "2008-09-12T08:01:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jiruharudo](https://avatars.discourse-cdn.com/v4/letter/j/97f17d/32.png) [@Jiruharudo](https://forum.kirupa.com/u/Jiruharudo)\
**Post date:** [September 12, 2008, 8:01am UTC](https://forum.kirupa.com/t/xml-the-code-for-swfs/270677/1 "2008-09-12T08:01:26Z")

</div>

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:

```auto
<?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. \*\*[SIZE=“1”](Which apparantly doesn’t affect flashfiles like swf?)  
[/SIZE]  
Anyone know the appropiate code for _storing_ swf files?

Please help me with this…
