Can I use an animated symbol acting like a mouse cursor?

Hi,
I'd like to use an EDGE animated symbol ( a blinking magic wand) as my mouse cursor (hiding the original cursor) that stays on the stage all the time at a certain point in the timeline and when clicked on a hotspot, goes to another point in timeline where the symbol no longer act as a mouse cursor. I used the following code suggested in the following thread by YOSHIOKA Ume
Re: How to I have an animated symbol follow the coordinates of the cursor when clicked?
1:create a symbol named "Symbol_1"
2:add this code on Symbol_1-Timeline.complete.
//delete this instance when timeline complete. sym.deleteSymbol();
3:add this code on document.compositionReady.
//on/off mousemove event handler method
sym.$("Stage")  
.mouseover(function(){    
sym.$("Stage").on("mousemove",draw);  
//create instance of Symbol_1 on stage.
function draw(evt){  
var instance = sym.createChildSymbol("Symbol_1", "Stage");  
instance.getSymbolElement().css({    
position:"absolute",    
top:evt.clientY,    
left:evt.clientX   });
But the problem is, the symbol is being repeated/drawn one after another according to the above code, which I don't want. Changing the cursor using CSS requires a URL of a image file, not a symbol inside EDGE as it seems. How can I get back the normal mouse cursor in another point in the timeline (and go back to the animated symbol mode again if needed?). If I click on another hotspot element on the stage, do I actually click on the attached symbol as a cursor? Or the hotspot?
Also, how can I put a constraint on the cursor so that it stays within a certain rectangular area smaller than the stage?
A suggestion is much appreciated.

Here is a example I had to move a symbol around as a mouse cursor and play different part of the symbol timeline based on user action.
mouseCursor.zip - Google Drive
To constraint the symbol to stage area,check for the x and y values in the event callback function before moving the symbol.
To get back the normal cursor set the css back to default
ex: sym.getSymbol('Stage').getSymbolElement().css({ 'cursor' : 'default'});

Similar Messages

  • Can't type in form fields, acts like right mouse click.

    Using the mouse pad or magic mouse - anytime I single click in a fillable field it acts like a right or two finger click and will not let me type in the fields. It won't even let me type in URLs.

    I have this problem too. I've disabled all add ons except Foxtab 1.4.9 to no avail. The problem goes away when Foxtab is disabled. But I love Foxtab.
    Interesting discovery: everything is fine - I can type merrily along like I am here - until I click my mouse. Then the problem occurs. I have to go to another text box, type some stuff then come back. Both my Apple computers are experiencing the same problem. Both have wireless mac mice. Both started the same problem about 3 months ago. Not using my mouse gets round the problem but it's a pain because I am often cutting and pasting text into a text box. Any ideas?

  • Can I use this animation of svg??

    Can I use this animation of svg??
    Elastic SVG Elements | Codrops

    I don't know enough about manually writing code to create those SVG effects. I just know Muse will allow placement of such code once it is created.
    Adobe Edge Animate has a lot of creative capabilities. A lot of things can be done with SVG elements within that program. Edge Animate can output .OAM files of finished animations to place within Muse. Certain things in Muse, like Slideshow widgets, can be used to trigger and control playback of those .OAM files.

  • Can I use ASUS VM60-G072R Desktop (like mini Mac) with my iMac all in one computer? I need to use Windows version of QB and I don't want to buy a PC tower or laptop.

    I need to use the Windows version of Quickbooks Pro and I don't want to use Parallel or buy a PC tower or laptop. Can I use ASUS VM60-G072R Desktop (like Apple Mini) with my iMac all-in-one computer?

    Thank you Kappy. I guess I have to decide to purchase a separate monitor and keyboard for this mini PC computer then. And also find extra space in my office. I'm happy you answered my question so quickly.

  • Can i use itunes radio without wifi like while driving in my car?

    can i use itunes radio without sifi like while driving in my car?

    Actually yes, beacause you have 4g or LTE and it will service with the WIFI, although it will cost cause for the internet like 4g and LTE so don't use too much. PS: I learned it the hard way.

  • How can I use the LabVIEW Symbol Editor as a Sub-VI?

    How can I use the LabVIEW Symbol Editor as a Sub-VI?

    mc-hase wrote:
    > Thank you for your ansver.
    > That means that you see no possibiltiy to use the built in window? (I
    > think the built in window is programmed with LabVIEW as well...)
    The icon editor at least up to version 7.0 of LabVIEW is not written as
    VI but directly implemented inside LabVIEW, which is written in C/C++.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Can I use Adobe Illustrator symbol to create a logo identity?

    Is it allowed to use an Adobe Illustrator default symbol (which is normally supplied with the program in the symbols library) to create a logo for a non-for-profit organisation? Is there a contact in Adobe for such enquiries to be officially addressed?
    Many thanks,

    Thanks, Mylenium. Actually it is for a non-for-profit ogranisation and I am not charging anything for it, it is totally on a probono basis. Also the symbol has been modified from its original form in terms of colour.
    Date: Wed, 15 Jul 2009 12:02:57 -0600
    From: [email protected]
    To:
    Subject: Illustrator Can I use Adobe Illustrator symbol to create a logo identity?
    Read the Adobe EULA, section 2.7. Basically it says (in human language) that you can use any of the files that come with Adobe programs in your own work as long as you don't sell them 1:1, i.e. it's okay to use a symbol as part of a logo, but not use a unmodified symbol alone and sell it to clients.
    Mylenium
    >

  • Hi. I'm looking to purchase an ipad air, but before I do I need to know if the device can be used by multi user logons like a lap top can be?

    Hi. I'm looking to purchase an ipad air, but before I do I need to know if the device can be used by multi user logons like a lap top can be?

    Thanks for your help. Bit of a shame really as it would be used as a family device for games etc but I don't want to double purchase everything, plus my progress in a game would be different to others.

  • HT4436 We changed the iCloud account on the Mac Book and now we can not use some part of iCloud like Documents, etc on the Mac book to sync to iPad.

    Hi,
    We changed the iCloud account on the Mac Book and now we can not use some part of iCloud like Documents, etc on the Mac book to sync to iPad.
    It says it is not the principal account.
    Regards,
    JG

    The iPad and the Mac need to be signed into the same account, 2 different accounts won't work

  • HT5037 I have Iphoto 9.5.1 on my MacBook pro I can't use it and I'd like to suggestions?

    I have Iphoto 9.5.1 on my MacBook pro I can't use it and I'd like to suggestions?

    SUggestion wouls be to give us some information
    Like what version of iPhoto it is that you can not use and why you can not use it? - what happens
    LN

  • I have a iphone 5 ,can i use it as a ipod like just buy a sim and have no plan?

    i have a iphone 5 ,can i use it as a ipod ,like just buy a sim card and put it in to activate the phone with no plan?

    I'm fairly certain you can do this.  I traded my iPhone 5 for an iPhone 5S.  When doing that, the Apple Store moved my service, leaving my iPhone 5 with a non-working SIM card.  Indeed, it did behave as an iPod would.

  • Can I use iphone 4 as a keyboard and mouse with a mini mac

    Can I use iphone 4 as a keyboard and mouse for a mini mac desktop

    Take a look at this
    http://itunes.apple.com/au/app/touch-mouse/id338237450?mt=8

  • Can I use apple modem with ge keyboard and mouse?

    can I use apple modem with ge keyboard and mouse?

    Which Apple Modem is it exactly?
    And why would/how could the Modem affect the Mouse or KB as you see it?

  • Can you make a composition widget act like an accordion widget?

    Is it possible to make a composition widget act like an accordion widget? The reason I ask is because the styling that I can do inside of a composition widget is much more than that of a accordion widget which is just a simple text frame, makes it impossible to add images/icons where I would like to. The only work around to this is to make a .psd file with my states already predefined in it, however If I have to resize the widget for any reason I then have to go and edit the psd file vs just simple moving the items in muse.

    Hi
    How exactly you are trying to style the text or image ?
    You can insert any object or widget in accordion , add image or draw a rectangle with different states defined. You can resize while placing the image etc.
    If this is not you are looking for , then please elaborate as what specific changes you are looking for the object in accordion.
    Composition and Accordion , both are different and works differently but you can use accordion itself and make the changes to text or image anything inserted in the container.
    Thanks,
    Sanjit

  • How can i use an animated image in FORMS

    I like to use an animated image, means a jpg image created by a jpeg_animator, in a simple control image.
    Thanks for help.
    null

    i used an animated gif in my application.
    You could animate it, by using an activex-control (freeware). Download it from http://www.codeguru.com/atl/Gif89a.shtml.
    it works fine!

Maybe you are looking for

  • MPEG2 Output Final Cut Pro or Quicktime

    Does anyone know if there is a plugin available or setting in Final Cut that will allow me to export my video as an MPEG2 file? Thanks, Michael Howard

  • Automatic invoice settlement

    Hi. Recently we have started issuing PO & invoices in foreign currencies. Payments are sent in the respective currencies as well. Whenever we do all of the aforementioned in the local currency, after running F110 automatic postings and invoice cleari

  • ACS database users and passwords.

    Hi, i need to get all users and passwords from a acs 3.3 database unencrypted. How can i do it? Could you help me ?

  • JSP and RowSetBrowser Bean

    I am using BC4J for creating a JSP based application. I want to use RowSetBrowser web bean for listing the records, but I want to show page by page, for example 10 records per page and clciking on next page on NavigatorBar ( another web bean in my js

  • KeyFigure showing ' * ' instead of value

    Hi, My web report shows the sign * in some places for KeyFigures instead of the value. This is due to too many numbers in the value, right? Is there a way of showing these numbers anyway? Best Regards /Dan