Storyboard crash

2012-06-24 Thread Greg Keogh
Folks, in the XAML and code below I'm getting the crash "Cannot resolve
TargetProperty RenderTransform.Children[0].Angle on specified object." It
all looks correct to me, can anyone see what's wrong? This code was copied
from a WPF app where it's working fine and creates a nice "spinout" effect
on a control. In my SL4 app it dies -- Greg

 

var spinout = (Storyboard)grid.Resources["StorySpinout"];

spinout.Begin();

 

 



  



  



  



  

  

  



  

  



  





  



  



 

 

 

 

___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


RE: Animating an image

2012-06-24 Thread Greg Keogh
>Silverlight 5 can flow between text boxes. I forget the tag.

 

The RichTextBox in SL4 might be my saviour. I'm playing with it now -- Greg 

 

___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


RE: Animating an image

2012-06-24 Thread Shane Morris (Automatic Studio)
Silverlight 5 can flow between text boxes. I forget the tag.

From: ozsilverlight-boun...@ozsilverlight.com 
[mailto:ozsilverlight-boun...@ozsilverlight.com] On Behalf Of Greg Keogh
Sent: Monday, 25 June 2012 10:12 AM
To: 'ozSilverlight'
Subject: RE: Animating an image

Shane et al, after considering the structure of my app I had to create the 
animations and storyboard for the help icon in code. I have a base class for 
all of my controls containing the help icon, so it's convenient to put the 
clump of ugly code in there. However, the result is quite nice as the icon 
pulsates up and down as you mouse over.

Then I remembered I forgot something else about Silverlight ... there are no 
document classes (FlowDocument, etc). I was going to format the help text as 
nice documents, but I'll have to find another way. I think my choices are 
limited to TextBlock and  for formatting. What else is there?

Greg

___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


RE: Animating an image

2012-06-24 Thread Greg Keogh
Shane et al, after considering the structure of my app I had to create the
animations and storyboard for the help icon in code. I have a base class for
all of my controls containing the help icon, so it's convenient to put the
clump of ugly code in there. However, the result is quite nice as the icon
pulsates up and down as you mouse over.

 

Then I remembered I forgot something else about Silverlight ... there are no
document classes (FlowDocument, etc). I was going to format the help text as
nice documents, but I'll have to find another way. I think my choices are
limited to TextBlock and  for formatting. What else is there?

 

Greg 

 

___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


RE: Animating an image

2012-06-24 Thread Greg Keogh
So Shane, thanks, I can use triggers! I just had this mental warning that
triggers weren't in SL4 ... Ah but I see you're using interactivity, which I
can't recall using before. It looks like I'm missing out on a few "tricks".
I'll paste your code into the app later and see how it goes. I hope you're
right and can avoid procedural code. I presume you created that XAML using
Blend, which you may recall gives me bowel motions. I'll let you know how it
goes.

 

Grant, don't forget that you're on the other side of my screen, so what
looks left to me in front of the screen is on the right for all of you out
there ;-)

 

Greg

___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight