A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Loading variable with url syntax query

  1. #1
    Member Tiaka's Avatar
    Join Date
    Nov 2007
    Posts
    33

    Loading variable with url syntax query

    Hi there could someone please help me
    I trying to load a variable with a url string.

    link = "http://imagical.kol.co.nz/pages/Me_B.html", "_top";

    It works but it doesn't load in seperate window.
    I think this is because the variable link is only holding the string inside the first set of quotation marks and does not see the second string "_top"

    I tried to put braces around but I get a sandbox violation error.
    link = ("http://imagical.kol.co.nz/pages/Me_B.html", "_top");

    Looking forward to any ideas on the right syntax to use
    Thanks
    Tiaka

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    PHP Code:
    link "http://imagical.kol.co.nz/pages/Me_B.html, _top";
    arr link.split(",");
    getURL(arr[0],arr[1]); 
    any help ?

  3. #3
    Member Tiaka's Avatar
    Join Date
    Nov 2007
    Posts
    33
    Thanks heaps a_modified_dog
    That was my first array for my site :-)
    Worked wonders.
    Cheers
    Tiaka

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