Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Re:
From: John Croteau
Date: Sun, 27 Jun 1999 05:54:03 +0100

Hi all,

> >1) I seem to remember a post about using an .swf (Flash3) to trigger a
> >'form submit' or 'post' function. I'm interested in the success or failure
> >since mine have fallen mostly under the latter?
> http://www.autotonic.com/test/submit.cfm
> JavaScript function on the page which contains the Flash:
> function submitForm() {
> document.forms[0].submit()
> }
> GET URL action in the Flash movie:
> javascript:submitForm()
>
> It won't work if the form's action is mailto:, and won't work in IE Mac, of
> course.
It wont't work with Win IE 3 also and will create an error as well.
A bettet solution is an invisible frame and use a getURL to load a page
with the javascript code on it:

main.document.forms[0].submit()
Where main is the form's frame name which is set on the frameset page.
This should work for all Flash compatible browsers.

----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  FLASH: Re:, Erik [gearik] Mattheis

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]