Steven, Thanks for the reply. I realise my question wasn't quite clear - I wanted to access objects in the request object on the client. Or more specifically, pass a complex object that is available to the JSP into the Flex app.
This page was what I was after... http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?href=00002253.htm But it seems that I am limited to passing simple strings. So to use complex data for the flex app to initialize I need to call a remote service (RemoteObject, HTTP, Webservice), yes? Dan Steven Webster wrote: >Dan, > > > >>This may be a stupid question, but if your flex app is >>wrapped in in a jsp file (using something like <mm:mxml >>source="..."/>) can you access variables in request scope? >>Or can you pass selected variables into a flex app? >> >> > >There's also a section in the docs "Passing Request Data to Flex >Applications": > >http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/js/html/w >whelp.htm?href=00002247.htm > >basically, you just declare a public var on your application for >anything you intend passing in as a request param, and then these >request params are assigned to your public vars. > >Hope that helps, > >Steven > >-- >Steven Webster >Technical Director >iteration::two > >This e-mail and any associated attachments transmitted with it may contain >confidential information and must not be copied, or disclosed, or used by >anyone other than the intended recipient(s). If you are not the intended >recipient(s) please destroy this e-mail, and any copies of it, immediately. > >Please also note that while software systems have been used to try to ensure >that this e-mail has been swept for viruses, iteration::two do not accept >responsibility for any damage or loss caused in respect of any viruses >transmitted by the e-mail. Please ensure your own checks are carried out >before any attachments are opened. > > > Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/