A ha!  That's a COMPLETELY different question, and I have no idea how
to solve, since I don't use CF7 for anything.  Any set of flash docs
should give you the anwser though.  You're form is just a movie, so it
has the same access to the page it's embedded in's URL scope as a
normal Flash IDE-created movie.

cheers,
barneyb

On 7/7/05, Michael Hohnecker <[EMAIL PROTECTED]> wrote:
> Here is a better example of what i'm doing.  I have an alert box in flash 
> forms.  I would like the getURL to run with the current URL string which 
> looks like http://www.test.com?lid=4.
> 
> Is this the proper way to bring in a URL string variable:  var myvar = 
> _root.lid;
> 
> <cfsavecontent variable="showApprovalAlert">
>         var myvar = _root.lid;
>         var myClickHandler = function (evt)
>         {
>         if (evt.detail == mx.controls.Alert.YES)
>         {
> 
>                         getUrl('Detail.cfm?task=1&LID=' +myvar);
>         }
>         }
>         //create the alert
>         var myAlert = mx.controls.Alert.show("Are you sure you want to 
> approve this request", "Warning",
>         mx.controls.Alert.YES | mx.controls.Alert.CANCEL, this, 
> myClickHandler);
> </cfsavecontent>
> 
> 
> 
>         <cfform format="flash" action="#cgi.SCRIPT_NAME#" method="post" 
> name="Approve" width="400" height="200" >
>         <cfformgroup type="horizontal" visible="yes" enabled="yes">
>                 <cfinput type="button" name="btnApproval" label="test" 
> value="Approve Request"  onClick="#ShowApprovalAlert#"  >
>                 <cfinput type="button" name="btnDecline" label="test" 
> value="Decline Request"  >
>         </cfformgroup>
>         </cfform>
> 
-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211401
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

Reply via email to