HTML and dispatching mouseEvents
hi
i'm using an mx.controls.html element display webpages in air-app have problems dispatching mouseevents;
i want able manually dispath mouseevents flex should process usual mouseclick (i.e. when dispatched on link on webpage html element should navigate link). far have not succeeded in doing this; events can caught if listen them no interaction webpage happening.
i have tried dispatching html element:
myhtmlelement.dispatchevent(new mouseevent(mouseevent.click, true, false, localx, localy));
and have tried using eventdispatcher:
var eventdispatcher:eventdispatcher = new eventdispatcher();
eventdispatcher.dispatchevent(new mouseevent(mouseevent.click, true, false, localx, localy));
am doing wrong here? or have idea/solution problems?
regards
morten
mouseevents notifications. underlying player not process them.
to navigate link, call navigatetourl.
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment