Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Layout1")
Activity.LoadLayout("form_main")
techmap = anim.Techniques
For i=0 To techmap.Size-1
Log(i&" : "&techmap.GetValueAt(i))
Next
anim.Initialize("motor",techmap.GetValueAt(19))
anim.delay(500).duration(1500).playOn(Button1)
End Sub