Groups | Blog | Home
all groups > flash (macromedia) > january 2004 >

flash (macromedia) : Buttons to open windows in flash



NewBeeee
1/27/2004 10:45:38 PM
in my flash movie I would like to make a button open up a small 400x400 html window. I can do this with javascript and html but am not sure how to do it with flash. Ideas?


Mark


Jack.
1/27/2004 11:06:38 PM
at the top of the webforum page is a Search Category: searchfield,
please use it...."pop up window" returns 100's of similiar posts,
many with the answer you seek. If you cannot find it here, try
the main archives -
http://groups.google.com/advanced_group_search?hl=en&as_ugroup=*flash

regards
Didier Broch
1/28/2004 6:24:32 AM
hi,
in the html file put the code

<script language="JavaScript" type="text/JavaScript">
<!--
function openBrWindow()
{
window.open('test.html','test','width=400,height=400');
}
//-->
</script>

and in flash file on a button put the code

on(press)
{
getURL("javascript:openBrWindow()");
}

- Didier

http://membres.lycos.fr/dbroch/

"NewBeeee" <webforumsuser@macromedia.com> a écrit dans le message de news:
bv6pmi$mmp$1@forums.macromedia.com...
[quoted text, click to view]
html window. I can do this with javascript and html but am not sure how to
do it with flash. Ideas?
[quoted text, click to view]

AddThis Social Bookmark Button