Link to home
Create AccountLog in
Avatar of CreativewithTechnology
CreativewithTechnology

asked on

Outputting selecteddate as number in flash

Hi there,

I'm using flash datechooser component to create a diary in director. The flash part allows users to select and date which is then passed to director which subsequently shows you the corresponding diary entry.

In flash I can easily pass the month and the date by setting the text of these members..
month.text = eventSource.displayedMonth;
year.text = eventSource.displayedYear;

and then sending via geturl. No probs.

But what I need to send is the selected day as a number ie 6

I've tried using selectedDate but this sends a massive sting, ie Monday 3 of October 00 hours blah blah

What I need is a way of getting the selected day, or the selected day as a number ddmmyyyy

I'm not great with flash but pretty competent in director.
ASKER CERTIFIED SOLUTION
Avatar of Dobromir Yordanov
Dobromir Yordanov
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer