![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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) |
| | Animation not working in code I set some animations in a WBA. First I register the name: Application.Current.MainWindow.RegisterName(myElement.Name, myElement); When I try to set a storyboard and set an animation on this element I get 'The name 'myElementName' could not be resolved in the name scope of 'MS.Internal.AppModel.RootBrowserWindow' - the same error you get when the name is not registered. This code used to work in Sep CTP. Did something change for Nov CTP regarding animations? Thank you, Valentin Iliescu |
My System Specs![]() |
| | #2 (permalink) |
| | RE: Animation not working in code I must mention I am animating a custom control. "viliescu" wrote: > > I set some animations in a WBA. > First I register the name: > Application.Current.MainWindow.RegisterName(myElement.Name, myElement); > When I try to set a storyboard and set an animation on this element I get > 'The name 'myElementName' could not be resolved in the name scope of > 'MS.Internal.AppModel.RootBrowserWindow' - the same error you get when the > name is not registered. > > This code used to work in Sep CTP. > > Did something change for Nov CTP regarding animations? > > Thank you, > Valentin Iliescu |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Animation not working in code I found this also, when I was porting that famous chess program. The chess program had a Chess3DPage class, which included an "instantiation" of a separate class (GameBoard3D). In earlier CTPs, as far as I can tell, it was OK for scope A to refer to a name in scope B; things worked magically. That is what seems to have changed. I fixed the chess program by ensuring that name resolution was always requested within the scope in which the name was defined. I'd be glad to share my repair with you, of course! |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Animation not working in code Thanks again. I have changed the name scope and now it's working. Valentin "David Sklar" wrote: > I found this also, when I was porting that famous chess program. > > The chess program had a Chess3DPage class, which included an > "instantiation" of a separate class (GameBoard3D). In earlier CTPs, as > far as I can tell, it was OK for scope A to refer to a name in scope B; > things worked magically. That is what seems to have changed. I fixed > the chess program by ensuring that name resolution was always requested > within the scope in which the name was defined. I'd be glad to share > my repair with you, of course! > > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Re: Code 10 DVD not working. | Vista General | |||
| CDW/DVD stopped working CODE 10 | Vista hardware & devices | |||
| Network "Activity Animation" not working for Internet Connection | Vista networking & sharing | |||