Mailing List
Home
Forum Home
Flash Pro
Subjects
Subject: RE: Firework Effect
Web Service Results
Flash Interface with 10mb xml file
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash MX 2004 Sucks
Reading and displaying RSS feeds in Flash MX
Flash and QuickTime VR
Textfield prototype question
XML to Object help
Order of events per frame
MX2004 Dataset itemClassName
memory management removeMovieClip /
Event Dispatcher between classes
Help: MX 2004 How to script a print button to print the entire sli
ScrollPane component doesn 't auto update
setInterval bug identified and fixed
setInterval bug identified and fixed
Listener Object 's best practice
 
Can JSFL load external data?

Can JSFL load external data?

2004-05-27       - By Ibis Fernandez

 Back
Reply:     1     2     3     4     5     6     7     8  

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