Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
rahuljungle

BlitMask causes "flash performs disallowed operation - Mouse Tracking" error when used in google banner

Recommended Posts

I've used BlitMask api for numerous banners to show slot like rotations. Its works like a charm. But as soon as I try to upload these banner on Google ads, it rejects the swf throwing the error "flash performs disallowed operation - Mouse Tracking"

 

Please advise.

Link to post
Share on other sites

Hmm, a quick Google search yielded these results:


Tracking event constraints
 
Google doesn't allow the specific tracking of user interactions that don't involve clicks. Tracking parameters that are not allowed include:
  • View-through tracking
  • Key-modifier tracking
  • Mouse location tracking
 

 

 
BlitMask itself doesn't contain any mouse tracking, do you have code that involves ThrowProps plugin or any tweens that track the user's mouse velocity?
 
Without seeing your code its tough to know what is happening. Also, I'd imagine that Google would be better suited to explain the errors but if we can help we will.
Link to post
Share on other sites

edit: I stand corrected.

 

BlitMask does in fact have code that allows MouseEvents to pass through the BlitMask. Perhaps something relating to that is causing the problem. 

Link to post
Share on other sites

Thanks for the reply, I removed all MouseEvent related code from BlitMask.as and it worked.

 

8-)

Link to post
Share on other sites

Hi, I have the same problem, what have I to remove from BlitMask.as?

Link to post
Share on other sites

As the previous poster stated, the code relating to MouseEvents.

 

I would start with the code inside this function here (shown in bold):

 

protected function _mouseEventPassthrough(event:Event):void {
if (this.mouseEnabled && (!_bitmapMode || (event is MouseEvent && this.hitTestPoint(MouseEvent(event).stageX, MouseEvent(event).stageY, false)))) {
dispatchEvent(event);
}
}
 
Give that a try. If Google still gives you trouble, search BlitMask.as for "mouse" and remove all code.
 
Compile your swf regularly to make sure Flash isn't throwing any errors.
 
Perhaps the rahuljungle can share his file or more tips. Unfortunately, I have no way of testing this with Google.
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×