Skip to main content
Venian
Inspiring
March 17, 2009
Question

Read variables from URL query string

  • March 17, 2009
  • 3 replies
  • 452 views
Hi. I need to read the variables from a URL: www.domain.com/index.html?var=1&var=2&var3=3.
I tried all sorts of info from google and i coudn't make it work.

I'm interested in the option when i don't need to do any modifications to the html file, but just do all the coding in flash. I found several examples that are using ExternalInterface and could not make any single one of them work.

Can anyone help?

Tnx.
This topic has been closed for replies.

3 replies

kglad
Community Expert
Community Expert
March 17, 2009
externalinterface doesn't work alone. you need to use javascript, too. recheck those examples.
Venian
VenianAuthor
Inspiring
March 17, 2009
Hi. I tried just coding in flash. I didn't made any Java. Isn't possible to do it all from flash without any java or anyother script?

Thanks.
kglad
Community Expert
Community Expert
March 17, 2009
using externalinterface with javascript will work. what did you try that failed?