W3C home > Mailing lists > Public > www-smil@w3.org > October to December 2003

Re: beginner question : smil and frame

From: Lloyd Rutledge <Lloyd.Rutledge@cwi.nl>
Date: Thu, 09 Oct 2003 09:34:04 +0200
To: "b.darties" <b.darties@wanadoo.fr>, www-smil@w3.org
Message-Id: <20031009073404.5A7108C36E@crater.ins.cwi.nl>


Actually, how are you using frames here?  If these objects are from
different files, then they can't sync -- you can only sync between
objects in the same file.  Frames are becoming considered bad practice
anyway, even in non-SMIL HTML.  Much (if not all) frame use in HTML
can be replaced by a single HTML file, and in XHTML+SMIL this
unification is often even easier.  Use the begin attribute I sent
earlier and put the objects in one file.  Replace the frame
positioning with CSS absolute positioning or, if you must, tables.

-Lloyd

On Tue, 07 Oct 2003 "Lloyd Rutledge" wrote:

> Just begin="myniceobject.click" should work.
> 
> -LLoyd
> 
> On Tue, Oct 7 2003 "b.darties" wrote:
> 
> > Hi
> > 
> > I'm using smil for a few hours only, so sorry for this very low-level 
> > question
> > 
> > I have 2 frames A and B. There is an object called "myniceobject" in the 
> > frame B, and I want to  link it to a enevenment defined in the frame A. 
> > Each frame has a specific name, but I'm unable to find the correct syntax 
> > to point to an object located in another frame
> > 
> > [frame A]
> > <smil:par begin="(????).myniceobject.click" fill="freeze" (??? missing 
> > arguments?)>
> > 
> > [frame B]
> > <img id="myniceobject">
> > 
> > 
> > Could someone help me please? There may be another approach, to define 
> > target frame or whatever, but i'm not skilled enough to see a solution.
> > 
> > benoit 

--
Lloyd Rutledge  vox: +31 20 592 40 93       fax: +31 20 592 43 12
CWI             net: Lloyd.Rutledge@cwi.nl  Web: http://www.cwi.nl/~lloyd
Post:   PO Box 94079    |  NL-1090 GB Amsterdam  |  The Netherlands
Street: Kruislaan 413/C |  NL-1098 SJ Amsterdam  |  The Netherlands
Received on Thursday, 9 October 2003 03:34:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:53:28 GMT