Hi,
does anyone know how to make the close button in flash movie? Thanks
What do you mean?? close the window the button is in??
or a effect?? i don’t understand
[AS]fscommand(“quit”);[/AS]
wow… actually it’s not working…that after I uploaded to the server…
that command only works for a projector (that I know of) not a .html page
if your looking for a popup window close button check javascript rather than AS
to the flash boton put:
on (release) {
getURL(“JavaScript:top.close()”, “_self”);
}
and in the head of the html:
<script language=“javascript” type=“text/javascript”>
“JavaScript:top.close()” CLASS=“A2” onMouseover=“window.status=’>> Close’; return true” onmouseout=“window.status=’’;return true”>
</script>
sorry about my english…
Yanina: The whole <SCRIPT></SCRIPT> in the head of the html won’t do anything, since this is in flash. And in your on(release) you use top.close(), yet use _self as the target.
It should just be… [AS]on (release){
getURL(“java**script:window.close();”);
}[/AS]