Re: [FLEXJS] Layout

2015-08-09 Thread yishayw
Sencha have managed to achieve a consistent HBOX/VBOX implementation in their ExtJS and Touch frameworks. I think the newest version is strictly commercial but the older ones are licensed https://www.sencha.com/legal/open-source-faq/ under GPL v3. If not using the sources directly, they may at

Re: [DISCUSS] Release Apache FlexJS 0.5.0

2015-11-08 Thread yishayw
Hi Alex, I've been following these threads (usually in silence) because I still hope to use FlexJS and contribute to it. Recently I've had very little time for this, as I started a new Flex (not JS) project which is taking up most of my computer time. The comments made by Harbs and others

Re: [FlexJS][FalconJX] Internal Classes

2015-11-16 Thread yishayw
I've seen them used in Singleton implementations. Not sure why... See here http://stackoverflow.com/questions/10233868/why-there-are-no-private-constructors-in-as3-version-of-singleton -- View this message in context:

Re: [FlexJS][FalconJX] Internal Classes

2015-11-16 Thread yishayw
Actually the comment above 'class SingletonEnforcer' explains it. package{ public class Singleton{ private static var _instance:Singleton=null; public function Singleton(e:SingletonEnforcer){ trace("new instance of singleton created"); } public

[FlexJS] Stub for Video Component

2015-09-08 Thread yishayw
Hi, I created a stub for a video component that works on FlexJS. Currently I only have the AIR side (using StageVideo) working. The project, including sources and example is here . It's still buggy and

Re: [FlexJS] Stub for Video Component

2015-09-13 Thread yishayw
I did that but the compiler still searches for .../MyTestProject/.flexLibProperties which is the location of my main project (not a library). -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Stub-for-Video-Component-tp49045p49134.html Sent from

[FlexJS] Nightly Build Installation Freezes

2015-09-17 Thread yishayw
Hi, It freezes right after stating "Finished uncompressing ... 0.5.0-bin.zip". I cleared all my browser caches just in case. This is the log I copied Installer version 3.2.0 (windows) Using Locale: en_US Fetched the SDK download mirror URL from the CGI. SDK version Apache FlexJS Nightly Build

Re: [FlexJS] Stub for Video Component

2015-09-12 Thread yishayw
Hi, Just to start off with the JS part I copied the example posted by jcvfc into this project and compiled using JS COMPC. but I get this: exception 'java.io.FileNotFoundException:

Re: [FlexJS] Nightly Build Installation Freezes

2015-09-20 Thread yishayw
Looking at the verbose log I could see it terminated for not finding java executable. I added my JRE to the path and the installation now finishes as expected. I suppose there ought to be a popup in case the installer fails but using the verbose log was a good tip. Thanks. -- View this message

Compiling Falcon

2015-09-24 Thread yishayw
Hi, Does this look familiar to anyone? I'm using java 7 on windows 10. compile: [javac] Compiling 1786 source files to C:\dev\flexjs\flex-falcon\compiler\ge nerated\classes [javac] C:\dev\flexjs\flex-falcon\compiler\generated\src\org\apache\flex\com

Re: Compiling Falcon

2015-09-25 Thread yishayw
Good catch. I replaced the JFlex version to 1.6 (from the installer build) and it works. The latest, which 1.6.1, will yield the aforementioned message and fails. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Compiling-Falcon-tp49343p49345.html Sent

Re: Convert Flex into javascript

2016-06-28 Thread yishayw
See FAQ "How much work will it be to switch from Flex to FlexJS?" here: https://cwiki.apache.org/confluence/display/FLEX/FlexJS+FAQ#FlexJSFAQ-CanIuseFlexJStoconvertmyFlexcodetoHTML/JS/CSS? Although some of the info there may not be up2date. E4X, for instance, may already be available. --

Re: flexjs game hugryhero

2016-01-24 Thread yishayw
Loosely following this discussion, I can add that Sencha have tried to work around caching issues by encoding and storing in localStorage. This still has issues of browser applicability and varying storage capacities though. -- View this message in context:

Re: [FALCON] Code analysis stats for Falcon

2016-05-05 Thread yishayw
Like Carlos, I've been silently following and appreciating the work you and Alex have been doing on this. The last time I tried, and from posts I've seen here I'm not the only one, getting a full and clean installation of the dev environment was a big hassle. If your joint work ends up making this

Re: Changed svg namespace

2016-07-27 Thread yishayw
I propose to have a single class. It could have a get drawnElement():WrappedHTMLElement which the transform bead, or other clients, would reference when interested in DOM manipulation. The condition would be implemented once there. Again, this is assuming wrapping in doesn't somehow make it a

Re: Changed svg namespace

2016-07-27 Thread yishayw
Unless Rect and RectComponent have different APIs I would elect to merge them. We don't want to make the client think too much on what s/he should use. If we change IUIBase.addedToParent() to IUIBase.addedToParent(parent:IUIBase) we can probably make the necessary adjustments there. That also

Re: [FlexJS] Nightly build failing

2016-07-24 Thread yishayw
Works for me too. Thanks. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Nightly-build-failing-tp54058p54115.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] refactor-sprite flash events

2016-08-10 Thread yishayw
You're right, alerts weren't closing and I mistakenly blamed events. The problem was Application not properly wrapping its element and not implementing IPopUpHost. Fixed. -- View this message in context:

Re: [FlexJS] Error in flash on svg-refactor branch

2016-08-10 Thread yishayw
Makes sense, we can do without those libraries. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Error-in-flash-on-svg-refactor-branch-tp54426p54454.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

[FlexJS] refactor-sprite flash events

2016-08-10 Thread yishayw
Being able to return to a flash workflow, now that the runtime errors have been figured out, is a great boost. We're getting to the stage where event handling becomes important. Is this actively being worked on? Alex, can you share what stage you got to, and if it makes sense for us to pick it up

[FlexJS] Nightly build failing

2016-07-21 Thread yishayw
It fails on Copy FalconJX SDK files Here's the install log: Installer version 3.2.0 (windows) Using Locale: en_US Fetched the SDK download mirror URL from the CGI. SDK version Apache FlexJS Nightly AIR version 21.0 Flash Player version 21.0 Creating Apache FlexJS home Creating temporary

Re: [FlexJS] MouseEvent extends flash event

2016-07-15 Thread yishayw
It turned out handleOK on SimpleAlertView was expecting an Event and complained about receiving a MouseEvent. I changed it (pull request pending) so it expects MouseEvent instead and that seems to have fixed it. I'm not sure however that the bigger issue isn't that MouseEvent does not extend

[GitHub] flex-asjs pull request #9: Fix ticket

2016-07-15 Thread yishayw
GitHub user yishayw opened a pull request: https://github.com/apache/flex-asjs/pull/9 Fix ticket FLEX-35103 This fixes the issue, but we might have a bigger issue in that org.apache.flex.events.MouseEvent does not extend org.apache.flex.events.Event

[GitHub] flex-asjs pull request #8: Added BinaryURLLoader and some utility classes.

2016-07-05 Thread yishayw
GitHub user yishayw opened a pull request: https://github.com/apache/flex-asjs/pull/8 Added BinaryURLLoader and some utility classes. You can merge this pull request into a Git repository by running: $ git pull https://github.com/yishayw/flex-asjs develop Alternatively you

Re: [DISCUSS] Alerts and Dialogs in FlexJS

2016-07-07 Thread yishayw
Hi Peter, Is there anything I can use for dialogs or should I create something? -- View this message in context: http://apache-flex-development.247.n4.nabble.com/DISCUSS-Alerts-and-Dialogs-in-FlexJS-tp27505p53755.html Sent from the Apache Flex Development mailing list archive at

[FlexJS] Developer Setup

2016-07-06 Thread yishayw
I'd like to optimize my SDK development workflow. Currently I have a folder which contains the nightly build, and a separate folder which has the latest develop branch of flex-asjs. My main FlashBuilder project is configured to use the nightly build as the SDK. When I make changes to flex-asjs

[FlexJS] MouseEvent extends flash event

2016-07-06 Thread yishayw
Is there any reason why COMPILE::SWF public class MouseEvent extends flash.events.MouseEvent rather than COMPILE::SWF public class MouseEvent extends Event It might solve https://issues.apache.org/jira/browse/FLEX-35103 -- View this message in context:

Re: [FlexJS]ArrayCollection

2016-07-06 Thread yishayw
Note that ArrayList doesn't work with for each(). Not sure why. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-ArrayCollection-tp53695p53702.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Developer Setup

2016-07-10 Thread yishayw
This works nicely when all projects are open in FlashBuilder, but I try and have as few open as possible for performance and simplicity. So it looks like I'll be going back to my original flow. Still, it's good to know that options exists. -- View this message in context:

Re: [FlexJS] Developer Setup

2016-07-10 Thread yishayw
This is what happens when closing projects http://screencast.com/t/Z4AQ1gyiMVT I'll try adding missing swcs as external libs and post results. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Developer-Setup-tp53729p53835.html Sent from the Apache

Re: [FlexJS] Developer Setup

2016-07-11 Thread yishayw
It turns out I needed to add the relevant swc files to the framework project I was tinkering with, not to my test project. The disadvantage of this is that .actionScriptProperties, which is in git, gets changed. Here's another video describing first what not to do (add swc files to test project),

Re: [FlexJS] Developer Setup

2016-07-08 Thread yishayw
Looks good on the flash side. I'll try the JS side later. I made a mini video tutorial using your scheme: Create a workspace, import projects http://screencast.com/t/EHOi7gKp7 Add projects http://screencast.com/t/9ms4qEwTs2nV Play with SDK and see results http://screencast.com/t/uDsssfGUEsM

Re: [FlexJS] Interfaces, Pay as You Go, Performance

2016-08-08 Thread yishayw
Alex Harui wrote > On 8/8/16, 6:23 AM, "Harbs" > harbs.lists@ > wrote: > >>> 2) The supposedly heavyweight model that is rich with convenience >>>methods >>> doesn't actually result in heavy instances. The methods are all stored >>>once >>> on the prototype and not duplicated per instance. So

[FlexJS] numElements and contentView

2016-08-07 Thread yishayw
We have code that removes all elements in a container. It does something like while (container.numElements) {container.removeElementAt(0)} The problem was that ContainerBase.removeElementAt(0) actually did ContainerBase.contentView.removeElementAt(0) while container.numElements was returning

[FlexJS] Error in flash on svg-refactor branch

2016-08-09 Thread yishayw
I'm getting this message: VerifyError: Error #1079: Native methods are not allowed in loaded code. In develop branch I don't see the error. Any ideas? -- View this message in context:

Re: [FlexJS] Error in flash on svg-refactor branch

2016-08-09 Thread yishayw
Apart from the sdk my swcs are the same whether I use the develop or sprite-refactor branch, and in the develop branch there's no problem. FWIW, I'm referencing GCL.swc, js.swc on top of the SDK swcs. -- View this message in context:

Re: [FlexJS] Error in flash on svg-refactor branch

2016-08-09 Thread yishayw
I tried recompiling XML using the develop branch and pasting XML.swc on top of the sprite-refactor swcs but that didn't help. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Error-in-flash-on-svg-refactor-branch-tp54426p54434.html Sent from the

Re: [FlexJS] Error in flash on svg-refactor branch

2016-08-09 Thread yishayw
No console output. It's a simple self-contained app. https://paste.apache.org/sTE8 -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Error-in-flash-on-svg-refactor-branch-tp54426p54431.html Sent from the Apache Flex Development mailing list

Re: [FlexJS] numElements and contentView

2016-08-07 Thread yishayw
Got it. The fix is in the sprite-refactor branch. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-numElements-and-contentView-tp54359p54379.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

[FlexJS] Interfaces, Pay as You Go, Performance

2016-08-08 Thread yishayw
I thought I'd share a discussion we had on Matrices as it demonstrates some problems in deciding how to do things 'the FlexJS way'. We needed a TransformBead which uses a matrix as its model. We started out by implementing the original AS3 matrix, which has members a, b, c, d, tx, ty and a bunch

Re: [FlexJS] Error in flash on svg-refactor branch

2016-08-09 Thread yishayw
So Piotrz was right. When I remove GCL.swc and js.swc from the poject it compiles and runs on the flash side. The problem is we need it for the JS side. -- View this message in context:

[FlexJS]Problem with Binding - Flash Version

2016-06-30 Thread yishayw
There seems to be a problem with binding when extending a class in the flash version. This js version works fine. I'm using the nightly build from 6/30/16 I'm getting runtime error VerifyError: Error #1053: Illegal override of TestFacade in TestFacade. --- when calling getInstance()

Re: [FlexJS] Using Maven with Flash Builder

2017-01-31 Thread yishayw
Hi All, I'm revisiting this. Given that compilation is relatively slow I'd like to try and optimize what I can. I tried increasing the java heap size [1] and excluding the output folder on my windows defender but there hasn't been a noticeable difference. I'm running windows 10 with an i5 dual

Re: [1/2] git commit: [flex-asjs] [refs/heads/develop] - Add ParallelReverseBead

2017-01-30 Thread yishayw
Fixed it according to your suggestion. Good catch. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Re-1-2-git-commit-flex-asjs-refs-heads-develop-Add-ParallelReverseBead-tp58801p58824.html Sent from the Apache Flex Development mailing list archive at

Re: [FlexJS] Should override or aggregate?

2017-02-01 Thread yishayw
In App [1] I set MyContainer [2] to disabled. This overrides the DataBinding bead so label doesn't show. The problem is not specific to binding, any component with beads will be overridden this way. [1] https://paste.apache.org/UAcn [2] https://paste.apache.org/dWWN -- View this message in

[FlexJS] Should override or aggregate?

2017-02-01 Thread yishayw
Suppose you have a class A: and then you use it like this: The beads collection will consist of [DisabledBead], not [ContainerDataBinding, DisabledBead]. The result is that data binding won't work. Is this a bug or a feature? I'm inclined to say it's a bug.

Re: About legacy IDEs (Re: AW: [FALCONJX] Combining SWF and JS compilers)

2017-02-06 Thread yishayw
That sounds reasonable to me if you think it makes maintenance easier. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/About-legacy-IDEs-Re-AW-FALCONJX-Combining-SWF-and-JS-compilers-tp59010p59051.html Sent from the Apache Flex Development mailing list

Re: [FlexJS] vertical layout not working with labels

2017-02-07 Thread yishayw
Anyway, this [1] works for me. [1] https://paste.apache.org/nWqq -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-vertical-layout-not-working-with-labels-tp59069p59082.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] vertical layout not working with labels

2017-02-07 Thread yishayw
Hi Justin, Did you check for console errors? It worked for me after adding: to the application (which made some errors go away). It'll be easier for me to reproduce your problem if you use [1] to paste the code. It'll save formatting problems. [1]

Re: [FlexJS] vertical layout not working with labels

2017-02-07 Thread yishayw
They're spans. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-vertical-layout-not-working-with-labels-tp59069p59085.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Should override or aggregate?

2017-02-02 Thread yishayw
I filed [1]. Note that the same issue can happen in as3 classes. In [2], for example, we won't see the tooltip if there are other beads added by the user of this class. I propose to add IStrand.beadsReady() which is where implementers will add their default beads and check for the issues raised

Re: [FlexJS] Using Maven with Flash Builder

2017-02-02 Thread yishayw
I did disable windows defender (the built in antivirus) but I only noticed a slight difference if at all. I'm probably going to upgrade my machine because of this, but obviously we need to cater to windows developers who would rather not do that. -- View this message in context:

Re: About legacy IDEs (Re: AW: [FALCONJX] Combining SWF and JS compilers)

2017-02-07 Thread yishayw
Looks like Piotr's [1] bug report makes FDT an option for FlexJS. [1] http://bugs.powerflasher.com/jira/browse/FDT-3716 -- View this message in context: http://apache-flex-development.247.n4.nabble.com/About-legacy-IDEs-Re-AW-FALCONJX-Combining-SWF-and-JS-compilers-tp59010p59122.html

Re: About legacy IDEs (Re: AW: [FALCONJX] Combining SWF and JS compilers)

2017-02-05 Thread yishayw
IDEs are a big part of why I believe in FlexJS. Disabling an IDE that might still be used by a lot of potential FlexJS users should have, in my opinion, a really good reason. I'm still using FB because it works for me. When I came into FlexJS I tried making friends with the cool kid, which at the

Re: [1/2] git commit: [flex-asjs] [refs/heads/develop] - Add ParallelReverseBead

2017-01-30 Thread yishayw
Actually ParallelPlayBead is refactor. ParallelReverseBead is new functionality. But I think you're right in both cases. -- View this message in context:

Re: [1/2] git commit: [flex-asjs] [refs/heads/develop] - Add ParallelReverseBead

2017-01-30 Thread yishayw
Possibly. I just refactored code that had already existed in Parallel. Feel free to remove it if that works. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Re-1-2-git-commit-flex-asjs-refs-heads-develop-Add-ParallelReverseBead-tp58801p58808.html Sent from

[FlexJS] Parallel Effect

2017-01-22 Thread yishayw
Parallel leaves some IEffect methods in stub state, i.e. the methods are implemented but empty. Some of these stubs include target, reverse(), pause(), stop(), resume(). I'm not sure if this is because the author wanted a basic Parallel which was PAYG, or if it's just unfinished. PAYG here is

Re: [Flex JS] Padding not working as expected

2017-02-21 Thread yishayw
Justin Mclean wrote > Here’s the generated HTML: > > > div style=display: block; b > > position: absolute * > ; left: 0px; top: 0px; width: 100px; height: 100px;"> > Hello > > We just ran into this as well. The problem is that the content view has absolute positioning (boldfaced). BTW,

Re: [FlexJS] Spacers and positioning

2017-02-21 Thread yishayw
That sounds like a good idea. Let me know if I can help. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Spacers-and-positioning-tp59242p59706.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] MDL - Dynamic Child Problem

2017-02-21 Thread yishayw
I agree. If you think this bead will be used very often you can create a subclass that bakes it in. ImageButton in Express is probably a good example, though I would use StrandUtils to save some code lines. -- View this message in context:

Re: [FlexJS]Layout redux

2017-02-22 Thread yishayw
Alex Harui wrote > For sure, we need to the the JS side right and then worry about the SWF > side. I think there are way fewer behavior issues on the SWF side to deal > with. If there are less issues with the SWF side, wouldn't it make sense to try and emulate the SWF side by using absolute

[FlexJS] Adding a Package Dependency

2017-02-19 Thread yishayw
Hi All, When adding a new package dependency you need to add that to compile-as-config.xml, otherwise the Ant build may fail. See commit 3dacee673d13e852864bba4d5988c63b7b55507e. Thanks. -- View this message in context:

Re: [FlexJS, MDL] Mixing Basic and MDL

2017-02-20 Thread yishayw
In case anyone else is interested in making this work, a work around would be to wrap the mdl components in elements. Then you can use VContainer [1], HContainer, etc. [1] https://paste.apache.org/y1bx -- View this message in context:

[FlexJS] Layout Problem

2017-02-12 Thread yishayw
Can you confirm the fix proposed in [1] ? It'll have to be done in layouts other than BasicLayout. [1] https://issues.apache.org/jira/browse/FLEX-35263 -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Layout-Problem-tp59255.html Sent from the

Re: [FlexJS] Falcon Not Building in Ant

2017-02-13 Thread yishayw
Correct, README states Java SDK 1.6 or greater. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Falcon-Not-Building-in-Ant-tp59299p59367.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS, MDL] Mixing Basic and MDL

2017-02-13 Thread yishayw
Thanks for the explanation. I see your points, and it would probably be better if we had an MDL like theme for the basic set so we don't have to worry about layout and style conflicts. Pragmatically speaking, right now our best bet is to re-use your implementation in our Basic based app. It might

[FlexJS, MDL] Layout Problems

2017-02-15 Thread yishayw
Carols, Piotrz, if you have time to have a look at this [1] it would be helpful. We spent some time trying to figure this out, but ended up just overriding some css attributes with !important, which doesn't seem robust. [1] https://issues.apache.org/jira/browse/FLEX-35266 -- View this message

Re: [FlexJS] MDL Build Failing in Ant

2017-02-14 Thread yishayw
That was it. Thanks. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Build-Failing-in-Ant-tp59303p59382.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Setting background colour at run time fails

2017-02-12 Thread yishayw
See this [1] discussion. [1] http://apache-flex-development.247.n4.nabble.com/FlexJS-Applying-styles-td56104.html#a56120 -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Setting-background-colour-at-run-time-fails-tp59273p59277.html Sent from

[FlexJS] Falcon Not Building in Ant

2017-02-13 Thread yishayw
I'm getting this: C:\dev\flexjs\flex-falcon\compiler-build-tools\build.xml:76: Unable to find a javac compiler; Do I need to install a JDK? The maven build seems fine. -- View this message in context:

Re: [1/2] git commit: [flex-asjs] [refs/heads/develop] - - Fix not working numElements - Fix failing internalChildren function when element is undefined

2017-02-12 Thread yishayw
numElements works for me. The problem you found was with $numElements. I think we haven't seen a bug thus far because ContainerBase.$numElements just calls super.numElements which returns the number of elements in UIBase. Usually (always?) there's one component there, which is the internal

[FlexJS, MDL] Mixing Basic and MDL

2017-02-13 Thread yishayw
Carols, Piotr, others, I remember seeing a discussion on this but I couldn't find it. Can we a use a js:Application with the basic component set which features a Panel that has mdl components? What are the constraints? We'd like to start skinning out app with MDL styles. Thanks. -- View this

[FlexJS] Maven Build and FLEXJS_HOME

2017-02-13 Thread yishayw
In the Ant build, building asjs I do this: copy C:\dev\flexjs\flex-asjs\frameworks\js\FlexJS\libs\*.swc \frameworks\js\FlexJS\libs copy C:\dev\flexjs\flex-asjs\frameworks\libs\*.swc \frameworks\libs That ensures that FlashBuilder can see the newly build swc files. What's the parallel step in

[FlexJS] MDL Build Failing in Ant

2017-02-13 Thread yishayw
Has anyone else been getting this? [compc] C:\dev\flexjs\flex-asjs\frameworks\projects\MaterialDesignLite\src\main\flex\org\apache\flex\mdl\Dialog.as(121): col: 7 Error: Access of possibly undefined property dialogPolyfill. [compc] [compc]

RE: [FlexJS] Wanted: UX/UI Design Proposals

2017-01-24 Thread yishayw
Hi Trevor, Can you give a short explanation of the design principles that came into play here, and how the rows differ in these terms? Do the 3 columns represent the emphasis level (important, less important, not so important)? Also, does it make sense to re-design the logo to match the default

Re: [FlexJS] Popup

2017-01-19 Thread yishayw
Regarding swf, I think it would be a good addition. For one thing, I still find the cycle of compilation and debugging much faster in swf. Also, having a version which does not depend on a 3rd party library will enable us to tweak things, such as when an (e.g. Slider) event is emitted. On the

Re: [FlexJS] add HTMLElement to document.body

2017-01-16 Thread yishayw
I don't think there's a static reference to the application in FlexJS. See [1] this discussion. [1] http://apache-flex-users.246.n4.nabble.com/FlexJS-How-to-use-SimpleAlert-from-a-class-that-s-not-a-IPopUpParent-td12941.html -- View this message in context:

RE: [FlexJS] Some things still missing ni FlexJS

2017-01-17 Thread yishayw
Kessler CTR Mark J wrote > the ability to compile it using our existing spark based projects without > having to having to create hundreds of JS beads / customizations. > Understandably heavier, but compatibility is more important. An effort is underway to create a component set that bakes in

Re: [FlexJS] Problems with custom events in IE11

2017-01-17 Thread yishayw
We don't use low level events in our app, so theoretically we should be indifferent to the implementation. If it solves an IE issue, it should only have a positive effect on us. -- View this message in context:

Re: [FlexJS] Coordinate Space

2017-03-01 Thread yishayw
Speaking for myself, my problems haven't been with layouts not being flex-like but rather with unpredictable behavior. Off the top of my head, x=0 now sets positioning to absolute, which changes behavior in more than one way. This is a big side effect, and to me unpredictable side effects are a

Re: [FlexJS] Coordinate Space

2017-03-01 Thread yishayw
This [1] thread talks about the advantages of SWF for JS targeted projects. [1] http://apache-flex-development.247.n4.nabble.com/FlexJS-Importance-of-SWF-output-td55843.html#a55849 -- View this message in context:

Re: [FLEXJS] Layout

2016-09-07 Thread yishayw
Turns out OneFlexibleChildVerticalLayout was what I needed. Pseudo code: Also, I found out that setting x or y explicitly will change positioning to absolute, which facilitates overlaying. -- View this message in context:

[FlexJS] Bubbling Problem

2016-09-04 Thread yishayw
https://paste.apache.org/ORA4 In this simple example bubbling isn't working. Am I doing anything wrong? I tried this on both sprite-refactor and development branches. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Bubbling-Problem-tp54796.html

[FlexJS] Beads on GraphicShape

2016-09-22 Thread yishayw
We're adding a ClipBead on classes extending GraphicShape. Alex, we noticed you removed JS support for beads on GraphicShape implementors in commit 9cb1f75 (super.addedToParent() is no longer called). Was that intentional? Is it ok to revert it? Thanks. -- View this message in context:

Re: [FLEXJS] Layout

2016-09-07 Thread yishayw
So right now, is there a way of easily overlaying items in a shared container? We're currently struggling with the following scenario. We have a toolbar at the top and a scrollable content area below it. In classic flex I would do something like: and VGroup would remain the size of the screen.

[FlexJS] ElementWrapper.forwarder() Changes Target

2016-08-18 Thread yishayw
If I listen on a click event on the application I expect to get all click events bubbled up from contained elements. That works, however the target is the application rather than the element that was clicked on. This is due to ElementWrapper.forwarder() re-dispatching the event, where the

Re: [FlexJS] ElementWrapper.forwarder() Changes Target

2016-08-18 Thread yishayw
I should add that in JS the target is the original element, so I would say it was a bug. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-ElementWrapper-forwarder-Changes-Target-tp54537p54538.html Sent from the Apache Flex Development mailing list

Re: [FlexJS] flex-asjs contribution/development workflow

2016-09-27 Thread yishayw
I think it should be on the wiki. If you feel like writing a wiki page on your setup after you've successfully done it, I think it would already be a useful contribution... -- View this message in context:

Re: [FlexJS] Beads on GraphicShape

2016-09-25 Thread yishayw
Ok, I reverted that part and committed org.apache.flex.svg.ClipBead. I also fixed a Rect bug on the way there. All done on the sprite-refactor branch. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Beads-on-GraphicShape-tp55264p55307.html Sent from

Re: [FlexJS] flex-asjs contribution/development workflow

2016-09-27 Thread yishayw
This doesn't answer all your questions, but to get and idea of what I do you can look at this thread: http://apache-flex-development.247.n4.nabble.com/FlexJS-Developer-Setup-td53729.html#a53731 Personally I use FB. I've tried IntelliJ but it didn't work well for me on the flash side. I only

Re: [FlexJS} When to Bead (was Re: [FlexJS] enabled property)

2016-10-27 Thread yishayw
Another advantage of beads, as I see it, is that they can be modular. The way I implemented DisableBead it does the minimum, which is to change style.pointerEvents to 'none', but it also dispatches a 'disabledChange' event on the strand. The latter allows an additional bead, e.g. BlurBead, to

Re: [FlexJS] DoubleClickEnabledBead ?

2016-10-27 Thread yishayw
Alex Harui wrote > On 10/26/16, 11:07 PM, "yishayw" > yishayjobs@ > wrote: > >>In flash doubleClick events are not dispatched unless >>InterActiveObject.doubleClickEnabled is set to true. In HTML there's no >>such >>property an

[FlexJS] DoubleClickEnabledBead ?

2016-10-27 Thread yishayw
In flash doubleClick events are not dispatched unless InterActiveObject.doubleClickEnabled is set to true. In HTML there's no such property and dblclick is always dispatched. We'd like add doubleClickEnabled to FlexJS and were thinking of doing it in a bead. The question is how to implement it

Re: [FlexJS} When to Bead (was Re: [FlexJS] enabled property)

2016-10-27 Thread yishayw
Regarding verboseness, maybe we could have a new css property such as 'additionalBeads' which IStrand implementers look for and create? That keeps mxml compact with PAYG and flexibility. -- View this message in context:

Re: [FlexJS} When to Bead (was Re: [FlexJS] enabled property)

2016-10-27 Thread yishayw
Carlos, I had a look at Disable (I like the short name). 2 Questions: the swf side isn't implemented, is that by design? Also, how do you re-enable a bead that's been disabled? Thanks. -- View this message in context:

Re: [FlexJS} When to Bead (was Re: [FlexJS] enabled property)

2016-10-27 Thread yishayw
yishayw wrote > how do you re-enable a bead should read yishayw wrote > how do you re-enable a strand -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-When-to-Bead-was-Re-FlexJS-enabled-property-tp56044p56073.html Sent from the Apach

[FlexJS] Applying styles

2016-10-30 Thread yishayw
I noticed UIBase set style doesn't apply the new style to the HTML element while set className does. Is that on purpose? -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Applying-styles-tp56104.html Sent from the Apache Flex Development mailing list

[FlexJS] Extending SimpleCSSValuesImpl

2016-10-30 Thread yishayw
Is there a reason why SimpleCSSValuesImpl.perInstanceStyles is static? It makes extending SimpleCSSValuesImpl difficult. Since there's typically just one such instance per app is there any harm in making it a dynamic property. That will allow derived classes to simply push new values upon

Re: Getting ready for the refactor-sprite merge (was Re: [FlexJS] HTMLElementWrapper extending Sprite)

2016-11-06 Thread yishayw
I just did a smoke test on our using the merged branch. On the JS side it looks good, but the swf side fails because now expects the strand to be an IInitialViewApplication. Looking at the asjs files, I can't see any IInitialViewApplication implementers. Do you think Application.as should be such

Re: Getting ready for the refactor-sprite merge (was Re: [FlexJS] HTMLElementWrapper extending Sprite)

2016-11-06 Thread yishayw
I don't see it here , or even locally when following renames. Do you remember where it was implemented? -- View this message in context:

  1   2   3   4   >