-
Hi there, thanks for stopping by
I'm trying to make a javascript popup from flash. Here is the code in my Flash button:
on (press) {
fscommand ("myPopup");
}
OK and here is the code in my html file:
<script language= "javascript">
<!--begin hiding javascript from older browsers
function main_DoFSCommand(command,args){
if (command == "myPopup") {
window.open('digbotpopup.htm','640x480','toolbar=n o,status=no,scrollbars=no,location=no,menubar=no,d irectories=no,width=244,height=450')
}
}
// end the javascript hiding -->
</script>
It's probly something I overlooked or just don't know. Much obliged if you can help me
Peace
Scion
-
add this to your HTML document:
Code:
<script language="javascript">
function popWin () {
window.open('digbotpopup.htm','640x480','toolbar=no,status=no,scrollbars=no,location=no,menubar=no,directories=no,width=244,height=450')
}
</script>
Add this to a button
Code:
on (release) {
getURL ("javascript:popWin();")
}
It should work.
-
Moderator
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|