Hiya,

I've started using flash and have come across a situation that I am having
trouble tackling.  wondering if anyone has any pointers to the following
situation.

I'm trying to return results from a form in flash to a html pop-up window
that doesn't have the menubar, location bar, and the other standard JS
stuff.  The way I have it now the submit btn calls the function submin()
which is below.

I can get the popup window to work with a getURL("javascript:flashPop('
... ');"); for btns calling static content but not with the send()

I have tried popping the window up with a onPress() and giving it the same
name specified in the submit() but it doesn't work in IE...still pops up
the results in a full sized window.  I've also tried putting the
javascript: stuff in the send but that doesn't work either.

Any thoughts?

thanks,

--giese


// ----locator form scripts --
submitURL = "/locator/results/popup";
zip.restrict = "0-9";

function onSubmit() {
        // Create a new LoadVars instance for the form data
        locatorData = new LoadVars();
        // Initialize formData variables:
        locatorData.link = "";
        locatorData.zip = "";
        locatorData.city = "";
        locatorData.state = "";
        stateIndex = "";
        // Gather the information into a LoadVars instance.
        locatorData.link = "findDuvel";
        locatorData.zip = zip.text;
        locatorData.city = city.text;
        locatorData.state = state.getValue();
        locatorData.stateIndex = state.getSelectedIndex();
        // Submit the data
        if (zip.length>4) {
                locatorData.send(submitURL, "findDuvel", "POST");
        } else {
                gotoAndStop("findError");
        }
}


_______________________________________________
Bits mailing list
[EMAIL PROTECTED]
http://www.sugoi.org/mailman/listinfo/bits

Reply via email to