You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2019/11/07 14:25:54 UTC

[GitHub] [royale-compiler] yishayw opened a new issue #98: Runtime Error when using MouseEvent

yishayw opened a new issue #98: Runtime Error when using MouseEvent
URL: https://github.com/apache/royale-compiler/issues/98
 
 
   The code below gives me
   
   TypeError: Cannot read property 'MouseEventConverter' of undefined
   org.apache.royale.events.MouseEvent.setupConverter (MouseEvent.js:494)
   (anonymous) (MouseEvent.js:804)
   
   `<?xml version="1.0" encoding="utf-8"?>
   <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
   				xmlns:js="library://ns.apache.org/royale/basic"
   				>
   	<fx:Script>
   		<![CDATA[
   			import org.apache.royale.events.MouseEvent;
   
   			private function clickHandler(e:MouseEvent):void
   			{
   				
   			}
   		]]>
   	</fx:Script>
   	
   	<js:valuesImpl>
   		<js:SimpleCSSValuesImpl />
   	</js:valuesImpl>	
   	
   	<js:initialView>
   		<js:View id="myView">
   			<js:Button click="clickHandler"/>
   		</js:View>
   	</js:initialView>
   </js:Application>`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services