Solved

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

Posted on 2015-02-09
1
163 Views
Last Modified: 2015-02-23
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
Comment
Question by:Martin Julien
1 Comment
 
LVL 23

Accepted Solution

by:
tailoreddigital earned 500 total points
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
Viewers will learn how to turn a Live Set into a compressed Live Pack file, and how to install Live Packs. Make: File > Collect All And Save: File > Manage Files: Click Manage Project: Click Create Pack: Select save location: Install: Doub…
Viewers will learn key ranges in Sampler to make their sampled instruments sound more realistic Gather samples of various notes and drag them to Key Range panel: Set proper root key for each sample: Select all the samples with Command-A (or Ctrl…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now