  | |  | reducing variables passed by getURL | reducing variables passed by getURL 2004-03-11 - By Cortlandt Winters
Back Hi Mathew,
The get will pass all of the variables passed from a scope. The root is just the default. If you just want to send a few variables (and if you don't want your scope to be cluttered up by returned values) you can create a movieclip, put the variables in that movieclips scope and call the getUrl from that scope. It was a bit strange and I don't think it was documented, so the behavior may have even unintentionally changed at some point since I used this in F5, but that was a workable way of passing data then. I haven't used it in a long time, but I'll see if I can dig up an old example of this and post it.
Hope all is going well there,
Cort
-- --Original Message-- -- From: Matthew Horn [mailto:mhorn@(protected)] Sent: Thursday, March 11, 2004 12:14 PM To: flashcoders@(protected) Subject: [Flashcoders] reducing variables passed by getURL
>From my understanding, getURL passes all the variables available to the root scope when it's called.
This is a bit of a headache since I have lots of them and don't want to send unnecessary packets (POST method) or make an unnecessarily ugly URL (GET method).
Is there a way to instruct getURL() to only used "opted in" variables? There are 3 known variables that I want sent, and the rest can just go to hell, for all I care.
Tnks for any help. :)
-- -----
Matthew J. Horn
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- 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:106643 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- 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:106653 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- 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.
|
|
 |