Hello,
Currently, I have an application that opens in a new window.
It is created in Flex and is linked to from another page on my site.
Currently, I have the flex application page open up using target="_blank".
When the user goes to the new page, they are given a form and
when they submit the data, an Alert box pops up telling them their
information was submitted. What I was wondering is whether or not it
would be feasible to take them back to the original window on the
website from which they clicked on the link to go to the Flex
application. So, the user clicks OK, in the Alert box, the page that
opened with the Flex application, closes and they are back where they
left off.
If that can't be done, can I have it where the user clicks OK
in the Alert and they are redirected to the original web page? I
guess the least desirable choice would be to have an HTML link that
says "Return to Home Page" wrapped inside an anchor tag.
I know in AS 2.0 there was a simple goToUrl command that I
could put on button. I did a search on that and it doesn't seem to be
a part of AS 3.0. I didn't see anything in the Alert class that would
allow the user to be redirected when they close the Alert Box.
Thanks,
Bruce