I think I actually fixed it....

I was doing this in my constructor for the custom field:

                        if (m != null)
                        {
                                transform.matrix = m;
                                setTransform(m);
                        }
                        else ...

when I should've been doing this:


                        if (m != identityMatrix)
                        {
                                transform.matrix = m;
                                setTransform(m);
                        }
                        else ...

I may or may not pass in a matrix to the class, but the 'optional' matrix has to evaluate to something, or else it doesn't compile. So, the "m" matrix is never null, and I was never updating the transformations on my class when a custom matrix was loaded up.

Testing local it seems to work when I load up a field that's rotated some arbitrary angle. I have to test online though, because I suspect there may be an underlying issue with the style loading.

Hope it works...

- j

On Sep 22, 2007, at 2:26 PM, Jon Bradley wrote:

I'm actually having issues on the initial draw of the bitmap - so visual problems.

Reply via email to