Re: Huge space between list elements in RichText

2019-04-25 Thread chris_flex
Okay - I found the problem. I get the text from the server and somehow are \n
and \r added which I did not see in Intellij Idea.

var fixedString:String = explanation.getDescription().replace(new
RegExp('\\n', 'g'), '').replace(new RegExp('\\r', 'g'), '');

fixes it



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


Re: Huge space between list elements in RichText

2019-04-25 Thread chris_flex
It looks even worse with the StyleableTextField... 

Is there any property/style, ... I should look for which could cause the
problem in our App?



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


Re: Huge space between list elements in RichText

2019-04-25 Thread chris_flex
getDescription() =

Test

1
2
3

Test2

*4*
*5*
*6*


is displayed:

 





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


Huge space between list elements in RichText

2019-04-25 Thread chris_flex
I have imported some HTML:

var tff:TextFlow = TextConverter.importToFlow(getDescription(),
TextConverter.TEXT_FIELD_HTML_FORMAT);

and show that in a RichText, resulting in:

 

There are huge gaps - hope can they be adjusted?



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


RichText gets bold in list when item renderer reloaded in Air App

2018-07-30 Thread chris_flex
I am using a list with an itemrenderers that contains RichText components.
The list has a horizontal layout and it uses pageScrolling. When the
itemrederer is displayed fpor the first time, the RichText is "normal", the
from the second time the text is always "bold"... 

Does anyone has an idea why this could happen and how to fix it?



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


Re: Apache Flex for iOS

2018-07-09 Thread chris_flex
1- Do you have any impact on the source code for publishing to iOS? 
-> You should look into the AppDescriptor... 

2- Do I need a Macbook to create or publish my application? 
-> You need a Mac for publishing (or use some online service publishing your
app ...)

3- Will I be able to create my application without problems in Apache Flex
version 4.16.1? 
-> I am not sure if it is be the best time to switch to Apache Flex...



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


Re: Converting many FXGs to SVGs?

2018-07-03 Thread chris_flex
Thanks... I think it will not work with Photoshop (CS6 cannot import FXG) but
with Illustrator (also using CS6).



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


Converting many FXGs to SVGs?

2018-07-03 Thread chris_flex
Does anyone know a tool to "batch convert" fxg files to svg files or have any
other trick to get a lot of fxgs converted to svgs? 



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


FlowLayout for Apache Flex?

2018-06-24 Thread chris_flex
There are different Version of the flow layout in the web like
https://github.com/aruis/flex_FlowLayout or
https://www.adobe.com/devnet/flex/articles/spark_layouts.html.

When I use it in a simple flex mobile test project the content disappears
when I start to scroll (1 px is enought).

Does anyone know a version working with AIR Mobile...?



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


Re: Embedd Image into html to display in richText

2018-04-09 Thread chris_flex
Sorry... just pasted the code...

Here as raw text...





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


Embedd Image into html to display in richText

2018-04-07 Thread chris_flex
I found this example:

http://www.java2s.com/Code/Flex/Development/EmbedimageintohtmlanddisplayitwithRichText.htm

http://www.adobe.com/2006/mxml; 
 
xmlns:s="library://ns.adobe.com/flex/spark">



import spark.utils.TextFlowUtil;

[Bindable]
public var txt:String = "" +
" " +
"this is a test" + "bold" +
"";
  







Where in the project structure should the folder assets with the icon.png be
located? 





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


Re: Any tools to convert svg to fxg?

2018-03-05 Thread chris_flex
Hi, as svg do not work for me in flex I found out that the S2F Converter is
working correctly when converting swfs to fxg files... so that works for
me...



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


Re: Problems with svg

2018-03-05 Thread chris_flex
Is anyone out there displaying an svg in apache flex / air without having
this problem? So am I doing something wrong or is this a bug?



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


Problems with svg

2018-02-12 Thread chris_flex
Hot to get an SVG smoothly scaled? What am I doing wrong?

My test - the svg and the fxg are looking exactly the same in illustrator:



leads to ...

 



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


Re: Images in RichText-Control

2018-01-12 Thread chris_flex
Hi Alex,

this solves the problem... the problem is the default lineHeight of 120%...
But is this the way to go?





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


Re: Images in RichText-Control

2018-01-12 Thread chris_flex
Hi Alex,

what exactly do mean... the elements it produces?

I also found out the following:
The size of the gap/space depends on the height of the imave.
This text from the resource file:


produces this

 

And an other strage thing - in a test project I first did not define the
width and height the image was not displayed - and in the original project
it shows the image in the original size when the image is loaded before
rendering - else it is not displayed...



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


Re: Images in RichText-Control

2018-01-12 Thread chris_flex
Is there any way to set/remove this huge space above the image in some way? I
still haven't found a solution for this but as images are allowed in the
RichText there must/should be some more or less trivial solution or am I
wrong...



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


Re: Problem installing SDK

2018-01-10 Thread chris_flex
This one?

Installer version 3.3.0 (windows)
Using Locale: de_DE
Ermitteln von mirror URL über CGI-Skript erfolgreich.
Using Locale: en_GB
SDK version Apache Flex SDK 4.16.1
AIR version 28.0
Flash Player version 28.0
Creating Apache Flex home
Creating temporary directory
Downloading Apache Flex SDK from:
http://apache.lauf-forum.at/flex/4.16.1/binaries/apache-flex-sdk-4.16.1-bin.zip
Verifying Apache Flex SDK MD5 Signature
The Apache Flex SDK MD5 Signature of the downloaded files matches the
reference. The file is valid.
Uncompressing:
C:\sdks_air_flex\flex_4_16_1_air_28\temp\apache-flex-sdk-4.16.1-bin.zip
Finished uncompressing:
C:\sdks_air_flex\flex_4_16_1_air_28\temp\apache-flex-sdk-4.16.1-bin.zip
Downloading Adobe AIR Runtime Kit for Windows from:
http://airdownload.adobe.com/air/win/download/28.0//AdobeAIRSDK.zip
Validating download: C:\sdks_air_flex\flex_4_16_1_air_28/in/AdobeAIRSDK.zip
Finished uncompressing:
C:\sdks_air_flex\flex_4_16_1_air_28/in/AdobeAIRSDK.zip
Installing Adobe Flash Player playerglobal.swc from:
http://fpdownload.macromedia.com/get/flashplayer/updaters/28//playerglobal28_0.swc
Validating download:
C:\sdks_air_flex\flex_4_16_1_air_28/frameworks/libs/player/28.0/playerglobal.swc
Flash SDK download failed
Installation aborted:
http://flex.apache.org/track-installer.html?failure=true=Apache Flex
SDK
4.16.1=4.16.1=windows=3.3.0==Flash%20SDK%20download%20failed




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


Re: Problem installing SDK

2018-01-09 Thread chris_flex
Okay... after some time the same error appeared



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


Re: Problem installing SDK

2018-01-09 Thread chris_flex
Now it is stopping (full progress bar but stop continuing) here without any
error...

...
"unzipping": xxx\apache-flex-sdk-4.16.1-bin.zip
"unzip finished" abgeschlossen:
...path...\temp\apache-flex-sdk-4.16.1-bin.zip
"Loading Adobe AIR Runtime Kit for Windows from":
http://airdownload.adobe.com/air/win/download/28.0//AdobeAIRSDK.zip




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


Problem installing SDK

2018-01-09 Thread chris_flex
Hi,

I get the error 

Flash SDK download failed
Installation aborted:
http://flex.apache.org/track-installer.html?failure=true=Apache Flex
SDK
4.16.1=4.16.1=windows=3.3.0==Flash%20SDK%20download%20failed





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


Re: Images in RichText-Control

2018-01-08 Thread chris_flex
Sorry - I think I missed to mention that I am using HTML-Text which I am
importing:

TextConverter.importToFlow(htmlText,  TextConverter.TEXT_FIELD_HTML_FORMAT);

The text is:

Here some Text with an image 
  and more Text. And more
Text.Here some Text with an image 
  and more Text. and more
Text.


Is it possible to remove the spacing there...

 



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


Images in RichText-Control

2018-01-05 Thread chris_flex
Hi,

when I put html-code with an image in a RichtText-Control there is a huge
space between the text and the image (above the image but not below).

Where/how can I set these spacings/paddings?



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


Images in RichText-Control

2018-01-05 Thread chris_flex
Hi,

when I put html-code with an image in a RichtText-Control there is a huge
space between the text and the image (above the image but not below).

Where/how can I set these spacings/paddings?



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


Accordion

2018-01-05 Thread chris_flex
Hi,

I want to use the accordion. My code for testing is:

http://ns.adobe.com/mxml/2009;
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:sp="spark.containers.*">





























The result looks not like I hace expected:

 

Are there any examples how to use the component?



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


Display mathematical formulas in Flex Mobile/Air

2017-12-06 Thread chris_flex
Hi,

is there an easy way to display mathematical formulas in an Flex Mobile App?

Kind regards

Christian



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


Re: SVG/SWF to FXG Converter

2017-11-29 Thread chris_flex
Hi Sascha,

the http://www.realcreation.com/S2F_Converter/ seems to ignore the alpha
values (after transforming alphs is always 1). I tried it with svgs exported
from affinity designer and illustrator cs6.

Is there something I am doing wrong?

Kind regards

Christian



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


Re: Issue creating SDK with SDK Installer 3.3 on Windows 10

2017-11-21 Thread chris_flex
Okay - thanks - worked...



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


Re: Issue creating SDK with SDK Installer 3.3 on Windows 10

2017-11-21 Thread chris_flex
Hi, 

I have tried to install it on 2 Windows Machines and it failed:

/Sorry, an error has occurred
The application can not be installed because there were problems with the
certificate. The certificate does not match the installed application
certificate, does not support application updates, or is invalid. Contact
the application author./
(as my machine is in german I copied the message to google translater)

Any idea how to solve this?



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


Re: iOS statusBar -> color and fontSize

2017-09-26 Thread chris_flex
For the first Question I found out I can change the backgroundColor of the
ViewNavigatorApplication and set the Views backgroundColor to white.
So the statusBar has the ViewNavigatorApplications backgroundColor and the
content the Views backgoundColor.
Is there a better way to achive this?

And has anyone an idea how I can have the same StatusBar (font sizes, icon
sizes, ...) like in the systems app?





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


Flex > FlexJS

2017-09-26 Thread chris_flex
I am working in a small company building a Mobile App with Flex/AIR. Some of
our customer would like to have a alternative webbased version. So FlexJS
would fit perfectly. We would really like to test FlexJS since a lot of
months but we don't have the ressources to really do it as our App is really
complex and we have to focus our work on the product and its features and
daily business.

The first time I have heard about FalconJS/FlexJS I thought the goal is to
compile existing Flex Projects to HTML5, ... That would be amazing... ! Are
there any plans for the future to compile Flex-Projects to HTML5? Are there
any numbers of how much (standard) Flex-Projects are currently running out
there?

And as an alternative question - are there any
tutorials/guidelines/checklists out there for a fast migriation?



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


iOS statusBar -> color and fontSize

2017-09-25 Thread chris_flex
How can I change the color of the top status bar in flex mobile apps for iOS?
And why differs the font-size in the status-bar from other apps (it is
bigger and not really sharp)?



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


How to optimize FXG files

2017-09-23 Thread chris_flex
Is there any tool to optimze FXG graphics automatically - f. e. round alpha
values and path-coordinates to 2 decimal places, remove unnecessary tags
added from Adobe Flash/Illustrator, ...?

Or what is the way how you are optimizing FXG-Files?

PS: I mean things like this I get from Flash when drawing 4 simple lines:


http://ns.adobe.com/fxg/2008;
xmlns:ATE="http://ns.adobe.com/ate/2009;
xmlns:d="http://ns.adobe.com/fxg/2008/dt;
xmlns:flm="http://ns.adobe.com/flame/2008;>
  
  

  

  

  
  
  http://ns.adobe.com/xfl/2008/;>



  

  



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


Desktop-Scroller in "Mobile App" -> Lists

2017-09-18 Thread chris_flex
We have a mobile flex app we also want to use on Desktop PSs. Therefore we
just Export it for desktop and we are importing the necessary mobile
libraries (we are using ViewNavigatorApplication ...)

When we have a List/Scroller we are using the desktop skins. 

The only problem we have and we are currently not able to solve is that the
scrollbar-assets (thumb, ...) are above the list and its content and not at
the side (-> having a smaller list and the Scroller-Skin-Things at the
side).

How can we fix this?



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


Re: How to avoid layout changes in flex mobile app (ios) when softkeyboard appears?

2017-09-09 Thread chris_flex
I am trying to get more precise ...

In our app we have a view where the SoftKeyboard would overlap a textarea.
(The view has a header, below on input and below another header and a
textarea - everthing inside a group).

On Andorid everything is as expected - the SoftKeyboard is on top of the
textarea and below nothing changes.

On iOS the Actionbar disappears, the textarea is at the top of the screen,
clicking outside the textarea won't change the focus.

When the TextArea is smaller and the SoftKeyboard won't overlap there is no
problem on iOS.

Tested on various Android Phones and iPhone7 (10.3.3) and iPhone4 and
iPadAir (don't know the versions).

Tested with Air 25 and Air 26.

Is there somthing in the ApplicationDescriptor or elsewhere I may change?



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


Re: How to avoid layout changes in flex mobile app (ios) when softkeyboard appears?

2017-09-08 Thread chris_flex
I tested it on an iPhone7  with iOS 10.3.3 - other colleagues with an iPhone4
and an iPadAir and other (older) versions have the same problem.

We have the problem tested with Air 25 and Air 26...



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


Re: How to avoid layout changes in flex mobile app (ios) when softkeyboard appears?

2017-09-08 Thread chris_flex
iOS Version is 10.3.3 but it is also on other version (older Version)... and
Flex 4.16/Air 26.





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


Re: How to avoid layout changes in flex mobile app (ios) when softkeyboard appears?

2017-09-08 Thread chris_flex
ios 10.3.3
air 25

By the way... 
currently I cannot download anything with the apache flex installer (even
when selecting air sdks like 23, 22, ...).

is this also a known issue ... ?



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


Re: How to avoid layout changes in flex mobile app (ios) when softkeyboard appears?

2017-09-08 Thread chris_flex
Air is 26 and iOS on various... f. e. 10.3.3

Is there any workaround?



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


Re: How to avoid layout changes in flex mobile app (ios) when softkeyboard appears?

2017-09-08 Thread chris_flex
And... the problem does not exist on our android test devices...



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


Re: How to avoid layout changes in flex mobile app (ios) when softkeyboard appears?

2017-09-08 Thread chris_flex
Not really. I know this article but the problem is different.

The view is not resized (and the flag is not set...). There is no scroller
in the view, ...



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


How to avoid layout changes in flex mobile app (ios) when softkeyboard appears?

2017-09-08 Thread chris_flex
In our mobile app we have a view and inside the view is a Group with various
components like a TextArea (   
skinClass="spark.skins.mobile.TextAreaSkin"/>).

When the TextArea gets the focus and the softkeyboard appears the actionBar
disappears and the view seems to be "scrolled" so that the TextArea is on
the top of the screen.

How can I avoid this behaviour as I just want to see the softkeyboard above
all?

Best

Chris



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


Re: Flex and lack of (complete) support for touch screens

2017-08-09 Thread chris_flex
Thanks Om,

thought the same but was not sure if I missed something :-).

Kind regards

Chris



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Has-Flex-a-lack-of-complete-support-for-touch-screens-tp15660p15670.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Flex and lack of (complete) support for touch screens

2017-08-08 Thread chris_flex
In the Adobe Air Forum I found that
(https://forums.adobe.com/thread/2364563):

/Standard Flex components rely heavily on vector graphics and even a simple
view with bunch of inactive components can make a average tablet/phone lag
heavily (drop fps to near zero) without mentioning their lack of (complete)
support for touch screens (and also the drain on battery will be noticed).
Flex Apache does provide an answer to that with a specific set of components
for touch screens/mobile device but you'll have to make the switch yourself
and modify some code. Anyway you'll have to run some tests./

What may he mean with "lack of (complete) support for touch screens (and
also the drain on battery will be noticed)"?

Kind regards

Chris



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Flex-and-lack-of-complete-support-for-touch-screens-tp15660.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.