Can someone give me some code that will work with flash lite?

I am trying to code a normal shape so that it is movable so i can put it on my phone and drag it around with my stylus on my phone. Does anyone have any code for this? and maybe other code that i can create perimeters with to make walls that the shape can’t travel through?

Thanks,
Callum