A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: variables...asp

  1. #1
    Senior Member
    Join Date
    Jul 2000
    Posts
    117
    i use this script for open new window ...but can i pass some variables like "GET" or "POST"
    i try so many ways but it no working...plz help me...

    on (release) {
    url = "feedback.asp";
    winName = "newWin";
    leftvar = 0;
    topVar = 0;
    widthVar = 500;
    heightVar = 600;
    winName.title = "mydemo";
    getURL ("javascript:window.open('"+url+"','"+winName+"',' location=no,scrollbars=no,menubars=no,titlebar=no, topmargin=0,leftmargin=0,rightmargin=0,top=0,resiz able=no,fullscreen=no,left="+leftvar+",top="+topVa r+",width="+widthVar+",height="+heightVar+"'); void(0);");
    }
    amit

  2. #2
    __OSX powered__ nucleuz's Avatar
    Join Date
    Aug 2000
    Location
    Norway
    Posts
    836
    How about:
    Code:
    url = "feedback.asp?feedback=test&name=me";

  3. #3
    Senior Member
    Join Date
    Jul 2000
    Posts
    117

    ?

    i have 3 feilds
    name
    email
    commects
    i m using "Post"
    then its work fine
    but i use java window .....its not working??

  4. #4
    Registered User
    Join Date
    Feb 2001
    Posts
    13,041
    Hi,

    in your html page add this
    Code:
    <script>
    function doit(v1,v2)
    {	window.open('', 'popup', 'width=300,height=200');
    	document.forms.form1.var1.value=v1;
    	document.forms.form1.var2.value=v2;
    	document.forms.form1.submit();
    }
    </script>
    <form name=form1 method=post action=test.php target=popup>
    <input type=hidden name=var1>
    <input type=hidden name=var2>
    </form>
    In your movie add this
    geturl('javascript:doit("'+var1+'","'+var2+'")')

    Musicman

  5. #5
    Senior Member
    Join Date
    Jul 2000
    Posts
    117

    done

    thanx i done it

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