Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5CFEAF0AD for ; Wed, 1 May 2013 17:22:43 +0000 (UTC) Received: (qmail 36196 invoked by uid 500); 1 May 2013 17:22:42 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 36122 invoked by uid 500); 1 May 2013 17:22:42 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 36112 invoked by uid 99); 1 May 2013 17:22:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 May 2013 17:22:41 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FRT_ADOBE2,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of carlos.rovira@gmail.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-wg0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 May 2013 17:22:37 +0000 Received: by mail-wg0-f43.google.com with SMTP id c11so1530124wgh.34 for ; Wed, 01 May 2013 10:22:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=FLTXlI3mLTk3Ty4vTeb0ZG3AL8WegOduZyGzIV5thvY=; b=YwFWoUORyhq2v1ZaK+iys6I4ZtPlW7Rgq1z+xQp8YKqjsdByl0eCsSqFRUU5rCQqGs kMgS1/7l3tvLGlR+GtDzrMBi19Yfm5tc0A/Q2ujfYCRSswaBPvXg2CXwlz0mqfTyKmi8 HL3mHL8y2pJm7m//oHscBlWkTKuntj1SAY6/P4/cawqug9iIowq3X+dc0f2ueHbAVats BpEW7vHrnpAerRLa9hUctoqD19t9vKELgDcF1Vnz5NCV9YOu78oxztLiQTAwaYs6SdKw LzKur0Rip6jMUBkfcs9L6zgWWdgXATAgQCeYi2klsECBhSTA6f2m0TaHlt37PgjG80TB vGZg== MIME-Version: 1.0 X-Received: by 10.180.183.210 with SMTP id eo18mr30813503wic.17.1367428936550; Wed, 01 May 2013 10:22:16 -0700 (PDT) Sender: carlos.rovira@gmail.com Received: by 10.180.184.112 with HTTP; Wed, 1 May 2013 10:22:16 -0700 (PDT) In-Reply-To: References: Date: Wed, 1 May 2013 19:22:16 +0200 X-Google-Sender-Auth: 1PQXZg2F9XMl78Off2II7l1wk7s Message-ID: Subject: Re: Entering FlexJS - FalconJX From: Carlos Rovira To: dev@flex.apache.org Content-Type: multipart/alternative; boundary=001a11c34c9a04d35504dbab5ca4 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c34c9a04d35504dbab5ca4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Alex, I commit the fix. The problem was in FlexJSUI createjs Application. Now the createjs works ok. Now that we can see SWF and JS result, I see a significative difference in both outputs. createJS buttons and labels has bigger sizes than swf ones. Since createjs is in non DOM and we are creating *skinning* in the button definition, there's no root size management in this kind of output. For this non-DOM variant we should take this into account if we continue to evolve controls for this implementation so the controls take into account default or user defined widths and height. 2013/4/30 Alex Harui > > > > On 4/29/13 5:47 PM, "Alex Harui" wrote: > > > > > > > > > On 4/29/13 4:52 PM, "Carlos Rovira" > wrote: > > > >> Hi, > >> > >> I'm entering this days FlexJS - FalconJX and trying to make some > >> contributions as I learn all the work done until date. I think there's > very > >> good ideas in the AS framework like the IStrand-IBead approach or the > MXML > >> data structure vs AS3 old generation. Really very cool and I see here > lots > >> of fun and hope to be able to have the time and skills to make some > >> contribution along the way. > >> > >> For the moment I shared, just few minutes ago, a createjs checkbox > control > >> implementation while I'm familiarizing with all the pieces, but I woul= d > >> love to contribute with other things like containers, layouts, or a > state > >> implementation as time and skills allow. > >> > >> Now some questions since although I'm coding and compiling I already > have > >> some problems: > >> > >> 1.- In the createjs example, the SWF compilation does not run for me. = It > >> shows the folowing RTE at launch: > >> > >> TypeError: Error #1034: Error de conversi=F3n forzada: no se puede > convertir > >> flash.events::Event@1088d4f29 en org.apache.flex.events.Event. > >> > >> > >> is this normal? > > That sounds like a bug. Hopefully Peter can look at in tomorrow. > >> > More information if you want to look into it yourself. The goal for Flex= JS > is to not dispatch any flash.events.Events and other Flash low-level > events. > Instead, we're wrapping all events in org.apache.flex.events.Event. This > allows the developer to see where they import flash.events.Event in their > code and know that those areas need to change. > > The AS-side in FlexJS does consume and dispatch flash.events.Event becaus= e > it has to wherever it touches the Player APIs. It just isn't supposed to > dispatch any as documented events in the API. > > So, this sort of bug happens when FlexJS dispatches a flash.events.Event > that it didn't wrap, or the player dispatched something that we didn't tr= ap > first. > > -- > Alex Harui > Flex SDK Team > Adobe Systems, Inc. > http://blogs.adobe.com/aharui > > --=20 Carlos Rovira Director de Tecnolog=EDa M: +34 607 22 60 05 F: +34 912 94 80 80 http://www.codeoscopic.com http://www.directwriter.es http://www.avant2.es --001a11c34c9a04d35504dbab5ca4--