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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2007
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    loading variables into flash from php file

    i have a php script that echo's 3 variables, url1, title1, and hits1.

    on my stage i have a movie clip and in the first frame of the movie clip i have the following AS....

    this.loadVariables("../linkCCdisplay.php","POST");

    TTbutton1.onRelease = function() {
    TTbutton1.getURL(url1);
    }

    inside TTbutton1 i have a dynamic text field with the var name "title1".

    title1 shows up in the text field, however clicking on the button does nothing. how can i have it load the variable url1 from the file, so that when they click on the button it goes to that url?

  • #2
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,077
    Thanks
    11
    Thanked 98 Times in 96 Posts
    if you trace(url1) , what do you see.. the url ? or nothing
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


  •  

    Posting Permissions

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