A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: embed xml content in my swf

  1. #1
    Junior Member
    Join Date
    Jun 2007
    Posts
    1

    embed xml content in my swf

    Hello

    I'm importing texts and pictures from an XML file into my FLA project

    But when I export it as SWF, I still need the xml file... is it possible to "embed" the XML content when exporting my FLA to SWF, I would like to have a single "static" swf file ?

    thanking you in advance for your help :-)

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    the whole point of using an external data file is to
    easily update the swf file without editing the fla

    if you don't want to use an external file,
    simply write the variables into your fla file. ie ..

    txt0="blah,blah";
    img0="pic0.jpg";

    txt1="blah,foo,blah";
    img1="pic1.jpg";

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