-
Hi
I was wondering if someone good help me, I have produced a menu using flash 5 and need the links to carry an asp varible..for example one page needs to link to the page corporate.asp, but also carry the variable
<% = mscsShopperID %> but once I have loaded it it doesnt seem to translate the asp.
I currently have it set up like this
on (press) {
getURL ("corporate.asp&mscsshopperid=<% = mscsShopperID %>");
}
I would be so grateful for someone help as I really need to get it working.
Thanks very much for your help.
Caz
-
You should getUrl the exact url as you would when you type in the url in the adress bar of your browser, that means
'yourasp.asp?yourvariables'
In this case:
Code:
on (press) {
getURL ("corporate.asp?theFirstVariable[operator]theFirstValue&theSecondVariable[operator]theSecondValue&}
where [operator] should be replaced by an operator.
Good luck
DamnGzM.
-
Hi caz,
you should generate a SessionID when a user enter your site. then you dont need to pass variables in flash. in each asp-script you then can access his SessionID.
But if you rally want to handle things within Flash, you first have to load " mscsShopperID" into flash, using loadVariables. then you can write:
getURL ("corporate.asp?mscsshopperid=" add _root.mscsShopperID, "your_target");
I hope i could help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|