Re: setStyle on a Label

2018-09-20 Thread Alex Harui
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", "center");

 
 
the issue must be setStyle 

 
Scott





Re: setStyle on a Label

2018-09-20 Thread kamcknig
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: http://apache-flex-users.246.n4.nabble.com/


setStyle on a Label

2018-09-20 Thread Scott Matheson
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



Re: Flex Installer Issue -- invalid file?

2018-09-20 Thread DanielMcQ
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 > Empty Caches)



-
~~~
mcquilleninteractive.com
simplediagrams.com
--
Sent from: http://apache-flex-users.246.n4.nabble.com/


Re: AMF for .NET Standard now available (.NET Core + olders runtimes)

2018-09-20 Thread bilbosax
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
book!!  Thanks for reporting.



--
Sent from: http://apache-flex-users.246.n4.nabble.com/


Re: Label

2018-09-20 Thread scott matheson
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 there 
> is no concept of centering.
> 
> var _sln:Label = new Label();
> _sln.text = _uofsModel.tempLessonTestResults.aUofS[i];
> _bgs.setStyle("horizontalAlign", "center"); 
> _bgs.width = 800;
> _bgs.addElement(_sln);



Re: Flex Installer Issue -- invalid file?

2018-09-20 Thread Piotr Zarzycki
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 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 mirror URL from the CGI.
> SDK version Apache Flex SDK 4.14.1
> AIR version 18.0
> Flash Player version 18.0
> Creating Apache Flex home
> Creating temporary directory
> Downloading Apache Flex SDK from:
>
> http://archive.apache.org/dist/flex/4.14.1/binaries/apache-flex-sdk-4.14.1-bin.zip
> Verifying Apache Flex SDK MD5 Signature
> The Apache Flex SDK MD5 Signature of the downloaded files does not match
> the
> reference value. The file is invalid, installation is aborted.
> Installation aborted:
> http://flex.apache.org/track-installer.html?failure=true=Apache Flex
> SDK 4.14.1=4.14.1=windows=3.3.2=The Apache
> Flex SDK MD5 Signature of the downloaded files does not match the reference
> value. The file is invalid, installation is aborted.
>
>
>
>
> --
> Sent from: http://apache-flex-users.246.n4.nabble.com/
>


Re: Flex Installer Issue -- invalid file?

2018-09-20 Thread quick6black
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 mirror URL from the CGI.
SDK version Apache Flex SDK 4.14.1
AIR version 18.0
Flash Player version 18.0
Creating Apache Flex home
Creating temporary directory
Downloading Apache Flex SDK from:
http://archive.apache.org/dist/flex/4.14.1/binaries/apache-flex-sdk-4.14.1-bin.zip
Verifying Apache Flex SDK MD5 Signature
The Apache Flex SDK MD5 Signature of the downloaded files does not match the
reference value. The file is invalid, installation is aborted.
Installation aborted:
http://flex.apache.org/track-installer.html?failure=true=Apache Flex
SDK 4.14.1=4.14.1=windows=3.3.2=The Apache
Flex SDK MD5 Signature of the downloaded files does not match the reference
value. The file is invalid, installation is aborted.




--
Sent from: http://apache-flex-users.246.n4.nabble.com/