Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flash Local URL Variable Passing Problems

Status
Not open for further replies.

PCSAARON

Programmer
Jul 9, 2002
131
US
I have a flash module that needs to work locally for demo purposes that is passing variables to an html file that javascript will use to parse the variables.

I am running into a problem where the getURL does not pass the variables to the local html file.

Ex:
getURL(_root.LargeImagesLink + "?image=" + "ImageName", "_blank");

It works great online, however, locally, it opens the html pages specified in the _root.LargeImagesLink variable, but does not pass the "?image=ImageName" part of the string into the file.

Does anyone know of any way around this? I saw a few issues with the flash 6 player but passing from local flash to local flash. DOes anyone know what the problem may be? Thanks in advance.
 
With a little more testing, I found that I had to URL encode the "?" and the "=". That did the trick and is now working fine for local files. If anyone has any comments to share about this, please do. Thanks.

Aaron
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top