Try root.loaderinfo.parameters.varname

Sent from my iPhone

On Apr 30, 2010, at 9:11 AM, John Singleton <[email protected]> wrote:



----- Original Message ----

From: allandt bik-elliott (thefieldcomic.com) <[email protected]>
To: Flash Coders List <[email protected]>
Sent: Fri, April 30, 2010 10:36:24 AM
Subject: Re: [Flashcoders] Template w/ XML?

hi john

xml is the de-facto way of externalising data for flash (there
are others
but xml is the best imo) and as3 implements e4x (as2 was much more
clunky for this)

Right. But that wasn't my question. What I'd like to know is if it's possible to alter how a swf is displayed dependent on variable information. For example:
1) visitor surfs to xyz.php
2) php script calls the template with the swf and feeds it the variable "page='xyz'".
3) the template swf renders data based on that.
Is that possible? If it is, then I'm sure E4X is the way to go. And if it is possible, can one alter the "guts" of the page such that one can build tables, include pics, etc?
TIA,
John



_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to