Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BE240200828 for ; Fri, 13 May 2016 15:59:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BCB1416099F; Fri, 13 May 2016 13:59:45 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DCEA21602BE for ; Fri, 13 May 2016 15:59:44 +0200 (CEST) Received: (qmail 29933 invoked by uid 500); 13 May 2016 13:59:44 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 29921 invoked by uid 99); 13 May 2016 13:59:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 May 2016 13:59:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 44C70180501 for ; Fri, 13 May 2016 13:59:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.511 X-Spam-Level: ** X-Spam-Status: No, score=2.511 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id bYoHBJtMYnP8 for ; Fri, 13 May 2016 13:59:41 +0000 (UTC) Received: from mail-vk0-f44.google.com (mail-vk0-f44.google.com [209.85.213.44]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 7BC225F2C3 for ; Fri, 13 May 2016 13:59:40 +0000 (UTC) Received: by mail-vk0-f44.google.com with SMTP id f66so138118904vkh.2 for ; Fri, 13 May 2016 06:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=IsME6oSlItnt3vWRbJg/b3QbvViXwCKdVeOW+8sqZ8Q=; b=M0sOzXy4FgDnrUB1tC3ObiPn4S1V7rF6OZtDNdMXLBy0ILJTJZ3Wp3eKZQLSB1KdQX zW1WW4k98jNqlPx3jLAsteD6cT1DGlQRvZA9EZBRpinRtw2ZekBSvgzWbzD35a7ZpN9r 6QHQCMo+p98GUlEJBMbTuKYYVyG60C6NNKpzRKNHAZhXDM+Wx13gYkXzd5u8SvfTHIN5 yFXv6Qck/J77aHu2QPjawxvFI5FAlIHmS2hfxCQgnnDiTnZkvAjBMhuyXYsN3DedF8T7 1bXUnEDPfQh5nit0knC8SfblGK1ulERruM9GdWx56Pgmh7hF5c2juDgHdyMyVES74ZwI 9FqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=IsME6oSlItnt3vWRbJg/b3QbvViXwCKdVeOW+8sqZ8Q=; b=bDoMqM32q9EtkTcYU+pz9RNRUlftwNDgZebgga2iL4UewcVxBbEHwAfO5AvUOm3qqw leejDhe4uOVuaEjqtGLTSEnZ+LWgLNf4B+43c8w6Ncg1X4c38c7M4KuwcM82KaYhn9AA hFeGC66e+EerwUiIpUDYqFR2IWuCcLF/CudeIuRfFSfwHwzdgwANm7tokJ/TnG3/sK3D MeSwto8+pOS6VgTmnKzVS2GxcozJeAaMXOgrnyj9IT1PygNLsRpj31UligFVGOdo8CIM 8oyv/wGgu8i08d59IhmxYpfhlJ/02CFPxMj5HBxMcFhuS2W4YAUCELUSBK5zuQPAYRfk kjLw== X-Gm-Message-State: AOPr4FWGJXY/GQtlL9XaSkKo5eayY94Xy0yNfb2ZigYpt8uDtNl2pSvDWJRLl0c+5p0smODE/C/PZoOtNtus/g== X-Received: by 10.176.6.135 with SMTP id g7mr7929867uag.100.1463147979531; Fri, 13 May 2016 06:59:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.69.144 with HTTP; Fri, 13 May 2016 06:59:10 -0700 (PDT) In-Reply-To: <66D7F0A8-89EC-4EDE-AE76-87D30BF8695E@gmail.com> References: <1463126705918-12682.post@n4.nabble.com> <1463126943031-12683.post@n4.nabble.com> <1463141477789-12684.post@n4.nabble.com> <0E867A21-42D7-4C0B-AC09-D2E09C81C61E@gmail.com> <1463144032459-12686.post@n4.nabble.com> <66D7F0A8-89EC-4EDE-AE76-87D30BF8695E@gmail.com> From: jude Date: Fri, 13 May 2016 08:59:10 -0500 Message-ID: Subject: Re: [FlexJS] How to create a
with a shadow style To: "users@flex.apache.org" Content-Type: multipart/alternative; boundary=94eb2c047d7892edd60532b9af86 archived-at: Fri, 13 May 2016 13:59:45 -0000 --94eb2c047d7892edd60532b9af86 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable You should be able to set the style property inline but I had an error with the original CSS. The same CSS works as a style declaration. It might be the dashes in the string. You should be able to set the className to a style that has those values defined. @namespace basic "library://ns.apache.org/flexjs/basic"; .labelStyles { background-color: blue; box-shadow: 5px 5px 5px #888; } Here is a link to the above code in a basic example. I updated the getting started guide for FB that includes a way to launch the debug version of the JS output. If you have Firebug it opens it with the path to the error. On Fri, May 13, 2016 at 8:52 AM, Harbs wrote: > Let=E2=80=99s try like this: > > If you want to use the FlexJS wrappers, you could do something like this > (from that example): > > > > > > style=3D"left:10;top:10"/> > height=3D"40" > style=3D"margin:auto;fontWeight:'bold';fontSize:22;color:#ffffff;fontFami= ly:'Arial';textAlign:'center'"/> > style=3D"fontSize:12;fontFamily:'Arial';bottom:10;right:10"/> > style=3D"color:#ffffff;fontWeight:'bold';fontFamily:'Arial';fontSize:20;r= ight:10:top:10"/> > style=3D"fontSize:12"/> > > > Notice the style declaration inside the =E2=80=9CContainer=E2=80=9D tag. = Container is a > wrapper around div. You can specify the CSS style properties using the > SimpleCSSStyles declaration. Class names and inline styles can be specifi= ed > as well as can be seen in the above code. > > Note: When the app is compiled to JS, any UIBase object (including > Container) returns the underlying DOM element when accessing > wrapper.element. Once you have a reference to the DOM element, it can be > manipulated like any DOM element in JS. > You can create the DOM objects directly if you want as well. > > Does this help? > Harbs > > On May 13, 2016, at 3:53 PM, OK wrote: > > > Harbs wrote > >> Take a look at the example projects. The FlexJS Store is a particularl= y > >> good one for seeing how to build an app. > > > > I honestly already browsed through the FlexJSStore example but can't fi= nd > > anything related to my question. > > Maybe I'm blind... perhaps you could give me a hint? > > > > Thanks, > > Olaf > > > > > > > > > > -- > > View this message in context: > http://apache-flex-users.2333346.n4.nabble.com/FlexJS-How-to-create-a-div= -with-a-shadow-style-tp12682p12686.html > > Sent from the Apache Flex Users mailing list archive at Nabble.com. > > --94eb2c047d7892edd60532b9af86--