Add touch listener in Flash and box to tools for CreateJS

I have a question on the Flash stage with an instance name "myCircle". I'm trying to add a listener "touchstart", but it does not work when I export with Toolkit for CreateJS. I tried the following in the Flash timeline:

/ * js

this.myCircle.addEventListener ('touchend', Function {}

e.preventDefault ();

Alert ("touched");

(}, false);

*/

AND

/ * js

myCircle.addEventListener ('touchend', Function {}

e.preventDefault ();

Alert ("touched");

(}, false);

*/

The following works, but the listener is on the whole page:

/ * js

document.addEventListener ('touchend', Function {}

e.preventDefault ();

Alert ("touched");

(}, false);

*/

Also tried to get the id of the item touched in the document-alert listener (e.target.id) and it always returns the 'canvas' value no matter what I touch. Any suggestion is appreciated.

use:

/ * js

{this.myCircle.onClick = function (e)}

Alert ("touched");

};

*/

Tags: Adobe Animate

Similar Questions

  • Drag and Drop development tool for OA Framework

    Hello! Are there Drag and Drop of the development tools for OAF for ebs R12? I know this has been asked before, but most of the positions have been since 2007 or 2009. Maybe there was a recent version of JDeveloper which supports Drag and Drop?

    Thank you!

    Hello

    According to my understanding.

    Drag and Drop the features not available in Office Tools framework Jdeveloper.

    You need to declaratively or programmatically implementation.

    Thank you

    Dilip

  • Keys Flash and IE 5.2 for Mac

    I must be overlooking something. I joined a Flash file in a Dreamweaver htm page for use of buttons. Works fine in all browsers except IE for Mac version 5.2. Works fine in Internet Explorer for windows and Firefox for Mac and Windows, for both Netscape, opera is buggy, but the buttons work and Safari works. In IE 5.2 for Mac, it comes and works visually, but the buttons don't send links.

    ActionScript to buttons is as follows:

    companies_btn.onRelease = function() {}
    getURL (" http://www.aci-insurance.net/test/ACI_companies.htm", "_self");
    }

    I am using java script:

    < div class = "style5" id = "firstflash" > as you see this, you have not installed Flash Player. "" You can use our alternative at the bottom of the page links to navigate our site or you can < a href = " http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" target = "_blank" > download Flash Player on Adobe Macromedia download page < /a >. < / div >
    < p > < / p >
    < p >
    < script type = "text/javascript" >
    var fo = new FlashObject ("art/navigation/btns-manage.swf", "firstflash", "180", "420", "6", "");
    fo.addParam ("quality", "high");
    fo.addParam ("wmode", "transparent");
    FO. Write ("firstflash");
    < /script >
    < /p >

    I tested it with class object stir (same problem) I don't want to use it because of IE for windows problems, but it is useful to see that it meets the same thing:

    < object classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase ="" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6, 0,29,0 ' width = "180" height = "370" > "
    "< param name ="movie"value="art/navigation/btns-test.swf "/ >
    < param name = "quality" value = "high" / >
    "" "< embed src="art/navigation/btns-test.swf "quality ="high"pluginspage =" http://www.macromedia.com/go/getflashplayer ' type = "application/x-shockwave-flash" width = "180" height = "370" > < / embed >
    < / object >

    What I am doing wrong if it works everywhere but IE for Mac? Anyone know of a work around? The web site is done in part and I have it on the test server:
    http://www.ACI-insurance.NET/test/index.htm
    Any help would be appreciated.

    OK, basically answered my own question. Here is a cut and paste from Mactopia:

    INTERNET EXPLORER FOR MAC IS NO LONGER AVAILABLE FOR DOWNLOAD

    In June 2003, the Microsoft Macintosh Business Unit announced that Internet Explorer for Mac would undergo no further development and support would cease in 2005. In accordance with the published lifecycle support policies, Microsoft ended support for Internet Explorer for Mac on December 31, 2005 and does not provide any further security or performance updates.

    Therefore, as of January 31, 2006, Internet Explorer for Mac is no longer available for download from Microsoft. It is recommended that Macintosh users migrate to more recent web browsing technologies such as Apple's Safari.

    Last updated: October 25, 2006

    Because it is out of production. I'm out of my rotation test and I won't have to sweat it.

  • Flash is the best tool for...

    Only, I was responsible for creating a tutorial online, interactive start-up for a software application.

    It will essentially guide windows to perform a default installation, with some branching off for special cases.

    Essentially a main series of screenshots with the text that you can scroll using arrow keys, with links off of other screenshots or sequences as needed.

    My boss wants it to be "hip and flashy," wants to look into Flash.

    But is it the best tool to use for this? In all the tutorials in Flash, I've been watching that I have not seen something resembling this kind of application.

    Is there an another Adobe prodct which could be better?

    Thank you

    Flash is well suited for this task and is capable of achieving everything your boss sees as the hip and flashy.

  • Want to add listener to Client and server listens on entering text programmatically

    Scenario is,

    IM creating input text dynamically when executing the JSFF page, I would like to add a listener Listner Client and server to enter the text programmatically so that I want to execute a method in my bean

    User, tell us your version of jdev, please!

    to add a client involves in java, you can use this code

    RichInputText laughs = new RichInputText();

    rit.setId ("myit1");

    rit.setClientComponent (true);

    more things to the inputtext init...

    Set ClientListenerSet = rit.getClientListeners ();

    If (value == null) {}

    value = new ClientListenerSet();

    }

    Set your headset

    set.addListener ("blur", "manage");

    rit.setClientListeners (set);

    Add Server listener

    set.addCustomServerListener ("customEvent", getMethodExpression("#{customBean.handleRequest}"));

    Add inputtext container here

    public MethodExpression getMethodExpression (String s) {}

    FacesContext fc = FacesContext.getCurrentInstance ();

    ELContext elctx = fc.getELContext ();

    ExpressionFactory elFactory = fc.getApplication () .getExpressionFactory ();

    MethodExpression methodExpr = elFactory.createMethodExpression (elctx, s, null, new class [] {ClientEvent.class});

    Return methodExpr;

    }

    Timo

  • pop ups continue to add to update video player and they keep opening keep tabs. How can I stop it?

    New tabs keep open asking me to update my video player

    If the new tabs are relentless, you may need to restart Firefox Safe mode to get little peace. It is a standard diagnostic tool to disable some advanced features of Firefox and extensions. More info: questions to troubleshoot Firefox in Safe Mode.

    You can restart Firefox in Mode safe mode using either:

    • button "3-bar" menu > "?" button > restart with disabled modules
    • Help menu > restart with disabled modules

    Not all add-ons are disabled: Flash and other plugins still works

    After stops in Firefox, a small dialog box should appear. Click on 'Start mode safe' (not reset).

    Any difference?

  • Performance and benchmarking tools for short

    We are in the phase of Performance & Benchmarking of our short 3.0 - 9.2 PeopleSoft project. We use CloverETL to import data from a view TFTP to short. We load a large amount of data to really test the limits of short (approx. 50million rows). We use Integrator Server to run the ETLs, but the newspaper which is produced from the Integrator server is not very useful. Can anyone recommend a performance and a benchmarking tool for short that could give her more information on where time is spent during the ETL process?  It must also produce numbers of short Studio reference for large volumes of data. Does anyone know of a benchmarking tool that can give us specific times to set up a page in short (other than a stopwatch) Studio?

    For details about the time of request and response of Studio, you can enable performance metrics/logging.  View the monitoring query performance: configuration of the amount of data of registration measures [1] for more details.

    [1] http://docs.oracle.com/cd/E37502_01/studio.300/studio_admin/toc.htm#Configuring%20the%20amount%20of%20metrics%20data%20to%20record

  • There is in the information file photo, description, and keywords. If I want to add the name of the image in 17 languages which box is best for Google SEO?

    Photoshop - SEO Google. There is in the information file photo, description, and keywords. If I want to add the name of the image in 17 languages which box is best for Google SEO?

    As far as I KNOW, web browsers do not read image metadata.

    You should use the alt attribute for this sort of thing, or you might have a legend hidden with 17 languages, if you do not want to display on the web page.

  • How can I add URL to my instances and components in flash?

    I'm building a website in flash and I am totally new to action script, script from Internet loan. I searched for days how can I link my Flash pages to each other, but I can't find anything (for action script 3), what Code to use? Also, I'm looking for how can I add links to pictures in my title component List to other pages that I created.

    I've included the Script I made for my component list title.
    How can I insert URL or links in this code for each item?

    Have you checked in the help:

    Help

    You might not be able to do as you do.
    Look in your code :--> source: "Items/Item1.png"

    How about if you create video clips that have images inside of them and the ActionScript for the video clips that will make certain actions... like go to a link...
    So that when you click on the image movieclip you can navigate to the URL... Keep in mind that navigateToURL() function does not work in the Flash IDE environment... you must put in the real site to test.

  • I have firefox I put in player17.0.0 flash and I can't see vidios on utube or play games on facebook or zynga. Why not? What should I do?

    When I was asked to update my flash player, so I did, I was playing farm town 2 on Zynga. When I did, I went to play my game and the image would not return. The site came, but the game would not load completely so that I can play the game. I'm went on You tube to play music videos and the videos would not play. I went to my WWE network to see if I could look at him and I could not watch anything there either. I can not even play my games book face. I loaded and unloaded flashplayer at least a dozen times or more, and I still can't get anywhere. I can also do not charge any old version of flash player. What should I do?

    First of all, unfortunately, pop-up message on the Flash updates while you visit Web sites can often install malware. If you notice any strange behavior then please complete your plan of regular safety with some freedom to scan/cleaning of the tools listed in our technical support article: Troubleshooting Firefox problems caused by malware.

    Secondly, your "more details of the system" does not show the 'Shockwave Flash' plugin, so it can be disabled. You can check on the page modules, either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click on Plugins. Search for "Shockwave Flash", and if you find it, change permission to 'never activate' to 'ask to activate '.

    If the plugin is not there, you can check the following folder to see if you find this file on the system:

    File: C:\Windows\SysWOW64\Macromed\Flash
    File: NPSWF32_17_0_0_188.dll

    I also noticed something odd: you said Windows 7, but your Firefox means Windows XP. Could clear you any parameter of backward compatibility on your shortcut to Firefox. Here's how, either:

    • Right click of your Firefox shortcut on the desktop > properties
    • right click on your icon of Firefox taskbar pinned > Mozilla Firefox right-click > properties

    In this dialog box, open the Compatibility tab and make sure that nothing is settled here, so Firefox can take full advantage of Windows 7.

  • Flash and Silverlight don't work at all in beta 34.0, when Internet Explorer is working correctly with these; immediately arrived with Update Beta 34.0.

    Hello!

    Immediately after the Update Beta 34.0, Silverlight and Flash, completely stopped working in Firefox. I am running Vista Home Premium, Service Pack 2.

    They work fine in Internet Explorer.

    This happens in any website I want.

    For example, I can go on Youtube and the page will display a black box where the video should be, but there is no control of playback, or any way to activate the video. Clicking in the black box has no effect.

    On the site of game music, Grooveshark, the site does not recognize Flash installed at all. (If you have not installed Flash, this site displays a message each time. Grooveshark correctly recognizes that Flash has been installed by Internet Explorer.)

    I've updated the Flash plugin for the current version, which also has nothing.

    I have not reinstalled Firefox, or do a system restore, still.

    I just bought a new computer I was going to migrate to and withdraw from this computer, so I wasn't going to make heroic efforts to solve this problem. I reported this more on the order of a bug report.

    Thank you.

    Karl

    Karl,

    Do you by chance have Flashblock installed? I had checked before and did turn off but it seems was not enough. Update b 34, 1 break Flashblock who, in turn, breaks Flash and, for me, VLC. I had to disable (in Add-ons) and restart Firefox, and now everything is fine.

    I found this while digging for answers on the Mozilla forums and eventually find http://forums.mozillazine.org/viewtopic.php?f=23 & t = 2881007
    on Mozillazine.

  • I installed Adobe flash 11.0 repeatedly and it will work for other browsers, but Moxilla do not recognize. How can I detect it?

    I have Windows 7 running on a new Dell Inspiron.

    Whenever I use the Mozilla Firefox browser - it says I don't have Adobe Flash installed 11.0. I know that I do because if I open explore all sites who need Adobe Flash work.

    I should prefer to use Mozilla - is there a way I can get firefox to recognize the Flash from Adobe, I installed?

    There are 2 versions of Adobe Flash:

    • an ActiveX version for IE only
    • a plug-in version for most of the other browsers including Firefox
    • On a Windows system, you must always update both individually.

    You don't seem to have the Plugin for Firefox installed version. If you did, in the Add-ons > Plugins you would see "Shockwave Flash (version)". If 'Shockwave Flash' is there and is disabled, click on the button "activate".

    Make sure that your Plugins often-> http://www.mozilla.org/en-US/plugincheck/

    • We know only the Plugins the more popular/used by this page
    • page detects only installed, activated Plugins

    Install or update Adobe Flash

    1. With Firefox, click on the following link and SAVE the download on your desktop, so you can find it later. Clear all of the items on this page that you do not want to download (i.e., "McAfee Security Scan Plus"):

    2. When the download is complete, close Firefox (file > button OR exit Firefox > exit)
    3. Click or double-click the file that you just saved on your desktop
      • In the install window that appears, select the check box to the left of "I read and...» "to place a check mark in the box of
      • The button 'Install' in the lower right corner is now highlighted, click it.
      • Installation is quick.
    4. Launch Firefox and test your installation here: https://www.adobe.com/software/flash/about/
    5. To the update/install the ActiveX for IE onlyversion, repeat the process, but use IE to go to the site above.

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

  • iPhone 6 more screen flashing and does not

    Hello

    For the last few days, my iphone 6 more screen starts flashing from the top and the touch screen doesn't respond. The phone is still under warranty.

    I went to apply here authorized service center in Singapore, they have looked at my phone and said, there is a slight inclination in the phone which will be considered physical damage where it can not be repaired / replaced under warranty, I have to bear the cost.

    Now, as I read on the forums, this is a problem of very well known with the iPhone 6 Plus, also, I don't see no noticeable turn in the phone of my eyes. I'm sure that this issue is not because of any physical damage, but as a result of an internal manufacturing.

    I'm really disappointed with the service of Apple. I don't know what to do now. Should I try to go to any other authorized service center and see what they say?

    Any advice would be appreciated,

    Thank you

    Rohit

    I started having the same problem with my Plus 6. I took it to the Apple store today and the tech told me that it is a known issue that they see a lot. They hope that Apple will issue a recall notice. My phone is out of warranty, so they would be out swap with a unit refurbished for $329. The real kicker is that he said that they have the same problem with a lot of devices refurbished right out of the box. My options are to keep a phone that keeps flashing and does not or pay $329 for a replacement who may have the same problem that has my current phone. It's really bad assumption of a product!

  • HP 2509 m screen flashes and turns off using a HDMI Cable entry

    I have problems with my new HP2509m monitor. When I connect to my cable box using the HDMI connection the screen image flashes for a few seconds and then goes black for a few seconds and continues to do so. The time interval varies from May 3 to 6 seconds in each phase.

    It's the second monitor I got that this behavior. When I bought my system in October I ordered the 23 "monitor and it worked fine with the HDMI input, but I had trouble with the PC and he traded. The 2509 was introduced at the same time so I decided to share my monitor 23 "to 25", but now I'm regretting this decision. The main reason I bought the extra monitor should have the opportunity to move to the HDMI input for TV viewing, save space in my office.

    I tried the monitor using the same HDMI cable plug into the HDMI from my computer and the light is very good, so it seems to be a problem with the signal from the cable, but everything worked with the 23 "monitor leaving I think there is an issue with tuner HDMI monitor 2509.

    I searched the documentation on the HP site and google search but have found nothing of the sort. Someone has seen this and is there a solution for this? I like to keep the monitor. Thank you.

    Message edited by JudgeLeo on 03/12/2009 20:00
    Message edited by JudgeLeo on 03/12/2009 20:03
    Message edited by JudgeLeo on 03/12/2009 20:03

    Apparently, I was early to the part of the questions of this monitor.

    It turns out that the monitor is not compatible with the decoder I've had. The box is made by the Asian Development Bank and is capable of displaying 1080I content. 1080I is not the issue but because I can use a HDMI to DVI adapter and connect to the monitor and it works OK; It is, so I don't have the computer plugged into the DVI connector as I wanted.

    My cable provider was kind enough to take the monitor and test. They discovered that one of their old version of (amino) cable boxes works very well with the monitor. They swapped the box and it worked well since.

    I use my cable provider HDMI cable, so I don't know the spec version that is.

    My advice to anyone affected by the flashing HDMI display is to get a HDMI/DVI adapter and try it. They are supplied with a certain monitors so that they are fairly easy to find if you know someone who works in a computer SCIENCE Department. If the monitor displays the signal correctly then the question is probably the cable box or as another poster suggested, the cable can be out of spec.

    It is convenient to have the double monitor as a TV. The image quality is superb, but the sound is not. I do not understand why manufacturers monitor for skimping on the speakers. A monitor with its 'premium quality' would be a point of sale, and buyers would be happy to pay for the upgrade. I don't know about a lot of people like me it's simplify - remove the clutter and cables of our offices. HP are you listening?

  • Given that you have blocked Adobe Flash and I uninstalled as suggested by many commentators, what are my options to see the content I want to see?

    Yet once, now that Adobe's Flash problems are everywhere the news what are my options to display the content on the sites that were previously used by Adobe Flash? I uninstalled Adobe Flash, but need an alternative. Thank you!!!

    Mozilla had 'soft-blocked' version 18.0.0.203 and earlier, which still allowed you will activate Flash on websites of that trust.

    If you are not accustomed to using the "Request to activate" feature with any of your plugins, here's what to expect:

    When you visit a site that wants to use the Flash, you should see a notification in the address bar icon and one of the following: a link in a black rectangle in the page or an information bar slides between the toolbar and in the page area.

    If you see a good reason to use Flash, and the site looks trustworthy, you can go ahead and click on the Lego-like icon in the address bar to allow Flash.

    But some pages use Flash only for tracking or play ads, so if you do not see an immediate need for Flash, feel free to ignore the notification. It will just sit there in case you later want.

    Until this ordeal of previously unknown security flaws shakes, you might want to try this and see how it fits. To set the Flash "Ask to activate", after you have reinstalled it, open the page modules using either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click on Plugins. Search 'Shockwave Flash' and always change 'enable' to 'ask to activate '.

Maybe you are looking for

  • What is the other user in the login window?

    What is this other in the login window, and how to remove it?

  • Bug Safari: could not establish a secure connection &amp; search bar problem

    I'm hosting a server wiki on one of my macs and he got a self-signed certificate (the one generated by the server application). Since a few days ago (10.11.3 upgrade could be the culprit), Safari cannot establish a secure connection, no more. Oddly e

  • Synchronization Manager does not work

    How can I get my eating Sync to work. It stopped working a month ago and now I can't do all the tasks on my computer! example: Envoy of attachments of my documents to send to someone or send the photos from one file to another email. I can't open som

  • HP 2000-2d62sr can't find the graphics card driver

    I found my product number and the name of the product in the HP support assistant. Product name: HP 2000 Notebook PC Product number: F1W05EA #ACB After installing Windows 7 64 bit, I installed all the drivers except driver for graphics (graphics) car

  • Error Code BIOHD-2 disk hard don't Test no drive detected

    I'm working on a HP Pavilion p6214y desktop PC. Just to list the specifications for any unusual problems: OS = Windows 7 Home Premium 64-bit MB = HP P/n: 513430-002 with AMD Athlon II x 4 620 Quad Core HD = Western Digital 1 TB Power = 350W LiteOn RA