<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>seek message for 'sfplay~' from Javascript</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hello<BR>
<BR>
I am trying to use 'seek' message associated with 'sfplay~' from javascript. The code is as follows:<BR>
<BR>
//Recording to be played<BR>
rec = "meatloaf_004.wav";<BR>
<BR>
//open the specified recording to be played through sfplayer. sfplayer is the equivalent Javascript object for 'sfplay~'<BR>
sfplayer.message("open",rec);<BR>
<BR>
//Playing from X msec onwards.<BR>
sfplayer.message("seek",X);<BR>
<BR>
//looping<BR>
sfplayer.message("loop",1);<BR>
<BR>
When running this snippet of javascript, the playback starts from 0 msec instead of X msec. Am I doing anything wrong here? Some of you please suggest a solution for this?<BR>
<BR>
Many thanks<BR>
<BR>
Sunish<BR>
<BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>