Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-12-2008, 06:36 AM   PM User | #1
mb89
New Coder

 
Join Date: Sep 2006
Posts: 40
Thanks: 2
Thanked 0 Times in 0 Posts
mb89 can only hope to improve
Unhappy Help - Complete Newbie!

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
mb89 is offline   Reply With Quote
Old 09-12-2008, 09:36 PM   PM User | #2
gnomeontherun
Senior Coder

 
gnomeontherun's Avatar
 
Join Date: Sep 2007
Location: Houston
Posts: 2,846
Thanks: 10
Thanked 238 Times in 229 Posts
gnomeontherun will become famous soon enoughgnomeontherun will become famous soon enough
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?
__________________
jeremy - gnomeontherun
Educated questions often get educated answers, and simple questions often get simple answers.
gnomeontherun is offline   Reply With Quote
Old 09-15-2008, 12:13 AM   PM User | #3
mb89
New Coder

 
Join Date: Sep 2006
Posts: 40
Thanks: 2
Thanked 0 Times in 0 Posts
mb89 can only hope to improve
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!
mb89 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:15 PM.


Advertisement
Log in to turn off these ads.