A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Flash touch controls

  1. #1
    Registered User
    Join Date
    May 2013
    Posts
    3

    Flash touch controls

    I have a laptop that has a touch screen and was wondering if i can make a 50% opaque box and give it

    touch_event
    move player.x +101
    (not actual code)
    or what ever


    so basically the code will make my player more to the left

  2. #2
    Senior Member realMakc's Avatar
    Join Date
    Oct 2002
    Posts
    923
    sure you could, in fact for the button you don't have to use touch events, mouse clicks will work too (if you touch the screen). also keep in mind that touch events do not work on desktop
    machine for content with wmode = transparent or opaque.
    who is this? a word of friendly advice: FFS stop using AS2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center