Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: start to play halfway through a movie |
From: | Jason Bouwmeester |
Date: | Mon, 8 May 2000 18:02:12 +0100 |
You could also use JavaScript to tell it to start playing at a specified
frame.
Put this in the <head> section of your .html page:
<script language = "JavaScript">
<!--
temp = '<SCRIPT LANGUAGE="VBScript"\> \n'
temp += '<!--\n'
temp += 'Sub flashmovie_FSCommand(ByVal cmd, ByVal arg) \n'
temp += 'call flashmovie_DoFSCommand(cmd, arg) \n'
temp += 'end sub \n'
temp += '-->\n'
temp += '</SCRIPT\> \n'
document.write(temp);
function flashmovie_DoFSCommand(cmd, arg)
{
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
var movie = InternetExplorer ? flashmovie : document.embeds[0];
movie.TGotoLabel("/","labelinmovie");
}
//-->
</script>
NOTE: change all instances of flashmovie to the name given in the ID and
NAME tags of your object and embed tags for your flash movie. Change the
labelinmovie to whatever label is in your movie where you want to start at.
HTH,
jb
-----Original Message-----
From: Catherine Owen [catherine [dot] owencmc-international [dot] com (mailto:catherine [dot] owencmc-international [dot] com)]
Sent: Monday, May 08, 2000 7:42 AM
To: flasherchinwag [dot] com
Subject: FLASH: start to play halfway through a movie
I'm using Flash to navigate through a web site. When the user selects home I
want it to go to the home page (a different URL) and start to play halfway
through the Flash movie.
Is there an easy solution or should I pass a variable which tells the movie
to go and play halfway through?
Thanks
Cath
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]