| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: May 2002
Posts: 10
|
I'm making a web page that when you click on a calendar pic a flash calendar pops up in another window.
What im having trouble doing it write that date that the user picks back into the main HTML page... any suggestions????? Thanks |
|
|
|
|
|
#2 |
|
Registered User
Join Date: May 2002
Location: Chicago
Posts: 14
|
are you sending the information over as a form post/get or QueryString
|
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: May 2002
Posts: 10
|
the date list box field is in a form. but it's not using get or post to bring up the calendar. Let me break it down
The user click on a calender image, selects the date they wish to check in. That date is then writen to the date listbox. The problem I'm having is writing to that listbox.. I know it should be something like DOCUMENT.WRITE.FORM.ELEMENT.VALUE.OPTION = (the date). but I'm not sure,, plus ActionScript is a little different than JavaScript. Thanks for repling... |
|
|
|
|
|
#4 |
|
Registered User
Join Date: May 2002
Location: Chicago
Posts: 14
|
Ok I know what you want to do now. But I would use JavaScript for that type of task. (it is just a lot cleaner)
But if you need to use flash this is how I would try it. 1. the pop up needs to have a name and so dose the parent window. 2. the flash will need to tell the parent window to call a function. 3. pass in the the date ( fscomand( call your function and pass the vars over)) 4. the function (you were right on the document.form(id).element(id).value = something). so in short have the flash call a function on you parent page then tell the form element to have a new value. Also, at the end of your function on the parent tell the flash window to close. |
|
|
|
|
|
#5 |
|
Registered User
Join Date: May 2002
Posts: 10
|
thanks mcircus i'll give that i try... I'm not familar with the fdcommand though and will have to look into that.
Thanks |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Flash & HTML Layers | azik | HTML and JavaScript | 7 | 08-31-2007 03:53 PM |
| how to load movies in one main flash popup movie as per button click from navigation | designmagic | ActionScript 1.0 (and below) | 0 | 12-20-2004 01:39 PM |
| flash + Asp + html + Xml | babu08 | Server-Side Scripting | 10 | 08-13-2004 10:44 AM |
| Popup in Flash - integrated javascript or in HTML page hosting SWF | Ericinho | Server-Side Scripting | 0 | 05-26-2003 04:02 PM |