How can I drag and move my mouse to 'scrub' away a layer

Hi,
I'm trying to make an interactive animation where when the user clicks and moves the mouse around an area, the opacity of that part of the layer decreases and the user gets to see the background layer. It's similar to the idea of using a brush to clean a dirty window.
Can anyone advise on what is the best way to tackle this? Any help is much appreciated!

Check out this post  which uses canvas:
http://stackoverflow.com/questions/16270902/canvas-eraser-for-html5

Similar Messages

  • How can I drag and drop a Tidal job into another group?

    How can I drag and drop a Tidal job into another group? In Tidal Help, it says-
    In the Jobs pane, press and hold the Ctrl key and at the same time right-click and either individually select individual jobs within a job group or drag your mouse cursor over a block of jobs that you wish to select. You can only move multiple jobs between job groups if the jobs being moved are on the same level.
    Keeping the right mouse button depressed, drag the cursor to the job group that you wish to move the jobs to and release the mouse button.
    When moving jobs from one job group to another, you must decide if the moved jobs keep their original job group attributes or assume the calendar and agent characteristics of its new job group.
    A confirmation dialog, offers three inheritance options for the jobs moved to the "new" job group parent. Select one of the following options:
    However, when I attempt to follow those instructions, it doesn't work at all and there is no indication that it's even trying (i.e., I don't see the selected job following my cursor at all and all I get is the normal menu when you right click anywhere on the screen.)
    Is there another way to do this or is there a master setting that needs to be changed so that ability is enabled?
    Thanks.

    Go into edit mode for the job group group and just manually edit the section for Parent job/Group.
    Cheers

  • How can I install and use a mouse on an iPad.

    How can I install and use a mouse on an iPad?

    This has come up a number of times over the years...you cannot use a mouse with an iOS device such as the iPad since there is no cursor to move around.  Interface has to be via the touch screen.

  • How can I drag and drop an icon/image into a panel??

    Dear Friends:
    How can I drag and drop an icon/image from one panel into another target panel at any position in target panel at my will??
    any good example code available??
    I search for quite a while, cannot find a very good one.
    please help
    Thanks
    Sunny

    [url http://java.sun.com/developer/JDCTechTips/2003/tt0318.html#1]DRAGGING TEXT AND IMAGES WITH SWING

  • I bought Photoshop CS6 in 2nd hand market and it was already registered in pre-owner's account how can cancel this and move to my account?

    I bought Photoshop CS6 in 2nd hand market and it was already registered in pre-owner's account how can cancel this and move to my account?

    Hi Syjung,
    The previous owner needs to transfer the license by filling the below form.
    http://helpx.adobe.com/x-productkb/policy-pricing/transfer-product-license/_jcr_content/ma in-pars/procedure_2/proc_par/step_0/step_par/download/file.res/Transfer%20of%20License%20F orm.pdf
    Thanks

  • How to make a rectangle in a XY graph & this rectangle can be Drag and Zomm by Mouse

    I have a curve display in a XY graph, that is simple.
    But
       My customer want one or tree rectangle display in this graph also, these rectangle can be drag, Zoom,  such as below pic,
    the problem is how to use mouse control these Rect, Drag to move, Drag corner to Zoom.  thanks a lot

    Hi,
    First learn how to plot your rectangles (several segments).
    Then use a structure event with XYGraph => mouse down to check when user begin the drag
    Use the same structure event with XYGraph => mouse move to update your graph during movement.
    Best Regards
    V-F

  • Can't drag and move objects

    Using the Selection tool, i can select any object, but i can't click hold and drag it to a different position, like i usually can. I can click on one sides, or corners, and scale it just fine. I can also select it, right click, transform, move, enter a value and move it, i just can't click and drag it.
    All layers are unlocked, all objects are unlocked. This must be some hidden lock feature that somehow got enabled.
    Any idea how to fix it lol?

    Nope, I did not.
    However, i just rebooted my computer, reopened the document, and the problem went away. So i guess it was just some sort of a glitch at the time, I had actually fully closed Illustrator prior to this post, then reopened, and it didn't fix it.
    I think there is some random stability issue with my machine, it has reared its ugly head before in other areas. I can't even print from adobe reader because the graphics come all garbled out :-/. I've yet to reinstall it.
    Thanks for the help though.

  • How can I drag and drop an item from one Tree control to another in LabVIEW 7.1?

    You can use the mouse up and down event on the two tree controls but the problem is making the correct selection in the second tree control. I want to be able to switch over to the selection bar of the second tree control so that I can place my item in the correct position. I know all possible workarounds with double-clicks and so on... but I really want a windows drag and drop.
    This is what I have for the moment. Please check the library below. I need to activate the selection bar of the second tree control somehow to get the position in the control. The VI below is written in LV 7.1
    Attachments:
    Drag&Drop.llb ‏65 KB

    Hi Jones,
    As far as I know this feature is currently not supported by the Tree control. A workaround, would be to use the vertical position of the mouse in the button up event to determine what line you�re dropping the item.
    If you would like the Tree control to include the drag and drop feature, please submit this as a Product Suggestion under the feedback at www.ni.com/contact.
    Good luck!
    Best regards,
    Philip C.
    Applications Engineer
    National Instruments
    www.ni.com/ask
    - Philip Courtois, Thinkbot Solutions

  • I have multiple libraries how can I drag and drop songs from either

    I have 3 PCs that are all authorized to play my music.  I have different music on different machines that I have downloaded from various places and or ripped from my own cds.  I can from my home PC drag and drop music and movies to my iPhone.  But on my work PC say if I download a new Album (not from itunes) and it is in my library, I want to be able to just drag it onto my iPhone so that I can listen to it at the gym.  When I do I see a small red circle with the red slash through it and i cant copy it.  I am tired of synching and want to be able to drag and drop from any of my PCs..  is this possible?

    My mistake totally!!! I confused a new playlist folder with a new playlist.
    Just wanted to pass that along.

  • How can I delete and move up instead of down?

    When I delete an entry the next entry below the one I deleted appears. I would rather have the next entry above the one I deleted appear. This is because I start at the bottom of my undeleted entries and move up my list. How can I do this? Many Thanks, TM

    I don't think you can.

  • In Acrobat XI, how can I select and move multiple text/image blocks simultaneously on the same page?

    I work with student-generated PDFs that require all content to be within a specific margin range. Occasionally tables and figures are indented or otherwise spaced incorrectly so that the content violates the margin requirements. In Acrobat X, I could use the select tool to draw a select box around all of the text and lines within a table, for example, and just slide the entire table over a bit to meet the requirements without sending the PDF back to the author for a correction. This didn't always work, but often enough that I was able to use it on a daily basis.
    Is there a way to select multiple (but not ALL) text blocks and image pieces on a page, so they may be moved simultaneously? If I have to select every text block and line (or every point and line within a graph) and move them each individually, this is going to be a nightmare.
    I have Acrobat XI for both Mac and Windows, but tend to use the Windows version more often.

    Hey, I'm using Acrobat XI and I can't multi select like I use too do with shift as always. Now I get a green note every time I want to multi select with shift + click as always. I also use Pitstop and I get the same green notes.
    Can someone help me ?

  • How can I drag and drop lectures within an itunes U album so that they appear in order after syncing with my iphone?

    Whenever I download audio iTunes U lectures, they don't show up in the order in which they were recorded and therefore do not sync in order on my iphone.  There is no sorting option to sort by date recorded.  All I want to do is drag and drop the individual lectures to their proper location so that they will be in order by recording date.  Anyone have the secret?
    Kristy P-S

    This problem started last year when ios 8 was released. I think apple is trying to force users to buy music on iTunes store and that's why it's impossible to sync other music and also that's the reason why they haven't solved this serious problem. That's really disappoints me and i'm angry with apple because i have like 10 gb of music in mp3 and i can't sync music from iTunes to my iPhone.

  • How can I drag and drop a song from my "Purchased" list on to my i-Pod?

    I've recently updated the apple software on my PC and the new version of i-Tunes won't let me drag and drop songs from my "Purchased" list directly to my i-Pod.  I don't want to sync my i-Pod.  It will erase all the songs on my i-Pod and sync with the playlist from my PC.  I want to select just one song from my "Purchased" list and put that on my i-Pod.

    I got my own answer !!   I saw it on another post.  Select "View" and then toggle down to "View Sidebar".
    Now I can drag and drop like before. 

  • How can I select and move half of my timeline content  to the right without altering anything?

    I am having trouble selecting a good portion of my timeline (including everything, transitions, music, etc) and moving to the right without having some parts to be shifted to wrong palces. A lot of times the end of certain movies get cut off, so I have to strech the clip again and find the right spot I had before than I end up creating a much bigger mess. I cannot find a way to select all the clips I want to move and have them freezed until I drop the click of the mouse. I am new to this and have been watching tutorials at lynda dot com to keep up with ny learning. Any help would be very much appreciate it. Thanks.

    Select the Track Select Tool (A). Place it over the clip from which you want to move everything.
    For multiple track hold down Shift. Hold down the mouse and drag to the right.
    Quick way is to lasso all the clips you want to move and drag it to the right.

  • How do I drag and drop an action onto a task flow?

    In How to pass View Object bind variable from ADF page John states that
    You should also consider dragging-and-dropping the executeWithParams operation on your task flow and wiring it to occur before your page instead of putting it in the page definition of the page itself - this way it is more clear what is happening, and is the recommended approach for 11g apps. When you drag-and-drop the operation, you can use the dialog to bind the parameter to your page-flow-scoped variable by supplying the proper EL there.
    How can I drag and drop the executeWithParams method onto a task flow. I am using 11.1.1.5.0 on LINUX?
    I'm presuming I a need a method action in my page flow.
    I have the following action defined in my page def file:
    <action IterBinding="localizedCustomerHierarchyViewIterator"
    id="executeQueryWithParamsForLocalizedCustomerHierarchyView"
    InstanceName="BusinessRulesAMDataControl.LocalizedCustomerHierarchyView"
    DataControl="BusinessRulesAMDataControl" RequiresUpdateModel="true"
    Action="executeWithParams">
    <NamedData NDName="RootEntityId"
    NDValue="#{pageFlowScope.recommendationRule.customerEntityId"
    NDType="java.lang.Long" NDOption="3"/>
    <NamedData NDName="Language"
    NDValue="#{pageFlowScope.recommendationRule.language}"
    NDType="java.lang.String" NDOption="3"/>
    </action>

    In summary, it appears you need the following artifacts in order to initialize a view object from parameters before rendering a .jsff view that relies on that view
    1) a method-call in task flow.xml file:
    <method-call id="executeWithParamsLocalizedCustomerHierarchyView">
    <method id="__5">#{bindings.executeWithParamsLocalizedCustomerHierarchyView.execute}</method>
    <outcome id="__12">
    <fixed-outcome id="__9">initializedLocalizedCustomerHierarchy</fixed-outcome>
    </outcome>
    </method-call>
    2) a control flow rule in the task flow .xml file whose source is (1) and whose destination is the view for which you want to intiialize a view object that supports an iterator that is bound to a list, tree, etc.
    3) an entry for the execute action in the databindings.cpx file
    <page path="/WEB-INF/[email protected]calizedCustomerHierarchyView"
    usageId="oracle_apps_br_view_RecommendationRulePFPageDef"/>
    4) the page def must be defined in the databindings.cpx file
    5) the page def needs to define action and iterator and list (or otherwise) that is used in UI.
    <iterator id="localizedCustomerHierarchyViewIterator"
    Binds="LocalizedCustomerHierarchyView"
    DataControl="BusinessRulesAMDataControl" RangeSize="25" Refresh="never">
    <sortCriteria>
    <sort attribute="Level" ascending="true"/>
    </sortCriteria>
    </iterator>
    <action IterBinding="localizedCustomerHierarchyViewIterator"
    id="executeWithParamsLocalizedCustomerHierarchyView"
    InstanceName="BusinessRulesAMDataControl.LocalizedCustomerHierarchyView"
    DataControl="BusinessRulesAMDataControl" RequiresUpdateModel="true"
    Action="executeWithParams">
    <NamedData NDName="RootEntityId"
    NDValue="#{pageFlowScope.recommendationRule.customerEntityId}"
    NDType="java.lang.Long"/>
    <NamedData NDName="Language"
    NDValue="#{pageFlowScope.recommendationRule.language}"
    NDType="java.lang.String"/>
    </action>
    <list ListOperMode="navigation"
    IterBinding="localizedCustomerHierarchyViewIterator"
    id="customerLocalizedEntityHierarchyList">
    <AttrNames>
    <Item Value="EntityName"/>
    </AttrNames>
    </list>
    6) a backing bean that provides the functions to initialize the parameters for execution
    The easiest way to get most of this is to drag the ExecuteWithParams from within the view in the datacontrols panel right onto the task flow diagram. The downside is that you are left with some pretty poorly named artifacts...
    Did I miss anything?
    -Klaus
    Edited by: klaus gross on Sep 29, 2011 1:00 PM

Maybe you are looking for