I am not sure where to put that in my code. I removed the visiblity from the style and changed repeatcount to repeatCount and it worked. Maybe I could put that towards the top in <defs></defs>?
Thanks for the quick response. --- In [email protected], "Francis Hemsher" <[EMAIL PROTECTED]> wrote: > > Hi Joshua, > Actually, to accomplish this, your don't need the animate element. > > Try: > > var circleBlinker=//---access your circle via getElementId i guess > is the easiest--- > > //--start the blinker via some event, onload, whatever--- > function startBlinker() > { > BlinkerInterval=setInterval("blinkIt()", 500); > } > > function blinkIt() > { > > var blinkerStyle=circleBlinker.getStyle(); > var blinkVis=blinkerStyle.getPropertyValue("visibility") > if(blinkVis=="visible") > blinkerStyle.setProperty("visibility", "hidden"); > else > blinkerStyle.setProperty("visibility", "visible"); > } > > Francis > > --- In [email protected], "Joshua Woodward" > <[EMAIL PROTECTED]> wrote: > > > > Ok, what I am trying to do is make a circle go from visible to > hidden > > over and over again. I can get it to do it if I have two > animations: > > one that goes from visible to hidden and one that goes from hidden > to > > visible. But I was wondering if I could make one animation that > would > > repeat from hidden to visible without typing > > values="hidden;visible;hidden;visible;hidden... > > I cannot get the repeatcount to work with this type of animation > at all. > > I have also tried animating "display" and it seems to do the same > thing. > > > > See the code below. > > > > <circle cx="100" cy="50" r="60" style="fill:none; stroke:black;" > > visibility="hidden"> > > <animate id="cc" attributeName="visibility" values="hidden; > > visible;hidden" begin="0s" dur="0.2s" repeatcount="indefinite" /> > > </circle> > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- 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/ <*> 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/

