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.
reducing variables passed by getURL

reducing variables passed by getURL

2004-03-11       - By Cortlandt Winters

 Back
Reply:     1     2     3  

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.