RE: [Flashcoders] Retrieving URL params from embedded code.

2008-07-11 Thread Merrill, Jason
Should be able to with Javascript and External Interface, don't know the
exact code for that though...

Jason Merrill 
Bank of America 
Enterprise Technology & Global Risk L&LD 
Instructional Technology & Media

Join the Bank of America Flash Platform Developer Community 

Are you a Bank of America associate interested in innovative learning
ideas and technologies?
Check out our internal  GT&O Innovative Learning Blog & subscribe. 

 

>>-Original Message-
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of ACE Flash
>>Sent: Friday, July 11, 2008 11:23 AM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: [Flashcoders] Retrieving URL params from embedded code.
>>
>>hey there,
>>
>>I was try to retrieve the URL params by using _level0.url in flash
>>
>>
>>I knew the flashvars, but I was curious about to retrieve the 
>>params from embedded url directly. is that possible?
>>
>>sample embedded code=
>>
>>
>>http://www.msn.com"; quality="high"
>>bgcolor="#ff" width="300" height="200" name="myflash" 
>>align="middle"
>>allowScriptAccess="always" allowFullScreen="false"
>>type="application/x-shockwave-flash" pluginspage="
>>http://www.macromedia.com/go/getflashplayer"; />
>>
>>thanks
>>___
>>Flashcoders mailing list
>>Flashcoders@chattyfig.figleaf.com
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Retrieving URL params from embedded code.

2008-07-11 Thread Andrew Murphy
How about using the LoaderInfo class?

LoaderInfo(this.root.loaderInfo).parameters;

That should, I believe, return an object with key/value pairs of the vars
passed into the .swf file via the object embed on the webpage.



Andrew Murphy
Interactive Media Specialist
[EMAIL PROTECTED]

Delvinia
214 King Street West, Suite 214 
Toronto Canada M5H 3S6

P 416.364.1455 ext. 232  F 416.364.9830  W www.delvinia.com

CONFIDENTIALITY NOTICE
This email message may contain privileged or confidential information. If
you are not the intended recipient or received this communication by error,
please notify the sender and delete the message without copying or
disclosing it.

AVIS DE CONFIDENTIALITÉ
Ce message peut contenir de l'information légalement privilégiée ou
confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par
erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en
détruire le contenu sans le communiquer a d'autres ou le reproduire.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ACE Flash
Sent: Friday, July 11, 2008 11:23 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Retrieving URL params from embedded code.

hey there,

I was try to retrieve the URL params by using _level0.url in flash


I knew the flashvars, but I was curious about to retrieve the params from
embedded url directly. is that possible?

sample embedded code=


http://www.msn.com"; quality="high"
bgcolor="#ff" width="300" height="200" name="myflash" align="middle"
allowScriptAccess="always" allowFullScreen="false"
type="application/x-shockwave-flash" pluginspage="
http://www.macromedia.com/go/getflashplayer"; />

thanks
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders