Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Object destruction when switching to different frames

Object destruction when switching to different frames

2004-03-08       - By bryan.rice

 Back
Reply:     1     2     3     4     5     6  

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.