I see you are still struggling with this one.
If you want .cfm to display in your window, it must be an html window as far as
I am aware, not a movieclip inside your flash form swf.
This means that you should try using:
=============================================================================
url = "mypage.cfm";
windowname = "mypopupname";
windowproperties = "width=300,height=400";
getURL("javascript:window.open('" + url + "','" + windowname + "','" +
windowproperties + "'); void(0);");
=============================================================================
Cut and paste this actionscript into your swf. Note, that when you test it
from the Flash IDE, your popup blocker may prevent you seeing the popup, so try
from your webserver and make sure that your browser allows popups from this
domain :)
Cheers,
Martyn
----- Original Message -----
From: Martyn Bowis
To: CF-Talk
Sent: Friday, March 10, 2006 1:36 PM
Subject: Re: Flash form popup window
getURL("put your url in here to your cfm page");
Need to use the quotes :)
----- Original Message -----
From: Steve Milburn
To: CF-Talk
Sent: Friday, March 10, 2006 1:25 PM
Subject: Flash form popup window
Can anyone point me in the right direction for creating a popup window
when using flash forms? I am looking for similar functionality to what
Ben Forta has on his web site for submitting a review for an ISP. It
creates a new window with a new form allowing you to complete the review.
I've seen a few examples that use the popup manager class, but the
contentPath is throwing me off. It looks like it wants a .swf file. I
want it to display another cf form.
Any help is appreciated.
Steve
---
---
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235100
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54