Click here to Skip to main content
15,903,201 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to do wpf form with animated background?.

Its easy to me put a swf file. pls any one tell me the way to code. :rolleyes:
Posted

You will probably love this tool:
SWF2XAML[^]

There are some other tools out there to - so a few attempts at google-fu might be useful :)

Regards
Espen Harlinn
 
Share this answer
 
Comments
Nish Nishant 7-Feb-11 15:59pm    
Good link, voted 5. This should work for the OP provided he knows how to get it all together.
Espen Harlinn 7-Feb-11 16:05pm    
Thank you Nishant - I once found another tool on a british site, if I remember correctly, that was capable of converting most "standard" flash movies - but I can't remember the name :-(
As far as I could understand your English, you already know how to play SWF.
Anyway, this is an article on the topic: Stream YouTube Videos in WPF[^].

Now, you can have any peer Controls or UIElements overlapping you player control (e.i., childen of the same parent but on top of your control).

Finally, I don't know your purpose, but the design idea looks crasy. Any busy backround is very distracting, and animated even more. I would highly recommend not doing such things. If you show animation, it should be in the center of attention. You choice though, may be you have very different and interesting idea...

—SA
 
Share this answer
 
Comments
Manfred Rudolf Bihy 7-Feb-11 3:11am    
Maybe the busy background is supposed to be there to do exactly that: Distract the user from the rest. :)
Sergey Alexandrovich Kryukov 7-Feb-11 21:11pm    
:-)
Sagotharan Jagadeeswaran 7-Feb-11 5:04am    
Thank U. Its a program from my company. Starting i have no idea about wpf. but now its make me to do crasy.
Sergey Alexandrovich Kryukov 7-Feb-11 21:11pm    
WPF in fact allowed for smoother work than other libraries, you just need to grasp conceptually different things.
--SA
Sagotharan Jagadeeswaran 12-Feb-11 6:36am    
k,. i do my best,.
Yes. Theoretically this should be possible.
A WPF window inherits from the UIElement class. Thus any property that applies to a UIElement should be applicable on the Window.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 7-Feb-11 1:39am    
Abhinav, I agree but simply fail to understand your explanation.
Abhinav S 7-Feb-11 1:47am    
Window (equivalent of form) in WPF derives from UIElement. Animations can be applied to any UIElement control. Thus my point that any animation that can be applied to any UIElement can be applied to a Window control.
Abhinav S 7-Feb-11 2:17am    
Hey just noticed. The OP added the swf part in his question. This was not there earlier.
I'm still not sure if the OP is talking about WPF animations or swf animations.
Sergey Alexandrovich Kryukov 7-Feb-11 2:33am    
Ah, probably that was a reason for my confusion.
Thank you for the note, Abhinav.
--SA
Sagotharan Jagadeeswaran 12-Feb-11 6:40am    
i am also like wpf animations,. but my company order to using swf,.

its not depend on me,.

thank u,.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900