Comments (3)
When I continue research this Issue,I found :
var describe:XML = flash.utils.describeType(target);
var isDynamic:Boolean = (describe.@isDynamic as String) == "true";
describe.@isDynamic is XMLList , but not "Boolean".
Original comment by [email protected]
on 15 Nov 2010 at 4:14
from as3-commons.
Hi,
I've briefly investigated this issue and have found that describeType doesn't
always return reliable data. For instance, one of the test classes is called
'ComplexClass' and its class declaration look like this:
public class ComplexClass
Yet, when I trace the unit tests I see this XML return by describeType():
<type name="org.as3commons.reflect.testclasses::ComplexClass" base="Class"
isDynamic="true" isFinal="true" isStatic="true">
That seems to be all wrong, right? Maybe this is a problem with the flashplayer
I'm using? I have no idea what's going on here, but it seems to be all wrong.
Original comment by ihatelivelyids
on 25 Nov 2010 at 2:05
from as3-commons.
I'm changing the status of this bug to 'Won't fix' since the data retrieved
from the native describeType() is faulty. Unfortunately there's nothing we can
do about that.
The as3commons-reflect library has however been augmented with the new
describeTypeJSON support. It seems that this native method does yield the
correct data. This will only be available in flashplayer 10.1 and higher
though. (Since from that versionb the describeTypeJSON method was exposed)
Original comment by ihatelivelyids
on 11 Jan 2011 at 12:02
- Changed state: WontFix
from as3-commons.
Related Issues (20)
- No match for Opcode: 0xbb (187) HOT 3
- Error #2030: (EOF) HOT 3
- Error #1125: The index 1073741823 is out of range 210 while reading file HOT 3
- [Feature Request] HOT 4
- Vector class name truncated
- Type Coercion failed: Array to Vector.<Op> and Array to Vector.<JumpTargetData> HOT 2
- Invalid parsing of string operand when defining method body from source string.
- Error #1034: Ошибка типа Coercion: невозможно преобразовать org.as3commons.bytecode.abc::Multiname@af8a541 в org.as3commons.bytecode.abc.QualifiedName.
- Can't create class members of type Vector.<T>
- Class org.as3commons.logging::ILogger could not be found. HOT 1
- Bug in log4j configuration HOT 1
- equals and equalsIgnoreCase are both using regex improperly HOT 1
- Chainsaw gateway generates malformed XML
- ArrayUtils.shuffle algorithm results in a biased shuffle HOT 1
- NPE when ByteCodeType.fromLoader is invoked in an empty Application HOT 1
- MethodBuilder.addAsmSource() #1034 conversion error
- On method body definition, #1065 error accessing private or protected property
- Ability to get abcBytes position from DoABC tag
- as3commons-bytecode - issue creating metadata against accessors
- AirFileTarget set timezone HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from as3-commons.