Mikkel er helt rigtigt på den
Med fgl. kan du eselv styre dine features (eks. størrelse) fra den enkelte
flashfilm :
1st ; hvor du selv sætter dine preferencer i Flashfilmen:
<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>
this 2nd is to center your movie on the users screen:
<script language="JavaScript">
function PopWin(url,h,w) {
leftPos = Math.round((screen.availWidth-w)/2);
topPos = Math.round((screen.availHeight-h)/2);
window.open(url,'nyt','width='+w+',height='+h+',left='+leftPos+',top='+topPo
s+',toolbar=No,menubar=No,location=No,scrolling=NO,resizeable=NO');}
</script>
Hilsen Jesper
www.www.jspr.dk
"Kate Justin" <kjustin@frisurf.no> wrote in message
news:YoH38.906$pd5.20884@news2.ulv.nextra.no...
> Can someone help a norwegian girl in trubble?????
>
> I want to create a JavaScript pop-up window to be opened from a button in
a
> flash movie.
>
> I have created a button, and given my button a get URL action and have
added
> the following to my button in the URL field;
>
> Javascript:popupwindow( )
>
> The following script have been pasted into the HTML between the Title and
> the Head where my swf. file are linked;
>
> <script LANGUAGE="JavaScript">
> function popupwindow(){
>
window.open("
www.sol.no.html","","height=425,width=550,menubar=0,resizable=0
> ,scrollbars=0, status=0,titlebar=0,toolbar=0,left=0,top=0")
> }
> </script>
>
> My problems starts when I want to have several buttons in my swf.-file.
> I want them to open different pop-up windows with different adresses.
> How can I give the buttons in my swf.-file spesific script so they know
> witch script they are related to?
>
> Any help would be gratefully received
>
> Kate Justin
>
>