On Wed, Dec 3, 2008 at 12:11 PM, Marvin Froeder <[EMAIL PROTECTED]> wrote:
> Me too =D > > But this prove we both are wrong =D At least you noticed the problem that I didn't see :) > > Probably playerglobal has it's own version. > It seems so but I do not understand why this is the case. But hey, there are so many things on earth I don't understand... Thanks again for your time, Marc > > > VELO > > On Wed, Dec 3, 2008 at 8:04 AM, Marc Speck <[EMAIL PROTECTED]> wrote: > >> Ugh, playerglobal with 10-3.2.0.3958 works, thanks! I had in mind that >> playerglobal.swc is only specific to the player version and not to the >> framework version, so I didn't even think of checking this version... >> Marc >> >> >> >> >> On Wed, Dec 3, 2008 at 10:50 AM, Marvin Froeder <[EMAIL PROTECTED]>wrote: >> >>> What about using everything on same version? >>> >>> VELO >>> >>> On Wed, Dec 3, 2008 at 6:45 AM, Marc <[EMAIL PROTECTED]> wrote: >>> >>>> >>>> When I compile with Flex 3.2 and use the class flash.geom:Transform >>>> that was extended in Flash Player 10, I get the following errors: >>>> >>>> [ERROR] C:\devl\workspace_fp10test\TransformCompile\src >>>> \TransformCompile.mxml:[9,-1] Attempted access of inaccessible >>>> property matrix3D through a reference with static type >>>> flash.geom:Transform. >>>> [ERROR] C:\devl\workspace_fp10test\TransformCompile\src >>>> \TransformCompile.mxml:[10,-1] Attempted access of inaccessible >>>> property perspectiveProjection through a reference with static type >>>> flash.geom:Transform. >>>> >>>> I posted an example below that shows this behavior. It compiles fine >>>> with Flex Builder 3.0.2 but flex-mojo throws the errors above. Other >>>> new classes of FP10 like Vector3D compile fine with flex-mojo. Is >>>> there something wrong in my pom/code or is it a bug of the compiler? >>>> >>>> Thanks >>>> Marc >>>> >>>> >>>> <?xml version="1.0" encoding="UTF-8"?> >>>> <project xmlns="http://maven.apache.org/POM/4.0.0" >>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 >>>> http://maven.apache.org/maven-v4_0_0.xsd"> >>>> <modelVersion>4.0.0</modelVersion> >>>> >>>> <parent> >>>> <groupId>info.flex-mojos</groupId> >>>> <artifactId>flex-super-pom</artifactId> >>>> <version>2.0M9</version> >>>> </parent> >>>> >>>> <groupId>com.example.flex-mojo</groupId> >>>> <artifactId>transformBug</artifactId> >>>> <version>1.0</version> >>>> >>>> <packaging>swc</packaging> >>>> >>>> <build> >>>> <plugins> >>>> <plugin> >>>> <groupId>info.flex-mojos</groupId> >>>> >>>> <artifactId>flex-compiler-mojo</artifactId> >>>> <version>2.0M9</version> >>>> <extensions>true</extensions> >>>> <dependencies> >>>> <dependency> >>>> >>>> <groupId>com.adobe.flex</groupId> >>>> >>>> <artifactId>compiler</artifactId> >>>> >>>> <version>3.2.0.3958</version> >>>> <type>pom</type> >>>> </dependency> >>>> </dependencies> >>>> <configuration> >>>> <includeSources> >>>> >>>> <sources>src/TransformCompile.mxml</sources> >>>> </includeSources> >>>> </configuration> >>>> </plugin> >>>> >>>> </plugins> >>>> </build> >>>> >>>> <dependencies> >>>> <dependency> >>>> <groupId>com.adobe.flex.framework</groupId> >>>> <artifactId>flex-framework</artifactId> >>>> <version>3.2.0.3958</version> >>>> <type>pom</type> >>>> </dependency> >>>> <dependency> >>>> <groupId>com.adobe.flex.framework</groupId> >>>> <artifactId>playerglobal</artifactId> >>>> <version>10-4.0.0.2480</version> >>>> <type>swc</type> >>>> </dependency> >>>> </dependencies> >>>> >>>> </project> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> <?xml version="1.0" encoding="utf-8"?> >>>> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" >>>> layout="absolute"> >>>> <mx:Script> >>>> <![CDATA[ >>>> private function init(): void >>>> { >>>> var useless:Vector3D = new Vector3D() >>>> var transform:Transform = this.transform >>>> var t:Matrix3D = transform.matrix3D >>>> //error: property matrix3D >>>> inaccessible >>>> var p:PerspectiveProjection = >>>> transform.perspectiveProjection // >>>> error: property perspectiveProjection inaccessible >>>> } >>>> ]]> >>>> </mx:Script> >>>> </mx:Application> >>>> >>>> >>>> >>>> >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
