[Flashcoders] Passing params via url instead of FlashVars

2008-08-25 Thread Mendelsohn, Michael
Hi list... Anyone have a recommendation for passing params into a swf via the url instead of FlashVars? I need to send out an email link like so: Clickhere.html?a=1 Clickhere.html?a=2 Would it be easier to just send links to two different html pages, each with different Flash Vars? The idea

Re: [Flashcoders] Passing params via url instead of FlashVars

2008-08-25 Thread Steve Bailey
Are you restricted to using HTML? Could you use something like PHP? If you could, it'd be quite trivial. Steve -- Original message -- From: Mendelsohn, Michael [EMAIL PROTECTED] Hi list... Anyone have a recommendation for passing params into a swf via the

RE: [Flashcoders] Passing params via url instead of FlashVars

2008-08-25 Thread Cor
Use a serverside script like PHP -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael Sent: maandag 25 augustus 2008 16:04 To: Flash Coders List Subject: [Flashcoders] Passing params via url instead of FlashVars Hi list... Anyone have

RE: [Flashcoders] Passing params via url instead of FlashVars

2008-08-25 Thread Mendelsohn, Michael
Yes, html only. :-( -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Bailey Sent: Monday, August 25, 2008 10:18 AM To: Flash Coders List Subject: Re: [Flashcoders] Passing params via url instead of FlashVars Are you restricted to using HTML

Re: [Flashcoders] Passing params via url instead of FlashVars

2008-08-25 Thread Jer Brand
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Bailey Sent: Monday, August 25, 2008 10:18 AM To: Flash Coders List Subject: Re: [Flashcoders] Passing params via url instead of FlashVars Are you restricted to using HTML? Could you use something like PHP? If you could, it'd

RE: [Flashcoders] Passing params via url instead of FlashVars

2008-08-25 Thread Mendelsohn, Michael
Very cool Jer. I never looked into swfObject enough to realize it had functions. Thanks! - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Passing params via url instead of FlashVars

2008-08-25 Thread Cor
You could Javascript then... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael Sent: maandag 25 augustus 2008 16:31 To: Flash Coders List Subject: RE: [Flashcoders] Passing params via url instead of FlashVars Yes, html only

Re: [Flashcoders] Passing params via url instead of FlashVars

2008-08-25 Thread Christoffer Enedahl
I can't remember where I picked this up but this is a class that handles querystrings in as3: usage: var qs:QueryString = new QueryString(); trace( qs.parameters.id ); HTH Christoffer package your.namespace.here { import flash.external.*; import flash.utils.*; /** * Access the