-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MXML: add implicit data parameter to code-generated Starling event listeners #22
Comments
Err... I am a freaking idiot, to much work today, disregard this and close, I forgot I was working with a Starling Event anyway and I have the data field on the event, HAHAHA! |
This should do the trick:
|
Ah, yeah ok I forgot that black majic as well, thanks. :) |
Still, though, you got me thinking that it might be a good idea to have a second implicit parameter with MXML events. Just like you can reference an |
That would take a lot of boiler plate code away, I think it's a good idea. BTW, I have like 5 apps with 10,000 of lines of code with Feathers and FeathersSDK MXML, rock solid man!!! Rock solid. Planning on releasing some stuff In Jan, I will let you know when I do so you can check the apps out. |
That's awesome! I'm glad that Feathers is really working well for you, especially with the SDK. 2.3 is right around the corner, and I added a ton of unit tests and bug fixes, so it'll only become more stable going forward. |
Yeah, I have said it many times but this framework is such a joy to work with, I really mean it. In 12+ years of this, I am actually having fun. Based on the success of these apps money wise, I really hope to get into a contributor role with Feathers and custom component creation like we talked about months ago. Once I am making some money I can really dig in and offer the community some advanced stuff. Maybe we can even work on getting Falcon working with a future SDK, that is what I am talking about, money == freedom to do more experimental stuff with me. :) I will keep you posted. |
I'm planning to promote the transpiler from FlexJS in a big way in the coming months, after FlexJS 0.5 is released. Utilities, tutorials, etc. I hope you'll use some of that freedom to help me further improve the transpiler. :) |
Yeah, I wish I could make income with HTML/JS type stuff but right now I only have Caustic and Bitwig DAW stuff which I can't use HTML/JS,I have to be on the native level (UDP messages and C++ native calls). That is the major reason I haven't been active with FlexJS right now, if there are ever any "consulting" opportunities that come a long in that area for income I am all ears. :) |
Super excited about the 2.3 Release Josh. We have a pretty significant app just about be promoted soon completely built with the Feathers SDK. - Very happy with the results and early feedback has been amazing. Absolute joy to develop with it. Thank you so much. |
Edited by @joshtynjala
A second implicit parameter should be available to MXML events. Just like you can reference an event parameter, data would also be available, and you could optionally pass them both to your listener in the Script block. Example:
Original Post:
The text was updated successfully, but these errors were encountered: