Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / June 2005



Tip: Looking for answers? Try searching our database.

Please.... help just small thing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kryss2099 - 13 Jun 2005 22:28 GMT
Hi,

My application is close from completion, actually I just miss one little
thing, I've searched the forum and Macromedia site for days,

When my datagrid displays the result I would like the user to choose a data in
the column "CERNO" and append it to the URL so as to open the target page
filtered (using this data as filter).
The html/cfm part of it is already taken care of the only I'm having a problem
with is with the actionscript side of it, I've been using this code:

on (click) {
var cn = new LoadVars();
cn.cn = #CERNO#
cn.send("http://Localhost:8500/test/cfctests/CTcerts.cfm","_self","POST");
}

Everything works fine there except that what is appended to the url is #CERNO#
and the value it's supposed to be sent.
Can anybody tell how to declare a specific record as a variable?

Thanks a lot

 
Kryss2099 - 22 Jun 2005 14:59 GMT
Hi,
Well, never mind I found how to solve this out. Since I've seen a couple of
thread like mine still unanswered, I hope this can help.

I still haven't managed to get the data I clicked on so instead I've created a
layer where I put a text input that I link to the data I wanted to send via URL.

Then on the first frame I attached the following code:

function send () {
myval = new LoadVars ();
myval.myval2 = _parent.myform.mytextinput.text;
myval.send ("myURL", "GET");
}
Report.onRelease = function () {
        send ();
    }
That's it.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.