Aaron,

You can pass URL variables to you Flex application via the query 
string:

http://yourserver/yourapp.swf?name=Joe&age=22

You can retreive them within Flex using:

mx.core.Application.application.parameters.name 

Michael Ramirez

--- In [email protected], "meathead" <[EMAIL PROTECTED]> wrote:
>
> Thanks michael,  
> Excel integration right now is way too much for what I need.  
> 
> I did however, come up with a hack job to get what I needed done.  
> What I've got now is I put a field in a database called tag in a 
> table I hold user info.  If another application needs to hit the 
> flex and send it to a different current state and run other stuff, 
> then I have the initial application fill in this field.  When my 
> flex app runs it calls an HTTPService to see if this field is 
filled 
> or not.  If it is, then it does a bunch of things and presto, into 
> the data.  Otherwise, the main state runs.  This will work for me 
as 
> I'm grabbing the user's login via the aspx xml page I'm hitting 
with 
> the HTTPService.  I know it ain't pretty, but it does work so what 
> the user doesn't know, doesn't hurt them.  
> 
> I would like to hear other ideas to see if there is anything better 
> than this.  
> 
> 
> --- In [email protected], "michael_ramirez44" 
> <michael_ramirez44@> wrote:
> >
> > Aaron,
> > 
> > The guys over at Farat Systems have Flex and Excel talking. 
> > http://flexblog.faratasystems.com/?p=85
> > 
> > Michael Ramirez
> > 
> > --- In [email protected], "meathead" <makacos@> wrote:
> > >
> > > I don't know where to even start to look for this solution.   
> What 
> > I 
> > > want to do is have a local application(access, excel, etc.) 
have 
> a 
> > > button that launches a flex application.  Easy enough.  
> > >       However, depending on which peice of data the original 
> > > application is on, I'd like my flex application to go to that 
> piece 
> > of 
> > > data.  Right now my flex application is a datagrid with a link 
> > button 
> > > per line.  Clicking on the link button, the application will 
> change 
> > > states and show more info for that original data grid line.  Is 
> it 
> > > possible to start the flex application in the secondary state 
> based 
> > on 
> > > passed in info from another app?  If so, point me to the right 
> > > direction.
> > > 
> > > Thanks,
> > > Aaron
> > >
> >
>


Reply via email to