  | |  | Copy settings in flash to document.cookie | Copy settings in flash to document.cookie
2004-02-19 - By Scott Blanchard
Back I have a flash movie which contains a series of checkbox items. When the
user clicks submit button, after making their selections on the checkboxes,
I need to call an external javascript in order to set a true/false cookie
value for each of the checkbox items.
I think it might involve a for loop, but I 'm not certain as to how to best
get a collection object containing the checkbox mcs. Then the problem is how
to reliably send the values to the javascript function.
Say I have four mcs named:
startupNag_mc
toolbarNag_mc
unloadNag_mc
loadingNag_mc
And I want to create a corresponding set of cookies on the client (not
shared object cookies) like so:
startupNag = true;
toolbarNag = false;
unloadNag = true;
loadingNag = false;
The true/false values would reflect the checked/unchecked values passed on
the sumbit from flash.
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
Click, drag and drop. My MSN is the simple way to design your homepage.
http://click.atdmt.com/AVE/go/onm00200364ave/direct/01/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
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:104762
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |