I'm working on an application that draws on a flex canvas. Is there a
way to
use Funfx to send mouseUp/mouseDown/mouseMove events to the Canvas?

I tried to modify the AutomationGenericEnv.xml by adding the following
to the canvas (following the example in DisplayObject for MouseMove)
             <Event Name="MouseDown" >
                <Implementation Class="flash.events::MouseEvent"
                <Property Name="localX"  DefaultValue="0">
                    <PropertyType Type="int"/>
                <Property Name="localY"  DefaultValue="0">
                    <PropertyType Type="int"/>
                <Property Name="ctrlKey"  DefaultValue="false">
                  <PropertyType Type="Boolean" />
                <Property Name="shiftKey"  DefaultValue="false">
                  <PropertyType Type="Boolean" />
                <Property Name="altKey"  DefaultValue="false">
                  <PropertyType Type="Boolean" />

>From the ruby test, I  now have a mouse_down() method on my canvas but
invoking canvas.mouse_down() does not seem to do anything.

Am I supposed to be allowed to add events like this? Am I missing
to make it work?

Thank you.

You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to