Results 1 to 10 of 23

Thread: Spring ActionScript 0.7.1 Released

Hybrid View

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

    Default Spring ActionScript 0.7.1 Released

    Dear Community,

    I'm pleased to announce that Spring ActionScript 0.7.1 is now available.


    This is a minor release that fixes 2 blocking issues:
    - import nodes were not parsed correctly, which resulted in the imported nodes not being created.
    - circular reference error when 2 objects have bidirectional references.

    We also added some extra classes to the domain package.

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

  2. #2
    Join Date
    Feb 2009
    Posts
    1

    Default Harmless Error?

    First things first, Thank you so much for the Spring Actionscript Framework, it's a great Framework.

    I just downloaded the new Release 0.7.1 and it works perfectly ...
    Although, when my Application is loading I get this trace output in my console:

    Code:
    2/7/2009 18:29:49.921 [INFO] SpringActionScript.FlexXMLApplicationContext Loading XML object definitions from [application-context.xml]
    2/7/2009 18:29:49.993 [INFO] SpringActionScript.FlexXMLApplicationContext Loading properties file from [application-context.properties]
    2/7/2009 18:29:50.157 [INFO] SpringActionScript.FlexXMLApplicationContext Pre-instantiating singletons [__4,services,__2,__0,__1,controller,__5,model,__3] in [object FlexXMLApplicationContext]
    Type.forName error: Error #1065: Variable AuthenticationAgent is not defined. The class '::AuthenticationAgent' is probably an internal class or it may not have been compiled.
    Type.forName error: Error #1065: Variable AuthenticationAgent is not defined. The class '::AuthenticationAgent' is probably an internal class or it may not have been compiled.
    seams that everything goes fine except here:

    Code:
    Type.forName error: Error #1065: Variable AuthenticationAgent is not defined. The class '::AuthenticationAgent' is probably an internal class or it may not have been compiled.
    Type.forName error: Error #1065: Variable AuthenticationAgent is not defined. The class '::AuthenticationAgent' is probably an internal class or it may not have been compiled.
    so, now I'm not sure what this error means, since everything work just as expected and in my Project I definitely do not have such a Variable nor Class definition. Should I care?

    Thank's in advance for a reply.

    Saludos,
    Alex

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

    Default

    Hi,

    this is a warning trace from the AS3Reflect lib. I'm not exactly sure where that class is coming from, but I'm thinking that it is compiled into the Spring AS swc. I'll have a look at it. You shouldn't worry about it though.

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

  4. #4

    Default

    Is it possible in the current version of Spring Actionscript to create a Map (Dictionary) in a condensed way?

    Code:
    <property name="valueMap">
       <map>
         <entry key="something" value="hello"/>
       </map>
    </property>
    
    rather than 
    
    <property name="valueMap">
       <map>
          <entry>
              <key>something</key>
              <value>soemthingelwe</value>
          </entry>
       </map>
    </property>
    Trying this code in 0.7.1 doesn't work. Would it be possible to add this in the next release? It cuts lines of XML code for maps by 75%.

  5. #5

    Unhappy Simple try but getting Unhandled ioError

    hi,
    I was trying a HelloWorld example of SpringActionScript, but some how I keep getting Unhandled ioError
    I have an XML file in the same folder with the content
    Code:
    <?xml version="1.0" encoding="utf-8" ?>
    <objects xmlns="http://www.pranaframework.org/objects"
    	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    	xsi:schemaLocation="http://www.pranaframework.org/objects
    	http://www.pranaframework.org/schema/objects/prana-objects-0.7.xsd">
    	<object id="..." class="...">
    	<!-- collaborators and configuration for this object go here -->
    	</object>
    	<object id="myObj" class="MyObject">
    	<!-- collaborators and configuration for this object go here -->
    	</object>
    	<!-- more object definitions go here -->
    </objects>
    trying the following code
    Code:
    package  
    {
    	import flash.display.MovieClip;
    	import flash.events.Event;
    	
    	import org.springextensions.actionscript.context.support.XMLApplicationContext;
    	import as3reflect.AbstractMember;
    	
    	/**
    	 * ...
    	 * @author Saumya
    	 */
    	public class HelloWorld extends MovieClip
    	{
    		
    		public function HelloWorld() 
    		{
    			trace(this);
    			
    			var applicationContext:XMLApplicationContext = new XMLApplicationContext();
    			applicationContext.addConfigLocation("application-context.xml");
    			applicationContext.addEventListener(Event.COMPLETE, handleComplete);
    			applicationContext.load();
    		}
    		
    		private function handleComplete(e:Event):void 
    		{
    			trace(this,' : handleComplete :  ');
    		}
    		
    	}
    	
    }
    Last edited by saumyaray; May 7th, 2009 at 12:42 AM. Reason: code formatting

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

    Default

    Hi,

    It seems that your xml file cannot be read by the application. Are you sure the xml file is in the same folder as the compiled swf file?

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

Posting Permissions

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