Variable in the URL
Support QBN: Build your portfolio with Krop

Variable in the URL

  • Started
  • Last post
  • 3 Responses
  • Oldest
  • Newest
  • Popular
  • Active
  • torres

    Does anyone know how I can pass a variable to Flash through a URL?

    torres
    Flag
  • unformatted0

    http://www.google.com/search?q=p…

    unformatted 0Permalink
    UpvoteDownvote
    Dogear
    Flag
      Show [[ numHiddenNotes ]] more notesAdd Note
      SaveCancel
    • unfittoprint0

      I would retrieve the variable using php, and then write it in the swf object parameters [param value and embed src].
      ie.
      value="myfile.swf?{?php print "?lang=".$lang;?}"

      there's also a javasciprt method.
      check this:
      http://www.macromedia.com/suppor…
      http://www.experts-exchange.com/…

      unfittoprint 0Permalink
      UpvoteDownvote
      Dogear
      Flag
        Show [[ numHiddenNotes ]] more notesAdd Note
        SaveCancel
      • torres0

        thanks

        torres 0Permalink
        UpvoteDownvote
        Dogear
        Flag
          Show [[ numHiddenNotes ]] more notesAdd Note
          SaveCancel
        Login or Register to respond to this.
        PrevNext
        PrevNext
        © 1999-2026 QBN LLC.
        • Log in
        • Register
        • Broadcast
        • Filter
        • Jingle
        Made with ❤ by Krop Build a Portfolio Website