A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [MX04] Need help adjusting code

  1. #1
    Junior Member
    Join Date
    Feb 2008
    Posts
    6

    [MX04] Need help adjusting code

    The code is from a flash form using asp. When the user clicks the send button it opens another window going to the main page, I would like it to stop. Please help.
    PHP Code:
    on (rollOver) {
        
    this.gotoAndPlay("s1");
    }
    on (releaseOutsiderollOut) {
        
    this.gotoAndPlay("s2");
    }
    on (release) {
        for (
    i=1i<_parent.fields_descriptions.lengthi++) {
            if (
    _parent[_parent.fields_descriptions[i][1]] != _parent.fields_descriptions[i][2]) {
                
    this[_parent.fields_descriptions[i][1]] = _parent[_parent.fields_descriptions[i][1]]+"&777&"+_parent.fields_descriptions[i][2];
            }
            
    _parent.reset_txt(_parent["t"+i], _parent.fields_descriptions[i][1], _parent.fields_descriptions[i][2]);
        }
        
    this.recipient _parent.rec;
        
    getURL("gdform."+_parent.serv"_blank""POST");

    Last edited by whispers; 08-13-2008 at 01:46 PM.

  2. #2
    Senior Member whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,756
    if that IS the code on the submit button..

    then the getURL() is where you are loading a new page: (comment it out)

    getURL("gdform."+_parent.serv, "_blank", "POST");

    like this:

    //getURL("gdform."+_parent.serv, "_blank", "POST");

    see if that helps.

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