On Mon, 11 Dec 2006 02:34:23 +0530, apromisinglocalband  
<[EMAIL PROTECTED]> wrote:

> For college, we have to do a project in SVG and I find it very difficult.
>
> Basically what I want to do is introduce some basic animation, sound
> and interactivity.
>
> One thing I have to do is "Open a door" by clicking on it. So I'm
> trying to get the door to disappear when I click, but I can't figure
> it out. Could someone suggest some code?

  animate attributeName="visibility" to="none" begin="foo.click"

For the rest, you need to look either at the examples in the chapter, or  
you could look at my tutorial article on simple animation at  
http://dev.opera.com/articles/view/animating-your-svg/ (which includes  
things that disappear when clicked on) or look at the others on SVG at  
http://dev.opera.com/articles/svg/ - in particular Antoine Quint's article  
covers more animation.

cheers

Chaals

-- 
   Charles McCathieNevile, Opera Software: Standards Group
   hablo español  -  je parle français  -  jeg lærer norsk
[EMAIL PROTECTED]          Try Opera 9 now! http://opera.com


-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to