A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [MX] Load SWF via XML - Desperate

  1. #1
    Junior Member
    Join Date
    Aug 2008
    Posts
    1

    [MX] Load SWF via XML - Desperate

    Hi,

    Hope this is the right forum.

    I have an XML file that loads images into a flash movie. Can someone help me change the tags so that I can load a SWF file instead of an image.

    This is the code in the XML file.
    You can seethat I have tried just putting two.swf in place of two.jpg - it just shows a blank area tho.

    Many thanks in advance.

    -------------------------------------------------

    <image>
    <filename>example.jpg</filename>
    <caption></caption>
    <width>940</width>
    <height>480</height>
    </image>

    <image>
    <filename>two.swf</filename>
    <caption></caption>
    <width>640</width>
    <height>480</height>
    </image>

  2. #2
    Ryan Thomson EvolveDesigns's Avatar
    Join Date
    Oct 2001
    Location
    British Columbia
    Posts
    3,338
    using loadMovie to do this will work with swfs or jpgs.. can you post your code?
    Evolve Designs Interactive Media
    the natural selection

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center