animation

Using a Storyboard animation on a programatically-added control

I'm trying to fade in a new control to my application's "app" area which is programatically added after the existing controls are removed. My code looks like this: void settingsButton_Clicked(object sender, EventArgs e) { ContentCanvas.Children.Clear(); // Fade in settings panel NameScope.SetNameScope(this, new NameScope())...

Why does the animation I copied in from Expression Blend to Silverlight VS project only run once?

In my Silverlight application, I want different texts to repeatedly fly in from the right changing colors and getting smaller. The animation works the first time through the loop but not subsequent times. Here's what I did: (1) I went into Expression blend, used the "Create Storyboard" tool to create the animation. then (2) copied th...

Animation in DataGrid of Silverlight Application - How?

I'm starting to kick Silverlight around (although it currently feels the other way around) by rewritting an existing ASP.NET application - as good a place to start as any I thought. I have 'mastered' pulling data from a database, through a service and into a datagrid and also populating image elements in the rows. So far so good. Now i...

Programming 3D animations?

What are the different ways to handle animations for 3D games? Do you somehow program the animations in the modeler, and thus the file, than read and implement them in the game, or do you create animation functions to animate your still vectors? Where are some good tutorials for the programming side of this? Google only gave me the mode...

How can I change the inner image position of an UIImageView?

I have defined an UIImageView in my nib. After the app launches, I display an image in that UIImageView. Maybe I am on the wrong way, but what I want to do is the following: The image which I load into the view is bigger than the view itself. I want that it is displayed in original size with hidden overlay. Then I want to slowly move th...

How do I find out with jQuery if an element is being animated?

I'm trying to move some elements on the page, and during the time the animation occurs, I want to have "overflow:hidden" applied to an elemnt, and "overflow" back to "auto" once the animation is completed. I know jQuery has an utility function that determines whether some element is being animated but I can't find it anywhere in the doc...

How can I slide a view in and out of a window in a Cocoa program.

I want to have a view on a window and in response to a message (button click or menu) I want to have another view slide down above it, and have the first view resize. I want to go from this: ********************************** * * *--------------------------------* *| |* *| ...

jQuery hover() not working with absolutely positioned elements and animation...

I have some html that looks like this: <a href="#" class="move"><span class="text">add</span><span class="icon-arrow"></span></a> And I have a jquery event registered on the anchor tag: $('a.move').hover( function (event) { $(this).children('span.text').toggle(); $(this).animate({right: '5px'}, 'fast'); }, ...

Save an animated gif from an actionscripted animation

Is it possible to save a .fla file as an animated gif from an actionscripted animation? I know you can do it from a tweened animation quite easily, but haven't been able to figure out a way to do it from a scripted one. ...

How can I animate a control so that it rolls out like a parchment scroll in WPF?

Does anyone have any idea how one could animate a panel such that it appears to roll down like it is in an old-style parchment scroll in WPF? Any help would be greatly appreciated. ...

Flash Actionscript 3 & Oscillating Object Alpha Animation

How would I go about animating via Actionscript in Flash something like the following?: I have several squares scattered on my stage with random Alpha values. When the movie loads, I'd like each square to smoothly animate to whatever their current alpha value is to zero, then to 1, and repeat the cycle indefinitely. As a bonus, I'd l...

Animation effect during changes in a UIView

I want to create transition animation within a UIView (not from one UIView to another). I have one UIView that has two UITextView fields with some text in them that comes from a database record. There are next/back buttons on the screen also. When the user pressed the next button, the next record contents are shows. When this transitio...

How do I modify this easing function to bounce less?

Hi, I'm trying to modify Flash CS3's supplied fl.motion.easing.bounce function to make the resulting animation bounce less. I appreciate that 'bounce less' is a bit vague, but I'd appreciate any help in understanding the function. Thanks. /** * @param t Specifies the current time, between 0 and duration inclusive. * * @param b S...

Ready-made animation libraries

I am looking for some progress animations to be shown in my WinForms application - so anything like AVI or animated GIF will do. The best would be animations depicting some "abstract" concepts, such as (for example) flying paper or animated 0s and 1s, to indicate progress. I know that Visual Studio 2008 comes with its own animation libr...

JavaScript Flip Counter

I would like to include a flip counter on my site, similar to what Apple was using for their 1 billion app countdown. Can anyone get their JavaScript to work standalone? If anyone can provide working code, that would be great. ...

Win32 app suspends on minimize window animation.

Hello, first time poster here. I'm writing a multi-threaded streaming audio application in C++ (MSVC) on Windows XP SP2. The problem I've encountered is that, upon minimizing / restoring any application on the task bar, all threads in my application are suspended while the window animation is active. This affects me because it causes t...

How to render WPF animation as a video frame by frame?

I've created a nice effect that I like in WPF, I'd like to be able to "record" this effect. But it is choppy during run-time. Is there a way I can convert it to a frame-by-frame process and save it as a video myself instead of trying to record it during playback? Basically I'd like to render WPF as a video, or list a series of frames s...

How to animate text over another View in Android?

I'm trying to animate some text 'zooming out' on top of another view. My code looks something like: class BoardView extends View { private TextView animText; ... private void animText(String text, int color, int xBlocks, int yBlocks) { animText.setText(text); animText.setTextColor(color); animText.setVisibility(View.VISI...

How to add a second bouncing ball to the window?

I have coded an animation (in python) for a beach ball to bounce around a screen. I now wish to add a second ball to the window, and when the two collide for them to bounce off each other. So far, my attempts at this have been unsuccessful. Any ideas how to do this? The code I have so far is below. import pygame import sys if __nam...

Call repaint from another class in java?

Hi all. I'm probably doing this wrong, so please be nice. I'm developing a java game, and I'm at the stage of testing character movement / animation. The "person" can move up down left and right on a grid. The class the grid is drawn in the gamePanel class. The buttons are in the gameControlPanel class. I have a button which spawns a p...