[flexcoders] Re: how common is Flex and Rails together?
Howdy- I believe the very smart guys that comprise LessonNine Ghmb (of babbel fame) started the project using Flex and Rails. I do not know if they are still using said .. From Wikipedia: An Adobe Flex Application Highly interactive, more than a website, Babbel is a full Web-software-powered environment for foreign language learning built with Adobe Flex. The founders found Adobe Flash to be the best technology available for playing sounds and graphic effects[8]. Four developers have been working on Babbel - two of them focusing on the Flex client and two developing the Ruby On Rails based backend running on Amazon EC2 instances. Development time to the first public version in January 2008 was about 8 months.[1]. According to Thomas Holl, the CTO, The server consists of 12K lines of Ruby code, the Flex client is about 50K LOC (including 7K lines of generated integration code). We're following an iterative development process - and found out that a length of one week seems to work best for us. Besides that, we're using best practice tools and processes, e.g. Subversion for version control, Trac for defect tracking/documentation/communication, automated builds/deployment via Ant/Capistrano, etc.[9] The website has currently more than 700,000 users worldwide. --- In flexcoders@yahoogroups.com, Chris Downey cdowney@... wrote: Hi, I'm just wondering if there is anybody who is actively working on a project or knows of projects where Flex and Rails are used together. Looking online, I see a burst of blogs between 2007-2009 but then it quickly fizzles. Any thoughts about this? Theoretically, it seems to be an interesting and useful fit, but when I start considering the details of making it work... I'm no longer so sure. Thanks, Chris
[flexcoders] ViewNavigatorApplication not passing strongly-type firstViewData property.
Howdy- I have used (my customized) Cairngorm 2.0 and Flex 4.5.1 to build my first iOS + Andorid app. Launched and available at iTunes and Android Market without a hitch. I am building another flavor of the same app and BAM! type conversion error with the passing of the data object!! What?? ViewNavigatorApplication.firstViewData is passed the ModelLocator when the app starts. When I inspect the variables, the parentDocument.firstViewData is strongly typed to ModelLocator. HOWEVER, when the View gets finally gets passed the data, View.data is typed as Object -- not strongly-typed ModelLocator. I double-checked with my published app and the View.data is always the strongly-typed ModelLocator -- which is the expected behavior. Anybody know what gives / how to correct this fluky behavior? The error output is worthless - just the generic #1034 pointing to the addHandler that tries to cast the View.data to the ModelLocator. As the app is just starting up, all of the preceding lines are pointing to framework code only. This is kindofa pain in the arse, because I just can't see why the data property looses its strong type Regards, Naga
[flexcoders] Re: ViewNavigatorApplication not passing strongly-type firstViewData property.
I don't know the reason why objects lose their type sometimes, but I know that when it does happen, the solution is to retype them. In your case, you'd have to do something in your first view like: var modelLocator:ModelLocator = data as ModelLocator; --- In flexcoders@yahoogroups.com, nagaofthesea nagaofthesea@... wrote: Howdy- I have used (my customized) Cairngorm 2.0 and Flex 4.5.1 to build my first iOS + Andorid app. Launched and available at iTunes and Android Market without a hitch. I am building another flavor of the same app and BAM! type conversion error with the passing of the data object!! What?? ViewNavigatorApplication.firstViewData is passed the ModelLocator when the app starts. When I inspect the variables, the parentDocument.firstViewData is strongly typed to ModelLocator. HOWEVER, when the View gets finally gets passed the data, View.data is typed as Object -- not strongly-typed ModelLocator. I double-checked with my published app and the View.data is always the strongly-typed ModelLocator -- which is the expected behavior. Anybody know what gives / how to correct this fluky behavior? The error output is worthless - just the generic #1034 pointing to the addHandler that tries to cast the View.data to the ModelLocator. As the app is just starting up, all of the preceding lines are pointing to framework code only. This is kindofa pain in the arse, because I just can't see why the data property looses its strong type Regards, Naga
Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues
You will probably get better answers if you can post a 20-line test case we can copy paste and run, with explicit and unambiguous explanation as to what the problem is On 9/16/11 11:24 PM, jitendra jain jitendra_jain_2...@yahoo.com wrote: Looks like it reserves 90% of height for the scoller.. How can I overcome with this problem? Thanks, with Regards, Jitendra Jain Software Engineer 91-9979960798 From: jitendra jain jitendra_jain_2...@yahoo.com To: flexcoders@yahoogroups.com Sent: Sat, 17 September, 2011 11:52:05 AM Subject: Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues Alex thanks a lot.. But even it is not working. I made mouseEnabledWhereTransparent=false, it is not working.. The below components are clickable only when i remove the absolute height from the scroller that is 90%,.But scroller doesn't appear. I created a skin class also and that is also not helpful by setting the mouseEnabledWhereTransparent property.. Thanks, with Regards, Jitendra Jain Software Engineer 91-9979960798 From: Alex Harui aha...@adobe.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Fri, 16 September, 2011 9:02:25 PM Subject: Re: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues If mouseEnabledWhereTransparent=true, you can’t click on things below On 9/16/11 6:17 AM, jitendra jain jitendra_jain_2...@yahoo.com wrote: Hi Group, Can anyone throw light on this.. Any clues? Thanks, with Regards, Jitendra Jain Software Engineer 91-9979960798 - Forwarded Message From: jitendra jain jitendra_jain_2...@yahoo.com To: flex group flex flexcoders@yahoogroups.com Sent: Mon, 12 September, 2011 8:23:33 PM Subject: [flexcoders] Scroller and mouseEnabledWhereTransparent Issues Hi Coders, I have one group component in which the children are added dynamically. There is also some components on which it is overlapping . But when i apply the scroller with height 90%. No area below this component is clickable even though its height is not 90%. Even i tried with mouseEnabledWhereTransparent =true. But nothing seems working. public function showElement(comp :*):void{ container.addElement(comp); } s:Group id=parentGrp includeInLayout=true top=10 right=10 bottom=10 mouseEnabledWhereTransparent=true s:Scroller right=0 top=40 height=90% s:Group id=container right=5 bottom=2 width=100% mouseEnabled=true mouseEnabledWhereTransparent=true includeInLayout=true s:layout s:VerticalLayout / /s:layout /s:Group /s:Scroller /s:Group Any help is highly appreciated.. Thanks, with Regards, Jitendra Jain Software Engineer 91-9979960798 -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui