Can you post a small test case?
On 9/20/18, 1:52 PM, "Scott Matheson" wrote:
Hi
How do I make a text label appear in the center of an lable using AS3
code
var _lsn:Label = new Label();
_lsn.text = _”hellow”
_lsn.setStyle("textAlign",
Your label needs a width. If you leave it at the default width, it resizes to
the length of the text. So you are centering it, you just can' tell.
At least that is my guess, without knowing the layout of the Label component
within the parent.
--
Sent from:
Hi
How do I make a text label appear in the center of an lable using AS3 code
var _lsn:Label = new Label();
_lsn.text = _”hellow”
_lsn.setStyle("textAlign", "center");
the issue must be setStyle
Scott
Thanks Alex. Flushing cache in Safari did the trick.
(If you're a Mac OS user and need a reminder, like I did, on how to flush
Safari's cache: you enable the "Develop" menu in Safari by selecting "Show
Develop menu in menu bar" checkbox on Safari > Preferences > Advanced, and
then select Develop
Hugo, I don't know if you wrote this library or are just reporting it, but
this is awesome news! I personally don't use .NET for AMF, I use PHP, but I
can tell you that AMF is by far the fastest way to communicate with
FLEX/AIR. Any libraries that keep this technology alive is a plus in my
thanks that works
> On 19 Sep 2018, at 18:23, Erik Thomas wrote:
>
> Another option is to center all objects in the parent container, but the
> parent container must also set width or percentWidth. When width is not
> specified, a container or Label will size to fit the content only, so
Older version of SDK may not work correctly due to some issue in installer
script bundled in SDK.
Alex's suggestion for clearing cache is the only one which come up to my
mind.
On Thu, Sep 20, 2018, 2:52 PM quick6black wrote:
> I am getting the same error message with an older version I am
I am getting the same error message with an older version I am trying to
install
Installer path:
C:\Users\nasha001\AppData\Roaming\org.apache.flex.installapacheflex\Local
Store\Win64
Installer version 3.3.2 (windows)
Available Memory: 39682048 (64-bit)
Using Locale: en_US
Fetched the SDK download