Skip navigation
Currently Being Moderated

Is it bug for adobe air on ios??

Jul 17, 2012 12:36 AM

I am checking for the Loader class on the ios platform.Surprisingly I am never able to load any transparent png as tranparent, a white background is always added to that when i load image from the CameraRoll using loadFilePromise() method of loader.

 

It seems that there is some big difference between loadFilePromise() and load() method of the Loader for the transparancy.

 

As per my code loadFilePromise() is adding additional background color i.e. white on the transparent images,While the things work perfectly for the load() method if we are passing any url of transparent image inside this.

 

I have set the opaqueBackground = null in both cases.

 

 

If any body have any idea please confirm this.

 

 

 

 

 

 

Thanks in Advance,

Shardul

 
Replies
  • Currently Being Moderated
    Jul 17, 2012 1:36 AM   in reply to ShardulSingh

    Hi Shardul,

     

    Could you please share a sample code that demonstrates the problem.

     

    -Thanks

    Pahup

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 17, 2012 4:49 AM   in reply to ShardulSingh

    Hello Shardul,

     

    I have exactly the same problem than you since this morning.

     

    Is there anyone knows a solution to keep the transparence of an image when she come from the camera roll ?

     

    Thanks

     

    Loïc

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 17, 2012 9:12 AM   in reply to loic_digitas

    I'm not saying this _is_ the case, but I found it in a similar situation (loading swfs into iOS) and eventually traced it to the s:Group that was containing it all - at the end of updateDisplayList() it was drawing a white background for no good reason. As a workaround, I simply overrode updateDisplayList and called super.updateDisplayList(w,h); then graphics.clear() on the relevant s:Group

    G

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 19, 2012 2:02 AM   in reply to ShardulSingh

    Hi shardul ,

    Thanks for reporting the issue . We have been able to reproduce the issue and are investigating the same

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 1, 2012 3:03 AM   in reply to ShardulSingh

    Hi Shardul ,

    The issue has been fixed . Please wait for the next release . Thanks again for reporting the issue .

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 23, 2012 7:34 AM   in reply to ShardulSingh

    Glad to hear, thanks for letting us know.

     

    -Pahup

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points