  | |  | Object destruction when switching to different frames | Object destruction when switching to different frames 2004-03-08 - By bryan.rice
Back The technique I use, is not to use Frames at all. I like Frames certain things, but not for RIA development. If possible, I would really look at creating layout algorithms for your Flash movies to hide and restore parts of the GUI as you need them and use ActionScript to do any animations you require.
That being said, I would look into using a combo of SharedObjects and DataProviders to maintain state. Before you leave a frame update a DataProvider with the current data and store it in a SharedObject then when you come back to a Frame, check to see if that DataProvider exists in the SharedObject - if it does then you have been here before and then just dump the DataProvider into the component.
blue skies, bryan
On Monday, March 8, 2004, at 12:35 PM, John_Sheridan wrote:
> With that said, are there any new techniques > that are being used, in order to maintain state? As of now (for > example), I have 5 distinct frames, each with different sets of > controls > representing different data fields in a retrieved RecordSet.
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:106366 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
Earn $52 per hosting referral at Lunarpages.
|
|
 |