Set Variable: "Coord" = "(" & GetProperty("",_x)
& ", " & GetProperty("",_y) & ")"
Comment: Variable = String, Value = Expression
and the following script in the second frame:
Set Variable: "Coord" = "(" & GetProperty("",_x)
& ", " & GetProperty("",_y) & ")"
Comment: Variable = String, Value = Expression
GoTo and Play(1)
For other applications, you will most likely want to use separate variables
for the _x and _y properties, in which case you would use the following
instead:
Set Variable: "CoordX" = GetProperty("",_x)
Comment: Variable = String, Value = Expression
Set Variable: "CoordY" = GetProperty("",_y)
Comment: Variable = String, Value = Expression
2) Return to the main scene and insert a new layer,
name the layer "Events". Insert the following action script in the first
frame:
Start Drag ("/Mouse", lockcenter)
Comment: Target = String, "Lock Mouse to Center" = True
3) To view the mouse tracking in action, insert a
Text Box and edit the box's properties. Link it to "/Mouse:Coord" as
the variable.