
March 4th, 2005, 11:02 AM
|
|
Contributing User
|
|
Join Date: Aug 2004
Posts: 34
Time spent in forums: 3 h 3 m 48 sec
Reputation Power: 5
|
|
flas, email and php
hi there,
i made a mailform (flashmail.swf) with flash4. using the GetURL command i open var.php (with "send variables") to mail the content of the form to my email. but what i want is that the user doesn't actually SEE that var.php
i can't use javascript's window.close() since it causes a security warning to be shown. i found out that you can only use this command without security warning when the window was opened with window.open in the first place. then i found out that you can do something like this in flash
GetURL(window.open('var.php'));
but this causes two windows to open. and in one of them is written [object] and the second window is what i wanted.
can i use this window.open command in flash4 anyway? or is there another way to do this - i mean to selfclose the var.php without security warning? i really don't want the users to see this.
thnx in advance,
ps : i know there is a way to do this, because i've seen flash-mailforms where you don't see a php opening, just the flashmovie itself saying "your message has been sent"
grenouille
|