Hi Greg,
I'm happy that you like the build so far :-)
Justin and I am currently finishing up a 2 hour video tutorial on Maven, which
I hope we will be able to publish soon. I guess that should get rid of this
black-box-magic feeling you might be encountering at the moment ;-)
And hanks for
On 7/26/16, 5:02 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala"
wrote:
>On Jul 26, 2016 11:47 AM, "Harbs" wrote:
>>
>> I agree there should be a Group object.
>>
>> The problem is that the way the classes are currently constructed is
>>that
>100 pixel “Rect" positioned at 100,100 act
Chris, I also encountered similar issues with the frameworks build, and
started adding extra tags for the rat {insert maven-esque word
for "task"/plugin here} to ignore things like intellij files and swfobject
etc in flex-asjs pom.xml
**/*.iml
**/.idea/**
But I found it easier in the end to dele
On 7/26/16, 1:58 PM, "Harbs" wrote:
>Two issues:
>
>1. I’m not sure I understand how SimpleCSSStyles is working. Not every
>style value is enumerated there. For example, I noticed that width and
>height are being set to styles in various places, but they are not
>enumerated.
SimpleCSSStyles an
On Jul 26, 2016 11:47 AM, "Harbs" wrote:
>
> I agree there should be a Group object.
>
> The problem is that the way the classes are currently constructed is that
100 pixel “Rect" positioned at 100,100 actually contains the following
markup:
>
> I think the reason it was done this way was to make
I just finally got around to trying this as well and encountered the same
issue, and yes, I have used ant previously as well, otherwise it is looking
very good - I especially like the sound of the distributionTargetFolder
option :)
The rat report shows the following for me:
3 Unknown Licenses
**
I wasn't really too sure about the resize thing either with getBBox which
sometimes wasn't returning any value. That is a mystery a bit to me, too,
but I got it to work. I think if you have a complete picture of what you
want (API-wise), then I can adapt and redo things. Basically,
DecrementButtonV
Hi Peter,
Just have a look at my latest commit ... that contains how to do the same in
Maven.
It's all fixed now.
Chris
Von: Peter Ent
Gesendet: Dienstag, 26. Juli 2016 22:58:10
An: dev@flex.apache.org
Betreff: Re: [FlexJS] Something broke in CreateJS
Yes,
Well, the whole drawRect() method seemed redundant to me along with the need to
specify the width and height. I tried to remove it and move the logic to the
draw() method (sans the width and height, and I ran into the following code in
DecrementButtonView:_backRect.drawRe
Ok, thanks. I'll try to remember to fix up the maven side when something
like this happens.
‹peter
On 7/26/16, 5:01 PM, "Christofer Dutz" wrote:
>Ok ... so it turned out the CreateJS was missing two dependencies to the
>Effects module. I added them and things compiled again.
>
>
>Chris
>
>_
Ok ... so it turned out the CreateJS was missing two dependencies to the
Effects module. I added them and things compiled again.
Chris
Von: Christofer Dutz
Gesendet: Dienstag, 26. Juli 2016 22:37:45
An: 'dev@flex.apache.org'
Betreff: [FlexJS] Something broke in
Two issues:
1. I’m not sure I understand how SimpleCSSStyles is working. Not every style
value is enumerated there. For example, I noticed that width and height are
being set to styles in various places, but they are not enumerated.
2. I’m not sure I understand the flow of bead behaviors:
Imagi
Yes, I added a dependency on the Effects project to CreateJS so that the
CreateJS SWF side would be able to look similar to SWF side. I changed the
dependency in the upper build xml file.
What's necessary to get it work for Maven?
‹peter
On 7/26/16, 4:37 PM, "Christofer Dutz" wrote:
>Hi,
>
>
>s
I actually just followed some examples from Om. We have our element as the
root of a component which would be the . This is positioned and so
anything drawn in it would start a (0,0). So to me, this makes sense for
how it is being done at the moment.
‹peter
On 7/26/16, 3:52 PM, "Harbs" wrote:
>
Hi,
starting my last update from today the CreateJS module has started producing
compile errors:
[INFO] --- flexjs-maven-plugin:0.7.0-SNAPSHOT:compile-as (default-compile-as) @
CreateJS ---
[INFO] Executing COMPC in tool group Falcon with args:
[-load-config=/Users/christoferdutz/Projects/Ap
Canvas does not have “elements". You can apply CSS to a canvas element, but
that will not help for anything drawn on the canvas.
If we have “Rect”, “Circle” “Path”, etc. for Canvas, these will have to be
abstractions of the canvas drawing APIs. This is totally doable (as EaselJS did
and I belie
On 7/26/16, 12:51 PM, "Harbs" wrote:
>No Canvas doe not have this built in.
I guess I'm having trouble understanding you today. You said using CSS
wouldn't work for Canvas elements. What does that mean?
-Alex
On 7/26/16, 12:49 PM, "Harbs" wrote:
>
>On Jul 26, 2016, at 10:39 PM, Alex Harui wrote:
>
>>
>>
>> On 7/26/16, 11:39 AM, "Harbs" wrote:
>>
>>>
>>> On Jul 26, 2016, at 8:15 PM, Alex Harui wrote:
>>>
On 7/26/16, 1:40 AM, "Harbs" wrote:
> I noticed a couple of t
Internally, it’s always setting it to 0,0. It looks to me like some renderers
might be doing some relative positioning, but I did not study them well enough
to figure it out.
I think it was in charts, so Peter should probably have a better idea.
On Jul 26, 2016, at 10:41 PM, Alex Harui wrote:
I guess if you had run the Ant build before, there might be some files
generated in places I didn't anticipate. So the RAT plugin is complaining about
these files not having Apache Headers in them ... usually the target/rat.txt
file will contain a list of the violating files.
Chris
__
No Canvas doe not have this built in.
We’ll cross that bridge when we get to it. ;-)
On Jul 26, 2016, at 10:43 PM, Alex Harui wrote:
>
>
> On 7/26/16, 11:58 AM, "Harbs" wrote:
>
>> OK. I forgot that there was a css property for this.
>>
>> That should work for everything but canvas element
On Jul 26, 2016, at 10:39 PM, Alex Harui wrote:
>
>
> On 7/26/16, 11:39 AM, "Harbs" wrote:
>
>>
>> On Jul 26, 2016, at 8:15 PM, Alex Harui wrote:
>>
>>>
>>>
>>> On 7/26/16, 1:40 AM, "Harbs" wrote:
>>>
I noticed a couple of things:
1. There’s lots of String(val) casts in Flex
On 7/26/16, 11:58 AM, "Harbs" wrote:
>OK. I forgot that there was a css property for this.
>
>That should work for everything but canvas elements. That might be OK..
Does Canvas have min/max? If so, then our implementation of Canvas in the
HTML5 swc would as well, but it wouldn't be in UIBase
On 7/26/16, 11:47 AM, "Harbs" wrote:
>I agree there should be a Group object.
>
>The problem is that the way the classes are currently constructed is that
>100 pixel “Rect" positioned at 100,100 actually contains the following
>markup: height=“100”/>
Are you saying that code is doing relative
On 7/26/16, 11:39 AM, "Harbs" wrote:
>
>On Jul 26, 2016, at 8:15 PM, Alex Harui wrote:
>
>>
>>
>> On 7/26/16, 1:40 AM, "Harbs" wrote:
>>
>>> I noticed a couple of things:
>>> 1. There’s lots of String(val) casts in FlexJS code. This practice is
>>> considered “bad” practice in Javascript w
How terrible it is depends on context, I guess. Starling and Feathers try
to maintain 60fps on slightly older mobile hardware. If the GC causes
dropped frames, it's terrible. Switching away from push() (and splice(),
which has two temporary Arrays) made a noticeable difference.
It's worth mentioni
OK. I forgot that there was a css property for this.
That should work for everything but canvas elements. That might be OK..
On Jul 26, 2016, at 7:43 PM, Alex Harui wrote:
>
>
> On 7/26/16, 9:37 AM, "Harbs" wrote:
>
>> Any objections to me adding min and max widths and heights to UIBase?
>>
I personally care about the ordering in code and not markup. (I’m using it to
temporarily bring active objects forward.)
Yes. z-order is a CSS property and it’s supported in JS.
I did not realize that depth was in UIComponent I thought it was a
DisplayObject property. That makes this much harde
I agree there should be a Group object.
The problem is that the way the classes are currently constructed is that 100
pixel “Rect" positioned at 100,100 actually contains the following markup:
I think the reason it was done this way was to make it possible to add Rects
(and similar) directly t
On Jul 26, 2016, at 8:15 PM, Alex Harui wrote:
>
>
> On 7/26/16, 1:40 AM, "Harbs" wrote:
>
>> I noticed a couple of things:
>> 1. There’s lots of String(val) casts in FlexJS code. This practice is
>> considered “bad” practice in Javascript where implicit conversion is
>> generally quicker. S
Interesting. Good to know. Here’s what I got:
function timeJoin(){
var start = new Date();
var i=-1;
var len = 1000;
var arr = [];
while(++i wrote:
> Yeah, push() is terribly bad for performance because of the GC overhead
> from the ...rest Array. In S
On 7/26/16, 8:19 AM, "Harbs" wrote:
>Both.
>
>In SVG we're actually struggling with the same (or rather similar) issue.
>
>There’s a big difference between:
>
>
>and
>
>
>Each svg has its own coordinate space, and svg elements cannot have
>transform properties. This is proving to be quite diff
Yeah, push() is terribly bad for performance because of the GC overhead
from the ...rest Array. In Starling and Feathers, we always try to avoid
push() whenever possible. We usually use bracket syntax instead:
array[array.length] = newValue;
In loops, it's possible to use a local integer counter
On 7/26/16, 1:40 AM, "Harbs" wrote:
>I noticed a couple of things:
>1. There’s lots of String(val) casts in FlexJS code. This practice is
>considered “bad” practice in Javascript where implicit conversion is
>generally quicker. So in a case where a number can be converted
>implicitly, the cast
Just so I'm clear, the issue is declaring z-order in MXML or in AS as
well? There is no "depth" property on flash.display.DisplayObject AFAIK.
If JS supports a zOrder CSS style, then FlexJS should as well. You can
add it to SimpleCSSStyles or create a new ZOrderCSSStyles. The SWF
implementation
On 7/26/16, 9:41 AM, "Harbs" wrote:
>If I want to listen to mouse events on the whole application, what’s the
>right way to go about it?
For most folks, all you need to do is listen to the view since all visible
objects will be parented by the view.. Someday there will be more
sophisticated s
On 7/26/16, 9:37 AM, "Harbs" wrote:
>Any objections to me adding min and max widths and heights to UIBase?
>
>Is there a bead that’s more appropriate?
I'd rather it go in a bead since, IMO, it isn't needed by everybody. In
JS aren't these styles? If so, they can be added to SimpleCSSStyles o
If I want to listen to mouse events on the whole application, what’s the right
way to go about it?
This looks like a Bead candidate. I would take TextPromptBead as an example.
The zIndex is analogous to prompt, although you would probably want to update
the zIndex every time it’s changed on the bead, not just when the bead is
added. I’m not sure why it doesn’t work that way in TextPromptBead.
Any objections to me adding min and max widths and heights to UIBase?
Is there a bead that’s more appropriate?
Hi,
I just finished installing and running maven. I was able to build
flex-falcon "utils" but when I went to build the compiler, it failed on
the rat report check (below). But I think it would have worked nicely
otherwise. Great job!
[INFO] Rat check: Summary over all files. Unapproved: 18, unkno
Both.
In SVG we're actually struggling with the same (or rather similar) issue.
There’s a big difference between:
and
Each svg has its own coordinate space, and svg elements cannot have transform
properties. This is proving to be quite difficult in terms of transformations.
Ideally, it sho
On 7/25/16, 10:44 PM, "Justin Mclean" wrote:
>HI,
>
>> Noticed this today: http://stackoverflow.com/tour/documentation
>
>Not necessarily an issue but would be happy with the terms of service
>here [1], in particular:
>"You agree that all Subscriber Content that You contribute to the Network
>i
Hi,
For my own education, I just wanted to get some clarification. With
regards to SVG, when you use it, it looks something like this in the HTML
file:
With Canvas, there aren't any graphic elements, you just have
and then JS code to draw the rects (or whatever).
Were you th
Currently, there’s no way to specify the z-order of FlexJS objects. It’s
probably possible to use obj.style.zOrder = val, but that would only work on
the JS side. To work on the Flash side as well, we’d need to use the zOrder
style attribute as well as the depth property of a Flash Display objec
Thanks to the 2 people that signed up now we can add examples on SO.
http://stackoverflow.com/documentation/flex
@Christofer I don't think it's meant to be a place to hold "All the flex
documentation".
StackOverflow documentation is designed to fill a gap in it's model.
It was difficult to publis
Awesome Chris! Congrats to conclude this important milestone! :)
So, this fires the start of 0.7 release and then this will be in apache
maven repo?
Thanks!
2016-07-25 16:04 GMT+02:00 Christofer Dutz :
> Ok ... so I think this is now done too :-)
>
>
> I had to update the mavenizer a little a
I noticed a couple of things:
1. There’s lots of String(val) casts in FlexJS code. This practice is
considered “bad” practice in Javascript where implicit conversion is generally
quicker. So in a case where a number can be converted implicitly, the cast
should be completely skipped and even when
But I would also like documentation to be created at our Wiki and not have it
spread everywhere. Would it be possible to copy content added there to our Wiki?
More documentation is always better than less ;-)
Chris
Von: Justin Mclean
Gesendet: Dienstag, 26. J
49 matches
Mail list logo