![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | Convert Code From Beta1 Hi Everyone, I got this app at work with some animations, it was built with WinFX Beta1 and now we are converting the code to keep up-to-date with the advances in XAML to be ready when the final comes out. So, my problem is that I got this portion of code: <SetterTimeline TargetName="Tmp1" Path="(Path.Opacity)"> <DoubleAnimationUsingKeyFrames Duration="0:0:4" AutoReverse="False" RepeatBehavior="Forever"> <DoubleAnimationUsingKeyFrames.KeyFrames> <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0" /> <LinearDoubleKeyFrame Value="1" KeyTime="0:0:2" /> <LinearDoubleKeyFrame Value="0" KeyTime="0:0:4" /> </DoubleAnimationUsingKeyFrames.KeyFrames> </DoubleAnimationUsingKeyFrames> </SetterTimeline> And I don't know what replaces SetterTimeline now. Thanks Bruno Silva |
My System Specs![]() |
| | #2 (permalink) |
| | SetterTimeline RE: Convert Code From Beta1 hi bruno, its frustrating but its cutting edge so it changes ! firstly SetterTimeline is gone, at least i dont have it anymore in my projects. As the language-tool moves to purity there is more of a tree structure. you need to move the old SetterTimeline to the <Page.Triggers> area and more or less rename so:- <Page .... <Page.Triggers> <EventTrigger RoutedEvent="Page.Loaded"> <BeginStoryboard> <Storyboard> <ParallelTimeline ... <DoubleAnimation ... <DoubleAnimation ... <DoubleAnimation ... </ParallelTimeline> </ParallelTimeline> </Storyboard> </BeginStoryboard> </EventTrigger> </Page.Triggers> </Page> Make sure you have the XAML extensions for .net 2005 final installed it will help you a lot. for Nov 05 CTP\Vista SDK see C:\Program Files\Microsoft SDKs\Windows\v1.0\Samples and search for *.xaml - copy them all to a non-compressed .zip and then rename it to .txt, you then have all the XAML examples together to search through !! There is also a tool to convert the gradient colour codes easily too. search here and you will find it posted by me. Karsten Januszewski of Microsoft told me about it so you could include his name too. Please contact me via the below website for a further chat. craig kelly-soens - Windows Vista WinFx XAML .Net Evangelist http://www.XpectWorld.com - for customised "super-easy to use" Windows Vista based software "Bruno Silva" wrote: > Hi Everyone, I got this app at work with some animations, it was built with > WinFX Beta1 and now we are converting the code to keep up-to-date with the > advances in XAML to be ready when the final comes out. > > So, my problem is that I got this portion of code: > <SetterTimeline TargetName="Tmp1" Path="(Path.Opacity)"> > <DoubleAnimationUsingKeyFrames Duration="0:0:4" > AutoReverse="False" RepeatBehavior="Forever"> > <DoubleAnimationUsingKeyFrames.KeyFrames> > <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0" /> > <LinearDoubleKeyFrame Value="1" KeyTime="0:0:2" /> > <LinearDoubleKeyFrame Value="0" KeyTime="0:0:4" /> > </DoubleAnimationUsingKeyFrames.KeyFrames> > </DoubleAnimationUsingKeyFrames> > </SetterTimeline> > > And I don't know what replaces SetterTimeline now. > Thanks > Bruno Silva |
My System Specs![]() |
| | #3 (permalink) |
| | RE: SetterTimeline RE: Convert Code From Beta1 Thanks a lot, I have the Extentions installed, I was just looking for some settertimeline like element ![]() just a few more problems to solve and we're going, thanks a lot for your help ![]() "craig kelly-soens www.XpectWorld.com" wrote: > hi bruno, > its frustrating but its cutting edge so it changes ! > > firstly SetterTimeline is gone, at least i dont have it anymore in my > projects. > As the language-tool moves to purity there is more of a tree structure. > > you need to move the old SetterTimeline to the > <Page.Triggers> > area > and more or less rename > so:- > <Page .... > <Page.Triggers> > <EventTrigger RoutedEvent="Page.Loaded"> > <BeginStoryboard> > <Storyboard> > <ParallelTimeline ... > <DoubleAnimation ... > <DoubleAnimation ... > <DoubleAnimation ... > </ParallelTimeline> > </ParallelTimeline> > </Storyboard> > </BeginStoryboard> > </EventTrigger> > </Page.Triggers> > </Page> > > Make sure you have the XAML extensions for .net 2005 final installed it will > help you a lot. > for Nov 05 CTP\Vista SDK see C:\Program Files\Microsoft > SDKs\Windows\v1.0\Samples > and search for *.xaml - copy them all to a non-compressed .zip and then > rename it to .txt, you then have all the XAML examples together to search > through !! > > There is also a tool to convert the gradient colour codes easily too. search > here and you will find it posted by me. Karsten Januszewski of Microsoft told > me about it so you could include his name too. > > Please contact me via the below website for a further chat. > > craig kelly-soens - Windows Vista WinFx XAML .Net Evangelist > http://www.XpectWorld.com - for customised "super-easy to use" Windows Vista > based software > > "Bruno Silva" wrote: > > > Hi Everyone, I got this app at work with some animations, it was built with > > WinFX Beta1 and now we are converting the code to keep up-to-date with the > > advances in XAML to be ready when the final comes out. > > > > So, my problem is that I got this portion of code: > > <SetterTimeline TargetName="Tmp1" Path="(Path.Opacity)"> > > <DoubleAnimationUsingKeyFrames Duration="0:0:4" > > AutoReverse="False" RepeatBehavior="Forever"> > > <DoubleAnimationUsingKeyFrames.KeyFrames> > > <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0" /> > > <LinearDoubleKeyFrame Value="1" KeyTime="0:0:2" /> > > <LinearDoubleKeyFrame Value="0" KeyTime="0:0:4" /> > > </DoubleAnimationUsingKeyFrames.KeyFrames> > > </DoubleAnimationUsingKeyFrames> > > </SetterTimeline> > > > > And I don't know what replaces SetterTimeline now. > > Thanks > > Bruno Silva |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Convert Vb code to VBscript | VB Script | |||
| [ann] code sample to convert html to vb or vbs... | VB Script | |||
| IE8 Beta1 Launched | Vista News | |||
| Product key beta1 work for RC1? | Vista installation & setup | |||