Hi Tracy,
We are already using a cental db here...we are running a pretty
massive DB via SQL, use C#.Net for our control layer and use Flex/AS for
our presentation, which calls for the data using a WSDL...the dashboard
is for project managers...when they login to the dashboard, I need to be
able to pass their "loginId" to the widgets so they can load the various
data points for the project that person manages...i.e. widget-A loads
project statistics...and it needs to know which project's statistics to
load...the only way it will know that is by having the userId that
logged in.
Or am I not understanding what you are referring to as a "central
data model"?
Adrian
Tracy Spratt wrote:
How about just having a central data model?
Tracy Spratt
Lariat Services
Flex development bandwidth available
------------------------------------------------------------------------
*From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]
*On Behalf Of *Adrian Williams
*Sent:* Wednesday, January 21, 2009 11:53 AM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Passing variables from .swf to .swf
Hi All,
I've been researching this challenge and am not sure which of the
methods I've found is the best...need some input on this one.
I have a dashboard application (dashboard.swf) that uses multiple
swfloaders to load the various widgets that the user needs (which are
also .swf's). The trick is that I need to pass a variable into the
widgets to let them know which user logged in which allows the widget
to load the data specific to that user.
I've seen a method that utilizes a localConnection to pass a
connection string, a method and parameters...my concern is the local
connection...there can be up to 20 widgets on a dashboard and opening
an LC for each doesn't seem like it's be efficient...
Help?!
Thanks,
Adrian