Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Extensions and Plugins > Components

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-29-2002, 01:45 AM   #1
hogtied
Registered User
 
Join Date: May 2002
Posts: 10
Question writting to HTML Pages from a flash popup

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
hogtied is offline   Reply With Quote
Old 05-30-2002, 03:17 PM   #2
Mcircus
Registered User
 
Join Date: May 2002
Location: Chicago
Posts: 14
Question

are you sending the information over as a form post/get or QueryString
Mcircus is offline   Reply With Quote
Old 05-31-2002, 10:34 PM   #3
hogtied
Registered User
 
Join Date: May 2002
Posts: 10
Default

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...
hogtied is offline   Reply With Quote
Old 06-03-2002, 03:35 PM   #4
Mcircus
Registered User
 
Join Date: May 2002
Location: Chicago
Posts: 14
Default

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.
Mcircus is offline   Reply With Quote
Old 06-03-2002, 05:08 PM   #5
hogtied
Registered User
 
Join Date: May 2002
Posts: 10
Default

thanks mcircus i'll give that i try... I'm not familar with the fdcommand though and will have to look into that.

Thanks
hogtied is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash & HTML Layers azik HTML and JavaScript 7 08-31-2007 02: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 12:39 PM
flash + Asp + html + Xml babu08 Server-Side Scripting 10 08-13-2004 09:44 AM
Popup in Flash - integrated javascript or in HTML page hosting SWF Ericinho Server-Side Scripting 0 05-26-2003 03:02 PM


All times are GMT. The time now is 12:00 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.