A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: passing browser value in a variable

  1. #1
    Member
    Join Date
    Jul 2001
    Posts
    33
    hello,

    i have been trying to pass the browser value in a variable it's not working. it works fine with the alert function
    i.e. getURL("javascript:alert(window.location.search)") .

    but when i try to pass it's value in a variable it doesn't.

    what i had done is:
    _root.abc=window.location.search
    _root.adf=_root.abc;

    this doesn't seem to work.
    is this possible?? what i m trying to do.

    Thanks in advance.

  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    13,044
    Hi,

    you should use document.write to write the html embedding and include the location.search with the movie name.
    Search the forums for both location.search and document.write - you should find the code

    Musicman

  3. #3
    Registered User
    Join Date
    Feb 2001
    Posts
    13,044
    Hi,

    you should use document.write to write the html embedding and include the location.search with the movie name.
    Search the forums for both location.search and document.write - you should find the code

    Musicman

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center