Skip to main content
Home Forums Silverlight Programming Programming with JavaScript Problem with error code 2207
1 replies. Latest Post by Gondor on October 25, 2007.
(0)
Sreekant...
Member
0 points
3 Posts
10-25-2007 4:28 AM |
Hi I get the following error when I execute the following code.
Silverlight error message
Error code=2207
Errortype runtimw error
Message AB_E_RUNTIME_METHOD
Method Name: Begin
The code is as follows:
Page.XAML
<
</
Page.XAML.js
window.SilverEventsDemo = {};
{
}
SilverEventsDemo.Page.prototype =
},
mouseEnterAnimation.begin();
mouseDownAnimation.begin();
mouseUpAnimation.begin();
mouseLeaveAnimation.begin();
Thanks in advance
Sreekanth Reddy. L
Gondor
157 points
31 Posts
10-25-2007 9:58 AM |
The animations are targetting an object which doesn't exist in the xaml (TargetName="highlightButton"). This looks like it is based off the sample template ... perhaps you removed a little too much xaml?