SunQuest
           Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 16th, 2003, 05:58 PM
dorianRM dorianRM is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 2 dorianRM User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Including a PHP tag to a getURL method?

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~

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Including a PHP tag to a getURL method?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway