A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: i need help gcwindow vibrate

  1. #1
    Junior Member
    Join Date
    Jan 2017
    Posts
    4

    i need help gcwindow vibrate

    hi i have been looking for the as2 button which vibrate gcwindow when press button something like this on press button gcwindow shake with buzz sound beeeeep can any one help me to make this code in as2 thankyou

    on(Press){

    this._x+=random(2)-.5;

    this._y+=random(2)-.5;

  2. #2
    Senior Member realMakc's Avatar
    Join Date
    Oct 2002
    Posts
    927
    you have the right idea with your code, but it works only once (when you pressed the button). you need to start calling it all the time, e g onEnterFrame
    who is this? a word of friendly advice: FFS stop using AS2

  3. #3
    Junior Member
    Join Date
    Jan 2017
    Posts
    4
    Quote Originally Posted by realMakc View Post
    you have the right idea with your code, but it works only once (when you pressed the button). you need to start calling it all the time, e g onEnterFrame
    Yes this is how i want it if press button gc box vibrate n buzz sound when release button it stop vibrating if u can make it i will b thankful to u

  4. #4
    Junior Member
    Join Date
    Jan 2017
    Posts
    4
    can any one make it

  5. #5
    Senior Member realMakc's Avatar
    Join Date
    Oct 2002
    Posts
    927
    this is asking wrong questions. the real question is, will any one make it
    who is this? a word of friendly advice: FFS stop using AS2

  6. #6
    Junior Member
    Join Date
    Jan 2017
    Posts
    4
    is there anyone who can make it for me?
    thankyou

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