Re: [Flashcoders] Template w/ XML?

2010-05-04 Thread John Singleton
- Original Message > From: "Merrill, Jason" > To: Flash Coders List > Sent: Tue, May 4, 2010 10:27:57 AM > Subject: RE: [Flashcoders] Template w/ XML? > > You're setting the text in the text field before the > handler > (completeXMLListener)

RE: [Flashcoders] Template w/ XML?

2010-05-04 Thread Merrill, Jason
nt: Tuesday, May 04, 2010 8:30 AM To: Flash Coders List Subject: Re: [Flashcoders] Template w/ XML? - Original Message > From: Jared > To: Flash Coders List > Sent: Fri, April 30, 2010 6:16:37 PM > Subject: Re: [Flashcoders] Template w/ XML? > > Try root.loaderin

Re: [Flashcoders] Template w/ XML?

2010-05-04 Thread John Singleton
- Original Message > From: Jared > To: Flash Coders List > Sent: Fri, April 30, 2010 6:16:37 PM > Subject: Re: [Flashcoders] Template w/ XML? > > Try root.loaderinfo.parameters.varname That got me on the right track. I have one little wrinkle to work out of t

Re: [Flashcoders] Template w/ XML?

2010-05-01 Thread Yousif Masoud
On Fri, Apr 30, 2010 at 5:11 PM, John Singleton wrote: > 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 a

Re: [Flashcoders] Template w/ XML?

2010-04-30 Thread Jared
Try root.loaderinfo.parameters.varname Sent from my iPhone On Apr 30, 2010, at 9:11 AM, John Singleton wrote: - Original Message From: allandt bik-elliott (thefieldcomic.com) To: Flash Coders List Sent: Fri, April 30, 2010 10:36:24 AM Subject: Re: [Flashcoders] Template w

Re: [Flashcoders] Template w/ XML?

2010-04-30 Thread John Singleton
- Original Message > From: allandt bik-elliott (thefieldcomic.com) > To: Flash Coders List > 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 >

Re: [Flashcoders] Template w/ XML?

2010-04-30 Thread allandt bik-elliott (thefieldcomic.com)
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) i'd recommend picking up essential actionscript 3 by colin moock ( http://www.amazon.co.uk/Essential-ActionScript-3-0-Colin-Moock/d

[Flashcoders] Template w/ XML?

2010-04-30 Thread John Singleton
Hi; I've built a template for a Web site that I'd like to use for all pages, but be able to change the content of each page. Now, if I were programming in, say, PHP, I could write a script that could determine which page is being called and then from there call data pertinent only to that page a