datacloud
05-15-2002, 03:06 AM
I want to set a variable to the URL address which was typed in to reach the page.
I need to differentiate if a user enter http://www.test.com, http://12.45.34.56, or http://www.test.com/index.html
I will be using this information in a nested if statement to alter the look of the Flash screen by shuffeling the user to different scenes.
****************
I am using the flash action script on a dynamic page
www.dynamic.com
the page has variables which are parsed from the url address
ex.
www.dynamic.com/index.cfm/4,5,html
www.dynamic.com/index.cfm/6,7,html
1st number represents the articles group
2nd number represents article number
When entering the page I need to know if the url address typed into the users browse was:
www.dynamic.com
www.dynamic.com/index.cfm/4,5,html
www.dynamic.com/index.cfm/6,7,html
this in CGI varibles would be server_name + Script_name
I will then use a action script if statment to send the script to the correct scene for that page.
I need to differentiate if a user enter http://www.test.com, http://12.45.34.56, or http://www.test.com/index.html
I will be using this information in a nested if statement to alter the look of the Flash screen by shuffeling the user to different scenes.
****************
I am using the flash action script on a dynamic page
www.dynamic.com
the page has variables which are parsed from the url address
ex.
www.dynamic.com/index.cfm/4,5,html
www.dynamic.com/index.cfm/6,7,html
1st number represents the articles group
2nd number represents article number
When entering the page I need to know if the url address typed into the users browse was:
www.dynamic.com
www.dynamic.com/index.cfm/4,5,html
www.dynamic.com/index.cfm/6,7,html
this in CGI varibles would be server_name + Script_name
I will then use a action script if statment to send the script to the correct scene for that page.