Spark Button textAlign

2013-12-17 Thread Sumudu Chinthaka
Hi All I want to crate a custom skin for a Spark button with textAlign to be set to left, but i found out there is a restriction set in Button class that prevent accepting textAlign values is there any way to override [Exclude(name=textAlign, kind=style)] setting in Button subclass so that i can

RE: Spark Button textAlign

2013-12-17 Thread Maurice Amsellem
What do you mean by custom skin? 1) Default skin customized through css styles (eg. textAlign)? 2) Completely new skin class ? Maurice -Message d'origine- De : Sumudu Chinthaka [mailto:csum...@gmail.com] Envoyé : mardi 17 décembre 2013 14:45 À : users@flex.apache.org Objet : Spark

RE: Flex Application Demo

2013-12-17 Thread Maurice Amsellem
Hi Shivang, The Flex show case is now live. However, we don't have enough information to include your app. Please read submission instructions below: http://flex.apache.org/community-showcase.html PS: I already created the jira ticket for you, so you can fill in the requested information:

Re: Spark Button textAlign

2013-12-17 Thread Sumudu Chinthaka
i have created a skin class that extends spark.skins.mobile.ButtonSkin and set textAlign to be left in createChildren method but it does not work package skins { import spark.skins.mobile.ButtonSkin; public class MyButtonSkin extends ButtonSkin { public function MyButtonSkin() { super(); }

Re: focusManager and Popup with TitleWindow

2013-12-17 Thread Alex Harui
Probably calling too soon. Try waiting until after addPopUp returns or on creationComplete event On 12/17/13 8:14 AM, mark goldin markzolo...@gmail.com wrote: Not sure if this is a bug but here is the situation. I am creating a popup based on TitleWindow. I am trying to access focusManager in

Re: focusManager and Popup with TitleWindow

2013-12-17 Thread mark goldin
Yes, on creationComplete. Thanks! On Tue, Dec 17, 2013 at 11:51 AM, Alex Harui aha...@adobe.com wrote: Probably calling too soon. Try waiting until after addPopUp returns or on creationComplete event On 12/17/13 8:14 AM, mark goldin markzolo...@gmail.com wrote: Not sure if this is a bug

Re: Spark Button textAlign

2013-12-17 Thread Evyatar Ben Halevi-Arbib
When you create a new skin (at least in Flash Builder) you can start by creating a copy of the default skin. Just do that and on the Label MXML tag itself set the textAlign property to left. Good luck, Evyatar On Tue, Dec 17, 2013 at 7:41 PM, Sumudu Chinthaka csum...@gmail.com wrote: i have

RE: secure url for crossdomain.xml file

2013-12-17 Thread Kessler CTR Mark J
If you're using your own config.xml you can override the settings for them. The default RSL paths are in the flex-config file [1]. You can copy those runtime-shared-library-path blocks to your config.xml and change them to be https:// as needed. [1] Flex-sdk\frameworks\flex-config.xml

secure url for crossdomain.xml file

2013-12-17 Thread Jesse Ward-Karet
Sorry if this is an ask Adobe or ask Google question. I'm still using Adobe Flex 4.7 for my production product. Our SWFs are generally served from an https url. If Flash player decides it needs to load any RSLs, it makes an insecure request to http://fpdownload.adobe.com/pub/swz/crossdomain.xml,

Re: Spark Button textAlign

2013-12-17 Thread Sumudu Chinthaka
Really appreciate your advice but still i'm failing to get this done i have copied ButtonSkin class and created MyButtonSkin class which now extends from ButtonSkinBase and remove super.createChildren call and include ButtonSkinBase createChildren content inside MyButtonSkin createChildren

Re: Spark Button textAlign

2013-12-17 Thread Sumudu Chinthaka
also i have notice if i set 'color' 'fontSize' it works but textAlign does not work and in Button Class i can see [Exclude(name=textAlign, kind=style)] does it have anything to do with my problem On Wed, Dec 18, 2013 at 5:15 AM, Sumudu Chinthaka csum...@gmail.com wrote: Really appreciate your

interacting with navigator from outside view stack

2013-12-17 Thread Mark Fuqua
I have an actionscript class that runs a function on a timed interval. There is no way to tell what view the user will be on when the function is run. I would like to push the user to a view from within this function when certain conditions are met. I have tried this, but it won't compile.

RE: Spark Button textAlign

2013-12-17 Thread Devesh Mishra
Hi Sumudu, I am completely agree with Evyatar what he has said. Even I have done the same and it's working fine. -Original Message- From: Sumudu Chinthaka [mailto:csum...@gmail.com] Sent: 18 December 2013 06:18 To: users@flex.apache.org Subject: Re: Spark Button textAlign also i have

Re: Spark Button textAlign

2013-12-17 Thread Sumudu Chinthaka
Hi Devesh since this is for a Mobile Application i don't want to use MXML skinning and i would like to create the skin using AS. but when i take ButtonSkin class there is no label there it has a labelDisplay which is a StyleableTextField. what i want to do is to find a way to set textAlign on

RE: Spark Button textAlign

2013-12-17 Thread Maurice Amsellem
Attachments are stripped by mailing list. Provide a public link, such as DropBox, or the like De : Sumudu Chinthaka [mailto:csum...@gmail.com] Envoyé : mercredi 18 décembre 2013 00:46 À : users@flex.apache.org Objet : Re: Spark Button textAlign Really appreciate your advice but still i'm failing

Re: interacting with navigator from outside view stack

2013-12-17 Thread Alex Harui
What error are you getting? Is navigator a ViewStack? I don't think it has pushView. There is addChild and selectedIndex. Is this a mobile app? IIRC, timers can drain battery. If not, consider using a data model to represent the UI state. Then the timer changes the model and the view reacts