Results 1 to 6 of 6

Thread: ActionScript project trying to reference UIComponent

  1. #1
    Join Date
    Dec 2009
    Location
    Montreal
    Posts
    8

    Default ActionScript project trying to reference UIComponent

    I'm getting some pretty annoying behavior in version 8.1.

    I've included all the dependencies, and set up my project to compile as a AS3 project, but I'm getting an error that is looking for mx.core::UIComponent.

    Code:
    VerifyError: Error #1014: Class mx.core::UIComponent could not be found.
    Could this be right? My project shouldn't be looking for anything in mx really, (especially the UIComponent) seeing as I am only compiling an AS3 project.

    I don't want to paste too much code, but I certainly feel the error is caused by this. Anyone have any ideas?

    Code:
    _applicationContext = new XMLApplicationContext();
    _applicationContext.addConfigLocation( loaderInfo.parameters.appContext );
    _applicationContext.addEventListener( Event.COMPLETE, onComplete );
    _applicationContext.load();

  2. #2
    Join Date
    Oct 2008
    Location
    Belgium
    Posts
    160

    Default

    Hi,

    is it possible to run a debug build and post the stacktrace here?

    thanks,
    Christophe
    Christophe Herreman
    Spring ActionScript Founder
    http://www.herrodius.com

  3. #3
    Join Date
    Dec 2008
    Location
    Brussels
    Posts
    407

    Default is a bug

    I'm pretty sure that this is a bug, it has to do with this ticket:

    http://jira.springframework.org/brow...IONSCRIPTAS-74

    This has been fixed in the trunk, if you can try and compile your app with a build from the trunk you'll probably be without errors.

    Let us know how your results please,

    cheers,

    Roland

  4. #4
    Join Date
    Dec 2009
    Location
    Montreal
    Posts
    8

    Default Stack trace from trunk and tag build

    Ok... so I attached the stack trace in a text file to this message.

    I originally built the code from the trunk, but received the same error, so reverted to the tag to make sure I didn't do something silly.

    Thanks for the quick reply on this.
    Attached Files Attached Files

  5. #5
    Join Date
    Dec 2009
    Location
    Montreal
    Posts
    8

    Default The bug fix: RE: 666shooter

    I looked at that bug and it seems to be the same issue, so I will try the trunk build again today. Just to make sure.

  6. #6
    Join Date
    Dec 2009
    Location
    Montreal
    Posts
    8

    Default Trunk still has UIComponent error.

    Ok looks like you are right.

    The UIComponent reference is removed from the ObjectUtils class in the trunk.

    However, there is a reference in org.springextensions.actionscript.ioc.autowire:: DefaultAutowireProcessor.

    I guess piled these errors together when I compiled the two different projects.

    I logged a bug in Jira here ...

    http://jira.springframework.org/brow...IONSCRIPTAS-85
    Last edited by ghostmonk; Dec 15th, 2009 at 09:01 AM. Reason: Logged Bug

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •