Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
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.
Copy settings in flash to document.cookie

Copy settings in flash to document.cookie

2004-02-19       - By Scott Blanchard

 Back
Reply:     1     2     3     4     5     6     7  

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)