Tutorial question: mouse1.html

3 views
Skip to first unread message

Fred Janon

unread,
Nov 2, 2009, 7:18:59 AM11/2/09
to fla...@googlegroups.com
I am trying http://www.flapjax-lang.org/demos/mouse1.html . I was wondering what needs to be added to the code to make the "themouse" DIV initial position under the current mouse position. In the example, one has to move the mouse for the div to be under the cursor. I tried a few things with no success.

I was thinking about using 'valueNow', but the doc says no-no! And I don't know what to pass to startsWith(sourceE,initialVal). Since the mouse position is a behavior.

mouseLeftB(document).startsWith(what for SourceE???,valueNow(mouseLeftB(document))

Thanks

Fred

Arjun Guha

unread,
Nov 2, 2009, 10:15:32 AM11/2/09
to fla...@googlegroups.com
The example should work as you described. The problem is not the code
for the application, but a glitch in Flapjax. This glitch appears in
Firefox, but not Safari. We need to tweak the DOM code a bit.

Arjun
Reply all
Reply to author
Forward
0 new messages