Re: Flex comunication with Amazon S3 and Smart TV project

2017-06-12 Thread OK
Angelo Lazzari wrote
> Do you have information about Smart TV?

Unfortunately not but this is also interesting for me.
I've discussed this topic with Leonidas from Greece at ApacheCon.
He is an experienced Flex guy and if I remember it correctly he said that he
is already using Android Smart TVs with AIR.

I don't know if he's following the list currently... if not you maybe could
get in touch with him off list[1].

Olaf

[1] https://apachecon2017.sched.com/leo41




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Flex-comunication-with-Amazon-S3-and-Smart-TV-project-tp15295p15298.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Flex comunication with Amazon S3 and Smart TV project

2017-06-12 Thread OK
Angelo Lazzari wrote
> -there are tested Amazon S3 library that you are already using in a
> project?

If Amazon S3 supports setting "X-HTTP-Method-Override" you maybe can
directly consume its REST API by using HTTPService even without a lib but
it's probably a bit cumbersome.
(Due to a bug in Flash, a HTTPService/URLRequest with a GET request will not
properly send headers.The X-HTTP-Method-Override header tells the API how to
treat it)

Another maybe venturesome option could be to capture the 'S3 nodejs SDK' by
targeting nodejs using the FlexJS compiler. But I don't know if this would
work. If you take a look at the TypeScript world you'll find some ideas how
they do it with TypeScript. There already exist some type definitions for
TypeScript.


Angelo Lazzari wrote
> Finally, ... about FlexJS do you think we could create a project with this
> technology?

FlexJS 0.8.0 will be published soon and I think it's definitely worth to try
it out!
It comes with a rich Material Design component set (MDL) and a lot of other
new or revised stuff.
So give it a try! At least it depends on your app requirements if it fits
your needs. If it's not all in place keep in mind that it's open source so
you have the chance to contribute missing things at any time ;-))

Hope this helps,
Olaf







--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Flex-comunication-with-Amazon-S3-and-Smart-TV-project-tp15295p15296.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Type Declaration of style 'strokeColor' conflicts with previous declaration in ... Unknown Flex Problem

2017-05-08 Thread OK
After your and another hint off list, I double checked all my external libs
and it turns out that one external lib makes usage of mx:HRule which causes
the issue.

It would be very helpful if the compiler would be able to output also this
previous rival declaration ;-))

Thank you,
Olaf






--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Type-Declaration-of-style-strokeColor-conflicts-with-previous-declaration-in-Unknown-Flex-Problem-tp15196p15208.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Type Declaration of style 'strokeColor' conflicts with previous declaration in ... Unknown Flex Problem

2017-05-05 Thread OK
Hi,

I get the following error when I'm trying to use a component from an
external lib:
"Type Declaration of style 'strokeColor' conflicts with previous declaration
in ... Unknown Flex Problem"

I understand that this error occurs cause of a style conflict with the
included swc lib.
The error message also contains a hint to the component of the lib that
caused this issue, that's ok.

But I'm totally lost cause I've created a test project/app that includes the
same libs/swc as my origin app and the error goes away.
The test project/app makes usage of the same external component that causes
the error in my origin app. 

So I assume there is something in my app that causes this issue.
To find out what it is I tried to remove several lines of code step by step
from my origin app, without success... that error is still there.
Is there any chance to find out which part of my app caused this conflict?

I appreciate any help!

Thanks,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Type-Declaration-of-style-strokeColor-conflicts-with-previous-declaration-in-Unknown-Flex-Problem-tp15196.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Skinning the spark navigator buttons

2017-05-04 Thread OK
kamcknig wrote
> I'm trying to use the experimental spark accordion.

I never used this but there're some accordion alternatives out there that
are based on list, e.g. [1]
This is not an answer to your question but maybe it helps,

Olaf

[1]
http://flexponential.com/2011/11/10/accordionlist-with-expanding-item-renderers/



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Skinning-the-spark-navigator-buttons-tp15172p15177.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: ItemRenderer - What event to react to?

2017-05-03 Thread OK
bilbosax wrote
> Does anyone know what event I should react to in the itemrenderer?

Maybe this helps? [1]

Olaf


[1]
http://blog.flexexamples.com/2010/05/14/detecting-an-item-click-event-on-a-spark-list-control-in-flex-4/




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/ItemRenderer-What-event-to-react-to-tp15157p15176.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlexJS: Getting Uncaught type error

2017-04-27 Thread OK
PKumar wrote
> Yes , I have tried but no luck. This issue is only occuring if I am
> creating separate view as InitialView.mxml  and including it in main.mxml.

I also had this issue during my tests but after a clean up and the removing
of the bin the issue was gone... 

Could you reproduce the issue by using a new FB test project?

Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Getting-Uncaught-type-error-tp15112p15131.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlexJS: Getting Uncaught type error

2017-04-26 Thread OK
It already feels like doing much more clean ups than compilations during app
development :-)) 

In this case a project clean in combination with removing the bin dir works
for me! 

@Prashant 
Do you have already tried the FB Project->clean... function?

Thanks,
Olaf





--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Getting-Uncaught-type-error-tp15112p15123.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlexJS: Getting Uncaught type error

2017-04-26 Thread OK
Hi,
this is a bit strange:
I can reproduce this error by compiling with FlashBuilder [1].
By using VSCode it works.

Cause this makes no sense to me I double checked that both really used the
same SDK...

To make sure that there no side effects within my app code I reduced it to a
test case with a Main.mxml file and an initial view that contains just a
js:Label.

Probably I'm doing something wrong... but maybe this is still more helpful
than confusing.

Olaf


[1] https://snag.gy/KegvoT.jpg



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Getting-Uncaught-type-error-tp15112p15117.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Crippling Lag - Windows 10 IE11 - FlashPlayer / IBM ILOG Elixir

2017-04-25 Thread OK
I have not read the complete thread here so sorry if this is unsuitable.
Just in case you don't know it:
IBM Ilog Elixier was taken over by Rogue Wave in the past and I think the
product is still supported:

https://www.roguewave.com/products-services/visualization/elixir

Olaf 



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Crippling-Lag-Windows-10-IE11-FlashPlayer-IBM-ILOG-Elixir-tp14958p15111.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlexJS:PureMVC with FlexJS

2017-03-24 Thread OK
piotrz wrote
> Not sure how to reach Cliff, so we have to patiently wait.

You probably could reach him via his company contacts at the footer [1].
But my experience is that he always answer the forum posts so I would be
patient ;-)

Olaf

[1] http://futurescale.com



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-PureMVC-with-FlexJS-tp14880p14918.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: SWF Debugging in Visual Studio Code

2017-03-20 Thread OK
>I bet I know what it is. asconfigc 0.4.0 requires Node 6.0 or newer.

Josh, you're right! Node newer 6.0 is required:
I've updated from 5.x to the latest version and now I'm able to update to
asconfigc 0.4.0. :-)

Many thanks, keep up that great work!

Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/SWF-Debugging-in-Visual-Studio-Code-tp14853p14908.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlexJS:PureMVC with FlexJS

2017-03-20 Thread OK
piotrz wrote
> Prashant,
> 
> One more thing can you post  me link to source of PureMVC which you have
> compiled to FlexJSPureMVC.swc ?
> 
> Thanks,
> Piotr

I've not taken a look at Prashant's code yet, please make sure to use the
PureMVC multicore version
for the swc ;-)

Thanks,
Olaf




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-PureMVC-with-FlexJS-tp14880p14900.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: SWF Debugging in Visual Studio Code

2017-03-20 Thread OK
Forgot to mention:
The example is working after fixing the typo but using version 0.3.0?!

Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/SWF-Debugging-in-Visual-Studio-Code-tp14853p14897.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: SWF Debugging in Visual Studio Code

2017-03-20 Thread OK
>Make sure to use the -g flag when you uninstall before you try to reinstall. 
Still version 0.3.0 is outputted [1]
But I have to say that I'm not so familiar with node modules.
I will reboot later and give it another try...

Thanks,
Olaf


[1] https://snag.gy/siD1un.jpg



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/SWF-Debugging-in-Visual-Studio-Code-tp14853p14896.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: SWF Debugging in Visual Studio Code

2017-03-20 Thread OK
Josh Tynjala wrote
> I found your issue, Olaf! You should import flash.text.TextField rather
> than flash.display.TextField.
> 
> - Josh

Arrghh, good catch! I smash my head at the table... but you have to update
your wiki [1] ;-)
Thank you!

Olaf

[1] https://snag.gy/H2W9Ym.jpg



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/SWF-Debugging-in-Visual-Studio-Code-tp14853p14895.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: SWF Debugging in Visual Studio Code

2017-03-20 Thread OK
Here it is [1].

BTW:
I've noticed that the npm package manager says that 0.4.0 is the latest
version of asconfigc.
I tried to update, uninstall, and install asconfigc on my local machine, but
"asconfigc -v" always returns version "0.3.0"... is that my fault?

Thanks!

Olaf

[1] asconfig.json: https://snag.gy/2haDCm.jpg



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/SWF-Debugging-in-Visual-Studio-Code-tp14853p14892.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: SWF Debugging in Visual Studio Code

2017-03-20 Thread OK
Makes sense Piotr, thanks for explanation ;-)

Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/SWF-Debugging-in-Visual-Studio-Code-tp14853p14890.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: SWF Debugging in Visual Studio Code

2017-03-20 Thread OK
Hi Josh,
thanks for working on this

I've followed your instructions but get some "Type was not found..." [1] 
errors using Flex 4.16.0.
Do I miss something [2][3]?

Thanks!

Olaf

[1] Error: https://snag.gy/uq7VLr.jpg
[2] settings.json: https://snag.gy/1w5fr0.jpg 
[3] tasks.json: https://snag.gy/4Q26Si.jpg



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/SWF-Debugging-in-Visual-Studio-Code-tp14853p14887.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: SWF Debugging in Visual Studio Code

2017-03-20 Thread OK
Hi Piotr,
I have also some issues with VSCode but I saw that you've passed different
SDK paths in your tasks.json and settings.json[1]. Is that right or should
it be like [2]?
Olaf


[1]:
settings.json:
 "nextgenas.sdk.editor":
"d:/flex_sdk/Sources/flex-asjs/distribution/distribution-flexjs" 

tasks.json:
"--flexHome=d:/flex_sdk/flexjs_nightly"

[2]
settings.json:
"nextgenas.sdk.editor": "d:/flex_sdk/flexjs_nightly" 






--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/SWF-Debugging-in-Visual-Studio-Code-tp14853p14886.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Pouchdb integration?

2017-03-17 Thread OK
Hi,
Josh Tynjala creates a utility called "dts2as" which transpiles TypeScript
to AS3 [1].
There already exist TypeScript definitions for PouchDB [2][3].

Maybe some of the pros here are able to assess if this could work?

Olaf


[1]
https://nextgenactionscript.com/tutorials/dts2as-typescript-definitions-with-actionscript/
[2] https://github.com/DefinitelyTyped/DefinitelyTyped
[3] http://www.nuget.org/packages?q=pouchdb



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Pouchdb-integration-tp14822p14844.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FalconJX - How To Use...

2017-03-17 Thread OK
Hi,
probably all the smart FlexJS guys are busy or more focused on the dev list
so I'll try to answer:

>Does FalconJX do this?
This is a quote coming from the latest FlexJS release announcement [1] and
explains what FalconJX is:
"Apache Flex FalconJX is a next-generation MXML and ActionScript 
cross-compiler.  It extends the next-generation SWF compiler known as 
Falcon.  Both are contained in the release package and are used by the 
FlexJS package to compile SWFs or cross-compile to HTML/JS/CSS." 

So we have to speak about FlexJS.

>Interested in cross compiling existing Flex source to HTML/CSS/JS.
As I got in touch with FlexJS the first time I also thought I could just
cross-compile existing Flex code (mx/spark) to HTML/CSS/JS. But that's not
the truth. Instead, you have to migrate your code to FlexJS.
That means that you have to remove all flex/flash dependencies from your AS3
code and you have to replace your mx/spark components by FlexJS components.
Depending on your code base that could be more or less work.

So, what remains?
FlexJS places you in the position to develop your apps in a similar way like
Flex by using typed AS3 and 
MXML and that's great! I perceive that FlexJS is making great progress
thanks to the guys who contribute to the project.

I'd like to encourage you to just download and install it and check it out
[2].
Make sure to also check out the impressive MDL (Material design examples)
[3].

HTH,
Olaf


[1]
http://apache-flex-users.246.n4.nabble.com/ANNOUNCE-Apache-FlexJS-0-7-0-and-Apache-Flex-FalconJX-0-7-0-Released-td13549.html

[2]
http://flex.apache.org/download-flexjs.html

[3]
https://github.com/apache/flex-asjs/tree/develop/examples/flexjs/MDLExample






 If so, how do I use it? 




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FalconJX-How-To-Use-tp14824p14841.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: How to set the color of a column chart item?

2017-03-16 Thread OK
Sorry, Clint!!!



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/How-to-set-the-color-of-a-column-chart-item-tp14817p14831.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: How to set the color of a column chart item?

2017-03-16 Thread OK
Yesss, that's it [1]. 

Thank you, Cliff!!

Olaf

[1]
colSeries = new ColumnSeries; 
colSeries.xField = xField; 
colSeries.yField = yField; 
colSeries.setStyle("stroke", new SolidColorStroke(0x00));



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/How-to-set-the-color-of-a-column-chart-item-tp14817p14820.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


How to set the color of a column chart item?

2017-03-15 Thread OK
Hi,
I'm trying to set the border color of an item of a column chart  [1].
The fill style works like a charm but the color of the border doesn't.

Any ideas?

Thanks,
Olaf

[1]
colSeries = new ColumnSeries;
colSeries.xField = xField;
colSeries.yField = yField;
colSeries.setStyle("fill", solidColor);
colSeries.setStyle("borderColor", 0x00);



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/How-to-set-the-color-of-a-column-chart-item-tp14817.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: [ANNOUNCE] Apache Flex 4.16.0 released

2017-03-15 Thread OK
Thank you for this new release and thank you Justin for your effort as
release manager!

Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/ANNOUNCE-Apache-Flex-4-16-0-released-tp14808p14809.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: MobileGrid Skins

2017-03-08 Thread OK
quick6black wrote
> I posted a new skin for the mobile grid on github 
> 
> https://github.com/quick6black/flex-Android-Material-Skins
> 
> it replicates the android material design

Hi,
thanks for sharing this!
I've just checked it out and it seems to me that the LabelItemRenderer class
is missing? [1]

Thanks,
Olaf

[1]
https://github.com/quick6black/flex-Android-Material-Skins/blob/d0dc29fd63ba78171ac880ccf29df9fbfd9566e2/src/spark/skins/android5/MobileGridSkin.as#L114



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/MobileGrid-Skins-tp5693p14790.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Mobile DateChooser Flex

2017-03-06 Thread OK
Hi leokan,
cause I'm not so familar with mobile components I don't understand what kind
of help you're looking for.
The screenshot looks pretty complete for me ;-)

To encourage others to help it maybe helps to share some code and to file
concrete issues/todos?

Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Mobile-DateChooser-Flex-tp14753p14773.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Wordpress XMLRPC and AS3

2017-03-04 Thread OK
Whats about using the Word press REST API instead [1]?

HTH,
Olaf

[1] http://v2.wp-api.org/



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Wordpress-XMLRPC-and-AS3-tp14759p14760.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Persistent Data

2017-03-01 Thread OK
>Looks like it is time to learn :)

Sounds like the right path ;-)

My recommendation regarding a MVC framework is still PureMVC [1] cause:
- There's an awesome documentation available, including a book written by
Cliff Hall [2]
- There a lot of examples out there [3]
- There're some useful utilities available
- It suports modular programming
- It comes with a simple but powerful notification system
- It's feature frozen
- It's still alive and supported the community and by its author Cliff Hall
[4]
- It was ported to a lot of other programming languages
- It's pure PureMVC contains of just a few classes and interfaces
- You could use if with FlexJS out of the box

HTH,
Olaf

[1] http://puremvc.org/
[2] http://shop.oreilly.com/product/0636920022459.do
[3] https://github.com/PureMVC/puremvc-as3-multicore-framework/wiki
[4] http://forums.puremvc.org/






--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Persistent-Data-tp14735p14743.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Persistent Data

2017-02-28 Thread OK
bilbosax wrote
>  Could you give me your suggestions? (i do not want to store them in a
> sqlite database)

Sounds like it's time to separate your model from your view ;-)
As Benjamin said it's a good idea to persist your data by using some AS3
classes that represents your model.
Probably there're countless aproaches how to achive this.
By implementing this and other typically stuff to separate the concerns by
yourself you maybe end up with the decision to use one of the frameworks out
there which already solved a lot of things for you (e.g. PureMVC, Parsley,
Swiz, ...).

However, one simple approach to just resolve your current issue could be to
inject a model object [1][2] to your view.
You have to implement a public variable e.g. var myModelVO:MyModelVO at your
view to achive this.

HTH,
Olaf


MyModelVO.as:

[Bindable]
public class MyModelVO
{
public var searchItem:String;
// ...
}

MyView:
<








--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Persistent-Data-tp14735p14740.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Callout Modal

2017-02-25 Thread OK
Jairo wrote
> It opens a "baloon" with some data. Is there a way to make this "baloon"
> modal?

I just comes into my mind that you maybe could add a transparent rectangle
as top layer to your display list
(e.g. by using states) and open the callout on top of this.

HTH,
Olaf




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Callout-Modal-tp14728p14733.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Callout Modal

2017-02-25 Thread OK
Jairo wrote
> If don´t, is there a way do close the baloon when user clicks on the
> background screen?

You could just listen to the "mouseDownOutside" Event [1]

HTH,
Olaf


[1]
https://github.com/ok-at-github/Apache-Flex-Callout-demo/blob/master/CalloutDemo.mxml#L16




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Callout-Modal-tp14728p14732.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Measuring from of Label with padding strange/incorrect

2017-02-20 Thread OK
chris_d_k wrote
> Hi,
> 
> I have an itemrenderer based on a group with a label inside. If there is
> text which would exactly fit in one line and I have a padding in the
> label, the label is displayed in two lines but the measured value is at is
> is one line...
> 
> Is this a bug or am I doing something wrong?
> 
> Kind regards
> 
> Christian

Don't know the reason for this but did you tried the spark label properties
"maxDisplayedLines" and "lineBreak".

HTH,
Olaf




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Measuring-from-of-Label-with-padding-strange-incorrect-tp14708p14709.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: ViewStack

2017-02-17 Thread OK
>But I also need to do something in a view when gets on screen
Probably there're some other approaches but if you are already able to
retrieve the instance of the displayed view you could just call any public
method on it do to anything you want.

HTH,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/ViewStack-tp14695p14698.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: ViewStack

2017-02-17 Thread OK
mark goldin wrote
> I have two views in it. By changing selectedIndex I can show one or
> another. I am having some problems with this solution because I am using
> createComplete event which only fires once per view. Is there another
> event
> that I could use in my view to know when it gets on screen?
> 
> Thanks

You could listen to the ViewStacks change event and determine the displayed
view by the selected index.

HTH,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/ViewStack-tp14695p14696.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlexJS: Unable compile project using latest Nightly build

2017-01-31 Thread OK
Hi,
I've just downloaded the FlexJS nightly and got a circular dependency error
after compiling [1]
Moreover the compilation of a simple single file took about 35 seconds using
VSCode on Windows7.
Do I something wrong?

Thanks,
Olaf

[1] https://snag.gy/H5yGxV.jpg



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Unable-compile-project-using-latest-Nightly-build-tp14368p14595.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Keyboard navigation in Spark Datagrid from SDK 4.15 does not work until TAB-ed somewhere

2017-01-30 Thread OK
Hi Nemi,
maybe I get you wrong but I would just like to let you know that I can't
reproduce this issue with 4.15.0:

Steps to reproduce:
- Create a  using MXML and load some data into it
- Select one row by just clicking it using the left mouse key
- Use keyboard navigation (Up and down) to switch between the rows

This just works like a charm.

HTH,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Keyboard-navigation-in-Spark-Datagrid-from-SDK-4-15-does-not-work-until-TAB-ed-somewhere-tp14480p14584.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: [Survey] Who would be interested in attending a Flex Project Summit with a focus on FlexJS at this years ApacheCon NA in Miami?

2017-01-25 Thread OK
Hi Chris,
thanks for your effort on this, I really appreciate it!
I'm interested to attend but for some reasons I can't estimate if I've some
time in May by now.
Moreover it's a long trip from germany, if such an event would be in Europe
things would be easier ;-)

Olaf





--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Survey-Who-would-be-interested-in-attending-a-Flex-Project-Summit-with-a-focus-on-FlexJS-at-this-yea-tp14573p14577.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: [Survey] Who would be interested in attending a Flex Project Summit with a focus on FlexJS at this years ApacheCon NA in Miami?

2017-01-25 Thread OK




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Survey-Who-would-be-interested-in-attending-a-Flex-Project-Summit-with-a-focus-on-FlexJS-at-this-yea-tp14573p14576.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Regarding the apache flex project want to know few questions

2016-11-17 Thread OK
maniteja wrote
> Q1. So in my case as a fresh developer, how can i contribute for the very
> beginning and in which area?

To get an idea of what the guys are working on and what is needed you could
follow the dev list [1][2].
It's probably hard to follow but it could be an entry point.
Then you could browse through the JIRA bug tracker [3] to get an idea of
open issues.

Are you already familar with the Flex or FlexJS framework?

HTH,
Olaf

[1] http://flex.apache.org/community-mailinglists.html
[2] http://apache-flex-development.247.n4.nabble.com/
[3]
https://issues.apache.org/jira/browse/FLEX/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Regarding-the-apache-flex-project-want-to-know-few-questions-tp14070p14145.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Scout - What does this mean?

2016-11-16 Thread OK
bilbosax wrote
> ...what about these hundreds of TypeErrors? Do you see anything in my code
> that could be triggering those?

Maybe you've overlooked my last post, do you've checked if the casting works
properly?
E.g. address.text =  String(data.address))

HTH,
Olaf





--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Scout-What-does-this-mean-tp14126p14141.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Scout - What does this mean?

2016-11-16 Thread OK
Regarding performance:
To improve performance you want to avoid any kind of percentage
calclulations and deep nesting of components. You also could think of
removing embracing groups to reduce the number of components. The less the
better.
At least you could replace relative positioning by absolute positioning.
Going this way you have to set a fixed with for the itemRenderer and just
place the Labels by using its x and y property.

Of course it depends on your use case which option is really an option...
but at least performance is the most important thing ;-)

HTH,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Scout-What-does-this-mean-tp14126p14137.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Scout - What does this mean?

2016-11-16 Thread OK
Hi,

>... not using any binding.
I'm not have followed the complete discussion here but cause there're still
some bindings left I wonder if this is the origin code or if you maybe have
overlook some bindings [1]?

HTH,
Olaf

[1]
{data.MLSNum}
{group1.width}
{group7.width}
...





--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Scout-What-does-this-mean-tp14126p14134.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: [GUIDE] Firebase and Flex

2016-11-10 Thread OK
WoW, great work and great documentation, thanks for sharing!
It think this could be also also helpful in a non Firebase context.

Thanks,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/GUIDE-Firebase-and-Flex-tp14079p14096.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Donating Spark-Material to Apache Flex (was "Spark components with Material Design")

2016-11-09 Thread OK
@Justin 
Do you think there's a chance to include "Spark-Material" with 4.16.0?

Thanks,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Donating-Spark-Material-to-Apache-Flex-was-Spark-components-with-Material-Design-tp14026p14069.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Donating Spark-Material to Apache Flex (was "Spark components with Material Design")

2016-11-09 Thread OK
Rui Cruz wrote
> So if I understood that changes will be made later right? Or for easiest
> process and no mistakes, can someone make a pullrequest with the necessary
> changes?

@Rui
I would try to add the Apache license header to each particular file
tonight, seems that's sort of a monkey work ;-)
If it's ok for you I'll just modify the master branch of your origin repo.

@Justin
I don't understand the NOTICE thing... what is the PRODUCT_NAME?
("Apache Flex", "Spark material", "Apache Flex Spark Material", ...)

Olaf




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Donating-Spark-Material-to-Apache-Flex-was-Spark-components-with-Material-Design-tp14026p14068.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Padding above a text in Mobile Air App

2016-11-07 Thread OK
Mabe it's possibilbe to workaround this by adding some padding to the label
or the parent container?

Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Padding-above-a-text-in-Mobile-Air-App-tp14028p14059.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Donating Spark-Material to Apache Flex (was "Spark components with Material Design")

2016-11-04 Thread OK
Thank you Justin!

Reading Alex hints I'm not sure what would be the right way:
Keeping the material lib external or as part of Apache Flex.
Probably both have benefits and also drawbacks.

What do others think?
Is anyone interested in a Material Design component set that is shipped with
the SDK?

Thanks,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Donating-Spark-Material-to-Apache-Flex-was-Spark-components-with-Material-Design-tp14026p14040.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Donating Spark-Material to Apache Flex (was "Spark components with Material Design")

2016-11-03 Thread OK
jmclean wrote
> Yes one very large one [1], the GPL license is not compatible with Apache
> [2].
> But if Rui Cruz was willing to donate it under another (compatible)
> license that is likely to be fine.

Thanks Justin.
Hopefully the license could be changed to MIT.
Do you know the key difference between GPL and MIT?

Thanks,
Olaf





--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Donating-Spark-Material-to-Apache-Flex-was-Spark-components-with-Material-Design-tp14026p14029.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Donating Spark-Material to Apache Flex (was "Spark components with Material Design")

2016-11-03 Thread OK
Hi, 
I just would like to revive the idea of donating Rui Cruz spark material lib
[1] to Apache Flex.
This is the origin thread [2].

Maybe we could achive this within the 4.16.0 release, that would be great.
I've already contact Rui and he said that he's fine with it.

I think we have to clean up the repo [1] a bit but If I unserstand it right
we just have to add the Apache licence header to each file and could push it
to the Flex repo, is that right?

Are there any concerns?

Thanks,
Olaf

[1] https://github.com/rui-cruz/Spark-Material
[2]
http://apache-flex-users.246.n4.nabble.com/template/NamlServlet.jtp?macro=reply=12347




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Donating-Spark-Material-to-Apache-Flex-was-Spark-components-with-Material-Design-tp14026.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Application starts but then shows black screen

2016-11-02 Thread OK


http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/SecurityErrorEvent.html#includeExamplesSummary

HTH,
Olaf




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Application-starts-but-then-shows-black-screen-tp13991p14016.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Application starts but then shows black screen

2016-11-01 Thread OK
You are probably right, it is so hard to read the code on the list and I have
just a tablet here at the moment.
If you have the chance I would debug if the service requests work properly
by using your clients environment.
Instead of open several alerts it is maybe better to e.g. display a list
that summarize all issues ...

Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Application-starts-but-then-shows-black-screen-tp13991p13997.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Application starts but then shows black screen

2016-11-01 Thread OK
Hi,
I've not taken a deep look at you code but it seems to me that this is a
async issue:

If your inhouse network is fast enough maybe your http calls will handled in
a synchronous fashion without any problems, but that's just accidentally.
Keep in mind that http calls are asynchronous.
If your first http request is not completely handled and you create the next
one by just replacing the first URLRequest instance by a new URLRequest
instance, the first one will probably fail.

So maybe you have to take care to process your http requests one by one
(Start the next call not before the previous is completely handled) or you
could create several instances of URLRequest and handle each result by its
particular URLRequest instance.

I hope I could explain what I wanted to say...

Olaf





--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Application-starts-but-then-shows-black-screen-tp13991p13995.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Can't hide NavigatorContent

2016-10-25 Thread OK
> Instead of this you may want to handle the creationComplete event of the
"tab viewstack" to hide particular tabs. 

Only to be clear:
Of course you're only be able to hide a tab if it is already instanciated!
Sounds like in your use case it makes sense to add the tabs dynamically to
the viewstack using AS3.

HTH,
Olaf




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Can-t-hide-NavigatorContent-tp13932p13938.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Can't hide NavigatorContent

2016-10-25 Thread OK
olegkon wrote
> I am trying to hide one tab, but it doesn't work for me from
> creationComplete.
> I see ViewStack is NULL at that point.

If I understand you right the "tab viewstack" is nested so maybe it is not
instanciated at creationComplete of your top level component cause of the
deferred instantiation concept of Flex. If that's the case you could set
creationPolicy="true" which is not the best solution. Instead of this you
may want to handle the creationComplete event of the "tab viewstack" to hide
particular tabs.

If I get you wrong providing some code might help.

Thanks,
Olaf




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Can-t-hide-NavigatorContent-tp13932p13935.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Release Build Performance on Mobile

2016-10-20 Thread OK
Hi,
this is not an answer to your question but maybe it is still helpful:

No matter if you're using a mobile device or desktop, having too many
columns might be a bad user expericence and not very ergonomic for the
users.
E.g. if you have over 50 columns and hundreds or thousands of rows I don't
think that anybody is able to get the needed information in a adaquate time.
Paging, vertical and horizontal scrolling could be very painful even if the
performance is bad.
Instead of polluting the screen with to much information it might be a good
idea to extract just the important things. You could give the users the
posibility to e.g. filter the data by custom filters or you could provide
different views of the data depending of its context.

Technically I often tend to replace the datagrid by a list with a proper
(material design inspired) item renderer.
It seems to me that the list is much more performant than the datagrid even
by using item renderers.
In the back I'm using ElasticSearch that places you in the position to
filter, sort, aggregate, analyze,... your data in near realtime so there's
no need to implement this by yourself on client side. 

So, if you've the chance to influence your UI decisions, give it a try and
refactor it ;-)

HTH,
Olaf






--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Release-Build-Performance-on-Mobile-tp13865p13874.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlatSpark for datagrid

2016-10-16 Thread OK
>I am going to migrate a Flex 3 app to Flex 4 and I plan to use FlatSpark for
the user interface.
>I don't see the "datagrid" as part of the components available in
FlatSpark.
>Please confirm. 

AFAIK there's no FlatSpark datagrid available.

>If not available, is it planned? When?

AFAIK there're no plans to implement something like that.

>If not planned, what would be a workaround?

I wonder what do you expect from a flatspark datagrid?
To adjust the look and feel to a flat design you maybe could create some
custom skins.



BTW:
Do you know the Spark-Material lib [1] which is inspired by googles Material
Design?
There's also no datagrid available but you should give it a try!
(Checkout also the dev branch)

HTH,
Olaf


[1] https://github.com/rui-cruz/Spark-Material



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlatSpark-for-datagrid-tp13810p13812.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlexJS: Need to create PureMVC swc

2016-10-07 Thread OK
Hi,
I'm doing the same, it seems that's currently not so easy to build a
reusable swc.
But try to outsource the PureMVC files to a seperate lib project, compile it
using compc and link your project to the lib the same way you would do it
with a Flex project.

This but might be helpful:
http://apache-flex-development.247.n4.nabble.com/FlexJS-Creating-swc-libs-from-source-td55018.html

Same topic bur might be outdated:
http://apache-flex-users.246.n4.nabble.com/Flex-JS-How-to-create-a-SWC-library-file-td11775.html

Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Need-to-create-PureMVC-swc-tp13782p13783.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


RE: FlexJS application and swf mudoles

2016-10-06 Thread OK
>Any ideas are welcomed and appreciated.

I'm using PureMVC [1] AS3 multicore [2] to separate my apps into
independents modules or cores.
The PureMVC cores communicates using interfaces [3] or the PureMVC pipes
utility [4].
With this approach you're able to implement encapsulated and reusable
modules that holds your business logic which doesn't need to know anything
about its views. You could create and remove PureMVC cores at runtime. If
you take care of implementing your PureMVC cores using pure AS3 you could
just reuse it with FlexJS.

One word to PureMVC:
PureMVC consist only of a couple of files, it doesn't generates a dependency
like other big frameworks does.
It's matured, unchanged over years (which is a big benefit!) and still
supported by its owner Cliff Hall.
There're exist ports to lots of other popular languages so that you even
have a fair chance to port your buisness logic to any other language.

HTH,
Olaf


[1] http://puremvc.org/
[2] https://github.com/PureMVC/puremvc-as3-multicore-framework/wiki
[3] https://github.com/PureMVC/puremvc-as3-demo-flex-modularity/wiki
[4] https://github.com/PureMVC/puremvc-as3-demo-flex-pipeworks/wiki



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-application-and-swf-mudoles-tp13759p13764.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Get mouse coordinates on high speed

2016-10-05 Thread OK
Alex Harui wrote
>>can't you just up the frame per second of the swf to say 60, and if
>>needed interpolate data points to smooth it?
> That is a possibility, but the interpolation code may also affect input
> rate.

For this approach it might be helpful to google with "spline interpolation"
and "FFT" (Fast Fourier Transformation). Maybe you find some ready to use
AS3 implementations.

Olaf




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Get-mouse-coordinates-on-high-speed-tp13737p13748.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Effects in a VGroup

2016-10-04 Thread OK
Don't know why it doesn't work with VGroup but do you've already tried this
[1] instead?

Thanks,
Olaf

[1] Group with vertical layout

<
<
<
<
<



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Effects-in-a-VGroup-tp13722p13723.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: [FlexJS] Issue with DropDownList if it's child of org.apache.flex.core.View

2016-10-02 Thread OK
Alex Harui wrote
> Hmm.  It is probably just a bug.

This is the JIRA ticket:
https://issues.apache.org/jira/browse/FLEX-35136

Thanks,
Olaf




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Issue-with-DropDownList-if-it-s-child-of-org-apache-flex-core-View-tp13695p13704.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


[FlexJS] Issue with DropDownList if it's child of org.apache.flex.core.View

2016-09-30 Thread OK
Hi,
if I use org.apache.flex.core.View as root class of an outsourced sub
component that contains a DropDownList I notice that the DropDownList
doesn't show its populated items after clicking on it.
After some investigation I found that replacing the
org.apache.flex.core.View by org.apache.flex.html.Container solves this
issue.

Is it the wrong way to use org.apache.flex.core.View as root class or is
this maybe a bug?
The AS3 doc [1] sounds like using it at root class might be the right way...

Thanks,
Olaf


[1] org.apache.flex.core.View docs:
 *  The View class is the class for most views in a FlexJS
 *  application.  It is generally used as the root tag of MXML
 *  documents and UI controls and containers are added to it.







--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Issue-with-DropDownList-if-it-s-child-of-org-apache-flex-core-View-tp13695.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Problem using latest SDK in Flashbuilder

2016-09-29 Thread OK
>I assume I don’t need them in the Flash builder directory as well. 
To my knowlegde is's definately crucial to manually add the SDK to your IDE
as it is described in the above link.
But if it already appears in your project as default project it seems to be
ok. Maybe you want to double check it: Right click at your
project->Properties->Flex compiler:
The 'default' or 'specifik' SDK should point to 4.15.0.

Sometimes FlashBuilder is a bit messy and sometimes it is helpful to 'clean'
a project:
Try "Project->Clean..." from the toolbar.

HTH,
Olaf




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Problem-using-latest-SDK-in-Flashbuilder-tp13667p13672.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Problem using latest SDK in Flashbuilder

2016-09-29 Thread OK
BTW:
Don't hesitate to ask if you stuck with a problem. I'm sure anybody here
will be glad to help.



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Problem-using-latest-SDK-in-Flashbuilder-tp13667p13669.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Custom skin based on SDK version

2016-09-28 Thread OK
kamcknig wrote
> I want to change the MXML in the skin file based upon whether we are
> working in the old adobe 4.6 or the new apache 4.15.

Probably I don't understand your question but you could just replace the
origin SDK skins by custom skins.
Could you try to specify more precisely what you'd like to achive?

Thanks,
Olaf




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Custom-skin-based-on-SDK-version-tp13647p13648.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: iOS7 skins

2016-09-27 Thread OK
Great that it works now!

>but am not in a position compile the project with 4.15
I notice that folks sometimes stick with old versions, especially last Adobe
versions.
What is the reason to stick with it? I thought that most of the time an
update to the latest Apache version could be done with a passable effort?

Thanks,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/iOS7-skins-tp13507p13639.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: iOS7 skins

2016-09-26 Thread OK
Lydecker wrote
> So some weirdness with the colours. Any ideas?

Do you've tested it using the simulator or a mobile device?

I stumbled over this wiki article:
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=50856172

I tested the origin skin with 4.15. and it only works correctly with the
simulator after adding the compiler directive. Don't know if this would be
work with 4.7.

If the skin still doesn't work with your mobile device there's some more
investigation needed.
I would try to find out where the font color and the font family comes
from...

HTH,
Olaf








--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/iOS7-skins-tp13507p13632.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: iOS7 skins

2016-09-25 Thread OK
>Thanks for this - been looking at it for a week now but still no joy.
Could you specify what kind of problems do you have?

>Is it possible to apply a pure AS skin directly to component? 
Yes, you just have to add the skin class to your component:
<

>Any further pointers would be much appreciated. 
- Download all files inside the ios7 skin package that begins with
ButtonBar*, don't forget the "assets" folder [1]
- Create a test project
- Copy the downloaded files to your project 
- Adjust the "import" statements inside the downloaded files where it's
needed
- Create a simple test case [2]
- Check if it already works
- If not, you maybe have to update other dependencies to 4.15.

HTH,
Olaf

[1]
https://github.com/apache/flex-sdk/tree/eec643c453a3a1bec6ea3352b0c94ec81d36b2d6/frameworks/projects/mobiletheme/src/spark/skins/ios7

[2] Simple test case:




One 
Two 
Three 
Four 


<



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/iOS7-skins-tp13507p13623.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: AW: rollOut Issue with child dropdown in panel

2016-09-21 Thread OK
Ulrich Andreas wrote
> Callout would be my first choice, sadly it's not the prettiest Flex
> component and needs a lot of skinning/styling which takes a lot of time...

Take a look at the screenshot at this demo [1].
If this look at and feel fits your needs just grab the skin wich is included
within the demo and you're done.
It's not perfect, but probably nicer than the original ;-)

HTH,
Olaf


[1] https://github.com/ok-at-github/Apache-Flex-Callout-demo




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/rollOut-Issue-with-child-dropdown-in-panel-tp13568p13602.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Flex app broken on Microsoft Edge Browser?

2016-09-20 Thread OK
Unfortunately I've no solution.
It's the first time I've heard of this 'intelligent pause' button in edge.
So maybe this is also interestig for others [1].

Thanks,
Olaf

[1]
https://blogs.windows.com/msedgedev/2016/04/07/putting-users-in-control-of-flash/#rw8kVkjG0k8OWq3m.97




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Flex-app-broken-on-Microsoft-Edge-Browser-tp13582p13597.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: [FlexJS] TextInput/Form validation

2016-09-20 Thread OK
Thanks Peter and Alex, I'll try to implement it. It's probably a good
exercise.
I'll start with studying the existing code... we'll see... don't expect too
much ;-)

Thanks,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-TextInput-Form-validation-tp13577p13595.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: [FlexJS] TextInput/Form validation

2016-09-20 Thread OK
>Yes, beads would be a good thing, but IMO, it is only necessary for the
>COMPILE::SWF code, since it is the SWF code that doesn't have built-in
>functionality to rely on.

If we'd go this way, does it mean that at the end users would have to add
beans to make sure that the SWF version works and also have to add the
properties to the TextInput component to make sure that the JS version
works?

Thanks,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-TextInput-Form-validation-tp13577p13592.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Flex development associate required

2016-09-20 Thread OK
Seems that your app doesn't work, follwing message is displayed after
starting it:

"Unable to communicate with server. Please check your network connectivity
and try again."

Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Flex-development-associate-required-tp13586p13588.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: [FlexJS] TextInput/Form validation

2016-09-20 Thread OK
>Want to make it happen? 
I could give it a first try tonight.
Any help how to achieve this is appreciated ;-)

Thanks,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-TextInput-Form-validation-tp13577p13585.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: [FlexJS] TextInput/Form validation

2016-09-20 Thread OK
Alex Harui wrote
> What APIs are you referring to?

My understanding is that FlexJS converts "org.apache.flex.html5.TextInput"
to "".
The html5 "" element provides an "required" and "pattern" attribute
[1][2].
So the question is if it makes sense (and if it would be possible) to make
all these html5 "build in" attributes available as properties in
"org.apache.flex.html5.TextInput".

Thanks,
Olaf

[1] 
[2] https://codepen.io/ok-at-codepen/pen/pEEmKj



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-TextInput-Form-validation-tp13577p13583.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: [FlexJS] TextInput/Form validation

2016-09-19 Thread OK
Thanks Peter, found the PasswordInputBead.
I wonder if there's any way do tell FlexJS to just use the html5 build in
validation features?

Thanks,
Olaf




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-TextInput-Form-validation-tp13577p13579.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


[FlexJS] TextInput/Form validation

2016-09-19 Thread OK
Hi,
is there already any chance to validate input fields and mark it as required
using FlexJS?

Thanks,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-TextInput-Form-validation-tp13577.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: rollOut Issue with child dropdown in panel

2016-09-19 Thread OK
Mihai Chira wrote
> I would use event.target. I haven't compiled the code, but I imagine
> something like this should work:
> 
> if(event.target == p)
> {
> removeElement(p);
> p = null;
> } 

Unfortunately "target" and "currentTarget" refers always to the "Panel".

Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/rollOut-Issue-with-child-dropdown-in-panel-tp13568p13576.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: rollOut Issue with child dropdown in panel

2016-09-19 Thread OK
Code was eaten by the mailing list, here's just the modified function:

private function onRollout(event:MouseEvent):void {
// Analyze the "relatedObject" property
if(event.relatedObject!=null && Group(event.relatedObject).id !=
"dropDown") {
removeElement(p);
p=null;
}
}

HTH,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/rollOut-Issue-with-child-dropdown-in-panel-tp13568p13570.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: rollOut Issue with child dropdown in panel

2016-09-19 Thread OK
>How can this be avoided? The Panel should stay open...

This modified "onRollout" code will work but maybe there is some more
elegant way.
It uses the relatedObject property [1].
Btw: 
Instead of the Panel maybe the Callout component [2] better suits your
needs?.

HTH,
Olaf

[1]
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/MouseEvent.html#relatedObject

[2] https://github.com/ok-at-github/Apache-Flex-Callout-demo



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







--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/rollOut-Issue-with-child-dropdown-in-panel-tp13568p13569.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Can't get Rect to draw one way, but works another

2016-09-15 Thread OK
HI,
I've just accidentally stumbled over this [1]. It contains a styled
rectangle component.
Seems that this perfectly fit your needs.

HTH,
Olaf


[1]
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf687e7-7ff6.html



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Can-t-get-Rect-to-draw-one-way-but-works-another-tp13544p13551.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: [ANNOUNCE} Apache FlexJS 0.7.0 and Apache Flex FalconJX 0.7.0 Released

2016-09-15 Thread OK
Hi,
Congratulations!
I've installed and tested the 0.7.0 release build and it just works :-)
Thanks to the "Getting Started" Wiki section [1] it took me less than 10
minutes to install FlexJS and getting started with it now!

Thanks to all of you for working on FlexJS!!!

Olaf

[1]
https://cwiki.apache.org/confluence/display/FLEX/Getting+Started+With+FlexJS



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/ANNOUNCE-Apache-FlexJS-0-7-0-and-Apache-Flex-FalconJX-0-7-0-Released-tp13549p13550.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Spark DataGrid editable problem

2016-09-14 Thread OK
npem wrote
> I have replaced the DataGrid with an appropriate Nº of
> textInput components, which works very nicely

You could also think about using the List component with an appropriate item
renderer.
Or let you be inspired by the experimental MobileGrid [1].

HTH,
Olaf

[1]:
https://flex.apache.org/asdoc/spark/components/MobileGrid.html




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Spark-DataGrid-editable-problem-tp13537p13543.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Spark DataGrid editable problem

2016-09-14 Thread OK
I never tried to use the spark datagrid on mobile but maybe this works [1]?

HTH,
Olaf


[1]: Set each column 'editable'
...







...







   


...



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Spark-DataGrid-editable-problem-tp13537p13542.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Consolidate items from ArrayCollection

2016-09-07 Thread OK
This is a collection of different aproaches:
http://stackoverflow.com/questions/5997822/flash-as3-how-do-i-remove-duplicates-in-an-array

HTH,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Consolidate-items-from-ArrayCollection-tp13509p13515.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: form layout

2016-09-07 Thread OK
Try it this way:





 







HTH,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/form-layout-tp13510p13513.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Reports

2016-09-07 Thread OK
You could go with one of these PHP libs:

https://tcpdf.org/
http://fpdf.de/
https://framework.zend.com/manual/1.10/en/zend.pdf.html

HTH,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Reports-tp13511p13512.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: iOS7 skins

2016-09-07 Thread OK
Seems to me that ButtonBarSkin [2] has these [1] direct dependencies.
Maybe you could browse through the repo and put it together to make the
ButtonBarSkin work.

HTH,
Olaf

[1] ButtonBarSkin source
package spark.skins.ios7
{
import spark.components.ButtonBar;
import spark.components.ButtonBarButton;
import spark.components.DataGroup;
import spark.components.supportClasses.ButtonBarHorizontalLayout;
import spark.skins.mobile.supportClasses.ButtonBarButtonClassFactory;
mport spark.skins.mobile.supportClasses.MobileSkin;
...
}
[2] ButtonBarSkin:
https://github.com/apache/flex-sdk/blob/eec643c453a3a1bec6ea3352b0c94ec81d36b2d6/frameworks/projects/mobiletheme/src/spark/skins/ios7/ButtonBarSkin.as

[3] Repo "spark.components" entry point:
https://github.com/apache/flex-sdk/tree/release4.15.0/frameworks/projects/spark/src/spark/components

[4]: Repo "spark.slins.mobile.supportClasses" entry point:
https://github.com/apache/flex-sdk/tree/eec643c453a3a1bec6ea3352b0c94ec81d36b2d6/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/iOS7-skins-tp13507p13508.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: BarChart Y Axis Label Issue

2016-08-31 Thread OK
Mabye you could use the 'labelRenderer' setter of your AxisRenderer to pass a
renderer that fits your needs. You have to implement the renderer by
yourself. It works similiar to a 'itemRenderer'

Here you could find some details [1]

HTH,
Olaf

[1]
http://flexcoders.10928.n7.nabble.com/Ely-How-do-you-wordwrap-a-label-on-a-bar-chart-td8090.html

[2] Extract from [1]:
A more involved method would be to use a labelRenderer (similar to the
following), for the AxisRenderer.  For word-wrap, you would change the
_label variable type from Label to UITextField or TextArea; and set the
desired styles and properties.  Caveat: I've found that if the entire
view is using a show effect (like yours), the app locks-up (probably
asking the player to do too much).  Also, if you use a showDataEffect on
a series of a chart, the effect doesn't play if you use a labelRenderer.

//___


   


//___

package view.chart
{
   import mx.core.UIComponent;
   import mx.core.IDataRenderer;
   import mx.charts.AxisLabel;
   import mx.controls.Label;

   public class MyAxisLabelRenderer extends UIComponent implements
IDataRenderer
   {
 private var _axisLabel:AxisLabel;
 private var _label:Label;

   public function MyAxisLabelRenderer():void
   {
 super();
 _label = new Label();
 addChild(_label);
   }

   public function get data():Object
   {
 return _axisLabel;
   }

   public function set data(value:Object):void
   {
 if (_axisLabel == value)
   return;
 _axisLabel = AxisLabel(value);

 if(_chartItem != null)
 {
   _label.text = AxisLabel(_axisLabel).text.toString();
 }
   }

   override protected function
updateDisplayList(unscaledWidth:Number,unscaledHeight:Number):void
   {
 super.updateDisplayList(unscaledWidth, unscaledHeight);

 _label.setStyle("textAlign","right");
 _label.width = 200; //this could be dynamic; based on the gutter
size
   
_label.setActualSize(_label.getExplicitOrMeasuredWidth(),_label.getExpli\
citOrMeasuredHeight());
 _label.move(-200,-6); //this could be dynamic; based on the gutter
size
   }
  }
}





--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/BarChart-Y-Axis-Label-Issue-tp13479p13480.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Callout Component for AIR on Desktop

2016-08-29 Thread OK
I've completely replaced conventional popups by callouts and as Om said it
works!
Cause there're not so much demos available I've just created one:

https://github.com/ok-at-github/Apache-Flex-Callout-demo

>I have information that I want to show a user that slides in
> from the bottom or the side when a user clicks a button

I think there's a difference between a component that slides-in and a
callout.
The callout embraces a component and points to it's owner, e.g. a button.

The sliding component could be just a component that applies some effects
that could be triggered
by e.g. any button.
It could be slide-in on the top layer of your UI or it could be included so
that the other components will 
resize. (Last one could be a bit choppy if you're UI is deeply nested).

HTH,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Callout-Component-for-AIR-on-Desktop-tp13463p13469.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Hot to get smooth transitions in a flex mobile app

2016-08-29 Thread OK
>When we change the view in most cases we also load data from the server. 

If you're really sure that loading the data makes your transitions choppy,
do you considered to load the data
not until all transitions are finished and the UI is in place?

Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Hot-to-get-smooth-transitions-in-a-flex-mobile-app-tp13426p13467.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Connect AIR to a Remote Server

2016-08-24 Thread OK
I don't want to totally confuse you but there's another option:
You could go with a on-premise backend as a service (baas) solution.

One baas candidate is dreamfactory:
http://www.dreamfactory.com/

It could be installed using bitnami in nearly 5 minutes.
https://bitnami.com/stack/dreamfactory

Dreamfactory provides ready to use APIs for MySQL and MongoDB and a lot of
other stuff,
including a file upload API.
Going with this kind of solution you don't need any database knowledge.
Just call the provided services and you're done!

HTH,
Olaf










--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Connect-AIR-to-a-Remote-Server-tp13379p13387.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Connect AIR to a Remote Server

2016-08-24 Thread OK
bilbosax wrote
> Writing pho/database interfaces is beyond my skill set and I would
> definitely need a tutorial to get it done. 

If you'd like to go with a REST server I could try to assist you.
If all works fine you be able to set up the complete environment in a few
minutes.
I'd recommed to install the complete setup at you local machine first.

1) Install the MEAN or LAMP stack using e.g. bitnami
https://bitnami.com/stack/lamp (MySQL)
OR
https://bitnami.com/stack/mean (MongoDB)

2) Install php composer
https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx

3) Install Slim using composer
http://www.slimframework.com/docs/start/installation.html

Now you could start coding your RESTful services that coud be easiliy
consumed by your flex app.
Let me know if you would give it a try...

If you'd like to stick with ZEND_AMF wich is also fine you should check if
your Zend_Server is working 
(Independent from Flex):
1) Check if your web server is up running and your PHP is working fine.
To verify it just create a simple phpinfo.php file and put it to your web
root:
File phpinfo.php:

Call this file in your web browser. You should see the phpinfo page.

2) Locate your Zend_Server gateway.php file (Most time the entry file is
called gateway.php or sometimes index.php)
Just call this gateway.php file in your browser and check if there occur any
errors.
If I remember it correctly it returns something like "Endpoint" if it works
correctly.

HTH,
Olaf






--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Connect-AIR-to-a-Remote-Server-tp13379p13386.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Connect AIR to a Remote Server

2016-08-24 Thread OK
I assume you mean Zend_Amf_Server if you're speaking of Zend?
This might be helpul:
https://framework.zend.com/manual/1.12/en/zend.amf.server.html

I had used Zend_Amf_Server for a long time in the past and remember that
there could be some pitfalls.
E.g. you have to take care of the VO mapping, the class registration and of
course the services-config itself.
I've never used the FlashBuilder code generation/data-centric tools but to
avoid issues with it I recommed to implement the services by yourself.
As Jeffrey said it would be helpful if you provide some more details.

However, if it's an option for you to replace AMF by JSON (or XML) it makes
much sense to replace the Zend_Amf_Server by a REST server.
Building a REST server with PHP is easy using the awesome Slim framework:
http://www.slimframework.com/

Using this option you'll get a reusable API that could be consumed by any
http client.
If you combine SLIM with JSON Web Token (JWT) you be able to build real
stateless services (no state on the server side):
https://github.com/tuupola/slim-jwt-auth

I'd like to publish a tutorial using SLIM/JWT with Flex, but unfortunately
time is always not enough...we'll see...

HTH,
Olaf








--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Connect-AIR-to-a-Remote-Server-tp13379p13382.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Flex Mobile App To Desktop App

2016-08-19 Thread OK
Maybe this could help?:

http://www.adobe.com/devnet/air/articles/multiple-screen-sizes.html

Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Flex-Mobile-App-To-Desktop-App-tp13344p13348.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: default Index for ComboBox or DDL when DataProvider data comes from a webservice

2016-08-17 Thread OK
CodeGirl wrote
> So I put an event dispatch at the getResults of the webservice call and
> then added an eventListener and when the event was fired telling me that
> the data was loaded, I then assigned the selectedIndex.  But again,
> nothing was selected.   Any Ideas?

Maybe the data is received successfully from your service but the
dataProvider of the ComboBox is not populated at the time you try to set the
selectedIndex.
You could try to populate the dataProvider 'manually' after receiving the
data from your service and set the selectedIndex afterwards. 

protected function myResultHandler(event:ResultEvent):void
{
colorsCB.dataprovider = event.my.data.object;
colorsCB.selectedIndex = colors.lookupNdxByID(defaultColor);
}

Olaf




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/default-Index-for-ComboBox-or-DDL-when-DataProvider-data-comes-from-a-webservice-tp13321p13327.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Flex ASCII

2016-08-15 Thread OK
Forgot something:

If you need diagonal directional icons, the 'rotate' property might help:



HTH,
OLaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Flex-ASCII-tp13294p13302.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Flex ASCII

2016-08-15 Thread OK
Since 4.14. the SDK is shipped with "FontAwesome":
http://fontawesome.io/icons/#directional

Usage:
 

Unfortunately it doesn't provide any diagonal arrows...

HTH,
Olaf





--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Flex-ASCII-tp13294p13301.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


  1   2   >