Getting square magnifying filter, even though it's defined by a circular object.

So I have created a magnifying effect in AS3 where the BitmapData collected is filtered through a shape that is circular.
However, when I test this out, the distortion filter goes beyond the object's circular bounds and creates a square.
When I go to mask the BitmapData, it says I cannot mask it.
Problem:                                                                       
Image Without:
I just need the best method to make this BitmapData circular.
My code:
(the premise of this is, to have a ball tthat your drag and tracks the speed of throw to reflect bouncing speed on stage, while it bounces it magnifies an image, or can be dragged to magnify it)
//Magnifying://
var dPoint:Point = new Point(0, 0);
var dMap:BitmapData = new BitmapData(object.width, object.height, true, 0x808080)
dMap.draw(colorMap_mc)
removeChild(colorMap_mc)
var dFilter:DisplacementMapFilter = new DisplacementMapFilter ();
dFilter.scaleX         = 30   
dFilter.scaleY         = 30   
dFilter.componentX     = 1           
dFilter.componentY     = 2           
dFilter.mode        = "color"   
dFilter.color        = 0x000000   
dFilter.alpha         = 0           
dFilter.mapPoint    = dPoint;   
dFilter.mapBitmap    = dMap;       
Image_mc.filters = [dFilter]
Image_mc.addEventListener(Event.ENTER_FRAME, onFrame)
function onFrame(e:Event){
    dPoint.x += ((object.x-colorMap_mc.width/2)-dPoint.x)
    dPoint.y += ((object.y-colorMap_mc.height/2)-dPoint.y)
    object.x += xSpeed;
    object.y += ySpeed;
    dFilter.mapPoint = dPoint
    Image_mc.filters = [dFilter]
Both my colormap_mc and object are round and exactly the same size.
The square is the dimensions of the circular object, but alas, it's still a square.

Yeah, but at further staring, I notice that the square doesnt have the magnifying filter.
So the displacement's location doesn't seem to be the issue.  :-/

Similar Messages

  • In Mail 3.6 remote images in HTML messages display as blue squares with ? even though checked in viewing references.

    In Mail 3.6 remote images in HTML messages display as blue squares with ? even though checked in viewing references.

    Nurit,
    The point is that that button should not be there, if the preference setting is as you say. This indicates the preference setting is stuck, and that is what I was trying to help you resolve.
    The full purge is done as follows:
    Quit Mail, and in the Finder open Home/Library and locate the Mail folder. Control-click over the Mail folder, and choose Duplicate -- then drag the resulting copy to the Desktop for temporary backup. Next, open Home/Library/Preferences and find the com.apple.mail.plist file and drag it to the desktop.
    Relaunch Mail, which will open as though new, and when prompted to import anything DECLINE. Instead, re-enter your account info, and Mail will re-discover the account folders for your accounts, and all should be well, after setting preferences as you desire.
    Ask any needed questions, and keep us posted.
    Ernie

  • Bought a new Ipod touch and the WiFi does not connect.  Tried Reset and total Restore, does not connect to Router on DHCP, tried Static manually and still can not get it to connect even though it registers as connected.

    Bought a new Ipod touch and the WiFi does not connect.  Tried Reset and total Restore, does not connect to Router on DHCP, tried Static IP, Subnet, Router and DNS manually and still can not get it to connect even though it registers as connected.  Using Airport for router, latest firmware, no problems with Iphone 4 or Macbook Pro or any other internet devices.  After total Restore (factory settings) tried again, showed connected to router, but does not display "check" next to router but little rotating icon even though the wifi range signal shows connected at full strength and it says it is connected.  Just can't seem to get it to generate an IP.  Any solutions other than turning it on and off again?  Not a Merry Christmas morning.

    Ok, so, a couple of things:  Denisefromwaleska and I have the exact same size/type/color iPod.  Now wishing I'd bought the black one maybe...
    Second, Airport is an Express and I have a second one that I carry with me when I travel.  Tried to connect my Airport Express to the internet and could not although the iPod did recognize the router and tried to connect to the internet for some time, unlike my previous problem.  Updated firmware on my travel router, still could not connect to the internet.  Going to try to set up a manual Static IP on the travel router here in a few and conect through it although I predict the problem will persist. Back on the Christmas Present Airport Express router, it is back in play and working fine for all devices save the iPod. 
    Thanks again for all your help, hopefully I can get a solution in place soon,

  • Unable to connect mac OSX 10.4.11 to wireless network (virgin media) even though iPad, iPhone and laptop ok.  Get message 'password incorrect' even though it works with other devices.  Keep getting message connect to BT unrestricted access.

    Keep getting 'do I want to connect to BT unrestricted network' which I have never used before.  I can get my ISP details input but get message 'incorrect password' even though it works with 3 other devices. My network provider, Virgin Media, sent an engineer but he couldn't solve the problem - said network was all ok so problem must be with my iMac (OSX 10.4.11).  When I try to use internet I get BTWiFi is current wireless network - I've never used this! I've tried to change this and virgin media details are accepted, it's just the password stage that prevents me from connecting. I am not very knowledgeable with computers so I really need a step by step guide to solve this problem.  PLEASE HELP!!!

    Excuse me barging in on the thread, but I have a lot of experience with Telus, and roaming with my BlackBerry (currently a Z10).  In short, you've been fed some outdated info by the Telus rep. Telus has become very Android-centric, and it seems like a good number of Telus CSR's are still reading from a Legacy BlackBerry trouble-shooting guide.
    My Z10 is unlocked, and I periodically use an AT&T sim when traveling in the US.  I have never had to change an email setting to get full email function -- including the SMTP settings.  To put it simply, your device first connects to a network using credentials provided.  At most hotels, for instance, your device will scan for and pick up a WiFi network.  The hotel will tell you the WiFi network name and give you a password to use.  You simply enter the password when prompted, then you may have to agree to certain conditions.  That's it.
    Your email settings are just that.  Using whichever network to which you are connected, the user name and password give you access.  The settings coincide with the email provider's server settings.  These don't typically change with the location from which you are connecting.
    I'd suggest you take a look at this very helpful email settings tool provided by BlackBerry, if you are having difficulty:  http://helpblog.blackberry.com/2013/03/email-account-validation-tool/
    It helps you determine the possible settings for connecting to your email provider.  Different providers offer different connection options, sometimes more than one.  Opinions vary, but my preference in descending order is:  ActiveSync, IMAP, then POP if required.  ActiveSync (aka EAS) and IMAP will offer 2-way sync.
    Take a look at the tool and pop a message back here if you have any questions.  Good luck. ~ecm

  • Trying to purchase through app store on my iphone 4s, keep getting message AppID disabled, even though I have recovered it and changed it. any ideas? I cant purchase apps.

    trying to purchase through app store on my iphone 4s, keep getting message AppID disabled, even though I have recovered it and changed it. any ideas? I cant purchase apps.

    Contact itunes support

  • When I try to update Elements 9, I get an error message even though it appears to download the update completely. Why?

    When I try to update Elements 9 I get an error message despite the fact that the update seems to download completely. Why?

    Windows 7. Thanks, but why then do I get a downloading frame that seems
    to indicate that it IS updating?
    Mila and Bill
    On 2014-12-12 14:44, Barbara B. wrote:
    WHEN I TRY TO UPDATE ELEMENTS 9, I GET AN ERROR MESSAGE EVEN THOUGH IT APPEARS TO DOWNLOAD THE UPDATE COMPLETELY. WHY?
    created by Barbara B.  in Photoshop Elements - View the full discussion

  • I keep getting Trial has Expired even though I have Muse. WHAT DO I DO???

    I keep getting Trial has Expired even though I have Muse. I click on the product and it goes to Trial Has Expired - - WHAT DO I DO???

    Hello
    Please contact Muse Support team here:- http://helpx.adobe.com/contact.html?product=muse.
    Select product as "Adobe Muse" and then click on "I still need help" to contact support team via live chat and we will further help you with the activation issue.
    Regards,
    Prateek

  • Cannot get mail on iPad even though my husband is sitting next to me and can get mail

    cannot get mail on iPad, even though my husband can get mail on his iPad, sitting right next to me. I have wifi connection and have tried turning off my iPad.

    Hi there Purdie,
    You may find the troubleshooting steps in the articles below helpful.
    Add an email account on your iOS device 
    iOS: Troubleshooting Mail
    -Griff W.  

  • Getting insufficient credit message even though or...

    I am getting insufficient credit message even though order is delivered and renewal is on 1st Mar 2015. I have subscribed to India 800mins monthly from Japan. The order for March has already been delivered on 26th Feb. Renewal date is on 1st March. Then why am I not able to call a mobile number in India. Please check.This is causing unnecessary harassment.

    I am going to report this as a fraud if the issue is not resolved.I have not received any reply till now.

  • My Mac is opening my doc in preview instead of Adobe. I loaded the latest version. It still opens in preview and I get a blank page even though the doc is there. How do I handle this?

    How do I open a doc in adobe instead of preview?   Three Imac people in a group all having the same problem. I was told to download the latest Adobe, which I did. I still cant view the document even though I downloaded it to read it. It keeps opening in Preview and shows up blank. Help!

    Right click on the document and select Open with-Adobe Acrobat. Or right click on the document and select get info, go to the open with drop down menu and select Acrobat. If you want all documents of that type to open with Acrobat check the box.

  • I Cant get on the internet even though im connected to my wifi

    I cant get the internet on my iPad 2, even though i'm connected to the wifi. I have reset the wifi on the iPad. My laptop and iPhone is working. Please can someone help me. Thanks

    Try pulling the power from your router for a few seconds, and then plug it in again. Then try the iPad again.

  • When trying to log into my bank account, I always get a Challenge Page even though I check the box to register my computer as a private computer.

    When trying to log into my bank accounts (2), I always get a security Challenge Page even though I have repeatedly checked the box to register my computer as a private computer. When I attempt to get into these same two accounts using Internet Explorer, I skip the Challenge Page and go directly to the Log In page. What settings do I need to change in Firefox so that I don't get the Challenge Page every time?

    I have had exactly this problem - Firefox - version 11, but when I updated all my plug-ins (go to Customize Firefox - about halfway down - '''''Check your plugins''''') and restarted Firefox the problem vanished. Hope this helps as this seems to be a fairly large issue.

  • TS1702 How do I get iTunes to look into a subscription problem. Twice now my Times of London subscription has vanished on the 27th of the month. Not recognized so I cannot get into the newspaper even though I have 3 more days to go, and have automatic ren

    Reporting a problem from my bill just gets me sent around in circles. This has happened before last month, and seems to be linked with the upgrade to iOS 6.0.1. as problems started immediately after the upgrade. My subscription just seems to lock itself out even though it is still current and on auto renewal. Tried all the usual tricks.

    All I am getting from iTunes is an automatic reply.
    This has been going on since September and the iOS 6.0.1 update. I have been bumped from Times of London to iTunes and back each saying it is the others problem. iTunes is the final auto response after their several suggestions is to go to the creator of the app which does seem to make sense.
    It is a bizarre problem. All is okay for about three weeks then I am not allowed into my downloaded copy. If I try to go into a page on the paper which at that point I can see, I get bumped out with a message that a subscription is not available.  The app has been re-downloaded (several times from iTunes Canada).
    Nothing seems to work. I didn't have a problem with my subscription previously. Have had the paper for several months with no problems.
    I have tried to get this message to those who might be able to do something but come up against a brick wall of automated responses.

  • My iMessages are automatically deleting and it doesn't alert me when I get a new message even though I haven't touched my notification settings..help?!?!

    My iPod Touch 4th Gen was running very slow, so after reading a blog, I doings clicked my home button and pressed the red button to stop some apps from running. It made my iPod work relatively faster, but my iMessages didn't seem to be working in the same way as they used to. It no longer alerts me when I have a message, even though I haven't touched my notification settings and my messages are always being automatically deleted. It doesn't even show the number or messages in a red circle anymore, I just have to check my messages by clicking into iMessage instead...
    This is really annoying me and I can't save old messages anymore or reply quickly to any! Please help! 

    Perform a Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...

  • I keep getting in app purchases even though it was blocked ?

    I keep getting in app purchase charges even htough i have a restriction on this in the ipad mini

    Hi dlleb21,
    If you are still receiving in-app purchase charges, you may want to double check how the Restriction was set up. You may find the following article helpful:
    Apple Support: Restricting In-App Purchases
    http://support.apple.com/kb/HT6088
    Regards,
    - Brenden

Maybe you are looking for

  • Mapping from nested to one table (sales order) XML to IDOC

    Hello, I have to map a xml file to the IDOC SALESORDER_CREATEFROMDAT2.SALESORDER_CREATEFROMDAT202. How I can map the the longtext from the XML file to the IDOC struktur. Part of the XML file, there could be n times BPosition with n times longtext. Th

  • Import songs including rates of songs

    Hello I had to reinstall my PC. I restored all the music files. But when I import my music in iTunes with the command: File\folder to mediathek I get all my music back but the ratings of the songs are lost. How can I import my songs including the rat

  • Update Service 11.6 r602

    Hallo, ich bekomme ständig die Meldung "Adobe Flash Player Update Service 11.6 r602 wurde beendet und geschlossen". Ich habe Vista und Firefox. Flash Player habe bereits deinstalliert und neu installiert. Updates sind aktuell, soweit ich das beurteil

  • Error message connot override bonjour

    I am trying to download iTune for WindowXP and I get an error message: cannot override Bonjour.msi I have removed everything and it still give me the message Thank's

  • No Default of Personnel Number and Name in Record Working Time

    Hi, In Record Working Time, I have done the necessary settings in CAC1 and CAC2. Every filed that I have selected is appearing except PERNR and Employee Name. Not only that, the fileds themselves are not appearing let alone a value for those. Is ther