[flexcoders] Global variable

2009-02-11 Thread christophe_jacquelin
Hello, How to declare a global variable (for several mxml files) that is a common image ? Thank you, Christophe,

Re: [flexcoders] Global variable

2009-02-11 Thread Fotis Chatzinikos
embed the image in the main application and pass references of it where needed On Wed, Feb 11, 2009 at 2:51 PM, christophe_jacquelin christophe_jacque...@yahoo.fr wrote: Hello, How to declare a global variable (for several mxml files) that is a common image ? Thank you, Christophe,

Re: [flexcoders] Global variable

2009-02-11 Thread Paul Andrews
- From: Fotis Chatzinikos To: flexcoders@yahoogroups.com Sent: Wednesday, February 11, 2009 12:54 PM Subject: Re: [flexcoders] Global variable embed the image in the main application and pass references of it where needed On Wed, Feb 11, 2009 at 2:51 PM, christophe_jacquelin

[flexcoders] Global variable - Best Practice

2007-09-08 Thread Ben Marchbanks
I have an application in which I current set a [Bindable] variable baseURL to the application URL. I have been accessing this variable from other components in the app using this.parentDocument.baseURL. This is a clunky solution since components may have their own children so I windup with

RE: [flexcoders] Global variable - Best Practice

2007-09-08 Thread Gordon Smith
One way is parentApplication.baseURL - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ben Marchbanks Sent: Saturday, September 08, 2007 3:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Global variable - Best

Re: [flexcoders] Global variable - Best Practice

2007-09-08 Thread Paul Andrews
You could use a static Class/Singleton to give you a single variable accessible from anywhere. Paul - Original Message - From: Ben Marchbanks [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, September 08, 2007 11:01 PM Subject: [flexcoders] Global variable - Best

Re: [flexcoders] Global variable - Best Practice

2007-09-08 Thread Sheriff
maybe have it as an event and just listen for it - Original Message From: Gordon Smith [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, September 8, 2007 5:25:00 PM Subject: RE: [flexcoders] Global variable - Best Practice One way

[flexcoders] Global Variable or session Attribute

2005-07-21 Thread jaya_selva
Hi, I want to set a variable which can be accessed from all the components (Session scope) and can be modified from any place. I want to maintain whether the user is logged in , ie when the user logs in I want to set the flag to true , and I should be able to check this flag from all my

RE: [flexcoders] Global Variable or session Attribute

2005-07-21 Thread Matt Chotin
for flashgateway.Gateway.getHttpRequest() Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jaya_selva Sent: Thursday, July 21, 2005 12:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Global Variable or session Attribute Hi, I want to set a variable which can