We've designed our application to be many small flex apps
embedded in HTML pages.
If the site was pure HTML then field values would be
remembered as the user clicks forward and back.
The BIG problem we have is that field values are forgotten
between forward and back.
Is there a clean way to implement this? We could store field
values in a shared object but it gets messy when trying to work out
exactly how to know if this page has been loaded as a result of
I think using multiple HTML pages with Flex partially defeats
the purpose of Flex which is to avoid page refreshes. A benefit of
Flex is that you can change the UI on the fly in response to data
rather than having the user wait for pages to load.
If you app is made up of multiple SWFs, then perhaps a main
SWF could be used to load and unload them and you could store the
data on the forms in something like a global class or variable.
If you really must use multiple pages then you can do the old
HTML trick of passing the values around as request parameters which
can be be read by the SWF.