Image.Source + Permission Denied?
Hello, I am currently working with the December CTP of WPF/E and I am attempting to dynamically set an Image source via some JavaScript.
Within my .xaml I have the following snippet:
<
Imagex:Name="Image1"Source="Images/Test.png"Canvas.Left="5"Canvas.Top="10" />Within my JavaScript, I have:
var
image1 = activeXControl.findName("Image1");if (image1 !=null){
alert(image1.source);
image1.source = "Images/Test2.png";
}When I run the code, I receive a JavaScript error that says "Permission Denied" however, the SDK document states I should be able to set the Source property. Is this just a CTP bug or am I doing something wrong? I placed the "alert(image1.source);" line in to verify that I was accessing the correct object and I am in fact am.
Thank you for your help,
Alan

