Solved

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

Posted on 2015-02-09
1
174 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
ID: 40627134
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Flash Converter 8 113
camera as in T5i - alternatives where tripod not applicable 8 103
Interference in wifi 13 99
Text Transformation using ActionScript 3 5 114
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
Viewers will get an overview of how to make and use Drum Racks in Ableton Live. Load new Drum Rack into empty MIDI track: Fill rack with audio samples: Re-arrange sample slots as necessary: Adjust parameters of each slot to tailor each sound a…
The goal of the tutorial is to teach the user how to how to record live broadcast.

911 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

22 Experts available now in Live!

Get 1:1 Help Now