Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Sep 2006
    Posts
    40
    Thanks
    2
    Thanked 0 Times in 0 Posts

    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

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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.

  • #3
    New Coder
    Join Date
    Sep 2006
    Posts
    40
    Thanks
    2
    Thanked 0 Times in 0 Posts
    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!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •