W3C home > Mailing lists > Public > www-smil@w3.org > January to March 2004

transitions ?

From: Vincent Kober <vincent.kober@inrialpes.fr>
Date: Wed, 10 Mar 2004 17:24:58 +0100
Message-ID: <404F415A.5090709@inrialpes.fr>
To: www-smil@w3.org

Hi all,

Just a question
In the exemple below I make a slide show with 'par' elements in a 
sequence and all the transition are OK from an image to the other.
(img is the slide and text the chapter)
If I want to put more than one slide in a chapter, I have the idea to 
put a seq in the 'par' with, for exemple, 2 images and give a 'dur' 
value for each images and no 'dur' value for the parent 'seq' and 'par' 
elements, like that :
	<seq>
         <par
              id="par_01">
           <seq><img
                src="slides/Diapositive1.PNG"
                region="region_slidesFond"
                id="img_01"
                dur="10s"
                transIn="trans_01"/>
		<img
                src="slides/Diapositive2.PNG"
                region="region_slidesFond"
                id="img_01"
                dur="10s"
                transIn="trans_01"/></seq>
....

But in this case, the transition is good between the two first images in 
the 'seq' of par_01, but it doesn't apply between the last image of the 
  'seq' of par_01 and the first image of par_02.
I can resolve that by putting a 'par' for each slide but I must, in this 
case, repeat the same 'text' element in each par and I desagree this 
solution which seems not to be properly.
Perhaps have I forgotten an attribute

Have you an idea to make that this transition will work ?

Thanks by advance

Vincent
*********************************
	<seq>
         <par
              dur="20s"
              id="par_01">
           <img
                src="slides/Diapositive1.PNG"
                region="region_slidesFond"
                id="img_01"
                dur="indefinite"
                transIn="trans_01"/>
           <text
                 src="textes/menu01.txt"
                 region="region_menu01"
                 dur="indefinite"
                 fill="remove">
             <param
                    name="fontColor"
                    value="green"/>
             <param
                    name="fontWeight"
                    value="bold"/>
           </text>
         </par>
         <par
              dur="100s"
              id="par_02">
           <img
                src="slides/Diapositive2.PNG"
                region="region_slidesFond"
                id="img_02"
                transIn="trans_01"
                dur="indefinite"/>
           <text
                 src="textes/menu02.txt"
                 region="region_menu02"
                 dur="indefinite"
                 fill="remove">
             <param
                    name="fontColor"
                    value="green"/>
             <param
                    name="fontWeight"
                    value="bold"/>
           </text>
         </par>
	</seq>

-- 
Vincent Kober
vincent.kober@inrialpes.fr

INRIA - service Relations Extérieures et Valorisation
ZIRST - 655 avenue de l'Europe - Montbonnot
F-38334 ST ISMIER CEDEX
TEL: 04 76 61 52 38   FAX: 04 76 61 52 06

Projet Création du Portail du Réseau des MSH :
http://www.msh-reseau.prd.fr/
MSH Alpes - 1221, avenue Centrale - Domaine Universitaire
UPMF- BP 47 - 38040 Grenoble Cedex 9
TEL: 04 76 82 73 25   FAX: 04 76 82 73 01
Received on Wednesday, 10 March 2004 11:24:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:09 UTC