Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

popUP window parameters.... Possible? 1

Status
Not open for further replies.

toughGirl

MIS
Mar 26, 2001
68
I want one of my buttons to activate a popup window, but with no navigation toolbar and a certain size and position. Is this possible from Flash? I have the javascript for it, but obviously cant cut and paste the javascript with Dreamweaver (or editor).
 
It should work if your button calls up an html that holds your javascript!

;-)
 
Please explain further.

From what I understand, in Flash you can use the action getURL. this pulls up a new browser window... but Im not sure how to put javascript into the new window for the parameters I want. With JS, I use the popUp command and set the parameters for the window. So the JS resides in the original window, not the popUp...
 
Here is a page that was recommended to me by davdesign --

what you have to do is write a javascript function, and then pass that function parameters from flash. The details are at the page --


I have to warn you that I didn't have much luck making it work, but maybe you're better at it than I am. ;-)

I know you can do it, though, because I've seen it done. I was probably just missing some silly detail.

good luck! :)
Paul Prewett
 
ToughGirl,

Have a look at this tutorial, very simple, and it's exactly what you're looking for:

In Tutorials -> Level 2 Medium section...

Javascript Popup Window from a Flash movie

At:
;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top