A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: how to make a touchscreen button run script

  1. #1
    Junior Member
    Join Date
    Oct 2009
    Posts
    2

    how to make a touchscreen button run script

    I just have a basic question:
    How to make a touchscreen button run action script.
    What I’m trying to do is make it so that when I push the button
    It sets a variable.

  2. #2
    Bearded (M|G)od MyFriendIsATaco's Avatar
    Join Date
    Dec 2002
    Location
    Awesomeville.
    Posts
    3,045
    Are we talking about Flash here, or something else? If so, what version of Flash? And define: "touchscreen button."

  3. #3
    Junior Member
    Join Date
    Oct 2009
    Posts
    2
    Flash lite 3.
    By touchscreen I mean a web button displayed on the screen

  4. #4
    Bearded (M|G)od MyFriendIsATaco's Avatar
    Join Date
    Dec 2002
    Location
    Awesomeville.
    Posts
    3,045
    I'm moving this into a more appropriate forum.

  5. #5
    Senior Member vinayak.kadam's Avatar
    Join Date
    Oct 2006
    Location
    gotoAndPlay("Pune");
    Posts
    831
    Well,

    I have aso encountered this problem with Samsung Star 3G. Whne I run the same SWF on nokia and Windows mobiles, buttons in SWF work when clicked, but with this particular mobile when I try to click teh buttons they never run the script on them...I think the event itself is not fired...

    If somebody has a solution please let us know!
    As ever,
    Vinayak Kadam

  6. #6
    Senior Member vinayak.kadam's Avatar
    Join Date
    Oct 2006
    Location
    gotoAndPlay("Pune");
    Posts
    831
    Hey mates..

    Can I request any update on this thread ?

    I was recently testing a simple FlashLite SWF on Samsung Star 3G which is a touchscreen mobile. When I touch the screen to click buttons, click event does not fires....where as same SWF works on Symbian and Windows mobiles.

    Note: Samsung Start 3G has in built FlashLite 2.1 in it.
    As ever,
    Vinayak Kadam

  7. #7
    Senior Member
    Join Date
    Mar 2007
    Posts
    283
    in your phone.. are you running the swf as standalone? or wallpaper? or screensaver?

    Buttons wont work in wallpaper or screensaver, only in standalone flash
    try my games
    newEscape Game | SPOT

  8. #8
    Registered User
    Join Date
    Apr 2001
    Location
    Akron OH, USA
    Posts
    4,841
    It may be that the fl player in this phone does not support touch screen and only keypress.

    there should be a fscommand2 to determine whether the Flash Lite player for a device supports touch screen events. Assuming the capabilities database, provided by the OEM, is accurate...

  9. #9
    Senior Member vinayak.kadam's Avatar
    Join Date
    Oct 2006
    Location
    gotoAndPlay("Pune");
    Posts
    831
    I am running this SWF as a standalone....

    Well, checking the capabilities is one option which I should try... I will check and let u know the results!
    As ever,
    Vinayak Kadam

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