Groups | Blog | Home
all groups > flash actionscript > january 2006 >

flash actionscript : how to open window (popup) onClick?


FayeC
1/14/2006 8:35:48 PM
I have a movie in very small size MOV and want to open a bigger popup
window with a bigger version of the MOV whenever someone clicks on the
little one....
So I created a transparent button over the imported small MOV and put
an action on the button so that on click it gets the URL.
The issue is that I haven't been able to figure out how to determine
the size of the popup window.
Can I use Javascript code used to open popups? How can I accomplish
that result?
Thank you in advance,

urami_
1/15/2006 9:57:48 AM


[quoted text, click to view]


all you need is JS function in conjunction with getURL action :

on (release) {
getURL ("javascript:n_name=window.open('video.htm','new_name1','width=400,height=400');void(0);");
}

place the MOV in htm document and call that HTM
--
Regards

Urami


--



Happy New Year guys - all the best there is in the 2006 :)




<urami>
http://www.Flashfugitive.com
</urami>

<web junk free>
http://www.firefox.com
AddThis Social Bookmark Button