×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Regular Contributor
    Join Date
    Feb 2010
    Posts
    157

    How to browse images on touch screen handsets and convetional ones?

    Hi,
    My Flash Lite 3.0 application meant for S60 3rd FP1 onwards, requires to display thumbnails dynamically with the help of right and left arrow keys, operated through the arrow keys. I have tested on an N79 with the help of arrow keys for navigation to work fine.

    On the touch screen, is there anything else that I need to code to enable browse/page navigation? How can I check the same, since I dont have a touch screen handset and using the Nokia Remote access device, I cant check the touch screen functionality.

    Regards,
    Supriya Tenany

  2. #2
    Regular Contributor
    Join Date
    May 2007
    Location
    Finland
    Posts
    134

    Re: How to browse images on touch screen handsets and convetional ones?

    Use Device central with e.g. N97 or 5800 profile to simulate. Or use the Remote Device Access service on Forum Nokia to test on real devices.

    Just make sure that you disable the default softkey labels and create your own at the same place, making them also react to mouse events.

  3. #3
    Regular Contributor
    Join Date
    Feb 2010
    Posts
    157

    Re: How to browse images on touch screen handsets and convetional ones?

    I have used the rda, but I cant simulate a touch for navigation. The right and left soft keys are indeed mapped to 'previous' and 'next', but will finger swipe perform the same action or do I need to code? I am using Action Script 2.0/FL 3.0.

  4. #4
    Regular Contributor
    Join Date
    May 2007
    Location
    Finland
    Posts
    134

    Re: How to browse images on touch screen handsets and convetional ones?

    You need to code all touch events yourself, or you can just use custom buttons with mouse interaction or then catch and create your own touch gestures.

  5. #5
    Regular Contributor
    Join Date
    Feb 2010
    Posts
    157

    Re: How to browse images on touch screen handsets and convetional ones?

    Do touch gestures have to be coded in AS3.0 in Flash Lite 4? Can I not modify the existing application in AS 2.0 on Flash Lite 3.0?

  6. #6
    Regular Contributor
    Join Date
    May 2007
    Location
    Finland
    Posts
    134

    Re: How to browse images on touch screen handsets and convetional ones?

    ActionScript 2 is fine. ActionScript 3 is recommended.

  7. #7
    Regular Contributor
    Join Date
    Feb 2010
    Posts
    157

    Re: How to browse images on touch screen handsets and convetional ones?

    But I only find a TOUCH_EVENT in AS 3.0. There is no such event in AS2.

  8. #8
    Registered User
    Join Date
    Apr 2008
    Location
    India / Singapore
    Posts
    549

    Re: How to browse images on touch screen handsets and convetional ones?

    Yes u have touch event in AS3 / FL 4.. Apart from that, u can have Multi - touch detected from Flash Lite 4.. Gestures like Swipe, Pan, Rotate, Zoom are possible... Please check the AS3 reference..
    Twitter - manikantan_k
    Just in --

  9. #9
    Regular Contributor
    Join Date
    Feb 2010
    Posts
    157

    Re: How to browse images on touch screen handsets and convetional ones?

    http://wiki.forum.nokia.com/index.ph..._in_Flash_Lite works good in a test FL3.0/AS2.0 app, so far...but I dont have any mechanism to test it, also that I don't have a real device.

  10. #10
    Regular Contributor
    Join Date
    May 2007
    Location
    Finland
    Posts
    134

    Re: How to browse images on touch screen handsets and convetional ones?

    Quote Originally Posted by supriyaakg View Post
    But I only find a TOUCH_EVENT in AS 3.0. There is no such event in AS2.
    True, you need to use mouse events, such as mousdown and mouseup and code the interaction yourself... AS3 is recommended for FL4.

  11. #11
    Nokia Developer Champion
    Join Date
    Jul 2008
    Location
    Pakistan
    Posts
    1,065

    Re: How to browse images on touch screen handsets and convetional ones?

    As far as Flash Lite 4 is concerned, i doubt that using multi-touch via AS 3 is not possible at the moment in N8. I did few tests and get negative results. But yes u can go for MouseEvent :
    mouse events in AS 3
    AS 3 is powerful and provide good efficiency but when it comes to compatibility then by using Flash Lite 4 u can target 2 phones at the moment (N8 & C7) but using Flash Lite 3 (AS 2) u can target all S60 v5 phones as well, without changing a bit of code. So, it actually depends upon the type of application.

    Best Regards,
    SajiSoft

Similar Threads

  1. movement through touch in touch screen
    By rocksvick in forum Mobile Java Games
    Replies: 0
    Last Post: 2010-10-21, 14:00
  2. Scrollable text with images in touch interface..
    By elminator in forum [Archived] Flash Lite on Nokia Devices
    Replies: 10
    Last Post: 2010-05-28, 06:39
  3. Touch Screen !
    By damodharan in forum General Development Questions
    Replies: 8
    Last Post: 2009-12-16, 08:20
  4. How to invode touch functionality in touch screen mobiles
    By j2me_beginner in forum Mobile Java General
    Replies: 0
    Last Post: 2009-09-30, 14:04
  5. Problems centering images on Nokia handsets
    By sabroni in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2008-09-30, 15:14

Posting Permissions

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