suuhas / as3-commons

Automatically exported from code.google.com/p/as3-commons
0 stars 0 forks source link

reflect is broken at r. 540 (re: DescribeType.as) #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Update Reflect to r. 540 
2. Rebuild as3-commons reflect

What is the expected output? What do you see instead?
The following errors occur in DescribeType.as:

Description Resource    Path    Location    Type
1202: Access of undefined property FLASH10_FLAGS in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 19 Flex Problem
1202: Access of undefined property FLASH10_FLAGS in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 19 Flex Problem
1202: Access of undefined property HIDE_NSURI_METHODS in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 8  Flex Problem
1202: Access of undefined property HIDE_NSURI_METHODS in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 8  Flex Problem
1202: Access of undefined property HIDE_OBJECT in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 18 Flex Problem
1202: Access of undefined property HIDE_OBJECT in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 18 Flex Problem
1202: Access of undefined property INCLUDE_ACCESSORS in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 12 Flex Problem
1202: Access of undefined property INCLUDE_ACCESSORS in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 12 Flex Problem
1202: Access of undefined property INCLUDE_BASES in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 9  Flex Problem
1202: Access of undefined property INCLUDE_BASES in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 9  Flex Problem
1202: Access of undefined property INCLUDE_CONSTRUCTOR in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 15 Flex Problem
1202: Access of undefined property INCLUDE_CONSTRUCTOR in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 15 Flex Problem
1202: Access of undefined property INCLUDE_INTERFACES in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 10 Flex Problem
1202: Access of undefined property INCLUDE_INTERFACES in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 10 Flex Problem
1202: Access of undefined property INCLUDE_METADATA in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 14 Flex Problem
1202: Access of undefined property INCLUDE_METADATA in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 14 Flex Problem
1202: Access of undefined property INCLUDE_METHODS in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 13 Flex Problem
1202: Access of undefined property INCLUDE_METHODS in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 13 Flex Problem
1202: Access of undefined property INCLUDE_TRAITS in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 16 Flex Problem
1202: Access of undefined property INCLUDE_TRAITS in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 16 Flex Problem
1202: Access of undefined property INCLUDE_VARIABLES in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 11 Flex Problem
1202: Access of undefined property INCLUDE_VARIABLES in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 11 Flex Problem
1202: Access of undefined property USE_ITRAITS in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 17 Flex Problem
1202: Access of undefined property USE_ITRAITS in package 
avmplus.    DescribeType.as /AS3Commons/trunk/as3-commons-reflect/src/main/actionsc
ript/avmplus    line 17 Flex Problem

What version of the product are you using? On what operating system?
r. 540 on Windows 7, built in Eclipse 3.6.1 with FB4 plug-in.

Please provide any additional information below.
Not sure what version I previously had checked out, but going back to r. 471 
resolved errors.

Original issue reported on code.google.com by mbi...@ict.usc.edu on 10 Dec 2010 at 2:53

GoogleCodeExporter commented 9 years ago
Reflect now depends on the playerglobal.swc for flashplayer 10.1. To create a 
succesful build you can either use the maven build or manually add the 
playerglobal to your FB4 project:
-project properties->Flex Library Build Path->Library Path
-Open the tree view for the Flex 4.1 SDK and find playerglobal.swc
-Select it and choose 'remove' from the buttons on the right
-Click 'Add SWC...'
-Find your Flex 4.1 SDK folder on your harddrive and navigate to this 
path:/frameworks/libs/player/10.1
-Select the playerglobal.swc in this location

Voila, your build should be good to go again.

(The new functionality that relies on the 10.1 player isn't finished yet, so 
for now ignore it)

P.S. This also *doesn NOT* mean that the entire -reflect library can only be 
used in combination with flashplayer 10.1. Only certain functions will, but the 
core functionality is backwards compatible.

Original comment by ihatelivelyids on 10 Dec 2010 at 8:02