Help pls with script and timing - 5kb 
Author Message
 Help pls with script and timing - 5kb

Greetings from the UK!

Any help you can give with the following problem would be much appreciated
as I really cannot get to grips with this and have tried so many different
routes and got nowhere.

PROBLEM:    Play a .ra sound at a specific moment in the timeline.  However
I load the <OBJECT> relating to Real Player, it insists on starting to play
immediately the page starts loading.

I have tried putting it in a layer and calling the layer and also simply in
a div and calling the div.  As it stands at the moment in the script below,
it is sitting in a single cell table in "Pic7"

Not all of the script is here, but, essentially, I am trying to get the
sound to
AUTOSTART at 12 seconds into the presentation.  I do not want any start or
stop buttons, nor for the sound to loop.

Any help most gratefully accepted

Kind regards
{*filter*} Rosser


Sub Window_onload()
 Call Seq("1").Play
End Sub

Sub Seq_OnInit()
 Call seq("1").at(1.000, "pic1_show", 1, 0.000, 1)
 Call seq("1").at(3.000, "pic2_show", 1, 0.000, 1)
 Call seq("1").at(5.000, "pic3_show", 1, 0.000, 1)
 Call seq("1").at(7.000, "pic4_show", 1, 0.000, 1)
 Call seq("1").at(9.000, "pic5_show", 1, 0.000, 1)
 Call seq("1").at(11.000, "pic6_show", 1, 0.000, 1)
 Call seq("1").at(12.000, "pic7_show", 1, 0.000, 1)
 Call seq("1").at(15.000, "pic1_hide", 1, 0.000, 1)
 Call seq("1").at(15.250, "pic2_hide", 1, 0.000, 1)
 Call seq("1").at(15.500, "pic3_hide", 1, 0.000, 1)
 Call seq("1").at(15.750, "pic4_hide", 1, 0.000, 1)
 Call seq("1").at(16.000, "pic5_hide", 1, 0.000, 1)
 Call seq("1").at(16.250, "pic6_hide", 1, 0.000, 1)

 End Sub

Sub pic1_show()
 pic1.filters(0).apply() = "visible"
End Sub
Sub pic2_show()
 pic2.filters(0).apply() = "visible"
End Sub
Sub pic3_show()
 pic3.filters(0).apply() = "visible"
End Sub
Sub pic4_show()
 pic4.filters(0).apply() = "visible"
End Sub
Sub pic5_show()
 pic5.filters(0).apply() = "visible"
End Sub
Sub pic6_show()
 pic6.filters(0).apply() = "visible"
End Sub
Sub pic7_show()
 pic7.filters(0).apply() = "visible"
End Sub

Sub pic1_hide()
 pic1.filters(0).apply() = "hidden"
End Sub
Sub pic2_hide()
 pic2.filters(0).apply() = "hidden"
End Sub
Sub pic3_hide()
 pic3.filters(0).apply() = "hidden"
End Sub
Sub pic4_hide()
 pic4.filters(0).apply() = "hidden"
End Sub
Sub pic5_hide()
 pic5.filters(0).apply() = "hidden"
End Sub
Sub pic6_hide()
 pic6.filters(0).apply() = "hidden"
End Sub

#pic1 {position: absolute;top: 0;left: 0;}
#pic2 {position: absolute;top: 0;left: 0;}
#pic3 {position: absolute;top: 0;left: 0;}
#pic4 {position: absolute;top: 0;left: 0;}
#pic5 {position: absolute;top: 0;left: 0;}
#pic6 {position: absolute;top: 0;left: 0;}
#pic7 {position: absolute;top: 0;left: 0;}

#add {
position: absolute;
left: 10;
top: 325;
z-index: 1;



<BODY bgcolor=cornsilk>

<div id="pic1" style="position: absolute; left: 95; top: 50; z-index: 1;
visibility: hidden;
 filter:blendTrans(duration=2.00)"><IMG SRC="images/what.gif"

<div id="pic2" style="position: absolute; left: 95; top: 130; z-index: 1;
visibility: hidden;
 filter:blendTrans(duration=2.00)"><IMG SRC="images/does.gif"

<div id="pic3" style="position: absolute; left: 95; top: 210; z-index: 1;
visibility: hidden;
 filter:blendTrans(duration=2.00)"><IMG SRC="images/success4.gif"

<div id="pic4" style="position: absolute; left: 95; top: 290; z-index: 1;
visibility: hidden;
 filter:blendTrans(duration=2.00)"><IMG SRC="images/really.gif"

<div id="pic5" style="position: absolute; left: 95; top: 370; z-index: 1;
visibility: hidden;
 filter:blendTrans(duration=2.00)"><IMG SRC="images/mean.gif"

<div id="pic6" style="position: absolute; left: 95; top: 450; z-index: 1;
visibility: hidden;
 filter:blendTrans(duration=2.00)"><IMG SRC="images/toyou.gif"

<div id="pic7" style="position:absolute; width:379px; height:127px;
z-index:1; left: 307; top: 73; visibility: hidden;
  <table border="4" width="100%">
      <td height="118" align="center" valign="top">
<OBJECT ID="Sound1" CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"
<PARAM NAME="src" VALUE="Sounds/thebest.rpm">

<!--Sequencing Object-->
<OBJECT ID="Seq" CLASSID="CLSID:B0A6BAE2-AAF0-11d0-A152-00A0C908DB96">


Sat, 01 Jun 2002 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Beginner needs some help pls - 5kb

2. Run-time error 3141 PLS HELP

3. Pls HELP!! Run-Time Error 6

4. Problem connecting to Access2000 database...pls, pls help.

5. Give me some hints pls, Help pls

6. Help pls, Give me some hints pls


8. Help with simple script - time

9. GIF Printing Problem - HELP PLS


11. Pls Help

12. IE5 (O2000 ??) Jscript error -- HELP pls


Powered by phpBB® Forum Software