PDA

View Full Version : Help - Complete Newbie!


mb89
09-12-2008, 06:36 AM
Hi,

I've only just started looking at ActionScript and am getting quite lost. I want to be able to pass through some variables to the flash so that when clicked it will go to the url I pass through. I can get this to work with the FlashVars parameter and then also in the embed string but when I have a URL to pass through with a query string ie. listings.php?action=Edit&id=5, the id is chopped off and saved as another Flash variable. Any idea how I can pass it through as one variable as it will be for uploadable Flash advertisements so I would just like to use a similar thing to "_level0.clickTAG" for the getURL, like most large sites with advertising. Is there some way Flash will now to ignore the '&' perhaps with a backslash like apostrophes in php????

Any help would be greatly appreciated!!!!

Cheers,
mb89

gnomeontherun
09-12-2008, 09:36 PM
Here is something I found that might shed some light on the issue for AS2.

http://noscope.com/journal/2003/12/query_string

What version of Flash Actionscript are you using?

mb89
09-15-2008, 12:13 AM
Thanks for that link, it does shed some more light on it.

I'm using AS2 as I've had a lot of problems with AS3 especially with submission to certain ad agencies. Everyone seems so cautious to upgrade but to be perfectly honest I don't know enough to really have that much of an opinion on the matter!

I think I'm just going to create a link through page so that all ads have a uniqueID and that page then can record a hit on the ad and then redirect according to the database.

Cheers for your help!