search for: addeventlistener

Displaying 20 results from an estimated 29 matches for "addeventlistener".

2009 May 15
1
[PATCH server] First round of (largely) cosmetic changes to flexchart.
..."0xbbccdd"); + chartArea.setStyle("backgroundColor","0xffffff"); chartArea.verticalScrollPolicy = ScrollPolicy.OFF chartFrame.addChild(yScale); chartFrame.addChild(chartArea); - this.container.addChild(chartFrame); + + chartFrame.addEventListener(FlexEvent.CREATION_COMPLETE,drawLine); XAxisLabelArea = new Canvas(); XAxisLabelArea.height = Constants.labelHeight; XAxisLabelArea.minHeight = Constants.labelHeight; XAxisLabelArea.percentWidth = 100; - this.container.addChild(XAxisLabelArea); + var t1:D...
2008 May 03
1
[Bug 15814] New: unable to view new york times feature
...amed "onBeginHandler" on object SwfdecAsObject SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no function named "tabPaneChangeHandler" on object SwfdecSpriteMovie SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no function named "addEventListener" on object unknown SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no function named "addEventListener" on object unknown SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no function named "addEventListener" on object unknown SWFDE...
2005 Dec 18
3
JavaScript question
...back to the instance? Anyone got a clue? For further info: I register this event-handler like so: this._addEvent(document,"click",this._clickhandler); where addEvent is the following function: org_apache_myfaces_PopupCalendar.prototype._addEvent=function(obj, evType, fn){ if (obj.addEventListener){ obj.addEventListener(evType, fn, false); return true; } else if (obj.attachEvent){ var r = obj.attachEvent("on"+evType, fn); return r; } else { return false; } } regards, Martin
2008 May 02
0
[Bug 15801] New: AOL video doesn't play
...n't start the video. Initial messages from the top part (*-shell.swf): SWFDEC: WARN : swfdec_swf_decoder.c(342): swfdec_swf_decoder_parse_one: tag function not implemented for 73 DefineFontAlignZones SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no function named "addEventListener" on object SwfdecSpriteMovie SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no function named "addEventListener" on object SwfdecSpriteMovie SWFDEC: WARN : swfdec_as_interpret.c(895): swfdec_action_call_method: no function named "createAccessibilityImpleme...
2009 Sep 14
1
Event listeners
Hello I am new to Mapstraction so bear with me. I am trying to use Mapstraction V2, I need to call particular function when the map has loaded. I have tried this.map.addEventListener(''load'', this.onMapReady, this) unfortunately this does not seem to do the trick. How would one go about achieving this, is there a place where i can access V2 examples? The sandbox only seems to contain two examples and none deal with events. Thank you. _______________________...
2005 Jul 10
1
Konqueror compatibility
Thomas, currently the script.aculo.us scripts have some workarounds for Safari that should be extended to more generally cover all khtml-based browsers, Konqueror in particular. In prototype.js, there is a workaround for an addEventListener bug that affects Konqueror as well as Safari, controls.js has a similar workaround, and the special case in dragdrop.js doesn''t hurt anyway. In the current state, autocomplete in particular, does not work with Konqueror, which is too bad, as it''s easy to apply the same workaro...
2009 May 31
7
[mapstraction commit] r11 - Added functionality to automatically load scripts needed.
...ion + */ + function loadScript(src, callback) { + var script = document.createElement(''script''); + script.type = ''text/javascript''; + script.src = src; + if (callback) { + var evl = {}; + evl.handleEvent = function(e) { + callback(); + }; + script.addEventListener(''load'' ,evl ,true); + } + document.getElementsByTagName(''head'')[0].appendChild(script); + return; + }; + + /** * Calls the API specific implementation of a particular method. */ var invoke = function(sApiId, sObjName, sFnName, oScope, args){ @@ -...
2015 Aug 06
3
Asterisk uses "Anonymous", but why?
...t; > > Richard > > > Hi Richard > What should I use for extension? Since I am not bridging an extension with > outbound, but making an outbound call and playing a sound file, what would > be the extension? > > Here is my Asterisk-Java code: > > managerConnection.addEventListener(this); > originateAction = new OriginateAction(); > originateAction.setChannel("SIP/"+ani); > originateAction.setContext("from-pstn"); > originateAction.setExten(????); > originateActi...
2015 Aug 06
4
Asterisk uses "Anonymous", but why?
On Thu, Aug 6, 2015 at 11:56 AM, Murthy Gandikota <murthy64 at hotmail.com> wrote: > Tested with X-Lite and it worked fiine. Is there some way to replace > "Anonymous" with a config parameter? > > Thanks for your kind help > > ---------------------------------------- > > From: murthy64 at hotmail.com > > To: asterisk-users at lists.digium.com >
2014 Aug 12
3
[LLVMdev] MCJIT debugger registration interface.
...to access the debug info sections. We would provide, either in LLVM or LLDB, debug info parsers that wrap this class to parse the contained debug info. My intent is that use of this API would look something like: ExecutionEngine EE = ...; DebugInfoListener DI = new DebugInfoListener(...); EE->addEventListener(DI); EE->addModule(Foo); EE->addModule(Bar); MCJITDebugInfoParser DIP = createMCJITDebugInfoParser(DI); DIP...; Any thoughts/comments on this (admittedly very vague) proposal are very welcome. Assuming it sounds reasonable so far, I'm going to start hacking up some patches and basic use...
2007 Feb 12
18
document "expando" properties broken in Konqueror
I noticed that some of my event handlers and scripts evaluated in ajax responses didn''t work in Konqueror (3.5.5). document.getElementsByClassName is not defined in these contexts. I can work around this, by saving document.getElementsByClassName in a (namespaced) global variable once and reassigning it before each use. Still, this misfeature is annoying and not restricted to this
2015 Aug 06
2
Asterisk uses "Anonymous", but why?
...; Hi Richard > > What should I use for extension? Since I am not bridging an extension > > with outbound, but making an outbound call and playing a sound file, > > what would be the extension? > > > > Here is my Asterisk-Java code: > > > > managerConnection.addEventListener(this); > > originateAction = new OriginateAction(); > > originateAction.setChannel("SIP/"+ani); > > originateAction.setContext("from-pstn"); > > originateAction.setExten(????); > > originateAction.setPriority(new Integer(1)); > > originateActi...
2019 May 02
2
Llvm-mca library.
...ou’ll need to construct an mca::Context and use that to create a mca::Pipeline instance. For starters, I suggest just using the default “out-of-order” pipeline. “createDefaultPipeline” 2. Next, register some handlers take a look at the HWEventListener class in include/llvm/MCA. Use “Pipeline::addEventListener” to register for the events you might be interested in, such as pipeline stalls. llvm-mca.cpp does this on behalf of the Viewers. If you trace what the viewers are doing in the source file, you’ll probably want to do something similar. 1. Call “Pipeline::run” to start your experiment and colle...
2005 Jun 29
14
Unobtrusive scripting?
Currently, pages generated by Rails tend to be sprinkled with JavaScript. This happens, because the various helper methods work only locally and simply append to the output. In order to hide the JavaScript away, rendering would probably have to be changed. A way I can think of is that a page-specific script is included in the head of the document and JavaScript code is not written to the
2009 Apr 12
0
Adding an eventhandler for click, but still be able to zoom in with doubleclick
...using Mapstraction in Zoph (http://www.zoph.org), and although it works very well (thanks to all for their efforts!), I am running into one little problem: On one page, I am allowing a user to add / edit a marker on a page, by clicking on the map. I do this by adding an eventhandler: mapstraction.addEventListener(''click'', clickmap); However, this causes zooming in by doubleclicking to stop working. I have seen pages (Googlemaps itself, for example) where this still works, also, Javascript has seperate events for click and doubleclick, so I guess it should be possible to determine the diff...
2009 Mar 17
0
removeEventListener and polylines
Hello, my name is Mario and I''m new to Mapstraction (and to Javascript too). I''d like to know how can I remove a listener previously added with the method addEventListener. I found nothing on the documention so I coded a removeEventListener method. If you think it will be useful I can post it (but as i said I''m a newbie to both Javascript and Mapstraction so it can be ful of errors :) ) Another question is about polylines. Is there a way to remove a polylin...
2019 May 03
3
Llvm-mca library.
...a::Context and use that to create a > mca::Pipeline instance. For starters, I suggest just using the default > “out-of-order” pipeline. “createDefaultPipeline” > 2. Next, register some handlers take a look at the HWEventListener > class in include/llvm/MCA. Use “Pipeline::addEventListener” to register > for the events you might be interested in, such as pipeline stalls. > > llvm-mca.cpp does this on behalf of the Viewers. If you trace what the > viewers are doing in the source file, you’ll probably > > want to do something similar. > > 1. Call “Pipelin...
2017 Oct 31
0
Wine release 2.20
...hase implementation. mshtml: Store all attached listeners before calling them in call_event_handlers. mshtml: Store all event listeners in a list. mshtml/tests: Added a few more event tests. mshtml: Properly invoke event listeners in IE9+ mode. mshtml: Added IDOMEvent::addEventListener implementation. mshtml: Added IDOMEvent::removeEventListener implementation. mshtml: Added support for capturing event phase. mshtml/tests: Added addEventListener tests. mshtml: Don't set no_event_obj for XHR events. mshtml: Release listeners in call_event_handlers...
2007 Jul 20
0
IE6 assigns "undefined" to _counted property when matching
...ng. I assume that unmark() was called by _rows[0].down() in the addLineItem() function. So the line (#2595) in matchElements has "if (element._counted)", which returns true when it shouldn''t. Changing line 2595 to be explicitly: if (element._counted==true) caused an error "addEventListener is null or not an object" in IE6. I have no idea why. But changing line 2295 to: _counted = "", worked in all the browsers I tested, even if it''s not the right way of doing things. --~--~---------~--~----~------------~-------~--~----~ You received this message because you...
2017 Sep 08
3
offtopic: Solr compatible IMAP client
Hi, not sure if I'm allowed to go this off topic on here, sorry if not! I've just installed Solr FTS for Dovecot and its great, as is Dovecot! ;) It works perfectly for fast searches using Roundcube, but can anyone suggest any Windows and/or Linux mail clients that work well with IMAP searches rather than doing their own searches on local copies of mails? I've had a look at