Hi,

I've been programming for awhile, but am new to Flex and was wondering
what the best way of passing values from screen to screen is.

Currently, I have two canvases which have a master detail
relationship.  When I click on a button in the master canvas, I want
to pass the record id to the detail canvas so that the detail canvas
can query the server for the details data.  simple master detail.

To code this in flex, what I did was when the button was clicked on
the master, I saved the record id into a Local Shared Object, and when
my Detail canvas appears, I grab the id from said Local Shared Object
and make my server side request.

This works fine, but I was wondering -- is this the Best Practice way?
   I haven't seen much by way of design patterns etc for flex
pages(I've seen the AS book) so was wondering if I should be doing
this differently.

Thanks


Reply via email to