Solved

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

Posted on 2015-02-09
1
181 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The advancements in today's technology are unparalleled. Much of the technology that we have could not have been imagined twenty years ago. One of the latest additions to the list of technological advances is virtual reality. Virtual reality has an …
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 how to use Macros for greater control over Rack parameters in Ableton Live. Group devices into a Rack by selecting them and pressing Command-G (Ctrl-G on PC): Control-click (Right Click on PC) a parameter to access pop-up menu, …

816 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