cairngorm

make cairngorm commands ALWAYS work synchronously

心不动则不痛 提交于 2019-12-25 02:46:09
问题 I see the benefit of asynchronous commands (waiting for server responses...) but in my flex app it creates me more problem than anything. Here's what I want: EVERY command executes only after the previous one returned (to result or fault function) And I'd like to do this as easily as possible.. by the way the GUI must become irresponsive (maybe a wait message) while a long command is being executed (I could show the wait message in the execute function and remove it in the fault or result

Cairngorm SequenceTask + URLLoader throws SecurityError because of missing user interaction

寵の児 提交于 2019-12-24 01:00:01
问题 I am trying to get an application to upload multiple client side generated images (not files, hence I can't use FileReference), while displaying the progress of the upload. This has proved to be way harder than it should be. I am using Cairngorm Task library to perform the following steps on an image generated on the client: Generate a BitmapData object drawing the contents of an area of the stage Encode the image as a JPEG asynchronously, as to show a progress bar (see http://dgrigg.com/blog

How do I add the SWC file for Cairngorm to my app without FlexBuilder?

瘦欲@ 提交于 2019-12-12 19:30:47
问题 I am not using FlexBuilder, I'm using the free Flex SDK with TextMate. I'm having some trouble figuring out what this FlexBuilder process actually does behind all the nice dialogs and things, so that I can do the same thing by tweaking whatever the relevant file is, but Googling just points me at similar instructions telling me to use FlexBuilder. Anyone able to point me in the right direction? 回答1: mxmlc considers a swc a library (it's actually a zip file that you can examine) so you'll want

cairngorm vs mate framework comparison in flex

二次信任 提交于 2019-12-11 23:58:29
问题 I have been developing applications in cairngorm framwork in flex for over 2 years. Now I have to develop applications using Mate framework. I have no idea about Mate framework and which one is better than the other. I also need to know where to start to learn Mate framework, if somebody has idea about both the frameworks, kindly throw the light on this area. 回答1: Likely if you've been working with one of the older versions of Cairngorm, you're going to have a hard time getting out of the

Current_user nil after creating a session in ROR with AuthLogic

家住魔仙堡 提交于 2019-12-10 16:00:00
问题 I'm having a bit of problems with AuthLogic and current_user. I have a Flex4 application using the Cairngorm framework as the front-end, and Ruby On Rails as the back-end. I can log in fine through a browser, and when only using ROR. However, when I try it through my Flex4 application, it will fail the first time but work the second time. What is happening, is inside the user_sessions_controller.rb I have a call to self.current_user.to_xml; The first time I call the create action, the current