2 Replies Latest reply on Apr 16, 2009 7:44 PM by Michael Borbor

    Image quality - sprite vs canvas

      I have been trying to do a infinite gallery menu using flex, basically a multi-pictures scrolling bar. Need to load those pic dynamically ( pic url was determined at run time), so I can't precompile those images into swf.

      To dynamically load pic and show them, two approaches I tried:

      1. MXML project, use canvas to host loader for picture
      2. Actionscript project, use sprite/movieclip to host loader for picture

      However, surprisingly, the picture in sprite has much worse quality than one loaded in canvas. Is something I did wrong? or sprite is not suitable for picture loading at all? Can someone point out the difference?


      Thx

        • 1. Re: Image quality - sprite vs canvas
          Michael Borbor Level 4

          If you create a mxml app why don't you use mx:Image?

           

          2009/4/16 bing99 <forums@adobe.com>

           

          >

          I have been trying to do a infinite gallery menu using flex, basically a

          multi-pictures scrolling bar. Need to load those pic dynamically ( pic url

          was determined at run time), so I can't precompile those images into swf.

          >

          To dynamically load pic and show them, two approaches I tried:

          >

          1. MXML project, use canvas to host loader for picture

          2. Actionscript project, use sprite/movieclip to host loader for picture

          >

          However, surprisingly, the picture in sprite has much worse quality than

          one loaded in canvas. Is something I did wrong? or sprite is not suitable

          for picture loading at all? Can someone point out the difference?

          >

          >

          Thx

          >

          • 2. Re: Image quality - sprite vs canvas
            Michael Borbor Level 4

            My bad I misread your post.