all groups > flash (macromedia) > august 2006 >
You're in the

flash (macromedia)

group:

Link with a query string



Re: Link with a query string -->dan mode
8/1/2006 4:02:00 PM
flash (macromedia): Where are you putting this link?

--


Dan Mode
*THE online Radio* http://www.tornadostream.com
*Must Read* http://www.smithmediafusion.com/blog
*Flash Helps* http://www.smithmediafusion.com/blog/?cat=11

[quoted text, click to view]

Link with a query string Jim Switzer
8/1/2006 8:16:41 PM
I am having problems when placing a link to an .asp page with a query string in
it. Here is the link:


http://www.destaco.com/new_products.asp?loc=<%=Request.QueryString("loc")%>&lang
=<%=Request.QueryString("lang")%>

The developer I'm working with says that this link is not working for him. Any
ideas? I did try replacing the " with ' around loc and lang, but that didn't
seem to work. Any insights would be greatly appreciated. Thanks.
Re: Link with a query string Jim Switzer
8/2/2006 12:49:38 PM
I'm putting this link on a button. Is that what you were asking? Here's the
code on the button:

on (release) {
//Goto Webpage Behavior

getURL("http://www.destaco.com/new_products.asp?loc=<%=Request.QueryString('loc
')%>&lang=<%=Request.QueryString('lang')%>", "_parent");
//End Behavior
}

Let me know if that helps clarify this, or if you need more info. Thanks.
Re: Link with a query string -->dan mode
8/3/2006 5:01:19 PM
You can't put asp code like that within Flash. If you have those same
variables in Flash you can do this:

on (release) {
//Goto Webpage Behavior

getURL("http://www.destaco.com/new_products.asp?loc"+loc+"&lang="+lang+",
"_parent");
//End Behavior
}

Do you have those variables in Flash? Or, are you trying to pull them from
the asp page?

--

Dan Mode
--> Adobe Community Expert
*Flash Helps* http://www.smithmediafusion.com/blog/?cat=11
*THE online Radio* http://www.tornadostream.com
*Must Read* http://www.smithmediafusion.com/blog



[quoted text, click to view]

Re: Link with a query string Jim Switzer
8/4/2006 3:59:44 PM
Here's how I understand this working. The developer is placing the Flash movie
on the company's homepage (an .asp page). When a user clicks on a link within
the Flash movie they will go to a new asp page that is pulled using the
variables in the query string. This is as I understand it, but I'm not a
programmer. I don't know if that helps. Thanks for the input!
AddThis Social Bookmark Button