?
Solved

Opening an HTML file

Posted on 2003-02-22
1
Medium Priority
?
164 Views
Last Modified: 2011-08-18
I would like to create a popup HTML file from with flash mx. I can open an HTML file using getURL, but I need to be able to specify the height width etc like you can with javascript - I have seen this done in many sites but not sure how, any ideas?

Thanks for your help.

Charlie
0
Comment
Question by:charlie2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 6

Accepted Solution

by:
henryww earned 200 total points
ID: 7999088
hi charlie2000,

in the html where u have the movie, do a function for the popup window like the dreamweaver function ...

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
 window.open(theURL,winName,features);
}
//-->
</script>

//in ur flash

getURL("javascript:MM_openBrWindow('yourPopup.html','windowName','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=100,height=100')","_blank");

change the
width=100,height=100 ... etc for the size u like
and other features on/off as u need

if u are not familiar with javascript it is easier to get dreamweaver to generate the call function and copy&paste to flash, but remember to put "javascript:" in front so getURL will call the function to do the pop for u

cheers
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question