Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 10-30-2008, 03:53 PM   #1
CatFurnace
Flash Maths Partisan
 
Join Date: Apr 2007
Posts: 4
Question XML file included in published EXE?

Hi Guys,
I'm working on an old project which was originally made for use on the web. It draws in an XML file with lots of text in, which it then parses to use in the movie.

It uses code like this -
ActionScript Code:
var the_xml = new XML(); the_xml .ignoreWhite = true; the_xml .onLoad = function(success){ //Success! } xmlLoadPath = "data/myFile.xml"; the_xml.load(xmlLoadPath);
I've now been asked to make an EXE file out of it, which, if possible, should be a single file, which does not connect to the internet.
Is there any way of including my current XML file in the EXE when I publish? I've tried importing it to the library, but that does not work.
Any advice would be greatly appreciated.
Cheers.
CFX.

Last edited by CatFurnace; 10-30-2008 at 03:56 PM.
CatFurnace is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing XML file through Flashvars Everlongdrummer ActionScript 3.0 3 08-28-2008 07:47 AM
Prohibit direct access to XML file Morrandir ActionScript 3.0 3 02-27-2008 06:13 PM
replace one xml file with another kaptivate ActionScript 2.0 0 02-04-2008 09:30 PM
XML scope question X-Fe@R ActionScript 2.0 1 07-19-2007 11:12 AM
Loading Data from XML File jennifleac ActionScript 2.0 0 07-02-2007 06:33 PM


All times are GMT. The time now is 03:21 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.