|  | loadVars? |  | |
| | | javono |  |
| Posted: Sat Aug 30, 2008 10:59 am Post subject: loadVars? |  |
HI all
I am new to using loadVars, I have read through the language reference for loadVars and looked back at some of the previous posts.
My question is simple, can loadVars pull down variables from the address bar or do I have to explicitly load them from a PHP file on my server.
John Walsh LINK |
| |
| | | kglad |  |
| Posted: Sun Aug 31, 2008 12:36 am Post subject: Re: loadVars? |  |
| flash can't read the address bar. you'll need to use javascript and the externalinterface class. |
| |
| | | javono |  |
| Posted: Mon Sep 01, 2008 2:05 pm Post subject: Re: loadVars? |  |
Thanks kglad
I have already dabbled with the externalInterface class, will invest some more time reading up on it! |
| |
| | | kglad |  |
| Posted: Mon Sep 01, 2008 3:27 pm Post subject: Re: loadVars? |  |
| |
| | | Björn Ritzl |  |
| Posted: Tue Sep 02, 2008 9:43 am Post subject: Re: loadVars? |  |
javono skrev:
| Quote: | Thanks kglad
I have already dabbled with the externalInterface class, will invest some more time reading up on it!
|
Isn't the best solution to use javascript to extract the needed URL parameters and pass them as parameters to the SWF at startup, using SWFObject or similar framework for embedding SWF content? No need for external interface meddling then.
/Björn |
| |
|
|