• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 217
  • Last Modified:

How to emebed .XML into flash to make a self contained .SWF

Hi ,  I need a self contained .SWF
I need to insert content of config.xml file in flash as3 code (to write all configurations in flash file), and remove code responsible for loading that file and parsing it). That way I can play swf file without need of xml since all configurations are "baked" in flash file.  

Is it possible ?

Any ideas on that or tutorials?

Please download the files below to view the project I'm working on. Feel free to modify this file and send back.

https://www.dropbox.com/sh/f7kb2aa5heito0g/AAACxMTaBcZ0NPgbz-l2ilsva?dl=0
0
Martin Julien
Asked:
Martin Julien
1 Solution
 
tailoreddigitalCommented:
You could either embed the XML using the [Embed] metadata tag or paste your XML in a class.
Have a look at this thread
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now