Solved

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

Posted on 2015-02-09
1
190 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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,…
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…
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…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

726 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