Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User kbcool's Avatar
    Join Date
    Jan 2009
    Posts
    13
    Hi,

    I have been trying to get this example code working on the N8.

    http://www.tutorial5.com/content/view/115/46/

    It basically allows you to rub through a layer on top to show an image below.

    On the N97 the code (and example) work as expected but on the N8 there's artifacts left behind. The interesting part is that when you turn your screen off and back on (eg lock phone) the artifacts disappear and it works as expected.

    I've tried a few tricks to trigger redrawing of the screen but none have resolved the issue. Does anyone know if there's a workaround for this issue or is it a bug we're stuck with?

    I've attached a screenshot of what the example SWF from the tutorial does on the N8.


  2. #2
    Nokia Developer Champion sajisoft's Avatar
    Join Date
    Jul 2008
    Location
    Pakistan
    Posts
    1,062
    Hi kbcool,
    I did some test and able to reproduce the error (100%) with AS 2 as well as AS 3 on N8 (Flash Lite 4). It clearly looks like a bug and i dont think there is any such API in flash which can call a native redraw of screen. As an alternative, i can suggest you to use BitmapData, it MAY solves this issue. One of a discussion which may helps you is :
    Flash Scratch Ticket
    or may be google search lead to some ready made recipes which save your time of writing a class yourself.

    Best Regards,
    Sajid Ali Anjum

  3. #3
    Registered User kbcool's Avatar
    Join Date
    Jan 2009
    Posts
    13
    Hi,

    It looks like bitmapdata doesn't have the same problems based on playing with it.

    Thanks for the tip.

Similar Threads

  1. Icon on the IndicatorPane mask problem ?
    By mail2karthi07 in forum Symbian C++
    Replies: 0
    Last Post: 2011-02-08, 09:53
  2. AknIconUtils::CreateIconL - mask or no mask?
    By heuven in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-12-06, 11:38
  3. CImageDecoder PANIC -6 on mask loading
    By sergey.kish in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2007-08-28, 13:37
  4. on setting img+mask img in tab, it shows mask img two times
    By saurbh_g in forum Symbian User Interface
    Replies: 3
    Last Post: 2006-02-20, 04:24
  5. Mask on Theme Studio…
    By acdf in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2005-03-16, 21:34

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved