System.Security.Permissions.FileIOPermission

0 views
Skip to first unread message

Vladimir

unread,
Mar 23, 2010, 9:34:58 AM3/23/10
to Physics2D.Net
Hello,

I keep getting System.Security.Permissions.FileIOPermission when
trying to access a .png file from my Collided event while the same
code works form a KeyDown event handler. Any ideas ?

Vladimir

unread,
Mar 23, 2010, 9:47:00 AM3/23/10
to Physics2D.Net
ups, sorry it would appear the problem was that i was starting a timer
from the collided event so it did not have permission.
Reply all
Reply to author
Forward
0 new messages