Questions tagged [dispatchevent]
170 questions
0
votes
1 answer
Browser doesn't react to dispatchEvent
I am developing an webapp where I have pdfjs running in an iframe so my users can have multible PDF's open. In the parent window the user can overlay the pdf's with annotations. So the parent window captures the mouse and I would like to send the…

Jørgen Rasmussen
- 1,143
- 14
- 31
0
votes
1 answer
Sending a click event to two completely overlapping layers (with child nodes)
Ok, I have page (html, javascript, css) with two layers that completely cover the browser window. The one in front contains a navigation that should clickable. The one in the back contains a map with markers that should also be clickable. The…

bwindels
- 1,982
- 16
- 20
0
votes
1 answer
Flex 4, listen an event from parent
I have the following problem:
Description:
I have a page with a button and a spark list (spark.components.List), when the button is clicked, all the elements in the list should change their label.
The list uses a custom item renderer to display the…

Angel Montenegro
- 1
- 1
0
votes
1 answer
How far can one event go and how do I listen for it?
I have code in a flex component that I want to listen for an event, the source of the event is a custom class that's being run by another class that's being run by another class etc etc. I was under the impression that an event would pass throughout…

Damon
- 10,493
- 16
- 86
- 144
0
votes
2 answers
what to addEventListener to when listening for custom events?
I am sending an event when an sql query returns no matches so that I can continue with the addition to the database.. It seems like actionscript is requiring that I attach the listener to something, but I don't really have any variables that seem…

Damon
- 10,493
- 16
- 86
- 144
0
votes
4 answers
How do I dispatch an event from one class and listen for it in another class that isn't a child or parent of the first class?
I am making a game using AS3. I have three classes (Spaceship, UFO, and Scoreboard) which are all children of the class GameEngine.
I want to put eventListeners in Scoreboard and then send dispatchEvents from Spaceship and UFO to update the…

tgau
- 1
- 1
- 1
0
votes
1 answer
dispatchEvent doesn't work in secondary class
I have this problem here:
I have a SWF called Application.swf that loads another SWF called jeu.swf.
My main class (don't know how to call it haha), is called Main.as.
Another class is called actionObjets.as
When I call:dispatchEvent(new…

Elggetto
- 227
- 2
- 7
- 15
0
votes
0 answers
Canvas handling event, then passing through to iframe....?
Despite searching all evening, I still haven't found a solution to this. I have the following layout in the DOM:
0
votes
0 answers
Intercepting all events, handling, then letting them to object underneath
I have a page which has an iframe (containing an interactive map) and a canvas positioned over it by z-depth, to draw as if into the map. So neither are a parent of the other, they're just located in the same place. Both the canvas and the map need…

KarenRei
- 589
- 6
- 13
0
votes
1 answer
linkElement.dispatchevent object doesn't support this action IE
My Code is like bellow:
var file = new Blob([response.data], { type: 'application/pdf' });
if (file.size != 0) {
var objectUrl = URL.createObjectURL(file);
var linkElement =…

Anand Gaikwad
- 151
- 2
- 9
0
votes
1 answer
Select value using VBA from IE11 dropbox
I have looked everywhere for a solution and nothing works. Here is my code:
Sub GetData()
Dim IE As Object
Dim ccy As Object
Dim ccy1 As Object
Dim allstatus As Object
Dim GetMTM As Object
Set IE =…

xiong lui
- 11
- 5
0
votes
2 answers
Programmatically submit Aurelia form that uses submit.delegate=save()
I have a form which (obviously) has a submit.delegate attribute pointing to my VM's save() method.
I'm now building a separate custom attribute from where I'd like to programmatically be able to submit any form.
Basically this:
0
votes
1 answer
How to trigger mouse and keyboard event programmatically in Windows 8?
I am trying to develop a program so that I could use my android phone as mouse. For that i will have a service running on Windows pc which will wait for packets from android phone through socket connection. These packets will contain information…

user6849630
- 1
- 1
- 2
0
votes
2 answers
AS3: Trigger artificial MouseEvent
I am converting a simple flash 'drumset' application to support TUIO multitouch using the tuio as3 reference implementation from http://www.tuio.org/?flash
As a quick and dirty solution, i am trying to trigger an artificial MouseEvent, but nothing…

Patrick Oscity
- 53,604
- 17
- 144
- 168
0
votes
1 answer
dispatchEvent - VBA IE automation
I have a question I can't seem to figure out the answer to regarding how to dispatch an event in VBA.
On the website I am trying to navigate via VBA, there is a dynamic table id="G_grdProfile". In the table html, there are events listed. The table…

CasWalker
- 51
- 3
- 11