|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello, you all. I have a question for all you action-script guru’s because I do not have a clue!
The Marketing dept. here at work have decided they need track clicks from webmasters having unique ID numbers from page to page. Say that a surfer arrives at a page from an address such as: URL To include this extension to a normal HTML text anchor tag, it would look like so: Code: <A HREF="join.html<? revid(); ?>"onClick="exit=false"></A> Ok, easy. What I need to accomplish, is to keep track of the users unique referral number (1014), when clicking onto a Flash nav link, thus incorporating the PHP script (revid). So that, when they go to a new page via the Flash nav, the address bar will still show their ID number For example… They enter here: URL Click onto the “continue tour” Flash nav link and on the address bar above it reads: URL Now...to include this into an existing Flash nav button..I have no idea how to do this. Originally, before they wanted to track stuff, the Flash simply stated: on (release) { getURL("join.html"); } Including this to my existing Flash navigation via the getURL action, I learned is a different story! The output window shows errors up-the-yang! on (release) { getURL("join.html<? revid(); ?>); } This did not work too well! Then, I tried changing it to something like this: on (release) { getURL("join.html" + _root.revid); } And modifying the HTML OBJECT tag in which it lies, like: <EMBED src="nav01.swf?revid=<? echo($revid) ?>" But, this didn’t work either. Am I even on the right track?! Probably not so much. So, the question is…where does one include this nested PHP tag in the actionScript? And what to modify in the OBJECT tag for that matter? Could someone PLEASE school me? Thank you so much! Dorian~ ![]() |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Including a PHP tag to a getURL method? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|