Re: [FlexJS] Popup

2017-01-19 Thread sankar
I just updated my local copy to latest compiler. When I tried testing the MDLExample, my HTML output seems messed-up. Here's the screenshot link:https://i.imgsafe.org/1bf652697c.png. It looks like styles not available. Here's the application file codes, and I had no error during compilation. I

Re: [FlexJS] Data-binding fails when following multiple references

2017-01-19 Thread sankar
I updated with latest compiler, and I confirm it's working fantastic! Thank you for yours effort Alex, Piotr. I've updated the JIRA issue as well. Thanks! -- View this message in context:

[4.16.0] # Apache Flex SDK 4.16.0 nightly build 208: Successful

2017-01-19 Thread flex . ci . builds
flex-sdk_release-candidate - Build #208 - Successful Changes since last build: No changes For more information, check the console output at http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_release-candidate/208/.

[FlexJS] Text For the Tour

2017-01-19 Thread Alex Harui
I was starting to write up an entry for Tour de FlexJS (TdFJS). I'm hoping to put in TdFJS not just code and a running example, but also more words sort of like Flex Examples and other tutorials. Then I realized that we want to have both a SWF version and JS version of TdFJS, but SWF isn't so

Re: [FlexJS] MDL Dialog working cross browser

2017-01-19 Thread Alex Harui
On 1/19/17, 4:15 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >c) Rest of methods had to change to brackets notation as wellawful > >for example dialog["show"](); instead of dialog.show(); > >This is due to

Re: [FlexJS] using @extern with dialogPolyfill

2017-01-19 Thread Alex Harui
Make sure it got converted to AS files. Look in the target/generated-sources/externc for the .as files. -Alex On 1/19/17, 3:57 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >I remove the class

[FlexJS] MDL Dialog working cross browser

2017-01-19 Thread Carlos Rovira
Hi, MDL Dialog is working. But: The good: Is working...in Chrome, Safari and Firefox The bad: Don't like the dirty implementation a) I used Harbs suggestion to invoke the dialogPolyfill -> window[“dialogPolyfill”].registerDialog(dialog) That works, and go that route since I didn't find the

Re: [FlexJS] using @extern with dialogPolyfill

2017-01-19 Thread Carlos Rovira
I remove the class dialogPolyfill class from MDL swc and try to insert this in typedefs js project missing.js /** * @type {!HTMLDocument} */ var dialogPolyfill = {}; /** * @param {!Element} element to upgrade, if necessary */ dialogPolyfill.registerDialog = function(element) {}; but MDL

Re: [FlexJS] using @extern with dialogPolyfill

2017-01-19 Thread Carlos Rovira
So to avoid create a new project to such little thing, I should put that code in typedefs repo better? maybe in "js" project? right? 2017-01-19 23:49 GMT+01:00 Alex Harui : > Did you sync up flex-falcon? > > It may not work to put this in MDL.swc. I think it needs to be in

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

2017-01-19 Thread Carlos Rovira
Hi Trevor, Your CSS skills would be very useful too. Take into account that MDL is created upon the restrictions that MDL has (as well CreateJS, JQuery...) But HTML components (the ones under js prefix like js:Button or js:Panel) should be the ones we try to "skin". I'm saying that because MDL

Re: [FlexJS] using @extern with dialogPolyfill

2017-01-19 Thread Alex Harui
Did you sync up flex-falcon? It may not work to put this in MDL.swc. I think it needs to be in its own SWC and on the -external-library-path. -Alex On 1/19/17, 2:33 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote:

[FlexJS] using @extern with dialogPolyfill

2017-01-19 Thread Carlos Rovira
Ok, I think I have something: 1.- In MDL swc library I create "dialogPolyfill.as" in "main/flex folder" package { /** * The ActionScript typedefs for dialogPolyfill * * @externs * @langversion 3.0 * @playerversion Flash 10.2 * @playerversion AIR 2.6 * @productversion FlexJS 0.0 */ public

[FlexJS] Tour update

2017-01-19 Thread Peter Ent
I've pushed an initial project to the flex-tourjs repo. I did a couple of prototypes and I like this one best. It is of course, a work in progress. Basically, the TourJS directory holds the source to the project and the configuration file in its resources directory. This configuration file is a

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

2017-01-19 Thread Trevor Holman
I can make some time for this, I do a lot of web design and development, so those languages are known to me. I’m pretty good with the CSS but everything I do is mostly customized so I would need help in thinking more general use… for example I just used bootstrap for a site (and I hate it), I

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

2017-01-19 Thread Alex Harui
On 1/19/17, 1:47 PM, "Trevor Holman" wrote: >Will do, are you looking for just visual components at this point? I’m >not sure I have the skill to actually program all of them to work in >Flex/ActionScript at this point. ;-) > >I still have Flash Catalyst. Also, another

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

2017-01-19 Thread OmPrakash Muppirala
Trevor, I will be happy with photoshop or illustrator mockups. For folks who do not have these software, a jpg version would be very useful. I usually have my graphic designer (who cannot code) to annotate all the elements in the mockup itself. Color, font color, font size, spacing, animation

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

2017-01-19 Thread Alex Harui
On 1/19/17, 10:43 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi, > >we should get people motivated with skills in design and planing of UI / >UX >skins, visuals, effects and transitions. >Art is different

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

2017-01-19 Thread Trevor Holman
Will do, are you looking for just visual components at this point? I’m not sure I have the skill to actually program all of them to work in Flex/ActionScript at this point. ;-) I still have Flash Catalyst. Also, another note, Shutterstock.com has a number if UX/UI

Re: [FlexJS] How to call external JS function from AS3 class (and first make it compile)

2017-01-19 Thread Josh Tynjala
The use case is that you want to get something up and running quickly that the compiler won't complain about, even if there's no type-checking. If I were to do something like this in one of my own projects, it would be temporary so that I could focus on something else first, and I'd come back and

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

2017-01-19 Thread OmPrakash Muppirala
On Thu, Jan 19, 2017 at 1:33 PM, Carlos Rovira < carlos.rov...@codeoscopic.com> wrote: > Hi Trevor, > > thanks for offer to work on this. Could you make some designs of screen > composition based on a new component set design a share in this list? I > think that would be the best way to start >

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

2017-01-19 Thread Carlos Rovira
Hi Trevor, thanks for offer to work on this. Could you make some designs of screen composition based on a new component set design a share in this list? I think that would be the best way to start Thanks! :) 2017-01-19 20:05 GMT+01:00 : > This is a pretty specific example

Re: [FlexJS] How to call external JS function from AS3 class (and first make it compile)

2017-01-19 Thread Alex Harui
On 1/19/17, 10:27 AM, "Josh Tynjala" wrote: >Is it only supported on classes? Is it possible to add it to variables or >functions in packages too? As an example, I think something like this will >be a common quick-and-dirty workaround for accessing JS globals. > >package

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

2017-01-19 Thread trevorh
This is a pretty specific example but I can do the work. The project is an air project I'm working on, this is just the interface as it is now. http://star-frontiers.com/sample-page.php Trevor - Original Message - From: "Carlos Rovira" To:

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

2017-01-19 Thread Carlos Rovira
Hi, we should get people motivated with skills in design and planing of UI / UX skins, visuals, effects and transitions. Art is different from engineering and we could get people in very different places since we never know who could have the skills to hand crafting something we'd like and have

Re: [FlexJS] How to call external JS function from AS3 class (and first make it compile)

2017-01-19 Thread Josh Tynjala
Is it only supported on classes? Is it possible to add it to variables or functions in packages too? As an example, I think something like this will be a common quick-and-dirty workaround for accessing JS globals. package { /** * @externs */ public var myGlobal:Object; } - Josh

Re: [FlexJS] How to call external JS function from AS3 class (and first make it compile)

2017-01-19 Thread Alex Harui
On 1/19/17, 9:53 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Thanks for the various responses. Very helpful! :) > >I'm just downloading Alex changes, so, If I understand ok with that >changes, the way to

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

2017-01-19 Thread Alex Harui
BTW, do we need professional/experienced proposals or should we hit up Art students in College/High Schools? -Alex On 1/11/17, 11:01 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Great, we need to expose

Re: [FlexJS] Problem in FlexJSStore

2017-01-19 Thread Carlos Rovira
JIRA issues seems the most logical way to go for me :) 2017-01-19 17:42 GMT+01:00 Christofer Dutz : > Hi Alex, > > I bet this applies to most of the others (me included) ... I just noticed > it getting faster and faster the more I watch my tests ☺ > > Should raise

Re: [FlexJS] How to call external JS function from AS3 class (and first make it compile)

2017-01-19 Thread Carlos Rovira
Thanks for the various responses. Very helpful! :) I'm just downloading Alex changes, so, If I understand ok with that changes, the way to use dialog polyfill from MDL swc should be to add in Dialog.as something like: @extern var dialogPolyfill; as other var? maybe with public? Thanks!

Re: [1/2] flex-asjs git commit: A temp way to get Application reference. Don’t like this solution and at minimum we should have a FlexGlobals.topLevelApplication or something like that

2017-01-19 Thread Carlos Rovira
Hi Alex, thanks for the code example. I'll return to it if is necessary, in the meanwhile I'll left the mdl:Application since is how other was doing and in MDL case we would not get rid of the mdl:Namespace, so it seems ok to to have a mdl:Application. Thanks! 2017-01-19 17:00 GMT+01:00 Alex

Re: [FlexJS] Popup

2017-01-19 Thread Carlos Rovira
Hi, IMHO, MDL is a good exercise that test FlexJS and what is capable, and put another facility to people coming to the technology. We could start doing Apps with FlexJS in MDL that looks pretty. That's a great goal. But in the other hand, for me is a step in the road, and we should pursue to

Re: [FlexJS] calling a method over an object that can't be declared as HTMLDialogElement

2017-01-19 Thread Carlos Rovira
Hi Piotr, just check the code at [1] and I think that code is from JS. Is that want I want to do but in FlexJS/AS3, just as I did in the old days with Flash/AS3. I assume that I should be able to do the same in FlexJS/AS3. Maybe just was a problem with the actual case that involve a polyfill that

Re: [FlexJS] Problem in FlexJSStore

2017-01-19 Thread Christofer Dutz
Hi Alex, I bet this applies to most of the others (me included) ... I just noticed it getting faster and faster the more I watch my tests ☺ Should raise Jiras for stuff like this or should I post to the list first? I bet I will find a lot of stuff while working on the test-suite. I think

Re: [FlexJS] Popup

2017-01-19 Thread Alex Harui
On 1/19/17, 7:17 AM, "sankar" wrote: >Carlos Rovira-3 wrote >> Right, many of the MDL controls are extensions from the HTML ones. >>Others >> don't have counterpart. > >So as I see in MDL the UI components were complete re-work than what we >have >in HTML package of

Re: [FlexJS] How to call external JS function from AS3 class (and first make it compile)

2017-01-19 Thread Josh Tynjala
Looking forward to it, Alex. If people can write them in ActionScript directly instead of converting Closure externs or TypeScript definitions, that's going to be way easier! - Josh On Thu, Jan 19, 2017 at 8:14 AM, Alex Harui wrote: > And you could cheat a little bit and add

Re: [FlexJS] How to call external JS function from AS3 class (and first make it compile)

2017-01-19 Thread Alex Harui
And you could cheat a little bit and add it to missing.js in flex-typedefs/js if you don't want to bother setting up a whole new typedef SWC. BTW, I will be checking in changes to Falcon that make it really easy to use AS to generate typedefs. -Alex On 1/19/17, 7:33 AM, "Josh Tynjala"

Re: [FlexJS] Problem in FlexJSStore

2017-01-19 Thread Alex Harui
On 1/19/17, 3:58 AM, "Christofer Dutz" wrote: >Another thing I just noticed, is that when switching the views with the >buttons at the top of the FlexJSStore application, there is some >animation to do the transition, but the more often I switch the faster >the

Re: [1/2] flex-asjs git commit: A temp way to get Application reference. Don’t like this solution and at minimum we should have a FlexGlobals.topLevelApplication or something like that

2017-01-19 Thread Alex Harui
On 1/19/17, 12:40 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Good suggestion Piotr, > >Maybe create a Application subclass only to get a static var is not the >best way. In the other hand is the way is

Re: [FlexJS] How to call external JS function from AS3 class (and first make it compile)

2017-01-19 Thread Josh Tynjala
If you don't mind the string property reference, that would be the easiest way to access it. :) - Josh On Thu, Jan 19, 2017 at 7:21 AM, Harbs wrote: > window[“dialogPolyfill”].registerDialog(dialog) should do it. > > > On Jan 19, 2017, at 2:01 PM, Carlos Rovira

Re: [1/2] flex-asjs git commit: A temp way to get Application reference. Don’t like this solution and at minimum we should have a FlexGlobals.topLevelApplication or something like that

2017-01-19 Thread Harbs
In my initialize handler I have: ApplicationFacade.app = this; The static object type in ApplicationFacade in my main class, so any public properties and methods are available to anything using ApplicationFacade. I’m pretty sure this only works well if you use the remove-circular option though.

Re: [FlexJS] How to call external JS function from AS3 class (and first make it compile)

2017-01-19 Thread Harbs
window[“dialogPolyfill”].registerDialog(dialog) should do it. > On Jan 19, 2017, at 2:01 PM, Carlos Rovira wrote: > > Hi, > > while we already need to solve how to make dialog polyfill work, I found a > new problem that hope you guys have already managed. > > I need

Re: [FlexJS] Popup

2017-01-19 Thread sankar
Carlos Rovira-3 wrote > Right, many of the MDL controls are extensions from the HTML ones. Others > don't have counterpart. So as I see in MDL the UI components were complete re-work than what we have in HTML package of FlexJS. MDL has different codes and approach to the problems. So I wonder a

Re: [DISCUSS] Have a Flex project summit at ApacheCon NA 2017?

2017-01-19 Thread OmPrakash Muppirala
On Jan 19, 2017 3:42 AM, "Christofer Dutz" wrote: Yeah … well I would still like some other opinions. Thing is, that the ApacheCon was intentionally changed to having Core and BigData in parallel to make room for a Project Summit Day prior to the conference. So I’m

Re: [FlexJS] How to call external JS function from AS3 class (and first make it compile)

2017-01-19 Thread Josh Tynjala
For any JS libraries that you load with

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] Problem in FlexJSStore

2017-01-19 Thread Christofer Dutz
Another thing I just noticed, is that when switching the views with the buttons at the top of the FlexJSStore application, there is some animation to do the transition, but the more often I switch the faster the animation seems to be running. After two or three times, the animation is sort of

Re: [FlexJS] Popup

2017-01-19 Thread Carlos Rovira
2017-01-19 12:24 GMT+01:00 sankar : > > I'm a little curious though, I see components were starting with namespace. Is the implementation is different than what we have in HTML > package in SDK source? > Right, many of the MDL controls are extensions from the HTML ones.

Re: [DISCUSS] Have a Flex project summit at ApacheCon NA 2017?

2017-01-19 Thread Christofer Dutz
Yeah … well I would still like some other opinions. Thing is, that the ApacheCon was intentionally changed to having Core and BigData in parallel to make room for a Project Summit Day prior to the conference. So I’m proposing to do exactly this. The good thing of us having a Project Summit

Re: [FlexJS] calling a method over an object that can't be declared as HTMLDialogElement

2017-01-19 Thread piotrz
Hmm...It is working in that way: onElementMdlComponentUpgraded - Is a event handler which is raised by MDL javascript library when components are ready. - Once it's ready I'm taking object of snackbar [1] - In method show line 128 - I'm using from this object "showSnackbar" function [1]

Re: [FlexJS] Popup

2017-01-19 Thread sankar
Carlos, sounds great! Thank you for this nice implementation! I shall update my local sources to give it a run. I think this implementation will answer many UI issues that we are aware in FlexJS framework. And this is more modernized UI than basic FlexJS styles. I'm a little curious though, I

Re: [FlexJS] calling a method over an object that can't be declared as HTMLDialogElement

2017-01-19 Thread Carlos Rovira
Hi Piotr, I think we 're talking about different things ;) I'm referring to call methods in a more *dirty* way: with brackets (I-e: object[func]()) or with call or apply The Toast example is using a listener what I think is ok, but don't see the relation, or I'm missing something? thanks

Re: [1/2] flex-asjs git commit: A temp way to get Application reference. Don’t like this solution and at minimum we should have a FlexGlobals.topLevelApplication or something like that

2017-01-19 Thread Carlos Rovira
Hi Harbs, could you share how you do it? maybe we could learn from your example to implement in MDL thanks! 2017-01-19 10:50 GMT+01:00 Harbs : > FWIW, we’re using PureMVC and we’re keeping a reference to the app in the > ApplicationFacade. It’s a pretty good way to work.

Re: [FlexJS] Popup

2017-01-19 Thread Carlos Rovira
Hi Sankar, mdl:Application was introduced yesterday about 12 hours ago. It should be in nightly, but the best way to get up to date code should be to run maven in your local machine to get the latest artifacts. btw, MDL swc and MDLExample will be part of 0.8.0. MDL is now feature complete, all

Re: [FlexJS] Popup

2017-01-19 Thread sankar
I noticed that given example source application file was started with . But the running example to Apache server for MDL has it . So I downloaded the source of the project from http://apacheflexbuild.cloudapp.net:8080/job/MDLExample/lastSuccessfulBuild/artifact/examples/flexjs/MDLExample/. When

Re: [FlexJS] Popup

2017-01-19 Thread piotrz
What do you mean by messed up ? Can you post screenshot ? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Popup-tp58435p58455.html Sent from the Apache Flex Development mailing list archive at

Re: [1/2] flex-asjs git commit: A temp way to get Application reference. Don’t like this solution and at minimum we should have a FlexGlobals.topLevelApplication or something like that

2017-01-19 Thread Harbs
FWIW, we’re using PureMVC and we’re keeping a reference to the app in the ApplicationFacade. It’s a pretty good way to work. I’m not sure we need the reference in the framework. A simple Singleton defined in the app works fine. > On Jan 19, 2017, at 2:34 AM, carlosrov...@apache.org wrote: > >

Re: [FlexJS] Popup

2017-01-19 Thread sankar
Hi Piotr, Thanks for the information. Anyway we're more interested to the HTML output :) But the HTML build is messed up UI and styles. I updated my FlexJS framework source sometime back and the examples were came within it. I'm not sure what goes wrong. Thanks! -- View this message in

Re: [FlexJS] Popup

2017-01-19 Thread piotrz
Sankar, MDL components implementations has only JS sight implemented. We did placeholders for swf. In other things you have to run only JS build. Visual Studio code allows you to debug runned JS. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context:

Re: [FlexJS] Popup

2017-01-19 Thread sankar
I'm having some trouble running the example, though. When I tried to run as swf, I followed by these errors: > TypeError: Error #1007: Instantiation attempted on a non-constructor. > at >

Re: [FlexJS] Popup

2017-01-19 Thread sankar
Aha! I just noticed it's already in FlexJS examples folder. It's nothing that is developing behind the curtain and still need to be available! I see it's the .css which suppose to make things difference. I'm trying to run the project in Moonshine now :) Thanks! -- View this message in context:

Re: [FlexJS] calling a method over an object that can't be declared as HTMLDialogElement

2017-01-19 Thread piotrz
Sorry Carlos it's in the Toast [1] - snackbar object. In order to know what is the name of the object I looked into JS code of MDL. I'm taking it in handler: onElementMdlComponentUpgraded [1]

Re: [FlexJS] Popup

2017-01-19 Thread sankar
Carlos Rovira wrote > MDL Dialog does exactly that you can see that here: > http://s.apache.org/MDLExample These examples looks fantastic, Carlos! :D NOOB questions (since I'm not much aware of the development at mdl side), 1. I see mdl has a new xmlns in the given mxml files. Is is something

Re: [FlexJS] calling a method over an object that can't be declared as HTMLDialogElement

2017-01-19 Thread Carlos Rovira
Hi Piotr, I didn't see nothing in SnackBar, maybe you want to point to other class? thanks! 2017-01-19 7:53 GMT+01:00 piotrz : > Carlos, > > I was doing this thing in some of MDL components. It was matter of getting > object of this components. Maybe this dialog is

Re: [FlexJS] Selenium Webdriver Integrationtests

2017-01-19 Thread Christofer Dutz
Ok, Today I finally got the geckodriver installed on the windows agent and I enabled the Selenium tests in the test-suite. Seems that they are correctly working ☺ --- T E S T S --- Running

Re: [FlexJS] Test dialog-polyfill

2017-01-19 Thread Carlos Rovira
Hi Alex, 2017-01-19 8:12 GMT+01:00 Alex Harui : > > We could teach the compiler to look inside inject_html and copy stuff from > the SWCs. It may be a few days before I get to it. I think it can all be > done inside GoogDepsWriter.java if you want to take a shot at it. > >

Re: [1/2] flex-asjs git commit: A temp way to get Application reference. Don’t like this solution and at minimum we should have a FlexGlobals.topLevelApplication or something like that

2017-01-19 Thread Carlos Rovira
Good suggestion Piotr, Maybe create a Application subclass only to get a static var is not the best way. In the other hand is the way is implemented in other libs like CreateJS, Express... and could lead to be more MDL Specific... Right now both ways are ok for me. In the end look and feels

Re: [FlexJS] MDL Dialog working in Chrome

2017-01-19 Thread Carlos Rovira
You're right, I have so much plans in mind, and one of them is writing some tutorials docs... :) 2017-01-19 7:50 GMT+01:00 piotrz : > Hi Carlos, > > Great news! Happy about that! > > I think we should definitely describe process of creating new project using > Maven +

Re: [FlexJS] Singletons are working ok?

2017-01-19 Thread Carlos Rovira
Thanks Chris, didn't catch that. I'll try today to get someway to solve it. Thanks! 2017-01-19 7:32 GMT+01:00 Christofer Dutz : > Show modal isn't defined in TestDialog, as it's defined in Dialog. So the > message is correct. In java static properties and methods

Re: [FlexJS] Popup

2017-01-19 Thread Carlos Rovira
Hi Sankar, MDL Dialog does exactly that you can see that here: http://s.apache.org/MDLExample Notice that: * Right now only works in Chrome, since we are looking on how to add the dialog-polyfill JS to work cross other browsers * I need to turn to Singlenton (I left it yesterday in the actual