limweb / degrafa

Automatically exported from code.google.com/p/degrafa
1 stars 0 forks source link

[Degrafa_Flex4] #90

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use SolidFill class on your project

What is the expected output? What do you see instead?
ypeError: Error #1009: Il est impossible d'accéder à la propriété ou à la 
méthode d'une référence d'objet nul.
    at com.degrafa.paint::SolidFill/begin()[C:\Users\Greg\eclipseWorkspace\DegrafaFlex4\Degrafa\com\degrafa\paint\SolidFill.as:259]
    at com.degrafa::Graphic/draw()[C:\Users\Greg\eclipseWorkspace\DegrafaFlex4\Degrafa\com\degrafa\Graphic.as:351]
    at com.degrafa::GeometryGroup/draw()[C:\Users\Greg\eclipseWorkspace\DegrafaFlex4\Degrafa\com\degrafa\GeometryGroup.as:126]
    at com.degrafa::GeometryGroup/draw()[C:\Users\Greg\eclipseWorkspace\DegrafaFlex4\Degrafa\com\degrafa\GeometryGroup.as:134]
    at com.degrafa::Graphic/set target()[C:\Users\Greg\eclipseWorkspace\DegrafaFlex4\Degrafa\com\degrafa\Graphic.as:179]

What version of the product are you using? On what operating system?
(official) Flex4 build version downloaded here.
Flex 4.0.0.14159 on Windos vista

Please provide any additional information below.
The flex 4 fix in com.degrafa.graphics.as at line 350/355 use local graphics 
variable, instead class graphics variable in previous revision.

So null is passed on com\degrafa\GeometryGroup.as:126.

Compile and work fine with "this.graphics".

Thanks

Original issue reported on code.google.com by nicolascoquelet@gmail.com on 11 Jun 2010 at 12:47