Ask a Question related to Coldfusion Flash Integration, Design and Development.
-
Mark Forsberg #1
Control Value not Seen in getURL
I am using the following command to send parameters to a cfc with flash
remoting;
myService.deleteDelivery('#APPLICATION.dsn#',id.te xt,'#deleter#'
,'#APPLICATION.dsn2#',reason.text,extDelNo.text,un it_no.text,product_code.text,s
hipped_date.text);
id, reason,extDelNo, unit_no, product_code and shipped_date are flash
textboxes. When I call the remoting I get the error "IntID, a required
parameter was not passed in"; This corresponds to the id.text value. If I
hardcode a number then it is passed. The same with the other text controls. I
thought that I could use the text property of the control and pass that.
I have declared the control names to place then in _root.
var reasons = reasons;
var id = id;
etc...
I know that they have a value as I can see them .
How can i grab the values of these controls and pass them in the getURL
function call? Thanks.
Mark Forsberg Guest
-
getURL
I made a button and add an action "getURL(test.html); When I export it, it made an error saying " Statement must appear within on handle... -
getURL()
Hi, I wrote a while ago a problem regarding the getURL(); function with Flash MX 2004, the problem was that i couldn't open pdf files with the... -
getURL how to ????
Hello, Happy New Year to everyone. Can you help me ? I try to call an html page on a separate window . I use... -
GETURL ????
Hi everyone! Could somebody please tell me why this does not work : on (press) { getURL(http://www.site.dk); } And what this means : -
Using Table control in a custom composite control. Control does not render properly in design time.
All, I have written a very simple custom composite control that includes a control of type System.Web.UI.WebControls.Table. The control... -
Sojovi #2
Re: Control Value not Seen in getURL
you can make an absolute reference with _root :
ie. :
_root.id.text or _root.id
or relative :
this.id.text of _parent...id.text (depende el depth of the control in the movie)
Regards
Sojovi Guest
-
Mark Forsberg #3
Re: Control Value not Seen in getURL
Sojovi,
Thanks for the help. When I run the following code just before the
remoting call "alert(_root.id.text);" I still get nothing in the alert box. I
can see the value in id on my flash form.
Any other ideas?
Again, thanks for the assist.
Mark Forsberg Guest
-
Sojovi #4
Re: Control Value not Seen in getURL
Are you using instance name o variable names for the textbox in Flash ?
Is in the root level or inside another movieclip ?
_root.id should work... try with the test de movie and view the objects to see
the path to the object.
Regards
Sojovi Guest
-
Mark Forsberg #5
Re: Control Value not Seen in getURL
Sojovi,
I found the problem. The controls that I was attempting to use for their
text value were of the type "hidden". Apparently the "hidden" control has no
such property. I couldn't find how to get a hidden control's value. I ended up
putting the values into a textbox and hiding them. The .text property was then
passed just fine.
Again, thanks for the help. It got me thinking.
Mark
Mark Forsberg Guest
-
The ScareCrow #6
Re: Control Value not Seen in getURL
I can't find the actual documentation, but to access the value of a hidden
field just drop the dot text part.
IE
A cfinput type="text" - controlName.text
A cfinput type="hidden" - controlName
Ken
The ScareCrow Guest



Reply With Quote

