animation

animation blocks infinite loop - iphone

I'm having difficulty working with the animation blocks. I'm trying to have the first animation change the alpha of an image so that it flashes, then after 10 seconds disappears. the firstAnimation then moves to secondAnimation which does the same thing only to a different image. the process then repeats itself infinitely. I've been wor...

Animating incoming UITableView when a UIButton is pushed

The first view that appears in my app is a standard view with two UIButtons on it. When you select a button, a UITableView appears. I have set 'Anitmated' to 'YES', but when I tap the button, the UITableView does not slide onto the screen (it just appears). When I hit the "Back" button on the UITableView, it does animate as it slides off...

Visualization of river- animation via code

I am trying to visualize a river flow- basically, should be able to visualize river current direction and speed based on an user-defined external parameter. This is required to demonstrate vectors in two dimensions- given education needs, animation quality can be minimal- 'tolerable enough'. I tried a simplistic approach by a blue backg...

WPF/XAML animation using own event

Hi all, I've used WPF for quite some time now, but I've never looked serious into animation. I'm trying to achieve the following, but until now, not successful. I have a class called "Property". This class has the ability to fire an event: public class Property { // ... public event System.Windows.RoutedEventHandler Attract; ...

How To Move UIImageView?

Hi guys! Heres the deal: I code an UIImageView in the viewDidLoad and i want it to move down with my fonction buttonPressed** without creating an other subview like i do. Heres the code. -(void)viewDidLoad { [super viewDidLoad]; banetteImage = [UIImage imageNamed:@"myBanette.png"]; UIImageView *banetteView = [[UIImageView alloc] in...

Jquery animations are slow in google chrome

Hello, I am not sure if this question is really specific for SO but I still would like to ask. Has anyone noticed that jquery animations became less smooth on Chrome, if you just find a jquery plugin it seems very nice but usually on demo pages there is a little amount of tags and another javascript funcions. I am currently working on a...

iPad: Animate UILabels color changing.

I have a label which pops up displaying points in my application. I am using the following code to make the label get larger in scale, then smaller. I would also like to animate the color changing from purple to green. Can someone point me to a resource in achieving this? mLabel.textColor = [UIColor purpleColor]; [UIView beginAnimatio...

resetting audio and animation if the view is changed

I have a view that plays an animation and an audio clip. if the user leaves the view and then returns the audio replays from the point where they left the view. I simply want the audio and the animation to start over as if it was their first time coming to the view. so the audio would stop and the animation would stop. then the viewDid...

Bouncing balls animation in Silverlight XAML only

In Silverlight, is it possible to do a "bouncing balls" style animation entirely in XAML - that is, with no code-behind at all? ...

Cycle animation

<div class="wrapper"> <div class="img">image on background</div> </div> .wrapper { position: relative; } .img { position: absolute; left: 0; top: 0; background: url(image.png); } .img block must be cycle animated, it should travel from left point of .wrapper to right and then back. There should be 2 seconds pause, before it will ...

Where to put animation code?

Animations are a strange mix of view and control, and they sometimes need to be synchronized with delays between them, callback to code, etc. So, without being specific to any particular GUI framework, where should I put my animation code in a MVC architecture? ...

Silverlight triggers in a Style resource

I would like to have have a Style definition for a TextBlock include Triggers. I know I can put the triggers on individual elements, as such: <TextBlock x:Name="MyTextBlock" Canvas.Left="0" Text="Some Text" Style="{StaticResource HeaderText}"> <TextBlock.Triggers> <EventTriggerRoutedEvent="TextBlock.MouseEnter"> ...

Problem moving multiple balls with RMI ?

Dear Experts, I am working on a distributed animation of moving BALLS with RMI. My goal is to move multiple balls in a way, so that multiple clients observe the same movement/position of balls, i m using ball object which is remote object. The ball is moving fine, when it is only one, but when i m trying to increase the number of bal...

How can I start an animation when a ViewModel property changes?

I have a view model that has a "IsSearchVisible" property. When it gets set to true I want it to start an animation in the view that slides down the search box. Anyway to achieve this in Silverlight/WP7? ...

How to fade-in / fade-out a Java Graphics?

Hi all: Say if I have a Java Graphics object, and I want to draw a line or a rectangle on it. When I issue the command to draw, it appears on screen immediately. I just wonder how could I make this progress as a fade-in / fade-out effect, same as what you can achieve in Javascript. Any thoughts? Many thanks for the help and suggestio...

recommended graphical javascript framework to draw on top of web pages

I'm looking for a JavaScript framework that will assist me to draw/animate shapes on top of my web document elements. for example - I want to place a banner/popup just on a specific word in my web-document and make if disappear/fade out after a while. any recommendations? thanks ...

Stop script execution while jquery animation runs

Is there any way to freeze any jquery script functions while animation runs? for example: $('#some_div').append('some stuff'); $('some_another_tag').remove(); $('#modal_window').fadeIn(300); etc etc, is there any way to process all that stuf in threads? Thank you ...

WPF Animate Multiple Buttons

I have a control with 5 buttons, and I would like to make all of them shift diagonally when any of them are clicked. What would be the best way to do this? If it were a single button, I could use a Storyboard and DoubleAnimate, but I believe that if I apply this to multiply buttons, they would shift one by one, instead of at the same ti...

Moving multiple UIImageViews simultaneously

Hi there, simple question, I've got a superview holding multiple sub UIIMageViews that I'd like to move simultaneously. I now about UIIView Animations but not how to launch multiples animation at a time. Any clue about that ? example animations would be : growing, shrinking, alpha changes, moving along different (radom generated) pat...

How to make a background animation in WPF with forks to other animations when necessary?

I have a WPF application that I need to spruce up a bit with background animations similar to the background ‘flair’ that you see playing on a Tivo device (lights moving, balls rolling, etc…) or a DVD menu (where you can go in any direction from the menu). Depending upon the state of the application, I would want the background animatio...