From: Grant Skinner <grant.skin...@gmail.com>
Date: Tue, 28 Jun 2011 15:59:44 -0600
Local: Tues, Jun 28 2011 5:59 pm
Subject: Re: [easeljs] Re: EaselJS mouse event problem
Yes, this is correct. Browsers block pixel access to cross domain resources. The net result of this is that mouse events (which rely on pixel access) will fail in any stage that displays images from other domains. This also occurs when testing from the local file system in many browsers.
Grant. On 2011-06-27, at 11:06 , Mike Chambers wrote: > I dont have to code in front of me right now, but I am guessing that
> we are acessing data in the canvas to get information about the mouse > event. The browser's security model prevents this when running from > seperate domains. > More info here: > http://stackoverflow.com/questions/2390232/why-does-canvas-todataurl-... > If you get a chance, can you see if you can track down the line of > Otherwise, Ill try and take a look at it when I get some time > mike > On Jun 24, 7:50 pm, ahmed <barqawi...@gmail.com> wrote: >> you can test it: >> On Jun 24, 7:49 pm, Mike Chambers <mikechamb...@gmail.com> wrote: >>> Is the issue only when you try to load an image from a separate domain? >>> mike >>> On Fri, Jun 24, 2011 at 2:50 AM, ahmed <barqawi...@gmail.com> wrote: >>>> Hallo >>>> i am implementing touch animation with EaselJs library. >>>> when i read image from local folder all mouse events is working good >>>> but when i choose image source from link like: >>>> mouse events will not work like: omPress. >>>> try example dragAndDrop from library and change image link "img/x.jpg" >>> - Show quoted text - You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||