I have an ItemsControl that shows items using DataTemplates. When certain properties of the items change, I would like the changes to appear animated in the ItemsControl. For instance, an item has a Thickness and a Color and when these properties change, I would like to show an animation transitioning from one to the other. What is the e...
I have asked a question here but then I realized my problem was not the code but the style I am using for a button. Since the problem is completely different than the one initially asked, I thought it would be more beneficial for other users if I just asked the "right" question again. Here I go:
I am using the template below in my butto...
After executing this code...
DoubleAnimation a = new DoubleAnimation(newWidth, new Duration(...));
ThicknessAnimation b = new ThicknessAnimation(new Thickness(...), new Duration(...));
border.BeginAnimation(Border.MarginProperty, b);
border.BeginAnimation(Border.WidthProperty, a);
...this code no longer works (Margin does not change a...
I'm trying to add a fade effect to my form by manually changing the opacity of the form but I'm having some trouble calculating the correct value to increment by the Opacity value of the form.
I know I could use the AnimateWindow API but it's showing some unexpected behavior and I'd rather do it manually anyways as to avoid any p/invoke...
My problem at the moment is specifically related to the jScrollPane scrollbar plugin, but the issue of concern is more general. Graphical artifacts can be a problem with any JS animation.
Certain types of positioning and use/abuse of CSS styles can make redrawing much more prone to graphical artifacts, even in the modern browsers.
I us...
I realise that IE is a bit rubbish at most things but I was hoping someone could come up with a way of fixing a display issue in IE when using jquery.
on the following site, I have used jquery on the menu to show and hide options (projects and contact)
http://www.isabelarbelaez.com
When these are clicked in IE, they show whatever is ...
Hello,
I have animation on list box items. When the list box item is not visible, ie. scrolled past visible in the listbox the animation seems to stop. When it is scrolled back into view it appears to start where it left off.
Does anyone now how to keep the animation running?
Thanks
...
I am trying to animate the line that strikes through text in a textblock.
Here is what I have so far.
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Page.Resources>
<Style x:Key="TextBlockEliminated">
<Setter Property="Control.FontSize" V...
I've looking to animate a a needle in a speedometer-like item. How do I spin the needle and simulate the acceleration and the bouncing effect you would see in cartoons (when the needle reaches the max and starts bouncing).
...
Can someone tell me how to do an animation like this:
http://dageniusmarketer.com/DigitalWonderland/Animation
inside my current site, which is
dageniusmarketer.com/DigitalWonderland/
I would like for the window where you see all the text content, to open and close as you go thru the navigation links to open up a new page (close the o...
I'm animating a 'race' on a map. The race takes 45 minutes, but the animation runs for 60 seconds.
You can watch the 2008 City2Surf race demo to see what I mean.
The 'race clock' in the top-left must show "real time", and had to be set-up in the .xaml.cs with a System.Windows.Threading.DispatcherTimer which seems a bit of a hack.
I t...
Hi, i've been developing for the iphone platform for about 3 weeks now, and I'm trying to set up a frame by frame animation with 16 1000x1000 png images (with transparency) and plan on animating with around 100 later, so first I tried using imageNamed to animate all the images like this
-(IBAction)startClick1:(id)sender
{
clou...
Hello, I have been trying to animate using an NSTimer and I've set up my code like this:
- (IBAction)startClick:(id)sender{
animationTimer = [NSTimer scheduledTimerWithTimeInterval:(.1/25.0) target:self selector:@selector(tick) userInfo:nil repeats:YES];
}
- (void)tick{
[self animatePig];
}
- (void)animatePig{
UIImage *pig...
How can I rotate a set of images in an ellipse? how to get each point on a ellipse at some center(x,y)point.
...
I'm trying to do a multistage animation, so that a UIImageView (1) fades in, (2) moves, (3) slide off the screen.
Only stage 1 seems to work. What am I doing wrong? Here's the code:
// FIRST PART - FADE IN
-(void)firstAnim
{
// 'sprite' is a UIImageView
[sprite setAlpha:0.1f];
[UIView beginAnimations:@"anim1" context:NULL];...
On the iPhone scrolling through lists is animated smoothly. Ignoring the inertia effect (though having it would be cool as well) - how would I go about making a Swing listbox scroll smoothly like that?
There are other examples as well, like browsers, but those use native controls which I cannot use with Swing.
...
I am a beginner Flash developer. I saw some site like [http://www.3dfreeair.com][1] and another site also. On this site some 3d Flash animation there. How can I do like those animations? Because Flash only supports 2d animation. If you know, send me any reference url for studying 3d animation in Flash only.
...
I have two divs (say, divs with ids: div1 and div2) whose height I need to expand using Fx.Tween
And I want the animations to be simultaneous.
'#div1' 's style.height is to be changed from auto to 0.
'#div2' 's style.height is to be changed for current height to a new height calculated by a function called calculateHeight()
how do I do...
Hello everyone,
Suppose I have the following XAML snippets, my confusion is what is the meaning of the value for Storyboard.TargetProperty? i.e. the meaning of "(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)".
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="p1" Storyboard.TargetProperty="(UIEle...
Users love animations. See the iphone for a good example :) Everything a user does in the iphone kicks off an animation.
Enter MVVM and Commanding (I'm thinking about Silverlight 2 specifically). A user action triggers an event via Commanding, and we're sitting in the ViewModel thinking about how to trigger a nice animation for the u...