animation

ClickEvent on animated ImageView fires only at the start position

Android: I have an animated ImageView with an onClickEvent registered. I want the ImageView to move around the screen and then click on the ImageView. But when I click on the moving imageView, nothing happens. When I click at the position of the screen, where the imageView was at the beginning, the clickEvent is fired. So the real posit...

how can i set a time out for this jquery code ?

Thats what i have so far i want to set a timeout for function spid() <script type="text/javascript"> $(document).ready(function() { $("#spid").animate({top: '-110px' }, 600, 'easeOutBounce', function spid() { $(this).animate({top:"-=20px"},1000).animate({top:"+=20px"},1000); setTimeout("spid()",2000); }); }); ...

During jQuery Animation, top level UL element disappears

I have a nested set of unordered lists that I'm using for a dropdown menu structure: UL > LI > DIV > UL > LI * n > A I'm using jQuery to animate the dropdown/display of the div and child ul: jQuery('ul.top-ul li.top-li').hover(function() { jQuery(this).animate({height:"150px"},200); jQuery(this).find('div').animate...

What is the best way to release sprite frames used in an animation?

Hi, I am creating an animation in a scene(the current level) and so in the init section I add the required frames into the spriteFrameCache. [[CCSpriteFrameCache sharedSpriteFrameCache] addSpriteFramesWithFile:@"OchoHit.plist"]; CCSpriteSheet *spriteSheet1 = [CCSpriteSheet spriteSheetWithFile:@"OchoHit.png"]; [self addChild:sprit...

ID3DXMesh::CloneMesh breaks blend weights?

When I clone an ID3DXMesh with blend weights the blend weights end up breaking (but not completely, mostly the arms and fingers are skewed in strange directions), my code is very simple: LPD3DXMESH pTempMesh; if( model /*model is a mesh with animations, bone hierarchy, etc)) { if ( FAILED ( model->CloneMesh( model->GetOptions(), pDe...

Call a storyboard declared in xaml from c#

I am trying to call a storyboard declared in xaml from c#. <UserControl.Resources> <Storyboard x:Name="PlayStoryboard" x:Key="PlayAnimation"> ... I dont have access to "PlayStoryboard" from the codebehind file. Any ideas what i am doing wrong? ...

Prevent default animation (Right to Left)

I wanna disable the automatic slide in from right to left animation/transition. All new intents/activities in my app are supposed to have no animation. How can this be achieved? ...

Android : Is there a way to animate both group and listview of an ExpandableListView ?

Hello, I'm new to StackOverflow and I hope to find some help about ExpandableListView. I'm using an ExpandableListView having several groups but only one child in each group. The child is a custom view (FrameLayout) which contains some ImageViews. Only one group can be expanded at the same time (this is ok). I would like to animate th...

In WPF how to animate X property of the UIEllement from the code behind?

I want to animate the rectangle x position from my code behind (as the x position is only determined at the run time). I have got the following code: KeySpline easeOut = new KeySpline(0, 1, 0.3, 1); Storyboard sb = new Storyboard(); DoubleAnimationUsingKeyFrames da1 = new DoubleAnimationUsingKeyFrames(); SplineDoubleKeyFrame keyFrame1...

What programs were used to make this flash game?

the url is probably NSFW the game: http://www.tsbmag.com/booty-call-episode-1/ Could this game be created 100% in flash? If not, what programs could be used to provide this style of graphics and animation ...

.net 2010 calling DoEvents (yes I want to) from inside a custom control library

I have a custom control's library. Now there's a control which looks like a panel, and when it opens up I want to animate its vertical growing like this: For h As Single = 0 To finalHeight Step 0.5 Me.Height = CInt(h) ' HERE I WANT TO CALL DoEvents' Next Me.Height = finalHeight If I don't call DoEvents in the loop then the a...

Rotating image. Animation list or animated rotate? (Android)

I want to create a rotating progress image, and wonder what's the best way to proceed. I can make it work with an animation list with for example 12 images changing every 100ms. This works fine, but it's quite tedious to create 12 images or for every size and resolution: <animation-list xmlns:android="http://schemas.android.com/apk/res/...

Animated stretch of an image frame (iPhone)

So I'm trying to animate an image stretching from a zero width to full size while fading in. The fade in comes across fine, but for whatever reason the thing appears at the full frame at the start of the animation, instead of growing as the alpha effect happens. My code is as follows: [UIView beginAnimations:@"FadeButtons" context:nil];...

.NET WPF Window FadeIn and FadeOut Animation

Hi All Below is code snippets of a window FadeIn and FadeOut animation: // Create the fade in storyboard fadeInStoryboard = new Storyboard(); fadeInStoryboard.Completed += new EventHandler(fadeInStoryboard_Completed); DoubleAnimation fadeInAnimation = new DoubleAnimation(0.0, 1.0, new Duration(TimeSpan.FromSeconds(0.30))); Storyboard.S...

Can I remove the mask on interface orientation animation?

Hi I am developing an iPad app which starts with a graphical menu. When the user rotates to landscape, the user sees the same menu, but it shows more of detail in the width and less in the height (natch). However, when the rotation animation happens, the default black masking is seen around the edges. Is there any way of switching this...

Animate a button's image when focused, using CSS

I know I can make my button's image bigger when it is focused using a css like: button image { width:64px; height:64px; } button:focus, button:focus image { width:128px; height:128px; } But, is there a way to make the image grow gradually (like an animation effect)? ...

Animating background in Android ?

In Android, is it possible to have a background that is repeated on the background of a view? Is it possible to apply a translation animation to that background? ...

How can I give slide effect to image when changing source of image dynamically

Im changing image source from javascript like <img src="image1.gif" name="imagename"> //Array img[0]='image1.gif' img[1]='image2.gif' ... //onclick event changing img src document.images[imagename].src = img[1] Its working fine. How can I give it a slide effect to image when changing source of image? I can use jquery. ...

Is there any way to get smooth (preferably Windows default) animations in my .NET winforms app?

In my application I'd like to provide some animations while a lengthy operation is in progress. Currently I'm at the "connecting to server" stage, which typically takes over 5 seconds. During this I'd like to display some animation to the user. I've already implemented the popular solution with a PictureBox and an AJAX loading gif, but ...

CABasicAnimation is ignored during rotation

I have a UIView that in the layoutSubviews method repositions its subviews based on the orientation of the iPad. Within the layoutSubviews method I have a CABasicAniamtion that is supposed to animate the repositioning of the subviews. The animations are set to specific duration but this duration is being ignored and repositioning happe...