Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Big problem
From: Lincoln Barbour
Date: Thu, 9 Dec 1999 16:21:17 GMT

Hi Mark,

Yes it's possible but you need to use java-script and you won't be able to
test it until you've published the movie in an HTML page. The first step is
to add this Javascript between the <HEAD> tags on the HTML with the Flash
Movie:

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!-- //
function nes1(url,name,h,w) {
nes2 = window.open(url, name,
'width='+w+','+'height='+h+',resizable,scrollbars=no,status=no,toolbar=no');
}
// -->
</SCRIPT>

Now back to the Flash movie. Set your button to Get "URL" and make this the
URL:

javascript:nes1(' url ','nes3',' h ',' w ');

Where it says ' url ' put in the loaction of the HTML file like so
'file.htm'
Where it says ' h ' put in the height like so '300'
Where it says ' w ' put in the width like so '600'

The 'nes3' is like the target. So if you want want multiple pop-up windows
change 'nes3' to 'nes4' to 'nes5'.. etc.

Let me know if you have any questions.

Lincoln Barbour
Genesis Studios
lincolnatgenesis-studios [dot] cc
http://www.genesis-studios.cc


> Hi all,
>
>
> I'm designing my site in flash and in the gallery I want to be able to
click on
> an image (thumbnail) and have it open the full size image in a separate
browser
> window. This is easy with 'get URL' but I want to specify the size of the
> window which is opened and exclude the nav buttons etc so that its
basically
> just a box with an image in it - looks much neater.
>
> Does anyone know how to do this?
>
>
............................................................................
...
> ......................
> Mark Hirst
> Courseware Author
> Oxford Aviation College




flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Big problem, Mark Hirst

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]