
February 14th, 2003, 11:52 AM
|
|
flash junkie
|
|
Join Date: Jan 2003
Location: CO, USA
Posts: 172
Time spent in forums: 5 m 38 sec
Reputation Power: 6
|
|
sure, you can do it using javascript :
PHP Code:
//javascript and html code obviously
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<script type="text/javascript">
function newWin(url,name,features){
var newWin = window.open(url,name,features);
}
</script>
in your html:
</head>
<body>
<a href="#" onClick="newWin('your.swf','swf_open','height=400,width=550,menubar=0,toolbar=0,scrollbars=0,status=0,resizab le=0');" title="your link description">the link</a>
</body>
</html>
i just have a text link, but just put an image tag inside the a href tag, and replace the "your.swf" with the name of your .swf file.
good luck,
bret
|