Flex app broken on Microsoft Edge Browser?

2016-09-19 Thread nerdaddy
Since microsoft launched the Anniversary edition of Windows 10 a few weeks
ago, my Flex projects nolonger run.  I know they have implemented an
intelligent pause feature, which is ok if it resumed ok, but what seesm to
be happening is the code in my creationcomplete is running before the
resume/play is clicked, which is causing calls my to be unable to assign a
source to a video display.  It ends up locking the movie, and because I
can't replace the flash player with a debug version I'm having to get
creative.   If I move all the code out of the creationComplete behind a
button that I add, and click microsoft's new play button, then my button,
everything works.

Has anybody else seen this?  Anybody got any idea what I can add to my flex
project to detect when the movie is resumed?

Many thanks
Richard




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


Re: [FlexJS] TextInput/Form validation

2016-09-19 Thread Alex Harui


On 9/19/16, 11:41 AM, "OK"  wrote:

>Thanks Peter, found the PasswordInputBead.
>I wonder if there's any way do tell FlexJS to just use the html5 build in
>validation features?

What APIs are you referring to?  At least for now, the components in the
HTML.swc should not depend on HTML5.  We have an HTML5.swc where a
completely different version of TextInput could go, or new beads could be
added to HTML5.swc that enable HTML5-only APIs on the TextInput from
HTML.swc

Thanks,
-Alex



Re: [FlexJS] TextInput/Form validation

2016-09-19 Thread Peter Ent
That I don't know. If it is something possible with JavaScript, then you
could code that within COMPILE::JS {  }
block.

‹peter

On 9/19/16, 2:41 PM, "OK"  wrote:

>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-valid
>ation-tp13577p13579.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.


Re: [FlexJS] TextInput/Form validation

2016-09-19 Thread Peter Ent
You would need to write a bead or two. Check out the password bead in the 
accessories folder of the HTML project.

Peter


On Sep 19, 2016, at 2:21 PM, OK 
> wrote:

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.


[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 Mihai Chira
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;
}

On 19 September 2016 at 16:21, OK  wrote:
> 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: AIR 23

2016-09-19 Thread Alex Harui
I just tried to add it.  Let me know if it works or not.

Adding a new version requires downloading both the Mac and Win AIR SDKs
twice each, so I have to find the "right time" to do it.

-Alex

On 9/19/16, 12:17 AM, "engorila"  wrote:

>Hi again!
>
>I need to use Apache Flex & Adobe AIR 23 to fix some bugs...
>
>Please can you update Apache Flex Installer with AIR 23?
>
>Thanks :)
>
>
>
>--
>View this message in context:
>http://apache-flex-users.246.n4.nabble.com/AIR-23-tp13539p13566.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.



Re: FlexJS: Binding Issue

2016-09-19 Thread PKumar
Thanks for details Alex, I will check the databinding example and try to
create couple of example. 



-
Regards,
Prashant
--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Binding-Issue-tp13553p13573.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlexJS: Binding Issue

2016-09-19 Thread PKumar
Thanks for details Greg, I will download the nightly build today and validate
your changes. There can be various use case on curly braces base binding. I
will check couple of more binding use cases. Thanks.



-
Regards,
Prashant
--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Binding-Issue-tp13553p13572.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.


rollOut Issue with child dropdown in panel

2016-09-19 Thread Ulrich Andreas
Intern: for project use only


Hi all,

I encountered some problems when using a dropdown as a child component within a 
removable parent container.
The container listens on "rollout" events for removing itself. The containing 
dropdown triggers this event (sadly) -only when the drop down list is open and 
the mouse moves over the itemlist of the dropdown.

How can this be avoided? The Panel should stay open...


Simplified Example:

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





Regards,
Andreas



Re: AIR 23

2016-09-19 Thread chris_d_k
Hi engorilla,

you can download the *air23 sdk for flex*
(http://www.adobe.com/devnet/air/air-sdk-download.html) and just
extract(unzip) into another sdk (f.e. flex 4.15/air22) you downloaded
through the Apache Flex Installer and override changes...

see
https://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html

Kind regards

Christian



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


Re: AIR 23

2016-09-19 Thread engorila
Hi again!

I need to use Apache Flex & Adobe AIR 23 to fix some bugs...

Please can you update Apache Flex Installer with AIR 23?

Thanks :)



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


Re: FlexJS: Binding Issue

2016-09-19 Thread Alex Harui


On 9/18/16, 2:35 AM, "PKumar"  wrote:

>Thanks for  info Greg, I am using FlexJS0.7.0.  There are different
>binding
>bead available in FlexJS and  no doc available on these. So if you can
>provide brief info on below binding statement that will be really helpful
>for me to distinguish.
>
>ApplicationDataBinding
>ViewDataBinding
>ContainerDataBinding
>MXMLBeadViewDataBinding

These are four implementations of data binding for certain kinds of MXML
documents.  They make certain assumptions about available properties and
life cycles and try to use the Binding classes below.


>SimpleBinding
>ConstantBinding

These are a couple of implementations of bindings that are optimized for
simple obj.prop and constants.  There is also a GenericBinding for when
you can't optimize for obj.prop.

>BindableCSSStyles

This is a set of CSS styles that send change events when the properties
are changed.  Change events are expensive, so you only want to dispatch
them when you need to.

HTH,
-Alex



Re: FlexJS: Binding Issue

2016-09-19 Thread Alex Harui


On 9/18/16, 2:47 AM, "PKumar"  wrote:

>Alex, 
>
>BindingUtils class is useful to attach watcher on multiple properties or
>chain of properties. If i am having a custom class with large no. of
>properties  and if i want to detect the multiple properties changes  then
>i
>will dispatch the events multiple times. Also i will have to extend the
>EventDispatcher class. overall, i will have to write more lines code to
>achieve the feature.
>

The basic component set in FlexJS may require you to write more lines of
code because we are trying to avoid big general purpose classes.  You can
always aggregate the pieces into a bigger general purpose class, and I
suspect that some bigger, more general component set will become the most
popular for FlexJS since it will make for faster prototyping, but it won't
make for faster, smaller applications.  There is a trade-off.

Even going from MX to Spark, your code went from looking like:



To


  

  


Why? Because MX Application bakes in AbsoluteLayout, HorizontalLayout and
VerticalLayout into every app, even if you only use VerticalLayout.

A similar thing is true everywhere in FlexJS.  The Flex BindingUtils uses
a generic ChangeWatcher that always expects a chain.  FlexJS has many
kinds of watchers and bindings that let you specify the right kind of
binding and watcher for a particular scenario.  We might just port over
BindingUtils because folks want it, but users of BindingUtils will have to
realize they are potentially bloating their app just for convenience in
development.  Plenty of times, folks end up replacing data binding to get
performance and use customized event listeners instead.  In FlexJS they
will also have the option of using different Binding classes.

FWIW, the "re-basing" of a class from extending Object to extending
EventDispatcher is a separate issue.  The compiler will do that if you use
[Bindable] metadata.

HTH,
-Alex