![]() |
|
![]() | ||
|
Subject:
Flash MX Pop up Window
Category: Computers Asked by: sinianjoro-ga List Price: $4.00 |
Posted:
15 Sep 2004 16:25 PDT
Expires: 15 Oct 2004 16:25 PDT Question ID: 401758 |
I am desinging my online portfolio in Flash (MX). There are 3 categories, Print, Web, and Resume. Under the "Web" section, for a client I created a .swf movie, size 375x315. So, to show this in motion, versus, a static storyboard, I have a button that says, "click to view in flash". So I want a separate window to come up that show this movie in the exact size of 375x315. I've done a quick research last night and it seems like this is the most common question about Flash but too many different solutions out there for me to narrow it down. Thanks for you help. -Alex |
![]() | ||
|
There is no answer at this time. |
![]() | ||
|
Subject:
Re: Flash MX Pop up Window
From: sethandcheese-ga on 17 Sep 2004 15:36 PDT |
In the Button Actions menu in Flash: on (release) { getURL("javascript:spawnWindow('http://myurl.com','mywindownamehere','width=375,height=315,screenX=100,screenY=100,top=100,left=100');"); } Change the height and width to suit. In your HTML document's header: <script language="JavaScript" type="text/javascript"> <!-- function spawnWindow(url,name,features) { window.open(url,name,features); } //--> </script> And you're good to go! --Seth |
Subject:
Re: Flash MX Pop up Window
From: sinianjoro-ga on 12 Oct 2004 17:37 PDT |
HiSeth, Sorry I didn't get a chance to do this until now. I'm a bit lost with your instructions, perhaps you can clarify. Where do I add,(see below) I mean which document and where is Button Action? In the Actions window, there are Actions, Operator, Functions, Constants, etc what action do I add? ************** In the Button Actions menu in Flash: on (release) { getURL("javascript:spawnWindow('http://myurl.com','mywindownamehere','width=375,height=315,screenX=100,screenY=100,top=100,left=100');"); } ********************* Thanks. |
Subject:
Re: Flash MX Pop up Window
From: sinianjoro-ga on 13 Oct 2004 16:03 PDT |
Seth, Ignore the previous comment. I know what you mean. So I did add the action to the button. In the aciton where you say "'...mywindownamehere',..." Is this where I put in the file name that will open in the pop up window, for example "filename.swf"? Also, I added (below) in the button's html doc. It doesn't open an pop up window with my swf movie playing. So my question is, where do I add the name of my swf file that is opening in the pop up window. Do I replace any of these names "...(url,name,features)..." In your HTML document's header: <script language="JavaScript" type="text/javascript"> <!-- function spawnWindow(url,name,features) { window.open(url,name,features); } //--> </script> thanks. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |