This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Spring ActionScript 0.7.1 Released

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.

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

Comment

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.

I'm pretty sure that's not going to work, now I'm not sure if the two are related, but I'd try and start out with a valid configuration file.

Just out of curiosity, how do you run the SWF? Do you run in in a browser from an URL to the local filesystem? I.e. some like file:///c:/...
or from a 'real' URL? i.e. http://localhost
In the first case you'll get errors, because the browser is not allowed to load files from the local filesystem, try to run it from your local webserver instance in that case.

I am testing from iside Flash IDE.Do I need to test it from http url all the time. I think from iside Flash IDE all the calls are possible that is possible through HTTP. I will update you once I checked it from local host.

Comment

this must be caused by the random value that is added to the file path. We did this to prevent caching when loading through http but it seems to cause problems when loading from a local file. I have disabled this for now untill we have a more refined way of dealing with this.

If you are using the sources, please update and let me know if this fixes your problem.