  | | | Can JSFL load external data? | Can JSFL load external data? 2004-05-27 - By Ibis Fernandez
Back Have you tried creating a text file with a .as extension, for example; as variables.as and place all your variables and their values in that file....
In your main fla file at the top just place URI to the file as an include like this:
#include "variables.as"
This should load up all the variables in your text file even ever the thing loads up.
-- --Original Message-- -- From: Extendflash-bounces@(protected) [mailto:Extendflash-bounces@(protected)] On Behalf Of Marco Baraldi Sent: Thursday, May 27, 2004 10:10 AM To: Extendflash@(protected); ml@(protected) Subject: [ExtendFlash] Can JSFL load external data?
This is what I'd like to achieve: load variables from an external source (xml/txt), so that I can parse this info, build via JSFL some objects/arrays, and then re-use these objects/arrays to create keyframes and write some AS lines of code in them.
This procedure could seem quite odd, but I have a 'loader' file I can't modify and some target files with hundreds of keyFrames to be changed. Any hints about getting this done? Thanks in advance MB
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Extendflash mailing list Extendflash@(protected) http://flashguru.co.uk/mailman/listinfo/extendflash_flashguru.co.uk
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Extendflash mailing list Extendflash@(protected) http://flashguru.co.uk/mailman/listinfo/extendflash_flashguru.co.uk
|
|
 |