Giter Site home page Giter Site logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 20, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 20, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 20, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.