Im new at flash and im still learning so if anyone can help me on my issue i
will totally appreciate it.
Ok i have created a Book engine form with two DateFIelds components. The first
component instance name is Arrive_c , the second component is Depart_c. I
refomatted the components so on the text field will looke like this:MM/DD/YYYY,
So this form uses the form Get to append the querystrings to the end of the link
example:
[url]https://Reservations.synxis.com/lbe/rez.aspx?Hotel=15339&chain=2478[/url]

after submitting will look like this:

[url]https://Reservations.synxis.com/lbe/rez.aspx?Hotel=15339&chain=2478&Arrive=3/31/[/url]
2008&Depart=4/3/2008&adult=1

So i have managed to do that using the textfield variables, but i want to do
this using the Datefield,
i formatted the datefield using this code on the first frame

example:
Arrive.dateFormatter = function(d:Date){
return (d.getMonth()+1)+"/ "+d.getDate()+"/ "+d.getFullYear();
};

Depart.dateFormatter = function(d:Date){
return (d.getMonth()+1)+"/ "+d.getDate()+"/ "+d.getFullYear();
};

then i tried to set some hidden variables to get the value from the Datefield
component
example:


var Arrive = Arrive_c.getValue();

var Depart = Depart_c.getValue();

So with this i get a link like this:

[url]https://Reservations.synxis.com/lbe/rez.aspx?Hotel=15339&chain=2478&Arrive=undef[/url]
ined&Depart=undefined&adult=1

I dont know how to solve since im not familiar with the components so if can
anyone help me on this i have spend a lot of time trying to figure it out but
cant, any suggestions???