Re: [FlexJS] Event names

2015-05-19 Thread Michael Schmalle
It only works in Chrome. Mike On Tue, May 19, 2015 at 5:30 PM, Harbs wrote: > I get this error when I try to load that page in Firefox: > https://www.evernote.com/l/AI_fadXxqApIeJzFvWPvil9i65iTscbNoTcB/image.png > > On May 19, 2015, at 10:44 PM, Michael Schmalle > wrote: > > > Om, > > > > Chec

Re: [FlexJS] Event names

2015-05-19 Thread Harbs
I get this error when I try to load that page in Firefox: https://www.evernote.com/l/AI_fadXxqApIeJzFvWPvil9i65iTscbNoTcB/image.png On May 19, 2015, at 10:44 PM, Michael Schmalle wrote: > Om, > > Check this out; > > https://jsfoo.talkfunnel.com/2013/788-using-randorijs-and-kontikijs-to-create

Re: [FlexJS] Event names

2015-05-19 Thread Michael Schmalle
Om, Check this out; https://jsfoo.talkfunnel.com/2013/788-using-randorijs-and-kontikijs-to-create-2d-webgl-based-games-from-existing-starling-as3-code Load this in Chrome; http://renaun.com/html5/randoristarlingtest/hero.html That whole thing and the Starling framework was cross compiled with

Re: [FlexJS] Event names

2015-05-19 Thread OmPrakash Muppirala
On Tue, May 19, 2015 at 11:22 AM, Michael Schmalle < teotigraphix...@gmail.com> wrote: > On Tue, May 19, 2015 at 2:10 PM, OmPrakash Muppirala > > wrote: > > > > > > > > > > A key thing about FlexJS though is that we are trying to make the tools > > > “framework-agnostic” so I’m not sure there are

Re: [FlexJS] Event names

2015-05-19 Thread OmPrakash Muppirala
On Tue, May 19, 2015 at 11:19 AM, Alex Harui wrote: > > > On 5/19/15, 10:33 AM, "OmPrakash Muppirala" wrote: > >>And then, unlike Starling and current Flex which has dozens of constants > >> declared on the Event class, I want to experiment with putting those > >> constants on the class that dis

Re: [FlexJS] Event names

2015-05-19 Thread Alex Harui
On 5/19/15, 11:22 AM, "OmPrakash Muppirala" wrote: >> >> Although, the one thing as you know was Mike disagreed with FlexJS's >>view >> in ActionScript because he said HTML/CSS designers should just do what >>they >> do and design in HTML/CSS. >> > >I disagree fundamentally with this idea. For

Re: [FlexJS] Event names

2015-05-19 Thread Alex Harui
On 5/19/15, 10:36 AM, "Michael Schmalle" wrote: > >Although, the one thing as you know was Mike disagreed with FlexJS's view >in ActionScript because he said HTML/CSS designers should just do what >they >do and design in HTML/CSS. > >What is your take on that? Actually, I more or less agree wi

Re: [FlexJS] Event names

2015-05-19 Thread OmPrakash Muppirala
On Tue, May 19, 2015 at 10:36 AM, Michael Schmalle < teotigraphix...@gmail.com> wrote: > On Tue, May 19, 2015 at 1:22 PM, Alex Harui wrote: > > > > > > > On 5/19/15, 9:59 AM, "Michael Schmalle" > wrote: > > > > >I am a dreamer, so I dream up things I want to do; right now, I don't > feel > > >th

Re: [FlexJS] Event names

2015-05-19 Thread Michael Schmalle
On Tue, May 19, 2015 at 2:10 PM, OmPrakash Muppirala wrote: > > > > > > A key thing about FlexJS though is that we are trying to make the tools > > “framework-agnostic” so I’m not sure there are as many edges as there are > > for a monolithic framework like the current Flex SDK. If Josh were > >

Re: [FlexJS] Event names

2015-05-19 Thread Erik de Bruin
>> A key thing about FlexJS though is that we are trying to make the tools >> “framework-agnostic” so I’m not sure there are as many edges as there are >> for a monolithic framework like the current Flex SDK. If Josh were >> starting Feathers today off of FlexJS, in theory he wouldn’t have had to

Re: [FlexJS] Event names

2015-05-19 Thread Alex Harui
On 5/19/15, 10:33 AM, "OmPrakash Muppirala" wrote: >>And then, unlike Starling and current Flex which has dozens of constants >> declared on the Event class, I want to experiment with putting those >> constants on the class that dispatches the event. Having every constant >> on Event doesn’t sc

Re: [FlexJS] Event names

2015-05-19 Thread OmPrakash Muppirala
> > > A key thing about FlexJS though is that we are trying to make the tools > “framework-agnostic” so I’m not sure there are as many edges as there are > for a monolithic framework like the current Flex SDK. If Josh were > starting Feathers today off of FlexJS, in theory he wouldn’t have had to

Re: [FlexJS] Event names

2015-05-19 Thread Michael Schmalle
erformance. > > > > > >Mike > > > > > >On Tue, May 19, 2015 at 8:32 AM, Kessler CTR Mark J < > > >mark.kessler@usmc.mil> wrote: > > > > > >> Just a side bar on this. I believe a concern about using the > > >> eve

Re: [FlexJS] Event names

2015-05-19 Thread Michael Schmalle
On Tue, May 19, 2015 at 1:22 PM, Alex Harui wrote: > > > On 5/19/15, 9:59 AM, "Michael Schmalle" wrote: > > >I am a dreamer, so I dream up things I want to do; right now, I don't feel > >the boundaries of what FlexJS is capable of abstracting. Obviously I can > >google all the things I want to

Re: [FlexJS] Event names

2015-05-19 Thread OmPrakash Muppirala
use from flash.events. It had to do with the fact the player was > >>managing > >> the events vs using an actionscript driven one. Bumped into that when I > >> explored managing the lists of the active events and I even made single > >> serving events that would remove themselve

Re: [FlexJS] Event names

2015-05-19 Thread Alex Harui
On 5/19/15, 9:59 AM, "Michael Schmalle" wrote: >I am a dreamer, so I dream up things I want to do; right now, I don't feel >the boundaries of what FlexJS is capable of abstracting. Obviously I can >google all the things I want to do with HTML/JS, search if it works on >mobile etc. In other wor

Re: [FlexJS] Event names

2015-05-19 Thread Michael Schmalle
made single > > > serving events that would remove themselves after one call. > > > > > > > > > -Mark > > > > > > > > > -Original Message- > > > From: Michael Schmalle [mailto:teotigraphix...@gmail.com] > > > S

Re: [FlexJS] Event names

2015-05-19 Thread Josh Tynjala
. > > > > > > -Mark > > > > > > -Original Message- > > From: Michael Schmalle [mailto:teotigraphix...@gmail.com] > > Sent: Tuesday, May 19, 2015 6:30 AM > > To: dev@flex.apache.org > > Subject: Re: [FlexJS] Event names > > > > N

Re: [FlexJS] Event names

2015-05-19 Thread Michael Schmalle
On Tue, May 19, 2015 at 12:34 PM, Alex Harui wrote: > > > On 5/19/15, 9:11 AM, "Michael Schmalle" wrote: > >3. FlexJS IS a javascript/html framework. > > > >I have a really bad problem of over thinking things. Alex, what I am > >trying > >to do right now is digest 2 years of development within a

Re: [FlexJS] Event names

2015-05-19 Thread Alex Harui
On 5/19/15, 9:11 AM, "Michael Schmalle" wrote: >3. FlexJS IS a javascript/html framework. > >I have a really bad problem of over thinking things. Alex, what I am >trying >to do right now is digest 2 years of development within a couple weeks >time. :) My goal is mobile targets with FlexJS and Co

Re: [FlexJS] Event names

2015-05-19 Thread Michael Schmalle
1. Event data; Understand what you are saying now. My problem and I was probably confusing you is more on an application level and models. So this is a mute point since it's the way I design applications with the mediator. As far as the framework, I agree, having the "data" represented on the co

Re: [FlexJS] Event names

2015-05-19 Thread Alex Harui
On 5/19/15, 8:18 AM, "Michael Schmalle" wrote: >>I couldn’t tell quickly whether Starling has only one Event class, but >>I’d >> suggest we start with an Event with no data since that’s built in to the >> runtimes, then a ValueChangeEvent that has oldValue/newValue and add an >> EventWithData w

RE: [FlexJS] Event names

2015-05-19 Thread Kessler CTR Mark J
. -Mark -Original Message- From: Michael Schmalle [mailto:teotigraphix...@gmail.com] Sent: Tuesday, May 19, 2015 8:42 AM To: dev@flex.apache.org Subject: Re: [FlexJS] Event names So are you saying Starling traded a bit of performance in event dispatching to get object pools? Or was is that t

Re: [FlexJS] Event names

2015-05-19 Thread Michael Schmalle
; eventdispatcher like the one in starling was that it was slower than > >>one we > >> use from flash.events. It had to do with the fact the player was > >>managing > >> the events vs using an actionscript driven one. Bumped into that when I > >

Re: [FlexJS] Event names

2015-05-19 Thread Alex Harui
g events that would remove themselves after one call. >> >> >> -Mark >> >> >> -Original Message- >> From: Michael Schmalle [mailto:teotigraphix...@gmail.com] >> Sent: Tuesday, May 19, 2015 6:30 AM >> To: dev@flex.apache.org >> Subject

Re: [FlexJS] Event names

2015-05-19 Thread Michael Schmalle
t; Sent: Tuesday, May 19, 2015 6:30 AM > To: dev@flex.apache.org > Subject: Re: [FlexJS] Event names > > NOTE: I forgot to say that in the EventManager in the component framework > can do it; > > > https://github.com/Gamua/Starling-Framework/blob/master/starling/src/starling/events

RE: [FlexJS] Event names

2015-05-19 Thread Kessler CTR Mark J
: [FlexJS] Event names NOTE: I forgot to say that in the EventManager in the component framework can do it; https://github.com/Gamua/Starling-Framework/blob/master/starling/src/starling/events/EventDispatcher.as See the method invokeEvent(), line 140. In a way, this makes the need for a subclassed

Re: [FlexJS] Event names

2015-05-19 Thread Michael Schmalle
NOTE: I forgot to say that in the EventManager in the component framework can do it; https://github.com/Gamua/Starling-Framework/blob/master/starling/src/starling/events/EventDispatcher.as See the method invokeEvent(), line 140. In a way, this makes the need for a subclassed Event obsolete, the d

Re: [FlexJS] Event names

2015-05-19 Thread Michael Schmalle
Alex, consider the following, I use this all the time for composite components that have /mediators/controllers listening to them; public class GridGroup extends FeathersControl { public static const EVENT_SELECTED_INDEX_CHANGE:String = "selectedIndexChange"; private var _selectedIndex:in

Re: [FlexJS] Event names

2015-05-19 Thread Michael Schmalle
Eh yeah, excuse my ignorance about the gcc. Anyway the pool in Starling is for the Event class not getting instantiated all the time(EventManager). I keep forgetting to extend my scope to javascript impl. I'll be honest, I have spent the last week studying the code and stuff, the javascript part

Re: [FlexJS] Event names

2015-05-18 Thread Alex Harui
On 5/18/15, 3:24 PM, "Michael Schmalle" wrote: >I love the way Feathers and Starling do events, they use an Event pool for >one and have the data field on Event. > >So in my apps, you usually just had a class called MyEventType which has >the constants tagged onto it. The; > >dispatchWithEvent(M

Re: [FlexJS] Event names

2015-05-18 Thread Michael Schmalle
> And yes, inlining constants would be a good thing. I did do this with Randori(the name is bugging me now, I am going to start to call it, that other compiler :) ) so it's not that hard, I can't even commit or pull right now. This would be down the road but I could do it. I love the way Feather

Re: [FlexJS] Event names

2015-05-18 Thread Alex Harui
On 5/18/15, 11:09 AM, "Michael Schmalle" wrote: >Hi, > >I'm curious as to why Strings are being used and not constants for all the >events being used in the beads to talk to strands. > >I am guessing javascript optimization? A good guess, but in reality, partially laziness, partially experimen