Hello,

I experienced some troubles while using the BenLongoria's SmoothImage component 
under Win Vista Pro / IE7 
(7.0.6000.16681) - http://tinyurl.com/4rtb3z

I built a very simple test case application under Flex 3 SDK / Flex Builder 3 
with default settings :

SmoothTest.mxml
---

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; xmlns="*" 
layout="absolute" 
creationComplete="init()">
<mx:Script>
  <![CDATA[
        private function init():void {
    // Scaling
    img.scaleX = 0.5;
    img.scaleY = 0.5;
    
    // Rotation (5 degrees)
    var matrix:Matrix = new Matrix();
    matrix.rotate(5 * Math.PI / 180.0);         
    img.transform.matrix = matrix;
    
    // Position
    img.x = 50;
    img.y = 50;
        }
  ]]>
</mx:Script>

<SmoothImage id="img" source="dummy.jpg" />
</mx:Application>

I deployed the application to launch it from a web server (Apache 2.2.4).
The jpeg image is loaded at runtime.

Defect
---
Smoothing behavior is not stable on IE7: I loaded the application several times 
and in some cases smoothing 
was disabled.

Apparently it has nothing to do with caching. I tried to clean up the cache and 
run my test case and I still 
reproduced the problem. I kept an eye on the web server logs:

"GET /bin-debug/dummy.jpg HTTP/1.1" 200
"GET /bin-debug/dummy.jpg HTTP/1.1" 304

In both cases, ie. with or without caching, the problem can still occur.


Has anyone already encountered such an issue?
Do you have any workaround to enable image smoothing within Flex 3 applications?

Thanks for any feedback!

Cédric

Reply via email to