10-17-2009, 12:28 PM
Join Date: Oct 2009
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | svg question - animatetransform
Please Login to Remove!
I've done quite a few sliders with no problems but now am stumped with a problem with a similar scenario. The other sliders had a transparent button on layer 0 which activated the slider and another transparent button on the slider that made it retract. In this case I just want something to "fly across the screen".
I have 2 layers. Layer 1 has a transparent button to activate the slider. upon activation, layer 2 (with image offscreen) translates from 0,0 to -720,0. Every time I touch my hiden button I want the image to fly across. However, the animation runs once upon loading the theme and then will never run again. I'm totally perplexed. Tried everything and this is my last attempt.
Code is shown here:
<animateTransform xlink:href="#Layer_2" id="_anim_dps1" attributeName="transform" type="translate"
Added repeatcount for debugging to make sure image reset to original location and repeated movement. Any ideas as to why transparent button "fylBtn" wouldn't trigger this upon touch.
Thanks in advance.
Last edited by kwoodford : 10-17-2009 at 12:30 PM.