Re: [FALCON] Parity with MXMLC

2013-09-11 Thread BorekB
In my opinion, function-binding is a must, XML would be hard to impossible to
support as you noted and a compiler warning sounds like a good suggestion,
and as for repeaters, I would drop the support for them. It was a weird
feature even with MXML compiler (had some strange limitations).



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FALCON-Parity-with-MXMLC-tp29168p29509.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Flash Builder 4.6 with Apache Flex 4.10 release build

2013-09-11 Thread Alessandro Palombaro
Does anyone know how to setup Flash Builder 4.6 to properly jump to Flex
source files when hitting F3 (open declaration) on a class reference?

It seems I can jump to classes that existed in older versions (most of the
time it jumps to the wrong line in the class but still opens the source
file) but it cant find newer classes

eg source could not be found for spark.containers.Accordion but UIComponent
opens just fine

I know if I want to see the source I can always manually navigate the
projects folder and locate the source that way but was just interested if
anyone knew how Flash Builders open declaration functioned with Apache Flex
swcs?


Re: [Falcon]

2013-09-11 Thread Erik de Bruin
Prefixing the path with a forward slash works for the 'classic' mxmlc.
Using 'classic' I can now compile my project from the command line.

EdB



On Fri, Sep 6, 2013 at 5:49 PM, Alex Harui  wrote:
> I assume this SWF compiles via other means like as an FB project?   FB
> seems to do stuff that makes paths fix up differently than from the
> command line and have not found a compiler option to make MXMLC work from
> the commandline.  I've seen lots of test cases that work in FB where
> there's a src/assets folder and the following works from sub-folders in
> the src path
> [Embed(source="/assets/someasset.png")]
>
> But even MXMLC can't compile that from the command line.  So that's why
> I'm suggesting that if you are running Falcon from the command line that
> you first get the SWF to build by running MXMLC from the command line.
>
> Or maybe I'm missing something...
> -Alex
>
> On 9/6/13 8:34 AM, "Erik de Bruin"  wrote:
>
>>The 'main' mxml is one level up, in 'src'; the AS class that has the
>>Embeds in it is in the 'application' package.
>>
>>I'm not comparing anything, I'm just trying to get this project to
>>compile from the command line for Falcon testing. I have never done
>>any compilation from the command line - as may be obvious from my last
>>two JIRA tickets - so I'm asking for help distinguishing between my
>>errors and possible Falcon issues.
>>
>>EdB
>>
>>
>>
>>On Fri, Sep 6, 2013 at 5:28 PM, Alex Harui  wrote:
>>>
>>>
>>> On 9/6/13 8:05 AM, "Erik de Bruin"  wrote:
>>>
Alex, while on the topic of Falcon: I'm trying to compile a large AIR
application which uses embedded media from a path outside the "src"
directory. The code is

[Embed(source="./packagedMedia/buttons/notes/up.png")]

If I throw this at Falcon, it complains:

Error: Could not find Embed source
'./packagedMedia/buttons/notes/up.png'. Searched
'/Users/erik/Documents/Adobe Flash Builder
4.7/pegasus-examSimPlayer/src/application/packagedMedia/buttons/notes/up
.p
ng',
'./packagedMedia/buttons/notes/up.png' in SWCs on the library path

Now, before I file another useless JIRA issue, is there a command line
thingy that I need to set to tell the compiler where to look? I tried
'source-path' with full and relative paths, but the error remains.
>>> Did it look in the right place?  IOW, was the current dir
>>> '/Users/erik/Documents/Adobe Flash Builder
>>> 4.7/pegasus-examSimPlayer/src/application' or is that where the main
>>>mxml
>>> file is?
>>>
>>> FB does some 'magic' with source paths.  If you are comparing Falcon to
>>> FB, that may not be a fair test.  A better test is probably mxmlc from
>>>the
>>> command line against Falcon from the command line.
>>>
>>> -Alex
>>>
>>
>>
>>
>>--
>>Ix Multimedia Software
>>
>>Jan Luykenstraat 27
>>3521 VB Utrecht
>>
>>T. 06-51952295
>>I. www.ixsoftware.nl
>



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


Re: [Falcon]

2013-09-11 Thread Erik de Bruin
On Fri, Sep 6, 2013 at 5:21 PM, Cyrill Zadra  wrote:
> For this I already raised a JIRA -
> https://issues.apache.org/jira/browse/FLEX-33716

This looks to be the only issue that is between me and being able to
successfully compile a large AIR project using Falcon. Any chance
someone who knows the Falcon code can have a quick look to see if it
is maybe an 'easyfix'?

Thanks!

EdB



> On Fri, Sep 6, 2013 at 7:09 PM, Erik de Bruin  wrote:
>
>> And the second (and last... can it be...) class of errors I get is all
>> of this form:
>>
>> Error: The style 'backgroundAlpha' is only supported by type
>> 'BorderContainer' with the theme(s) 'spark,mobile'.
>> > borderWeight="2" borderColor="#00" backgroundAlpha="0">
>>
>> Is this maybe something else that I need to include via an argument or
>> config?
>>
>> EdB
>>
>>
>>
>> On Fri, Sep 6, 2013 at 5:05 PM, Erik de Bruin  wrote:
>> > Alex, while on the topic of Falcon: I'm trying to compile a large AIR
>> > application which uses embedded media from a path outside the "src"
>> > directory. The code is
>> >
>> > [Embed(source="./packagedMedia/buttons/notes/up.png")]
>> >
>> > If I throw this at Falcon, it complains:
>> >
>> > Error: Could not find Embed source
>> > './packagedMedia/buttons/notes/up.png'. Searched
>> > '/Users/erik/Documents/Adobe Flash Builder
>> >
>> 4.7/pegasus-examSimPlayer/src/application/packagedMedia/buttons/notes/up.png',
>> > './packagedMedia/buttons/notes/up.png' in SWCs on the library path
>> >
>> > Now, before I file another useless JIRA issue, is there a command line
>> > thingy that I need to set to tell the compiler where to look? I tried
>> > 'source-path' with full and relative paths, but the error remains.
>> >
>> > EdB
>> >
>> >
>> >
>> > On Fri, Sep 6, 2013 at 4:56 PM, Alex Harui  wrote:
>> >> For the const problem, it makes sense that there is an error so yes, we
>> >> should change the SDK code.
>> >>
>> >> For the mustella problem, if adding the import makes the error go away,
>> >> then yes, we should add the import.
>> >>
>> >> -Alex
>> >>
>> >> On 9/6/13 3:14 AM, "Cyrill Zadra"  wrote:
>> >>
>> >>>Hi Falcon devs :)
>> >>>
>> >>>In last days I found few falcon errors and raised JIRA for them.
>> >>>
>> >>>There are two which we need to decide if  we have to make Falcon less
>> >>>strict or update code in SDK and Mustella.
>> >>>
>> >>>https://issues.apache.org/jira/browse/FLEX-33714
>> >>>https://issues.apache.org/jira/browse/FLEX-33706
>> >>>
>> >>>In those two cases I'm for changing sdk and mustella code. Any other
>> >>>suggestions?
>> >>>
>> >>>Cyrill
>> >>
>> >
>> >
>> >
>> > --
>> > Ix Multimedia Software
>> >
>> > Jan Luykenstraat 27
>> > 3521 VB Utrecht
>> >
>> > T. 06-51952295
>> > I. www.ixsoftware.nl
>>
>>
>>
>> --
>> Ix Multimedia Software
>>
>> Jan Luykenstraat 27
>> 3521 VB Utrecht
>>
>> T. 06-51952295
>> I. www.ixsoftware.nl
>>



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


[?Falcon?] AdvandedDataGrid error

2013-09-11 Thread Erik de Bruin
Hi,

While playing around with Falcon and the various projects in the SDK,
I got this error from Falcon:

/Users/erik/Documents/ApacheFlex/git/flex-sdk/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as:7779
Warning: Assignment within conditional.  Did you mean == instead of =?
if (rowIndicators && (columnIndicator = rowIndicators[columnIndex]))

This seems to be a valid error the should be fixed in the SDK, correct?

EdB



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


Re: [?Falcon?] AdvandedDataGrid error

2013-09-11 Thread John Cunliffe
Erik,

I don't wanna know, how many nightmares the ADG has caused already now. ;)

@YourQuestion Don't know, but seems highly likely, unless this is meant as:
*columnIndicator = rowIndicators[columnIndex];*
*if (rowIndicators && ( columnIndicator != null ))*

Also, I'm working my way through your walker classes - and really like your
work. Thanks to the good quality, I should be able to finish FalconDart
faster than expected. The biggest benefit that I see, is that it will be
able to translate many ( == all Halo components except ADG ) Flex UI
classes as well - including custom UI component overwrites and
compositions. The way I understand FlexJS, custom UI components have to be
rewritten in JS, correct?

regards
John


On Wed, Sep 11, 2013 at 3:08 PM, Erik de Bruin  wrote:

> Hi,
>
> While playing around with Falcon and the various projects in the SDK,
> I got this error from Falcon:
>
>
> /Users/erik/Documents/ApacheFlex/git/flex-sdk/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as:7779
> Warning: Assignment within conditional.  Did you mean == instead of =?
> if (rowIndicators && (columnIndicator = rowIndicators[columnIndex]))
>
> This seems to be a valid error the should be fixed in the SDK, correct?
>
> EdB
>
>
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295
> I. www.ixsoftware.nl
>


Re: [?Falcon?] AdvandedDataGrid error

2013-09-11 Thread Justin Mclean
Hi,

> This seems to be a valid error the should be fixed in the SDK, correct?

Looks like valid code to me, not that I (or I guess many people) would write 
that way. Note that the variable is defined in the line above.

Justin

Re: [?Falcon?] AdvandedDataGrid error

2013-09-11 Thread Carlos Velasco
I think it is good the compiler marking that situation as a warning, as it
might produce unexpected results though the code could properly run in a
machine...


2013/9/11 Justin Mclean 

> Hi,
>
> > This seems to be a valid error the should be fixed in the SDK, correct?
>
> Looks like valid code to me, not that I (or I guess many people) would
> write that way. Note that the variable is defined in the line above.
>
> Justin


Re: [?Falcon?] AdvandedDataGrid error

2013-09-11 Thread Erik de Bruin
What would the assignment - "columnIndicator =
rowIndicators[columnIndex]" - resolve to, in the context of the
if-statement it's embedded in?

EdB



On Wed, Sep 11, 2013 at 3:30 PM, Justin Mclean  wrote:
> Hi,
>
>> This seems to be a valid error the should be fixed in the SDK, correct?
>
> Looks like valid code to me, not that I (or I guess many people) would write 
> that way. Note that the variable is defined in the line above.
>
> Justin



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


Re: [?Falcon?] AdvandedDataGrid error

2013-09-11 Thread John Cunliffe
columnIndicator != null

Did my previous mail not make it?

On Wed, Sep 11, 2013 at 3:47 PM, Erik de Bruin  wrote:

> columnIndicator


Re: [?Falcon?] AdvandedDataGrid error

2013-09-11 Thread Erik de Bruin
Yes, I did miss that. I think we're getting a bit off topic (Falcon),
but I'm curious and looked into this a bit further.

It looks like the assignment resolves to 'undefined' if the second
part is null, NOT to boolean false. But the result seems to be the
same, so I am stopping now.

It's all good: this confirms Falcon throws the same warning as the
classic compiler when encountering an assignment in an if-statement.

EdB



On Wed, Sep 11, 2013 at 4:12 PM, John Cunliffe  wrote:
> columnIndicator != null
>
> Did my previous mail not make it?
>
> On Wed, Sep 11, 2013 at 3:47 PM, Erik de Bruin  wrote:
>
>> columnIndicator



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl


Re: Flash Builder 4.6 with Apache Flex 4.10 release build

2013-09-11 Thread Alex Harui
You should be able to go to Project Properties/Build Paths/Library Paths
Expand the SDK and you should see all SWCs, expand a SWC and you should be
able to set a source attachment for it.

On 9/11/13 1:31 AM, "Alessandro Palombaro"  wrote:

>Does anyone know how to setup Flash Builder 4.6 to properly jump to Flex
>source files when hitting F3 (open declaration) on a class reference?
>
>It seems I can jump to classes that existed in older versions (most of the
>time it jumps to the wrong line in the class but still opens the source
>file) but it cant find newer classes
>
>eg source could not be found for spark.containers.Accordion but
>UIComponent
>opens just fine
>
>I know if I want to see the source I can always manually navigate the
>projects folder and locate the source that way but was just interested if
>anyone knew how Flash Builders open declaration functioned with Apache
>Flex
>swcs?



Re: git commit: [flex-asjs] [refs/heads/develop] - Changed property name from "url" to "source" to be compatible with Flex and HTML.

2013-09-11 Thread OmPrakash Muppirala
IImageModel should perhaps define the getter/setter for sources as:

function get source():Object;
function set source(value:Object):void;

instead of:

function get source():String;
function set source(value:String):void;

In the Flash based implementation, we need to have the option of setting a
bitmap object as source as well.  I dont think that is possible with HTML,
though.  But keeping it generic would be beneficial for sure.

Thanks,
Om


On Wed, Sep 11, 2013 at 8:48 AM,  wrote:

> Updated Branches:
>   refs/heads/develop a1f8929b3 -> 426c2e1eb
>
>
> Changed property name from "url" to "source" to be compatible with Flex
> and HTML.
>
>
> Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
> Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/426c2e1e
> Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/426c2e1e
> Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/426c2e1e
>
> Branch: refs/heads/develop
> Commit: 426c2e1ebc17fc271b34aa856c2cfe6423240c4d
> Parents: a1f8929
> Author: Peter Ent 
> Authored: Wed Sep 11 11:48:06 2013 -0400
> Committer: Peter Ent 
> Committed: Wed Sep 11 11:48:06 2013 -0400
>
> --
>  frameworks/as/src/org/apache/flex/core/IImageModel.as   |  4 ++--
>  .../as/src/org/apache/flex/html/staticControls/Image.as |  8 
>  .../apache/flex/html/staticControls/beads/ImageView.as  |  2 +-
>  .../flex/html/staticControls/beads/models/ImageModel.as | 12 ++--
>  4 files changed, 13 insertions(+), 13 deletions(-)
> --
>
>
>
> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/426c2e1e/frameworks/as/src/org/apache/flex/core/IImageModel.as
> --
> diff --git a/frameworks/as/src/org/apache/flex/core/IImageModel.as
> b/frameworks/as/src/org/apache/flex/core/IImageModel.as
> index 07dfd56..dc924eb 100644
> --- a/frameworks/as/src/org/apache/flex/core/IImageModel.as
> +++ b/frameworks/as/src/org/apache/flex/core/IImageModel.as
> @@ -22,7 +22,7 @@ package org.apache.flex.core
>
> public interface IImageModel extends IEventDispatcher, IBeadModel
> {
> -   function get url():String;
> -   function set url(value:String):void;
> +   function get source():String;
> +   function set source(value:String):void;
> }
>  }
> \ No newline at end of file
>
>
> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/426c2e1e/frameworks/as/src/org/apache/flex/html/staticControls/Image.as
> --
> diff --git
> a/frameworks/as/src/org/apache/flex/html/staticControls/Image.as
> b/frameworks/as/src/org/apache/flex/html/staticControls/Image.as
> index 297e847..eebfe40 100644
> --- a/frameworks/as/src/org/apache/flex/html/staticControls/Image.as
> +++ b/frameworks/as/src/org/apache/flex/html/staticControls/Image.as
> @@ -28,14 +28,14 @@ package org.apache.flex.html.staticControls
> super();
> }
>
> -   public function get url():String
> +   public function get source():String
> {
> -   return IImageModel(model).url;
> +   return IImageModel(model).source;
> }
>
> -   public function set url(value:String):void
> +   public function set source(value:String):void
> {
> -   IImageModel(model).url = value;
> +   IImageModel(model).source = value;
> }
> }
>  }
> \ No newline at end of file
>
>
> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/426c2e1e/frameworks/as/src/org/apache/flex/html/staticControls/beads/ImageView.as
> --
> diff --git
> a/frameworks/as/src/org/apache/flex/html/staticControls/beads/ImageView.as
> b/frameworks/as/src/org/apache/flex/html/staticControls/beads/ImageView.as
> index 2fed3e6..bcb6044 100644
> ---
> a/frameworks/as/src/org/apache/flex/html/staticControls/beads/ImageView.as
> +++
> b/frameworks/as/src/org/apache/flex/html/staticControls/beads/ImageView.as
> @@ -59,7 +59,7 @@ package org.apache.flex.html.staticControls.beads
> {
> loader = new Loader();
>
> loader.contentLoaderInfo.addEventListener("complete",onComplete);
> -   loader.load(new URLRequest(_model.url));
> +   loader.load(new URLRequest(_model.source));
> }
>
> private function onComplete(event:Object):void
>
>
> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/426c2e1e/frameworks/as/src/org/apache/flex/html/staticControls/beads/models/ImageModel.as
> --

Re: git commit: [flex-asjs] [refs/heads/develop] - Changed property name from "url" to "source" to be compatible with Flex and HTML.

2013-09-11 Thread Alex Harui


On 9/11/13 11:08 AM, "OmPrakash Muppirala"  wrote:

>On Wed, Sep 11, 2013 at 10:58 AM, Alex Harui  wrote:
>
>> Maybe, or in FlexJS, where we don't try to make a one-size-fits-all
>> component, there will be a separate component called EmbeddedImage.
>
>
>I had a usecase in the past where I grab an bitmap data from the hard disk
>and while it is uploading in the background, I show that bitmap in an
>Image
>component.  And when the upload was finished, I would swap it out with the
>downloaded(processed) image from the server.  Swapping an EmbeddedImage
>component with an Image component would result in more unnecessary object
>creations and destructions.
A completely valid scenario, but, keeping with the pay-as-you-go
philosophy of FlexJS, you would create a custom component like the
EmbeddedOrRemoteImage you mention below, but it doesn't have to use the
same model.  I'm not clear the cost of having a different model is such
that FlexJS should give up type-checking for the 80% case, especially
because when migrating old Flex code, we should make it clear that this
simple FlexJS image component only knows about urls and that embeds are
probably better handled some other way (not sure what that way is just
yet).
 
>
>
>> FWIW, most usage of embedded images in Flex via Image/SWFLoader was a
>> waste of
>> memory.  A much lighterweight class is possible.  For FlexJS, embedded
>> images on the AS side should not require much wrapping if at all, but
>>then
>> I think that makes your app un-portable to JS.
>>
>
>Totally agree.  Which is why proposed this change on the IImageModel and
>not Image.  This way, we can create an EmbeddedOrRemoteImage component
>without having to create a new model.
I was thinking the embedded image component (if we even have one since
these object might just get "new"-ed and addChild'd) would have a model
where the source is of type bitmapData or bytearay.  And this
EmbeddedOrRemoteImage component would have a different model with both an
embeddedSource and remoteSource properties.  But that's just a first guess.

>
>Also, on the JS side, this change is moot because you can pass in a string
>or an object or whatever.  That will need to be taken care of in the
>setter
>on the javascript version.
I'm not sure I understand your point.  Yes, there is no type-checking in
JS, but in FlexJS folks aren't writing JS code directly so the only thing
that should be passed in is the URL that got cross-compiled.

>
>Thanks,
>Om
>
>
>>
>> On 9/11/13 10:53 AM, "OmPrakash Muppirala"  wrote:
>>
>> >IImageModel should perhaps define the getter/setter for sources as:
>> >
>> >function get source():Object;
>> >function set source(value:Object):void;
>> >
>> >instead of:
>> >
>> >function get source():String;
>> >function set source(value:String):void;
>> >
>> >In the Flash based implementation, we need to have the option of
>>setting a
>> >bitmap object as source as well.  I dont think that is possible with
>>HTML,
>> >though.  But keeping it generic would be beneficial for sure.
>> >
>> >Thanks,
>> >Om
>> >
>> >
>> >On Wed, Sep 11, 2013 at 8:48 AM,  wrote:
>> >
>> >> Updated Branches:
>> >>   refs/heads/develop a1f8929b3 -> 426c2e1eb
>> >>
>> >>
>> >> Changed property name from "url" to "source" to be compatible with
>>Flex
>> >> and HTML.
>> >>
>> >>
>> >> Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
>> >> Commit:
>> http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/426c2e1e
>> >> Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/426c2e1e
>> >> Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/426c2e1e
>> >>
>> >> Branch: refs/heads/develop
>> >> Commit: 426c2e1ebc17fc271b34aa856c2cfe6423240c4d
>> >> Parents: a1f8929
>> >> Author: Peter Ent 
>> >> Authored: Wed Sep 11 11:48:06 2013 -0400
>> >> Committer: Peter Ent 
>> >> Committed: Wed Sep 11 11:48:06 2013 -0400
>> >>
>> >> 
>>--
>> >>  frameworks/as/src/org/apache/flex/core/IImageModel.as   |  4 ++--
>> >>  .../as/src/org/apache/flex/html/staticControls/Image.as |  8
>>
>> >>  .../apache/flex/html/staticControls/beads/ImageView.as  |  2 +-
>> >>  .../flex/html/staticControls/beads/models/ImageModel.as | 12
>> >>++--
>> >>  4 files changed, 13 insertions(+), 13 deletions(-)
>> >> 
>>--
>> >>
>> >>
>> >>
>> >>
>> >>
>> 
>>http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/426c2e1e/frameworks
>> >>/as/src/org/apache/flex/core/IImageModel.as
>> >> 
>>--
>> >> diff --git a/frameworks/as/src/org/apache/flex/core/IImageModel.as
>> >> b/frameworks/as/src/org/apache/flex/core/IImageModel.as
>> >> index 07dfd56..dc924eb 100644
>> >> --- a/frameworks/as/src/org/apache/flex/core/IImageModel.as
>> >> +++ b/frameworks/as/src/org/apache/flex/core/IImageModel.as
>> >> @@ -22,7 +22,7 @@ package org.apache.fl

Re: git commit: [flex-asjs] [refs/heads/develop] - Changed property name from "url" to "source" to be compatible with Flex and HTML.

2013-09-11 Thread Alex Harui
Maybe, or in FlexJS, where we don't try to make a one-size-fits-all
component, there will be a separate component called EmbeddedImage. FWIW,
most usage of embedded images in Flex via Image/SWFLoader was a waste of
memory.  A much lighterweight class is possible.  For FlexJS, embedded
images on the AS side should not require much wrapping if at all, but then
I think that makes your app un-portable to JS.

On 9/11/13 10:53 AM, "OmPrakash Muppirala"  wrote:

>IImageModel should perhaps define the getter/setter for sources as:
>
>function get source():Object;
>function set source(value:Object):void;
>
>instead of:
>
>function get source():String;
>function set source(value:String):void;
>
>In the Flash based implementation, we need to have the option of setting a
>bitmap object as source as well.  I dont think that is possible with HTML,
>though.  But keeping it generic would be beneficial for sure.
>
>Thanks,
>Om
>
>
>On Wed, Sep 11, 2013 at 8:48 AM,  wrote:
>
>> Updated Branches:
>>   refs/heads/develop a1f8929b3 -> 426c2e1eb
>>
>>
>> Changed property name from "url" to "source" to be compatible with Flex
>> and HTML.
>>
>>
>> Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
>> Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/426c2e1e
>> Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/426c2e1e
>> Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/426c2e1e
>>
>> Branch: refs/heads/develop
>> Commit: 426c2e1ebc17fc271b34aa856c2cfe6423240c4d
>> Parents: a1f8929
>> Author: Peter Ent 
>> Authored: Wed Sep 11 11:48:06 2013 -0400
>> Committer: Peter Ent 
>> Committed: Wed Sep 11 11:48:06 2013 -0400
>>
>> --
>>  frameworks/as/src/org/apache/flex/core/IImageModel.as   |  4 ++--
>>  .../as/src/org/apache/flex/html/staticControls/Image.as |  8 
>>  .../apache/flex/html/staticControls/beads/ImageView.as  |  2 +-
>>  .../flex/html/staticControls/beads/models/ImageModel.as | 12
>>++--
>>  4 files changed, 13 insertions(+), 13 deletions(-)
>> --
>>
>>
>>
>> 
>>http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/426c2e1e/frameworks
>>/as/src/org/apache/flex/core/IImageModel.as
>> --
>> diff --git a/frameworks/as/src/org/apache/flex/core/IImageModel.as
>> b/frameworks/as/src/org/apache/flex/core/IImageModel.as
>> index 07dfd56..dc924eb 100644
>> --- a/frameworks/as/src/org/apache/flex/core/IImageModel.as
>> +++ b/frameworks/as/src/org/apache/flex/core/IImageModel.as
>> @@ -22,7 +22,7 @@ package org.apache.flex.core
>>
>> public interface IImageModel extends IEventDispatcher,
>>IBeadModel
>> {
>> -   function get url():String;
>> -   function set url(value:String):void;
>> +   function get source():String;
>> +   function set source(value:String):void;
>> }
>>  }
>> \ No newline at end of file
>>
>>
>> 
>>http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/426c2e1e/frameworks
>>/as/src/org/apache/flex/html/staticControls/Image.as
>> --
>> diff --git
>> a/frameworks/as/src/org/apache/flex/html/staticControls/Image.as
>> b/frameworks/as/src/org/apache/flex/html/staticControls/Image.as
>> index 297e847..eebfe40 100644
>> --- a/frameworks/as/src/org/apache/flex/html/staticControls/Image.as
>> +++ b/frameworks/as/src/org/apache/flex/html/staticControls/Image.as
>> @@ -28,14 +28,14 @@ package org.apache.flex.html.staticControls
>> super();
>> }
>>
>> -   public function get url():String
>> +   public function get source():String
>> {
>> -   return IImageModel(model).url;
>> +   return IImageModel(model).source;
>> }
>>
>> -   public function set url(value:String):void
>> +   public function set source(value:String):void
>> {
>> -   IImageModel(model).url = value;
>> +   IImageModel(model).source = value;
>> }
>> }
>>  }
>> \ No newline at end of file
>>
>>
>> 
>>http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/426c2e1e/frameworks
>>/as/src/org/apache/flex/html/staticControls/beads/ImageView.as
>> --
>> diff --git
>> 
>>a/frameworks/as/src/org/apache/flex/html/staticControls/beads/ImageView.a
>>s
>> 
>>b/frameworks/as/src/org/apache/flex/html/staticControls/beads/ImageView.a
>>s
>> index 2fed3e6..bcb6044 100644
>> ---
>> 
>>a/frameworks/as/src/org/apache/flex/html/staticControls/beads/ImageView.a
>>s
>> +++
>> 
>>b/frameworks/as/src/org/apache/flex/html/staticControls/beads/ImageView.a
>>s
>> @@ -59,7 +59,7 @@ package 

Re: Mustella question

2013-09-11 Thread Alex Harui
The Marshall Plan tests load up child SWFs that are compiled in the
precompile.sh and other .sh files in the Marshall Plan folder.  I've seen
those compiles fail but the error isn't reported so the tests run and
can't find the child SWF.  There should be a .log file next to the .sh
files that contain the compilation log.  Please check to see if there are
errors in there, and I would'nt be surprised if they are also locale
related.

On 9/11/13 10:48 AM, "Frédéric THOMAS"  wrote:

>I didn't see any more localization errors but TypeErrors like this one [1]
>and lot of warnings " Erreur de demande d'envoi HTTP" (error sending HTTP
>request), I don't know where's that come from looking at the code though.
>
>-Fred
>
>[1]
>Hello from excludes at: Tue Sep 10 20:48:31 GMT+0200 2013
>excludes loadTryFile Tue Sep 10 20:48:31 GMT+0200 2013
>Exclude: try load from:
>file:///F|/sources/apache/flex/sdk/mustella/tests/ExcludeListWin.txt
>Created new test output instance
>Excludes: Reading from file system at
>file:///F|/sources/apache/flex/sdk/mustella/tests
>LengthOfTestcases: 10
>sending: http://localhost:/testCaseLength?10 at: Tue Sep 10 20:48:32
>GMT+0200 2013
>TestCase Start:
>MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests$NestedSWF_FocusM
>an
>ager_Tab
>queuing:
>http://localhost:/testCaseStart?MarshallPlan/ManagerTests/MP_NestedSWF
>_F
>ocusManager_Tests$NestedSWF_FocusManager_Tab at: Tue Sep 10 20:48:32
>GMT+0200 2013
>Paused for 100ms.
>RESULT: 
>scriptName=MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests
>id=NestedSWF_FocusManager_Tab result=pass elapsed=1447 phase=body
>started=1378838912054 extraInfo= msg=
>queuing:
>http://localhost:/testCaseResult?scriptName=MarshallPlan/ManagerTests/
>MP
>_NestedSWF_FocusManager_Tests&id=NestedSWF_FocusManager_Tab&result=pass&el
>ap
>sed=1447&phase=body&started=1378838912054&extraInfo=&msg= at: Tue Sep 10
>20:48:33 GMT+0200 2013
>TestCase Start:
>MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests$NestedSWF_FocusM
>an
>ager_ShiftTab
>queuing:
>http://localhost:/testCaseStart?MarshallPlan/ManagerTests/MP_NestedSWF
>_F
>ocusManager_Tests$NestedSWF_FocusManager_ShiftTab at: Tue Sep 10 20:48:33
>GMT+0200 2013
>Paused for 100ms.
>RESULT: 
>scriptName=MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests
>id=NestedSWF_FocusManager_ShiftTab result=pass elapsed=1415 phase=body
>started=1378838913550 extraInfo= msg=
>queuing:
>http://localhost:/testCaseResult?scriptName=MarshallPlan/ManagerTests/
>MP
>_NestedSWF_FocusManager_Tests&id=NestedSWF_FocusManager_ShiftTab&result=pa
>ss
>&elapsed=1415&phase=body&started=1378838913550&extraInfo=&msg= at: Tue Sep
>10 20:48:34 GMT+0200 2013
>TestCase Start:
>MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests$NestedSWF_FocusM
>an
>ager_TabIndex
>queuing:
>http://localhost:/testCaseStart?MarshallPlan/ManagerTests/MP_NestedSWF
>_F
>ocusManager_Tests$NestedSWF_FocusManager_TabIndex at: Tue Sep 10 20:48:35
>GMT+0200 2013
>Paused for 100ms.
>Avertissement : Erreur de demande d'envoi HTTP, 12029:
>/runid.properties?0.83696541935205461378838911457
>runid.properties ERROR handler with: [IOErrorEvent type="ioError"
>bubbles=false cancelable=false eventPhase=2 text="Error #2032: Erreur de
>flux. URL:
>http://localhost:80/runid.properties?0.83696541935205461378838911457";]
>RESULT: 
>scriptName=MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests
>id=NestedSWF_FocusManager_TabIndex result=pass elapsed=1431 phase=body
>started=1378838915017 extraInfo= msg=
>queuing:
>http://localhost:/testCaseResult?scriptName=MarshallPlan/ManagerTests/
>MP
>_NestedSWF_FocusManager_Tests&id=NestedSWF_FocusManager_TabIndex&result=pa
>ss
>&elapsed=1431&phase=body&started=1378838915017&extraInfo=&msg= at: Tue Sep
>10 20:48:36 GMT+0200 2013
>TestCase Start:
>MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests$NestedSWF_FocusM
>an
>ager_Tab_fromLocalhost
>queuing:
>http://localhost:/testCaseStart?MarshallPlan/ManagerTests/MP_NestedSWF
>_F
>ocusManager_Tests$NestedSWF_FocusManager_Tab_fromLocalhost at: Tue Sep 10
>20:48:36 GMT+0200 2013
>Paused for 300ms.
>RESULT: 
>scriptName=MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests
>id=NestedSWF_FocusManager_Tab_fromLocalhost result=fail elapsed=5700
>phase=setup started=1378838916499 extraInfo=null
>msg=SetProperty(setup:step
>9)  Timeout waiting for complete from topSWF
>queuing:
>http://localhost:/testCaseResult?scriptName=MarshallPlan/ManagerTests/
>MP
>_NestedSWF_FocusManager_Tests&id=NestedSWF_FocusManager_Tab_fromLocalhost&
>re
>sult=fail&elapsed=5700&phase=setup&started=1378838916499&extraInfo=null&ms
>g=
>SetProperty%28setup%3Astep%209%29%20%20Timeout%20waiting%20for%20complete%
>20
>from%20topSWF at: Tue Sep 10 20:48:42 GMT+0200 2013
>TestCase Start:
>MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests$NestedSWF_FocusM
>an
>ager_ShiftTab_fromLocalhost
>queuing:
>http://localhost:/testCaseStart?MarshallPlan/ManagerTests/MP_N

Re: git commit: [flex-asjs] [refs/heads/develop] - Changed property name from "url" to "source" to be compatible with Flex and HTML.

2013-09-11 Thread OmPrakash Muppirala
On Wed, Sep 11, 2013 at 10:58 AM, Alex Harui  wrote:

> Maybe, or in FlexJS, where we don't try to make a one-size-fits-all
> component, there will be a separate component called EmbeddedImage.


I had a usecase in the past where I grab an bitmap data from the hard disk
and while it is uploading in the background, I show that bitmap in an Image
component.  And when the upload was finished, I would swap it out with the
downloaded(processed) image from the server.  Swapping an EmbeddedImage
component with an Image component would result in more unnecessary object
creations and destructions.


> FWIW, most usage of embedded images in Flex via Image/SWFLoader was a
> waste of
> memory.  A much lighterweight class is possible.  For FlexJS, embedded
> images on the AS side should not require much wrapping if at all, but then
> I think that makes your app un-portable to JS.
>

Totally agree.  Which is why proposed this change on the IImageModel and
not Image.  This way, we can create an EmbeddedOrRemoteImage component
without having to create a new model.

Also, on the JS side, this change is moot because you can pass in a string
or an object or whatever.  That will need to be taken care of in the setter
on the javascript version.

Thanks,
Om


>
> On 9/11/13 10:53 AM, "OmPrakash Muppirala"  wrote:
>
> >IImageModel should perhaps define the getter/setter for sources as:
> >
> >function get source():Object;
> >function set source(value:Object):void;
> >
> >instead of:
> >
> >function get source():String;
> >function set source(value:String):void;
> >
> >In the Flash based implementation, we need to have the option of setting a
> >bitmap object as source as well.  I dont think that is possible with HTML,
> >though.  But keeping it generic would be beneficial for sure.
> >
> >Thanks,
> >Om
> >
> >
> >On Wed, Sep 11, 2013 at 8:48 AM,  wrote:
> >
> >> Updated Branches:
> >>   refs/heads/develop a1f8929b3 -> 426c2e1eb
> >>
> >>
> >> Changed property name from "url" to "source" to be compatible with Flex
> >> and HTML.
> >>
> >>
> >> Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
> >> Commit:
> http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/426c2e1e
> >> Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/426c2e1e
> >> Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/426c2e1e
> >>
> >> Branch: refs/heads/develop
> >> Commit: 426c2e1ebc17fc271b34aa856c2cfe6423240c4d
> >> Parents: a1f8929
> >> Author: Peter Ent 
> >> Authored: Wed Sep 11 11:48:06 2013 -0400
> >> Committer: Peter Ent 
> >> Committed: Wed Sep 11 11:48:06 2013 -0400
> >>
> >> --
> >>  frameworks/as/src/org/apache/flex/core/IImageModel.as   |  4 ++--
> >>  .../as/src/org/apache/flex/html/staticControls/Image.as |  8 
> >>  .../apache/flex/html/staticControls/beads/ImageView.as  |  2 +-
> >>  .../flex/html/staticControls/beads/models/ImageModel.as | 12
> >>++--
> >>  4 files changed, 13 insertions(+), 13 deletions(-)
> >> --
> >>
> >>
> >>
> >>
> >>
> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/426c2e1e/frameworks
> >>/as/src/org/apache/flex/core/IImageModel.as
> >> --
> >> diff --git a/frameworks/as/src/org/apache/flex/core/IImageModel.as
> >> b/frameworks/as/src/org/apache/flex/core/IImageModel.as
> >> index 07dfd56..dc924eb 100644
> >> --- a/frameworks/as/src/org/apache/flex/core/IImageModel.as
> >> +++ b/frameworks/as/src/org/apache/flex/core/IImageModel.as
> >> @@ -22,7 +22,7 @@ package org.apache.flex.core
> >>
> >> public interface IImageModel extends IEventDispatcher,
> >>IBeadModel
> >> {
> >> -   function get url():String;
> >> -   function set url(value:String):void;
> >> +   function get source():String;
> >> +   function set source(value:String):void;
> >> }
> >>  }
> >> \ No newline at end of file
> >>
> >>
> >>
> >>
> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/426c2e1e/frameworks
> >>/as/src/org/apache/flex/html/staticControls/Image.as
> >> --
> >> diff --git
> >> a/frameworks/as/src/org/apache/flex/html/staticControls/Image.as
> >> b/frameworks/as/src/org/apache/flex/html/staticControls/Image.as
> >> index 297e847..eebfe40 100644
> >> --- a/frameworks/as/src/org/apache/flex/html/staticControls/Image.as
> >> +++ b/frameworks/as/src/org/apache/flex/html/staticControls/Image.as
> >> @@ -28,14 +28,14 @@ package org.apache.flex.html.staticControls
> >> super();
> >> }
> >>
> >> -   public function get url():String
> >> +   public function get source():String
> >> {
> >> -   return IImageModel(model).url;
> >> +   r

FlexMojos 6, Flex sdk 4.10.0.20130801, and getAdvancedTelemetry()

2013-09-11 Thread mscharp
Hi All - I'm hoping I'm posting this in the correct space.  I've seen Chris
Dutz around here and since Marvin shut down the old FM group, this looks
like the best place for my questions.

Anyway - I'm currently working on updating our large flex project(s) from FM
4.2-beta to FM 6.1.0.  I've pulled down the FM6 code from Chris' git repo,
mavenized the 4.10.0 FDK, built FM6, and I'm now using it to build our
project.  Everything seems to work.  However, I've got a few questions
regarding the impact of some changes I made to FM code and questions about
RSLs.

In order to get FM6 to build, I had to make some changes.  Most of them seem
straight forward enough (no real questions) but I'll list them all for
completeness sake.  The ones I believe most important are bolded.

- in parent pom
- update flex version to 4.10.20130801
- update air version to 3.8
- update player version to 11.8
- update org.apache.velocity version to 1.7 (this is the version we 
have in
our repo)

- *comment out all sdk versions in flexmojos-test-harness pom*
- *add 4.10.20130801 sdk to flexmojos-test-harness pom*
- *comment out old player global versions from flexmojos-test-harness pom*
- *add 11.8 playerglobal to flexmojos-test-harness pom*
- add org.apache.velocity 1.7 dependency to flexmojos-maven-plugin pom
(couldn't build without this)
- *AsdocMojo.java, CompcMojo.java, and MxmlcMojo.java override
getAdvancedTelemetry()*

It is also important to note that I was able to build everything with tests
up till the "test-harness".  For now, my build of FM6 is running with
maven.test.skip=true.  In order for the integration tests to pass, I need a
lot of mavenized sdks that I currently don't have  I looked for the 2x and
3x sdks online so I could mavenize them, but didn't find them.  To be honest
however, I don't really care at all about anything below sdk 4.5 so I'm not
thinking that is a huge issue.  However, if that is wrong, please let me
know.

In order to build with the 4.10.0 SDK, I added the advanced telemetry
function to the different mojos:

@Override
public Boolean getAdvancedTelemetry()
{
return true;
}

I'm not entirely sure what this will do.  With this function as it is, am I
just enabling my swfs to "output" advanced telemetry, or is there something
more going on?  Should I return false instead of true?  What are the
implications of this?

Anyway, hope all this makes sense.  Thanks for the help

Michael



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexMojos-6-Flex-sdk-4-10-0-20130801-and-getAdvancedTelemetry-tp29528.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


multi threaded for datagrid component rendering

2013-09-11 Thread Jack Yu
Hi,

the new flash player 11.8 can support multi threaded.

in the datagrid, can the cell rendering take the advantage of multi threaded
in flash player? meaning if there are 100 rows, 100 columns, can the
datagrid to use 2 or 4 threads to render all the 1000 cells in multiple
concurrent threads?

Is this a feature inside the datagrid?

Thanks
Jack



Re: Mustella question

2013-09-11 Thread Alex Harui
This test: MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests
id=NestedSWF_FocusManager_Tab_fromLocalhost

says it times out waiting for topSWF.  Take a look at the test to see
which SWF it is waiting for and make sure that SWF is compiled.  Then I
think you'll have to debug into it to see why it isn't loading.  There
aren't any exception dialogs if you watch it run?

-Alex




Re: multi threaded for datagrid component rendering

2013-09-11 Thread Alex Harui
Yes, but not sure that will actually save you time.

On 9/11/13 12:16 PM, "Avi Kessner"  wrote:

>Shouldn't we be able to send layout calculations to the workers and have
>them return the final data for the renderer?
>On 11 Sep 2013 22:11, "Alex Harui"  wrote:
>
>>
>>
>> On 9/11/13 11:51 AM, "Jack Yu"  wrote:
>>
>> >possible we can have 2 or more thread inside the main rendering? so
>>that
>> >it
>> >doesn't share with other workers, but has multiple workers inside the
>> >datagrid rendering
>> AFAIK, there is only one rendering thread.
>>
>> Often, the best thing to do is optimize your item renderers.
>>
>> -Alex
>>
>>



Re: multi threaded for datagrid component rendering

2013-09-11 Thread Avi Kessner
Shouldn't we be able to send layout calculations to the workers and have
them return the final data for the renderer?
On 11 Sep 2013 22:11, "Alex Harui"  wrote:

>
>
> On 9/11/13 11:51 AM, "Jack Yu"  wrote:
>
> >possible we can have 2 or more thread inside the main rendering? so that
> >it
> >doesn't share with other workers, but has multiple workers inside the
> >datagrid rendering
> AFAIK, there is only one rendering thread.
>
> Often, the best thing to do is optimize your item renderers.
>
> -Alex
>
>


Re: git commit: [flex-asjs] [refs/heads/develop] - Changed property name from "url" to "source" to be compatible with Flex and HTML.

2013-09-11 Thread OmPrakash Muppirala
Looks like creating a new model would be the way to go then.  I am only
concerned about having to create a new interface/class heirarchy because
only one function's (source, in this case) signature is incompatible.

I saw something about function overloading somewhere.  If we get around to
doing that in FlexJS, that would be great as well.

The other approach would be to move contentious functions like these to a
separate interface like this:

public interface IExternalImageModel extends IImageModel,
IExternalSourceModel
public interface IExternalOrEmbeddedImageModel extends IImageModel,
IEmbeddedSourceModel

Where IExternalSourceModel would define:
function get source():String;
function set source(value:String):void;

and IEmbeddedSourceModel would define:
function get source():Object;
function set source(value:Object):void;

and IImageModel defines all the common methods.  In runtime, the user can
use the IImageModel's apis for everything except when they need to play
around with the source property.

Maybe I am over-engineering it, or maybe this pattern can be applied
everywhere where there are differences between the capabilities of Flash
Player and the Web browsers.  We are definitely going to be hitting these
cases more and more with FlexJS.

Thanks,
Om


On Wed, Sep 11, 2013 at 11:41 AM, Peter Ent  wrote:

> I started with the source being Object but then I realized it might not
> make any sense on the JavaScript side so I made it a String. If someone
> wanted to load in a SWF, it would make the app unusable on the JavaScript
> side, so I would think they would change the beads or there would be a
> Flash-specific component for that.
>
> Peter
>
> On 9/11/13 2:21 PM, "Alex Harui"  wrote:
>
> >
> >
> >On 9/11/13 11:08 AM, "OmPrakash Muppirala"  wrote:
> >
> >>On Wed, Sep 11, 2013 at 10:58 AM, Alex Harui  wrote:
> >>
> >>> Maybe, or in FlexJS, where we don't try to make a one-size-fits-all
> >>> component, there will be a separate component called EmbeddedImage.
> >>
> >>
> >>I had a usecase in the past where I grab an bitmap data from the hard
> >>disk
> >>and while it is uploading in the background, I show that bitmap in an
> >>Image
> >>component.  And when the upload was finished, I would swap it out with
> >>the
> >>downloaded(processed) image from the server.  Swapping an EmbeddedImage
> >>component with an Image component would result in more unnecessary object
> >>creations and destructions.
> >A completely valid scenario, but, keeping with the pay-as-you-go
> >philosophy of FlexJS, you would create a custom component like the
> >EmbeddedOrRemoteImage you mention below, but it doesn't have to use the
> >same model.  I'm not clear the cost of having a different model is such
> >that FlexJS should give up type-checking for the 80% case, especially
> >because when migrating old Flex code, we should make it clear that this
> >simple FlexJS image component only knows about urls and that embeds are
> >probably better handled some other way (not sure what that way is just
> >yet).
> >
> >>
> >>
> >>> FWIW, most usage of embedded images in Flex via Image/SWFLoader was a
> >>> waste of
> >>> memory.  A much lighterweight class is possible.  For FlexJS, embedded
> >>> images on the AS side should not require much wrapping if at all, but
> >>>then
> >>> I think that makes your app un-portable to JS.
> >>>
> >>
> >>Totally agree.  Which is why proposed this change on the IImageModel and
> >>not Image.  This way, we can create an EmbeddedOrRemoteImage component
> >>without having to create a new model.
> >I was thinking the embedded image component (if we even have one since
> >these object might just get "new"-ed and addChild'd) would have a model
> >where the source is of type bitmapData or bytearay.  And this
> >EmbeddedOrRemoteImage component would have a different model with both an
> >embeddedSource and remoteSource properties.  But that's just a first
> >guess.
> >
> >>
> >>Also, on the JS side, this change is moot because you can pass in a
> >>string
> >>or an object or whatever.  That will need to be taken care of in the
> >>setter
> >>on the javascript version.
> >I'm not sure I understand your point.  Yes, there is no type-checking in
> >JS, but in FlexJS folks aren't writing JS code directly so the only thing
> >that should be passed in is the URL that got cross-compiled.
> >
> >>
> >>Thanks,
> >>Om
> >>
> >>
> >>>
> >>> On 9/11/13 10:53 AM, "OmPrakash Muppirala" 
> >>>wrote:
> >>>
> >>> >IImageModel should perhaps define the getter/setter for sources as:
> >>> >
> >>> >function get source():Object;
> >>> >function set source(value:Object):void;
> >>> >
> >>> >instead of:
> >>> >
> >>> >function get source():String;
> >>> >function set source(value:String):void;
> >>> >
> >>> >In the Flash based implementation, we need to have the option of
> >>>setting a
> >>> >bitmap object as source as well.  I dont think that is possible with
> >>>HTML,
> >>> >though.  But keeping it generic would be benefi

RE: Mustella question

2013-09-11 Thread Frédéric THOMAS
The pre_compile.sh.38.log doesn't say so much though:

Removing previously compiled files...
Compiling sub application SWFs...
Loading configuration file
F:\sources\apache\flex\sdk\frameworks\flex-config.xml
F:\sources\apache\flex\sdk\mustella\tests\MarshallPlan\SWFs\assets\simpleFor
ms.swf (387674 bytes)
Loading configuration file
F:\sources\apache\flex\sdk\frameworks\flex-config.xml
F:\sources\apache\flex\sdk\mustella\tests\MarshallPlan\SWFs\assets\simpleLoa
der.swf (337812 bytes)
Loading configuration file
F:\sources\apache\flex\sdk\frameworks\flex-config.xml
F:\sources\apache\flex\sdk\mustella\tests\MarshallPlan\SWFs\assets\tabbs.swf
(352694 bytes)
Compiling RSL
Loading configuration file
F:\sources\apache\flex\sdk\frameworks\flex-config.xml
Loading configuration file
F:\sources\apache\flex\sdk\frameworks\flex-config.xml
Required RSLs:
MyUtils/library.swf
F:\sources\apache\flex\sdk\mustella\tests\MarshallPlan\SWFs\assets\SubApp.sw
f (294280 bytes)
Loading configuration file
F:\sources\apache\flex\sdk\frameworks\flex-config.xml
Required RSLs:
F:\sources\apache\flex\sdk\mustella\tests\MarshallPlan\SWFs\assets\Untrusted
App.swf (311559 bytes)

Only the MP_FocusManager_Nested_Main.log  I copied in the previous email
reports a TypeError.

-Fred

-Message d'origine-
De : Alex Harui [mailto:aha...@adobe.com] 
Envoyé : mercredi 11 septembre 2013 20:01
À : dev@flex.apache.org
Objet : Re: Mustella question

The Marshall Plan tests load up child SWFs that are compiled in the
precompile.sh and other .sh files in the Marshall Plan folder.  I've seen
those compiles fail but the error isn't reported so the tests run and can't
find the child SWF.  There should be a .log file next to the .sh files that
contain the compilation log.  Please check to see if there are errors in
there, and I would'nt be surprised if they are also locale related.

On 9/11/13 10:48 AM, "Frédéric THOMAS"  wrote:

>I didn't see any more localization errors but TypeErrors like this one 
>[1] and lot of warnings " Erreur de demande d'envoi HTTP" (error 
>sending HTTP request), I don't know where's that come from looking at the
code though.
>
>-Fred
>
>[1]
>Hello from excludes at: Tue Sep 10 20:48:31 GMT+0200 2013 excludes 
>loadTryFile Tue Sep 10 20:48:31 GMT+0200 2013
>Exclude: try load from:
>file:///F|/sources/apache/flex/sdk/mustella/tests/ExcludeListWin.txt
>Created new test output instance
>Excludes: Reading from file system at
>file:///F|/sources/apache/flex/sdk/mustella/tests
>LengthOfTestcases: 10
>sending: http://localhost:/testCaseLength?10 at: Tue Sep 10 
>20:48:32
>GMT+0200 2013
>TestCase Start:
>MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests$NestedSWF_Foc
>usM
>an
>ager_Tab
>queuing:
>http://localhost:/testCaseStart?MarshallPlan/ManagerTests/MP_Nested
>SWF
>_F
>ocusManager_Tests$NestedSWF_FocusManager_Tab at: Tue Sep 10 20:48:32
>GMT+0200 2013
>Paused for 100ms.
>RESULT: 
>scriptName=MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests
>id=NestedSWF_FocusManager_Tab result=pass elapsed=1447 phase=body
>started=1378838912054 extraInfo= msg=
>queuing:
>http://localhost:/testCaseResult?scriptName=MarshallPlan/ManagerTes
>ts/
>MP
>_NestedSWF_FocusManager_Tests&id=NestedSWF_FocusManager_Tab&result=pass
>&el
>ap
>sed=1447&phase=body&started=1378838912054&extraInfo=&msg= at: Tue Sep 
>10
>20:48:33 GMT+0200 2013
>TestCase Start:
>MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests$NestedSWF_Foc
>usM
>an
>ager_ShiftTab
>queuing:
>http://localhost:/testCaseStart?MarshallPlan/ManagerTests/MP_Nested
>SWF
>_F
>ocusManager_Tests$NestedSWF_FocusManager_ShiftTab at: Tue Sep 10 
>20:48:33
>GMT+0200 2013
>Paused for 100ms.
>RESULT: 
>scriptName=MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests
>id=NestedSWF_FocusManager_ShiftTab result=pass elapsed=1415 phase=body
>started=1378838913550 extraInfo= msg=
>queuing:
>http://localhost:/testCaseResult?scriptName=MarshallPlan/ManagerTes
>ts/
>MP
>_NestedSWF_FocusManager_Tests&id=NestedSWF_FocusManager_ShiftTab&result
>=pa
>ss
>&elapsed=1415&phase=body&started=1378838913550&extraInfo=&msg= at: Tue 
>Sep
>10 20:48:34 GMT+0200 2013
>TestCase Start:
>MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests$NestedSWF_Foc
>usM
>an
>ager_TabIndex
>queuing:
>http://localhost:/testCaseStart?MarshallPlan/ManagerTests/MP_Nested
>SWF
>_F
>ocusManager_Tests$NestedSWF_FocusManager_TabIndex at: Tue Sep 10 
>20:48:35
>GMT+0200 2013
>Paused for 100ms.
>Avertissement : Erreur de demande d'envoi HTTP, 12029:
>/runid.properties?0.83696541935205461378838911457
>runid.properties ERROR handler with: [IOErrorEvent type="ioError"
>bubbles=false cancelable=false eventPhase=2 text="Error #2032: Erreur 
>de flux. URL:
>http://localhost:80/runid.properties?0.83696541935205461378838911457";]
>RESULT: 
>scriptName=MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests
>id=NestedSWF_FocusManager_TabIndex result=pass elapsed=1431 phase=body
>started=1378838915017 extraIn

RE: Mustella question

2013-09-11 Thread Frédéric THOMAS
I didn't see any more localization errors but TypeErrors like this one [1]
and lot of warnings " Erreur de demande d'envoi HTTP" (error sending HTTP
request), I don't know where's that come from looking at the code though.

-Fred

[1]
Hello from excludes at: Tue Sep 10 20:48:31 GMT+0200 2013
excludes loadTryFile Tue Sep 10 20:48:31 GMT+0200 2013
Exclude: try load from:
file:///F|/sources/apache/flex/sdk/mustella/tests/ExcludeListWin.txt
Created new test output instance
Excludes: Reading from file system at
file:///F|/sources/apache/flex/sdk/mustella/tests
LengthOfTestcases: 10
sending: http://localhost:/testCaseLength?10 at: Tue Sep 10 20:48:32
GMT+0200 2013
TestCase Start:
MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests$NestedSWF_FocusMan
ager_Tab
queuing:
http://localhost:/testCaseStart?MarshallPlan/ManagerTests/MP_NestedSWF_F
ocusManager_Tests$NestedSWF_FocusManager_Tab at: Tue Sep 10 20:48:32
GMT+0200 2013
Paused for 100ms.
RESULT: scriptName=MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests
id=NestedSWF_FocusManager_Tab result=pass elapsed=1447 phase=body
started=1378838912054 extraInfo= msg=
queuing:
http://localhost:/testCaseResult?scriptName=MarshallPlan/ManagerTests/MP
_NestedSWF_FocusManager_Tests&id=NestedSWF_FocusManager_Tab&result=pass&elap
sed=1447&phase=body&started=1378838912054&extraInfo=&msg= at: Tue Sep 10
20:48:33 GMT+0200 2013
TestCase Start:
MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests$NestedSWF_FocusMan
ager_ShiftTab
queuing:
http://localhost:/testCaseStart?MarshallPlan/ManagerTests/MP_NestedSWF_F
ocusManager_Tests$NestedSWF_FocusManager_ShiftTab at: Tue Sep 10 20:48:33
GMT+0200 2013
Paused for 100ms.
RESULT: scriptName=MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests
id=NestedSWF_FocusManager_ShiftTab result=pass elapsed=1415 phase=body
started=1378838913550 extraInfo= msg=
queuing:
http://localhost:/testCaseResult?scriptName=MarshallPlan/ManagerTests/MP
_NestedSWF_FocusManager_Tests&id=NestedSWF_FocusManager_ShiftTab&result=pass
&elapsed=1415&phase=body&started=1378838913550&extraInfo=&msg= at: Tue Sep
10 20:48:34 GMT+0200 2013
TestCase Start:
MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests$NestedSWF_FocusMan
ager_TabIndex
queuing:
http://localhost:/testCaseStart?MarshallPlan/ManagerTests/MP_NestedSWF_F
ocusManager_Tests$NestedSWF_FocusManager_TabIndex at: Tue Sep 10 20:48:35
GMT+0200 2013
Paused for 100ms.
Avertissement : Erreur de demande d'envoi HTTP, 12029:
/runid.properties?0.83696541935205461378838911457
runid.properties ERROR handler with: [IOErrorEvent type="ioError"
bubbles=false cancelable=false eventPhase=2 text="Error #2032: Erreur de
flux. URL:
http://localhost:80/runid.properties?0.83696541935205461378838911457";]
RESULT: scriptName=MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests
id=NestedSWF_FocusManager_TabIndex result=pass elapsed=1431 phase=body
started=1378838915017 extraInfo= msg=
queuing:
http://localhost:/testCaseResult?scriptName=MarshallPlan/ManagerTests/MP
_NestedSWF_FocusManager_Tests&id=NestedSWF_FocusManager_TabIndex&result=pass
&elapsed=1431&phase=body&started=1378838915017&extraInfo=&msg= at: Tue Sep
10 20:48:36 GMT+0200 2013
TestCase Start:
MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests$NestedSWF_FocusMan
ager_Tab_fromLocalhost
queuing:
http://localhost:/testCaseStart?MarshallPlan/ManagerTests/MP_NestedSWF_F
ocusManager_Tests$NestedSWF_FocusManager_Tab_fromLocalhost at: Tue Sep 10
20:48:36 GMT+0200 2013
Paused for 300ms.
RESULT: scriptName=MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests
id=NestedSWF_FocusManager_Tab_fromLocalhost result=fail elapsed=5700
phase=setup started=1378838916499 extraInfo=null msg=SetProperty(setup:step
9)  Timeout waiting for complete from topSWF
queuing:
http://localhost:/testCaseResult?scriptName=MarshallPlan/ManagerTests/MP
_NestedSWF_FocusManager_Tests&id=NestedSWF_FocusManager_Tab_fromLocalhost&re
sult=fail&elapsed=5700&phase=setup&started=1378838916499&extraInfo=null&msg=
SetProperty%28setup%3Astep%209%29%20%20Timeout%20waiting%20for%20complete%20
from%20topSWF at: Tue Sep 10 20:48:42 GMT+0200 2013
TestCase Start:
MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests$NestedSWF_FocusMan
ager_ShiftTab_fromLocalhost
queuing:
http://localhost:/testCaseStart?MarshallPlan/ManagerTests/MP_NestedSWF_F
ocusManager_Tests$NestedSWF_FocusManager_ShiftTab_fromLocalhost at: Tue Sep
10 20:48:42 GMT+0200 2013
Paused for 100ms.
RESULT: scriptName=MarshallPlan/ManagerTests/MP_NestedSWF_FocusManager_Tests
id=NestedSWF_FocusManager_ShiftTab_fromLocalhost result=fail elapsed=6947
phase=setup started=1378838922251 extraInfo=null msg=SetProperty(setup:step
9)  Timeout waiting for complete from topSWF
queuing:
http://localhost:/testCaseResult?scriptName=MarshallPlan/ManagerTests/MP
_NestedSWF_FocusManager_Tests&id=NestedSWF_FocusManager_ShiftTab_fromLocalho
st&result=fail&elapsed=6947&phase=setup&started=13788389222

Re: multi threaded for datagrid component rendering

2013-09-11 Thread Alex Harui


On 9/11/13 11:51 AM, "Jack Yu"  wrote:

>possible we can have 2 or more thread inside the main rendering? so that
>it
>doesn't share with other workers, but has multiple workers inside the
>datagrid rendering
AFAIK, there is only one rendering thread.

Often, the best thing to do is optimize your item renderers.

-Alex



Re: git commit: [flex-asjs] [refs/heads/develop] - Changed property name from "url" to "source" to be compatible with Flex and HTML.

2013-09-11 Thread Peter Ent
I started with the source being Object but then I realized it might not
make any sense on the JavaScript side so I made it a String. If someone
wanted to load in a SWF, it would make the app unusable on the JavaScript
side, so I would think they would change the beads or there would be a
Flash-specific component for that.

Peter

On 9/11/13 2:21 PM, "Alex Harui"  wrote:

>
>
>On 9/11/13 11:08 AM, "OmPrakash Muppirala"  wrote:
>
>>On Wed, Sep 11, 2013 at 10:58 AM, Alex Harui  wrote:
>>
>>> Maybe, or in FlexJS, where we don't try to make a one-size-fits-all
>>> component, there will be a separate component called EmbeddedImage.
>>
>>
>>I had a usecase in the past where I grab an bitmap data from the hard
>>disk
>>and while it is uploading in the background, I show that bitmap in an
>>Image
>>component.  And when the upload was finished, I would swap it out with
>>the
>>downloaded(processed) image from the server.  Swapping an EmbeddedImage
>>component with an Image component would result in more unnecessary object
>>creations and destructions.
>A completely valid scenario, but, keeping with the pay-as-you-go
>philosophy of FlexJS, you would create a custom component like the
>EmbeddedOrRemoteImage you mention below, but it doesn't have to use the
>same model.  I'm not clear the cost of having a different model is such
>that FlexJS should give up type-checking for the 80% case, especially
>because when migrating old Flex code, we should make it clear that this
>simple FlexJS image component only knows about urls and that embeds are
>probably better handled some other way (not sure what that way is just
>yet).
> 
>>
>>
>>> FWIW, most usage of embedded images in Flex via Image/SWFLoader was a
>>> waste of
>>> memory.  A much lighterweight class is possible.  For FlexJS, embedded
>>> images on the AS side should not require much wrapping if at all, but
>>>then
>>> I think that makes your app un-portable to JS.
>>>
>>
>>Totally agree.  Which is why proposed this change on the IImageModel and
>>not Image.  This way, we can create an EmbeddedOrRemoteImage component
>>without having to create a new model.
>I was thinking the embedded image component (if we even have one since
>these object might just get "new"-ed and addChild'd) would have a model
>where the source is of type bitmapData or bytearay.  And this
>EmbeddedOrRemoteImage component would have a different model with both an
>embeddedSource and remoteSource properties.  But that's just a first
>guess.
>
>>
>>Also, on the JS side, this change is moot because you can pass in a
>>string
>>or an object or whatever.  That will need to be taken care of in the
>>setter
>>on the javascript version.
>I'm not sure I understand your point.  Yes, there is no type-checking in
>JS, but in FlexJS folks aren't writing JS code directly so the only thing
>that should be passed in is the URL that got cross-compiled.
>
>>
>>Thanks,
>>Om
>>
>>
>>>
>>> On 9/11/13 10:53 AM, "OmPrakash Muppirala" 
>>>wrote:
>>>
>>> >IImageModel should perhaps define the getter/setter for sources as:
>>> >
>>> >function get source():Object;
>>> >function set source(value:Object):void;
>>> >
>>> >instead of:
>>> >
>>> >function get source():String;
>>> >function set source(value:String):void;
>>> >
>>> >In the Flash based implementation, we need to have the option of
>>>setting a
>>> >bitmap object as source as well.  I dont think that is possible with
>>>HTML,
>>> >though.  But keeping it generic would be beneficial for sure.
>>> >
>>> >Thanks,
>>> >Om
>>> >
>>> >
>>> >On Wed, Sep 11, 2013 at 8:48 AM,  wrote:
>>> >
>>> >> Updated Branches:
>>> >>   refs/heads/develop a1f8929b3 -> 426c2e1eb
>>> >>
>>> >>
>>> >> Changed property name from "url" to "source" to be compatible with
>>>Flex
>>> >> and HTML.
>>> >>
>>> >>
>>> >> Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
>>> >> Commit:
>>> http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/426c2e1e
>>> >> Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/426c2e1e
>>> >> Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/426c2e1e
>>> >>
>>> >> Branch: refs/heads/develop
>>> >> Commit: 426c2e1ebc17fc271b34aa856c2cfe6423240c4d
>>> >> Parents: a1f8929
>>> >> Author: Peter Ent 
>>> >> Authored: Wed Sep 11 11:48:06 2013 -0400
>>> >> Committer: Peter Ent 
>>> >> Committed: Wed Sep 11 11:48:06 2013 -0400
>>> >>
>>> >> 
>>>--
>>> >>  frameworks/as/src/org/apache/flex/core/IImageModel.as   |  4 ++--
>>> >>  .../as/src/org/apache/flex/html/staticControls/Image.as |  8
>>>
>>> >>  .../apache/flex/html/staticControls/beads/ImageView.as  |  2 +-
>>> >>  .../flex/html/staticControls/beads/models/ImageModel.as | 12
>>> >>++--
>>> >>  4 files changed, 13 insertions(+), 13 deletions(-)
>>> >> 
>>>--
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> 
>>>http://git-wip-us.apache.org/repos/asf/fl

Re: multi threaded for datagrid component rendering

2013-09-11 Thread Jonathan Campos
On Wed, Sep 11, 2013 at 2:20 PM, Alex Harui  wrote:

> Yes, but not sure that will actually save you time.


As someone that has also tackled the 100+ (onscreen) rows and 100+ columns
I can tell you that the best fix was to focus heavily on the itemRenderers.
Also if you can make it so that columns offscreen aren't rendered that
helps. The flex 4 DG does this. I had to build this functionality years ago
in the flex 3 dg to save on a lot of rendering.

J


-- 
Jonathan Campos


Re: Flex 4.10 with Adobe AIR 3.8 not working smooth

2013-09-11 Thread Randy Troppmann
Igor,

For this app https://itunes.apple.com/ca/app/jolifoto/id574204502 I used 4.7 
and Starling/Feathers and working with BitmapData was ok. I hope that helps ... 
sorry if I answered the wrong answer.

- Randy

On 2013-09-11, at 1:49 PM, Igor Costa  wrote:

> Hi there guys
> 
> Just a rumble question, does you guys tried to compile a simple Flex AIR
> app using BitmapData with latest SDK release with Flash Builder 4.7?
> 
> Turns out that very strange behavior that apps when launches will take few
> seconds and freezes and unload the Main swf file.
> 
> I need help from you to test on your own environment to see if this is
> affecting only me or spread globally.
> 
> Here's the link for testing:
> https://www.dropbox.com/s/f5136cnzs348u2t/Test.zip
> 
> 
> My guess is Flash Builder is crashing app.
> 
> 
> See yah!
> 
> Igor Costa
> www.igorcosta.com
> www.igorcosta.org

Randy Troppmann, BFA
---
Founder, Chief Architect
runningmap.com
---
Principal
Spin Technologies Inc.
St. Albert, Alberta, Canada
---
cell: 780-903-0271
email: ra...@runningmap.com
twitter: @randytroppmann
blog: randytroppmann.com



Re: multi threaded for datagrid component rendering

2013-09-11 Thread Alex Harui


On 9/11/13 11:03 AM, "Jack Yu"  wrote:

>Hi,
>
>the new flash player 11.8 can support multi threaded.
>
>in the datagrid, can the cell rendering take the advantage of multi
>threaded
>in flash player? meaning if there are 100 rows, 100 columns, can the
>datagrid to use 2 or 4 threads to render all the 1000 cells in multiple
>concurrent threads?
The documentation [1] indicates that this is not supported.  The main
rendering thread cannot share rendering with other workers.

[1] 
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/sy
stem/Worker.html



AW: FlexMojos 6, Flex sdk 4.10.0.20130801, and getAdvancedTelemetry()

2013-09-11 Thread christofer.d...@c-ware.de
Hi Michael,

building FM is a beast ... This is mainly because it's backward compatible with 
almost all FDKs available. Unfortunately you need all of them in the Testsuite. 
But I guess that you usually don't need the testharnes to run. Especially this 
is guaranteed to fail when building FM with an Apache Flex FDK. This is because 
we don't have any signed RSLs (SWZ Files). Therefore all Tests dealing with 
signed RSLs are doomed to fail. But FM seemed to build well with Apache FDKs, I 
just had do disable one or the other test that used SWZs.

But I think you don't need to build FM at all. I recently released FM 6.0.1 
which seems to work nicely with Apache Flex FDKs that are mavenized using the 
Mavenizer (At least I haven't heard any complaints). You do however have to 
override the default Flex imports the plugin uses. So if you provide the 
Compiler in the version you want as dependency to the plugin and the framework 
in the same version as the compiler to your modules dependencies, it should 
already be ready to go.

Bob recently posted his setup at Stackoverflow ... so using this as inspiration 
should have you up and running in no-time:
http://stackoverflow.com/questions/18505129/how-do-i-get-flexunit-flexm

If you have any questions, feel free to come here and ask (Even if the 
flex-user list might be better suited for questions like this)

Chris




-Ursprüngliche Nachricht-
Von: mscharp [mailto:michael.sch...@fmr.com] 
Gesendet: Mittwoch, 11. September 2013 20:39
An: dev@flex.apache.org
Betreff: FlexMojos 6, Flex sdk 4.10.0.20130801, and getAdvancedTelemetry()

Hi All - I'm hoping I'm posting this in the correct space.  I've seen Chris 
Dutz around here and since Marvin shut down the old FM group, this looks like 
the best place for my questions.

Anyway - I'm currently working on updating our large flex project(s) from FM 
4.2-beta to FM 6.1.0.  I've pulled down the FM6 code from Chris' git repo, 
mavenized the 4.10.0 FDK, built FM6, and I'm now using it to build our project. 
 Everything seems to work.  However, I've got a few questions regarding the 
impact of some changes I made to FM code and questions about RSLs.

In order to get FM6 to build, I had to make some changes.  Most of them seem 
straight forward enough (no real questions) but I'll list them all for 
completeness sake.  The ones I believe most important are bolded.

- in parent pom
- update flex version to 4.10.20130801
- update air version to 3.8
- update player version to 11.8
- update org.apache.velocity version to 1.7 (this is the version we 
have in our repo)

- *comment out all sdk versions in flexmojos-test-harness pom*
- *add 4.10.20130801 sdk to flexmojos-test-harness pom*
- *comment out old player global versions from flexmojos-test-harness pom*
- *add 11.8 playerglobal to flexmojos-test-harness pom*
- add org.apache.velocity 1.7 dependency to flexmojos-maven-plugin pom 
(couldn't build without this)
- *AsdocMojo.java, CompcMojo.java, and MxmlcMojo.java override
getAdvancedTelemetry()*

It is also important to note that I was able to build everything with tests up 
till the "test-harness".  For now, my build of FM6 is running with 
maven.test.skip=true.  In order for the integration tests to pass, I need a lot 
of mavenized sdks that I currently don't have  I looked for the 2x and 3x sdks 
online so I could mavenize them, but didn't find them.  To be honest however, I 
don't really care at all about anything below sdk 4.5 so I'm not thinking that 
is a huge issue.  However, if that is wrong, please let me know.

In order to build with the 4.10.0 SDK, I added the advanced telemetry function 
to the different mojos:

@Override
public Boolean getAdvancedTelemetry()
{
return true;
}

I'm not entirely sure what this will do.  With this function as it is, am I 
just enabling my swfs to "output" advanced telemetry, or is there something 
more going on?  Should I return false instead of true?  What are the 
implications of this?

Anyway, hope all this makes sense.  Thanks for the help

Michael



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexMojos-6-Flex-sdk-4-10-0-20130801-and-getAdvancedTelemetry-tp29528.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: Flex 4.10 with Adobe AIR 3.8 not working smooth

2013-09-11 Thread Igor Costa
Hey there Randy.

Thanks for feedback, I really appreciate, but let me ask you did you use
the latest 4.10 SDK and AIR 3.8 on FB 4.7? If so, can you test the package
that I sent?


Best Regards


Igor Costa
www.igorcosta.com
www.igorcosta.org


On Wed, Sep 11, 2013 at 5:16 PM, Randy Troppmann
wrote:

> Igor,
>
> For this app https://itunes.apple.com/ca/app/jolifoto/id574204502 I used
> 4.7 and Starling/Feathers and working with BitmapData was ok. I hope that
> helps ... sorry if I answered the wrong answer.
>
> - Randy
>
> On 2013-09-11, at 1:49 PM, Igor Costa  wrote:
>
> > Hi there guys
> >
> > Just a rumble question, does you guys tried to compile a simple Flex AIR
> > app using BitmapData with latest SDK release with Flash Builder 4.7?
> >
> > Turns out that very strange behavior that apps when launches will take
> few
> > seconds and freezes and unload the Main swf file.
> >
> > I need help from you to test on your own environment to see if this is
> > affecting only me or spread globally.
> >
> > Here's the link for testing:
> > https://www.dropbox.com/s/f5136cnzs348u2t/Test.zip
> >
> >
> > My guess is Flash Builder is crashing app.
> >
> >
> > See yah!
> > 
> > Igor Costa
> > www.igorcosta.com
> > www.igorcosta.org
>
> Randy Troppmann, BFA
> ---
> Founder, Chief Architect
> runningmap.com
> ---
> Principal
> Spin Technologies Inc.
> St. Albert, Alberta, Canada
> ---
> cell: 780-903-0271
> email: ra...@runningmap.com
> twitter: @randytroppmann
> blog: randytroppmann.com
>
>


Re: [Falcon]

2013-09-11 Thread Alex Harui
I might have time.  You sure you don't want to try to fix it yourself?

-Alex

On 9/11/13 5:36 AM, "Erik de Bruin"  wrote:

>On Fri, Sep 6, 2013 at 5:21 PM, Cyrill Zadra 
>wrote:
>> For this I already raised a JIRA -
>> https://issues.apache.org/jira/browse/FLEX-33716
>
>This looks to be the only issue that is between me and being able to
>successfully compile a large AIR project using Falcon. Any chance
>someone who knows the Falcon code can have a quick look to see if it
>is maybe an 'easyfix'?
>
>Thanks!
>
>EdB
>
>
>
>> On Fri, Sep 6, 2013 at 7:09 PM, Erik de Bruin 
>>wrote:
>>
>>> And the second (and last... can it be...) class of errors I get is all
>>> of this form:
>>>
>>> Error: The style 'backgroundAlpha' is only supported by type
>>> 'BorderContainer' with the theme(s) 'spark,mobile'.
>>> >> borderWeight="2" borderColor="#00" backgroundAlpha="0">
>>>
>>> Is this maybe something else that I need to include via an argument or
>>> config?
>>>
>>> EdB
>>>
>>>
>>>
>>> On Fri, Sep 6, 2013 at 5:05 PM, Erik de Bruin 
>>>wrote:
>>> > Alex, while on the topic of Falcon: I'm trying to compile a large AIR
>>> > application which uses embedded media from a path outside the "src"
>>> > directory. The code is
>>> >
>>> > [Embed(source="./packagedMedia/buttons/notes/up.png")]
>>> >
>>> > If I throw this at Falcon, it complains:
>>> >
>>> > Error: Could not find Embed source
>>> > './packagedMedia/buttons/notes/up.png'. Searched
>>> > '/Users/erik/Documents/Adobe Flash Builder
>>> >
>>> 
>>>4.7/pegasus-examSimPlayer/src/application/packagedMedia/buttons/notes/up
>>>.png',
>>> > './packagedMedia/buttons/notes/up.png' in SWCs on the library path
>>> >
>>> > Now, before I file another useless JIRA issue, is there a command
>>>line
>>> > thingy that I need to set to tell the compiler where to look? I tried
>>> > 'source-path' with full and relative paths, but the error remains.
>>> >
>>> > EdB
>>> >
>>> >
>>> >
>>> > On Fri, Sep 6, 2013 at 4:56 PM, Alex Harui  wrote:
>>> >> For the const problem, it makes sense that there is an error so
>>>yes, we
>>> >> should change the SDK code.
>>> >>
>>> >> For the mustella problem, if adding the import makes the error go
>>>away,
>>> >> then yes, we should add the import.
>>> >>
>>> >> -Alex
>>> >>
>>> >> On 9/6/13 3:14 AM, "Cyrill Zadra"  wrote:
>>> >>
>>> >>>Hi Falcon devs :)
>>> >>>
>>> >>>In last days I found few falcon errors and raised JIRA for them.
>>> >>>
>>> >>>There are two which we need to decide if  we have to make Falcon
>>>less
>>> >>>strict or update code in SDK and Mustella.
>>> >>>
>>> >>>https://issues.apache.org/jira/browse/FLEX-33714
>>> >>>https://issues.apache.org/jira/browse/FLEX-33706
>>> >>>
>>> >>>In those two cases I'm for changing sdk and mustella code. Any other
>>> >>>suggestions?
>>> >>>
>>> >>>Cyrill
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Ix Multimedia Software
>>> >
>>> > Jan Luykenstraat 27
>>> > 3521 VB Utrecht
>>> >
>>> > T. 06-51952295
>>> > I. www.ixsoftware.nl
>>>
>>>
>>>
>>> --
>>> Ix Multimedia Software
>>>
>>> Jan Luykenstraat 27
>>> 3521 VB Utrecht
>>>
>>> T. 06-51952295
>>> I. www.ixsoftware.nl
>>>
>
>
>
>-- 
>Ix Multimedia Software
>
>Jan Luykenstraat 27
>3521 VB Utrecht
>
>T. 06-51952295
>I. www.ixsoftware.nl



RE: multi threaded for datagrid component rendering

2013-09-11 Thread Jack Yu
possible we can have 2 or more thread inside the main rendering? so that it
doesn't share with other workers, but has multiple workers inside the
datagrid rendering

Thanks
Jack

-Original Message-
From: Alex Harui [mailto:aha...@adobe.com] 
Sent: Wednesday, September 11, 2013 11:43 AM
To: dev@flex.apache.org
Subject: Re: multi threaded for datagrid component rendering



On 9/11/13 11:03 AM, "Jack Yu"  wrote:

>Hi,
>
>the new flash player 11.8 can support multi threaded.
>
>in the datagrid, can the cell rendering take the advantage of multi 
>threaded in flash player? meaning if there are 100 rows, 100 columns, 
>can the datagrid to use 2 or 4 threads to render all the 1000 cells in 
>multiple concurrent threads?
The documentation [1] indicates that this is not supported.  The main
rendering thread cannot share rendering with other workers.

[1]
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/sy
stem/Worker.html




Re: [Falcon]

2013-09-11 Thread Darrell Loverin
Hard to tell how hard of a fix that bug might be.


-Darrell

On 9/11/13 2:49 PM, "Alex Harui"  wrote:

>I might have time.  You sure you don't want to try to fix it yourself?
>
>-Alex
>
>On 9/11/13 5:36 AM, "Erik de Bruin"  wrote:
>
>>On Fri, Sep 6, 2013 at 5:21 PM, Cyrill Zadra 
>>wrote:
>>> For this I already raised a JIRA -
>>> https://issues.apache.org/jira/browse/FLEX-33716
>>
>>This looks to be the only issue that is between me and being able to
>>successfully compile a large AIR project using Falcon. Any chance
>>someone who knows the Falcon code can have a quick look to see if it
>>is maybe an 'easyfix'?
>>
>>Thanks!
>>
>>EdB
>>
>>
>>
>>> On Fri, Sep 6, 2013 at 7:09 PM, Erik de Bruin 
>>>wrote:
>>>
 And the second (and last... can it be...) class of errors I get is all
 of this form:

 Error: The style 'backgroundAlpha' is only supported by type
 'BorderContainer' with the theme(s) 'spark,mobile'.
 >>> borderWeight="2" borderColor="#00" backgroundAlpha="0">

 Is this maybe something else that I need to include via an argument or
 config?

 EdB



 On Fri, Sep 6, 2013 at 5:05 PM, Erik de Bruin 
wrote:
 > Alex, while on the topic of Falcon: I'm trying to compile a large
AIR
 > application which uses embedded media from a path outside the "src"
 > directory. The code is
 >
 > [Embed(source="./packagedMedia/buttons/notes/up.png")]
 >
 > If I throw this at Falcon, it complains:
 >
 > Error: Could not find Embed source
 > './packagedMedia/buttons/notes/up.png'. Searched
 > '/Users/erik/Documents/Adobe Flash Builder
 >
 
4.7/pegasus-examSimPlayer/src/application/packagedMedia/buttons/notes/u
p
.png',
 > './packagedMedia/buttons/notes/up.png' in SWCs on the library path
 >
 > Now, before I file another useless JIRA issue, is there a command
line
 > thingy that I need to set to tell the compiler where to look? I
tried
 > 'source-path' with full and relative paths, but the error remains.
 >
 > EdB
 >
 >
 >
 > On Fri, Sep 6, 2013 at 4:56 PM, Alex Harui  wrote:
 >> For the const problem, it makes sense that there is an error so
yes, we
 >> should change the SDK code.
 >>
 >> For the mustella problem, if adding the import makes the error go
away,
 >> then yes, we should add the import.
 >>
 >> -Alex
 >>
 >> On 9/6/13 3:14 AM, "Cyrill Zadra"  wrote:
 >>
 >>>Hi Falcon devs :)
 >>>
 >>>In last days I found few falcon errors and raised JIRA for them.
 >>>
 >>>There are two which we need to decide if  we have to make Falcon
less
 >>>strict or update code in SDK and Mustella.
 >>>
 >>>https://issues.apache.org/jira/browse/FLEX-33714
 >>>https://issues.apache.org/jira/browse/FLEX-33706
 >>>
 >>>In those two cases I'm for changing sdk and mustella code. Any
other
 >>>suggestions?
 >>>
 >>>Cyrill
 >>
 >
 >
 >
 > --
 > Ix Multimedia Software
 >
 > Jan Luykenstraat 27
 > 3521 VB Utrecht
 >
 > T. 06-51952295
 > I. www.ixsoftware.nl



 --
 Ix Multimedia Software

 Jan Luykenstraat 27
 3521 VB Utrecht

 T. 06-51952295
 I. www.ixsoftware.nl

>>
>>
>>
>>-- 
>>Ix Multimedia Software
>>
>>Jan Luykenstraat 27
>>3521 VB Utrecht
>>
>>T. 06-51952295
>>I. www.ixsoftware.nl
>



Flex 4.10 with Adobe AIR 3.8 not working smooth

2013-09-11 Thread Igor Costa
Hi there guys

Just a rumble question, does you guys tried to compile a simple Flex AIR
app using BitmapData with latest SDK release with Flash Builder 4.7?

Turns out that very strange behavior that apps when launches will take few
seconds and freezes and unload the Main swf file.

I need help from you to test on your own environment to see if this is
affecting only me or spread globally.

Here's the link for testing:
https://www.dropbox.com/s/f5136cnzs348u2t/Test.zip


My guess is Flash Builder is crashing app.


See yah!

Igor Costa
www.igorcosta.com
www.igorcosta.org


RE: Flex 4.10 with Adobe AIR 3.8 not working smooth

2013-09-11 Thread Sugan Naicker
HI,

I did a test on FB4.6 / SDK 4.10 / Air 3.8 and got the same error when I
clicked on Print PDF.

Debug shows img.bitmapData = NULL on the following line :

var cover:BitmapData = img.bitmapData;

I assume this then triggered the "...a null object reference" error.

Regards,

Sugan Naicker
 

-Original Message-
From: omup...@gmail.com [mailto:omup...@gmail.com] On Behalf Of OmPrakash
Muppirala
Sent: 11 September 2013 10:48 PM
To: dev@flex.apache.org
Subject: Re: Flex 4.10 with Adobe AIR 3.8 not working smooth

On Wed, Sep 11, 2013 at 1:34 PM, Igor Costa  wrote:

> Hey there Randy.
>
> Thanks for feedback, I really appreciate, but let me ask you did you 
> use the latest 4.10 SDK and AIR 3.8 on FB 4.7? If so, can you test the 
> package that I sent?
>
>
Tested with 4.10 SDK with AIR 3.8 on FB 4.7.  The app compiles and runs
fine.  But there is a RTE when I do capture and then print pdf:

TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at Test/imprimir()[C:\p\flex_os\workspace4.7_2\Test\src\Test.mxml:66]
at
Test/___Test_Button2_click()[C:\p\flex_os\workspace4.7_2\Test\src\Test.mxml:
109]

Other than that no weird behaviors like you mentioned.

Thanks,
Om



>
> Best Regards
>
> 
> Igor Costa
> www.igorcosta.com
> www.igorcosta.org
>
>
> On Wed, Sep 11, 2013 at 5:16 PM, Randy Troppmann
> wrote:
>
> > Igor,
> >
> > For this app https://itunes.apple.com/ca/app/jolifoto/id574204502 I 
> > used
> > 4.7 and Starling/Feathers and working with BitmapData was ok. I hope 
> > that helps ... sorry if I answered the wrong answer.
> >
> > - Randy
> >
> > On 2013-09-11, at 1:49 PM, Igor Costa  wrote:
> >
> > > Hi there guys
> > >
> > > Just a rumble question, does you guys tried to compile a simple 
> > > Flex
> AIR
> > > app using BitmapData with latest SDK release with Flash Builder 4.7?
> > >
> > > Turns out that very strange behavior that apps when launches will 
> > > take
> > few
> > > seconds and freezes and unload the Main swf file.
> > >
> > > I need help from you to test on your own environment to see if 
> > > this is affecting only me or spread globally.
> > >
> > > Here's the link for testing:
> > > https://www.dropbox.com/s/f5136cnzs348u2t/Test.zip
> > >
> > >
> > > My guess is Flash Builder is crashing app.
> > >
> > >
> > > See yah!
> > > 
> > > Igor Costa
> > > www.igorcosta.com
> > > www.igorcosta.org
> >
> > Randy Troppmann, BFA
> > ---
> > Founder, Chief Architect
> > runningmap.com
> > ---
> > Principal
> > Spin Technologies Inc.
> > St. Albert, Alberta, Canada
> > ---
> > cell: 780-903-0271
> > email: ra...@runningmap.com
> > twitter: @randytroppmann
> > blog: randytroppmann.com
> >
> >
>



Re: Flex 4.10 with Adobe AIR 3.8 not working smooth

2013-09-11 Thread Randy Troppmann
Oops Igor... no I didn't. Should know you are much more on the edge than I
am at the moment :) I would like to try that out but I can't promise to
come back quickly.

I used FP 4.7 with AIR 3.6 and with 4.6 SDK ...

- Randy



On Wed, Sep 11, 2013 at 2:34 PM, Igor Costa  wrote:

> Hey there Randy.
>
> Thanks for feedback, I really appreciate, but let me ask you did you use
> the latest 4.10 SDK and AIR 3.8 on FB 4.7? If so, can you test the package
> that I sent?
>
>
> Best Regards
>
> 
> Igor Costa
> www.igorcosta.com
> www.igorcosta.org
>
>
> On Wed, Sep 11, 2013 at 5:16 PM, Randy Troppmann
> wrote:
>
> > Igor,
> >
> > For this app https://itunes.apple.com/ca/app/jolifoto/id574204502 I used
> > 4.7 and Starling/Feathers and working with BitmapData was ok. I hope that
> > helps ... sorry if I answered the wrong answer.
> >
> > - Randy
> >
> > On 2013-09-11, at 1:49 PM, Igor Costa  wrote:
> >
> > > Hi there guys
> > >
> > > Just a rumble question, does you guys tried to compile a simple Flex
> AIR
> > > app using BitmapData with latest SDK release with Flash Builder 4.7?
> > >
> > > Turns out that very strange behavior that apps when launches will take
> > few
> > > seconds and freezes and unload the Main swf file.
> > >
> > > I need help from you to test on your own environment to see if this is
> > > affecting only me or spread globally.
> > >
> > > Here's the link for testing:
> > > https://www.dropbox.com/s/f5136cnzs348u2t/Test.zip
> > >
> > >
> > > My guess is Flash Builder is crashing app.
> > >
> > >
> > > See yah!
> > > 
> > > Igor Costa
> > > www.igorcosta.com
> > > www.igorcosta.org
> >
> > Randy Troppmann, BFA
> > ---
> > Founder, Chief Architect
> > runningmap.com
> > ---
> > Principal
> > Spin Technologies Inc.
> > St. Albert, Alberta, Canada
> > ---
> > cell: 780-903-0271
> > email: ra...@runningmap.com
> > twitter: @randytroppmann
> > blog: randytroppmann.com
> >
> >
>


Re: Flex 4.10 with Adobe AIR 3.8 not working smooth

2013-09-11 Thread OmPrakash Muppirala
On Wed, Sep 11, 2013 at 1:34 PM, Igor Costa  wrote:

> Hey there Randy.
>
> Thanks for feedback, I really appreciate, but let me ask you did you use
> the latest 4.10 SDK and AIR 3.8 on FB 4.7? If so, can you test the package
> that I sent?
>
>
Tested with 4.10 SDK with AIR 3.8 on FB 4.7.  The app compiles and runs
fine.  But there is a RTE when I do capture and then print pdf:

TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at Test/imprimir()[C:\p\flex_os\workspace4.7_2\Test\src\Test.mxml:66]
at
Test/___Test_Button2_click()[C:\p\flex_os\workspace4.7_2\Test\src\Test.mxml:109]

Other than that no weird behaviors like you mentioned.

Thanks,
Om



>
> Best Regards
>
> 
> Igor Costa
> www.igorcosta.com
> www.igorcosta.org
>
>
> On Wed, Sep 11, 2013 at 5:16 PM, Randy Troppmann
> wrote:
>
> > Igor,
> >
> > For this app https://itunes.apple.com/ca/app/jolifoto/id574204502 I used
> > 4.7 and Starling/Feathers and working with BitmapData was ok. I hope that
> > helps ... sorry if I answered the wrong answer.
> >
> > - Randy
> >
> > On 2013-09-11, at 1:49 PM, Igor Costa  wrote:
> >
> > > Hi there guys
> > >
> > > Just a rumble question, does you guys tried to compile a simple Flex
> AIR
> > > app using BitmapData with latest SDK release with Flash Builder 4.7?
> > >
> > > Turns out that very strange behavior that apps when launches will take
> > few
> > > seconds and freezes and unload the Main swf file.
> > >
> > > I need help from you to test on your own environment to see if this is
> > > affecting only me or spread globally.
> > >
> > > Here's the link for testing:
> > > https://www.dropbox.com/s/f5136cnzs348u2t/Test.zip
> > >
> > >
> > > My guess is Flash Builder is crashing app.
> > >
> > >
> > > See yah!
> > > 
> > > Igor Costa
> > > www.igorcosta.com
> > > www.igorcosta.org
> >
> > Randy Troppmann, BFA
> > ---
> > Founder, Chief Architect
> > runningmap.com
> > ---
> > Principal
> > Spin Technologies Inc.
> > St. Albert, Alberta, Canada
> > ---
> > cell: 780-903-0271
> > email: ra...@runningmap.com
> > twitter: @randytroppmann
> > blog: randytroppmann.com
> >
> >
>


Re: Flex 4.10 with Adobe AIR 3.8 not working smooth

2013-09-11 Thread Igor Costa
Thanks, Om, Sugan, Randy for feedback.

Turns out that I still have the problem, I will see the log on Flash
Builder generating.

The RTE is expected, forced to see if does reproduce on yours side.

I need to investigate further.


Igor Costa
www.igorcosta.com
www.igorcosta.org


On Wed, Sep 11, 2013 at 6:44 PM, Randy Troppmann
wrote:

> Oops Igor... no I didn't. Should know you are much more on the edge than I
> am at the moment :) I would like to try that out but I can't promise to
> come back quickly.
>
> I used FP 4.7 with AIR 3.6 and with 4.6 SDK ...
>
> - Randy
>
>
>
> On Wed, Sep 11, 2013 at 2:34 PM, Igor Costa  wrote:
>
> > Hey there Randy.
> >
> > Thanks for feedback, I really appreciate, but let me ask you did you use
> > the latest 4.10 SDK and AIR 3.8 on FB 4.7? If so, can you test the
> package
> > that I sent?
> >
> >
> > Best Regards
> >
> > 
> > Igor Costa
> > www.igorcosta.com
> > www.igorcosta.org
> >
> >
> > On Wed, Sep 11, 2013 at 5:16 PM, Randy Troppmann
> > wrote:
> >
> > > Igor,
> > >
> > > For this app https://itunes.apple.com/ca/app/jolifoto/id574204502 I
> used
> > > 4.7 and Starling/Feathers and working with BitmapData was ok. I hope
> that
> > > helps ... sorry if I answered the wrong answer.
> > >
> > > - Randy
> > >
> > > On 2013-09-11, at 1:49 PM, Igor Costa  wrote:
> > >
> > > > Hi there guys
> > > >
> > > > Just a rumble question, does you guys tried to compile a simple Flex
> > AIR
> > > > app using BitmapData with latest SDK release with Flash Builder 4.7?
> > > >
> > > > Turns out that very strange behavior that apps when launches will
> take
> > > few
> > > > seconds and freezes and unload the Main swf file.
> > > >
> > > > I need help from you to test on your own environment to see if this
> is
> > > > affecting only me or spread globally.
> > > >
> > > > Here's the link for testing:
> > > > https://www.dropbox.com/s/f5136cnzs348u2t/Test.zip
> > > >
> > > >
> > > > My guess is Flash Builder is crashing app.
> > > >
> > > >
> > > > See yah!
> > > > 
> > > > Igor Costa
> > > > www.igorcosta.com
> > > > www.igorcosta.org
> > >
> > > Randy Troppmann, BFA
> > > ---
> > > Founder, Chief Architect
> > > runningmap.com
> > > ---
> > > Principal
> > > Spin Technologies Inc.
> > > St. Albert, Alberta, Canada
> > > ---
> > > cell: 780-903-0271
> > > email: ra...@runningmap.com
> > > twitter: @randytroppmann
> > > blog: randytroppmann.com
> > >
> > >
> >
>


Re: Flash Builder 4.6 with Apache Flex 4.10 release build

2013-09-11 Thread Alessandro Palombaro
Thanks Alex! Do you know why some of the swcs have their source
attachments automatically setup correctly and some others don't? Is it FB
doing its own thing or is there somewhere in the SDK these links are
defined?


On Wed, Sep 11, 2013 at 10:51 PM, Alex Harui  wrote:

> You should be able to go to Project Properties/Build Paths/Library Paths
> Expand the SDK and you should see all SWCs, expand a SWC and you should be
> able to set a source attachment for it.
>
> On 9/11/13 1:31 AM, "Alessandro Palombaro" 
> wrote:
>
> >Does anyone know how to setup Flash Builder 4.6 to properly jump to Flex
> >source files when hitting F3 (open declaration) on a class reference?
> >
> >It seems I can jump to classes that existed in older versions (most of the
> >time it jumps to the wrong line in the class but still opens the source
> >file) but it cant find newer classes
> >
> >eg source could not be found for spark.containers.Accordion but
> >UIComponent
> >opens just fine
> >
> >I know if I want to see the source I can always manually navigate the
> >projects folder and locate the source that way but was just interested if
> >anyone knew how Flash Builders open declaration functioned with Apache
> >Flex
> >swcs?
>
>


Re: FlexMojos 6, Flex sdk 4.10.0.20130801, and getAdvancedTelemetry()

2013-09-11 Thread Justin Mclean
Hi,

> This is because we don't have any signed RSLs (SWZ Files).
Why do you need signed files? Apache Flex does come with RSLs they are just not 
signed.

Thanks,
Justin

Re: Flash Builder 4.6 with Apache Flex 4.10 release build

2013-09-11 Thread Alex Harui


On 9/11/13 4:50 PM, "Alessandro Palombaro"  wrote:

>Thanks Alex! Do you know why some of the swcs have their source
>attachments automatically setup correctly and some others don't? Is it FB
>doing its own thing or is there somewhere in the SDK these links are
>defined?
I have not found a way for our build script to pre-populate the source
attachment.  I think FB just makes some assumptions about the SWCs whose
names it knew from 4.6.

-Alex



Spark NumericSpinner patch to fix extra digits showing

2013-09-11 Thread Justin Mclean
Hi,

Someone mind trying out this patch for the spark NumericSpinner?

diff --git a/frameworks/projects/spark/src/spark/components/NumericStepper.as 
b/frameworks/projects/spark/src/spark/components/NumericStepper.as
index 6a45b32..02d0ebf 100644
--- a/frameworks/projects/spark/src/spark/components/NumericStepper.as
+++ b/frameworks/projects/spark/src/spark/components/NumericStepper.as
@@ -796,6 +796,7 @@ public class NumericStepper extends Spinner
 if (dataFormatter == null)
 {
 dataFormatter = new NumberFormatter();
+   dataFormatter.fractionalDigits = Math.max(0, 
(stepSize - Math.floor(stepSize)).toString().length - 2);
 addStyleClient(dataFormatter);
 }
 

And see if it fixes this issue:
https://issues.apache.org/jira/browse/FLEX-33657

Thanks,
Justin

JIRA filter for issues raised by people but not yet resolved

2013-09-11 Thread Justin Mclean
Hi,

May help if you looking for something to fix or want to help out with testing.

https://issues.apache.org/jira/issues/?filter=12324867

This is the list of unresolved issues than have been raised by someone and not 
imported into JIRA from the old bugbase - there's only 280 of them! 

Only about 25 are currently assigned to people.

Thanks,
Justin

Re: Spark NumericSpinner patch to fix extra digits showing

2013-09-11 Thread OmPrakash Muppirala
On it...


On Wed, Sep 11, 2013 at 11:24 PM, Justin Mclean wrote:

> Hi,
>
> Someone mind trying out this patch for the spark NumericSpinner?
>
> diff --git
> a/frameworks/projects/spark/src/spark/components/NumericStepper.as
> b/frameworks/projects/spark/src/spark/components/NumericStepper.as
> index 6a45b32..02d0ebf 100644
> --- a/frameworks/projects/spark/src/spark/components/NumericStepper.as
> +++ b/frameworks/projects/spark/src/spark/components/NumericStepper.as
> @@ -796,6 +796,7 @@ public class NumericStepper extends Spinner
>  if (dataFormatter == null)
>  {
>  dataFormatter = new NumberFormatter();
> +   dataFormatter.fractionalDigits =
> Math.max(0, (stepSize - Math.floor(stepSize)).toString().length - 2);
>  addStyleClient(dataFormatter);
>  }
>
>
> And see if it fixes this issue:
> https://issues.apache.org/jira/browse/FLEX-33657
>
> Thanks,
> Justin


Currently assigned JIRA issues

2013-09-11 Thread Justin Mclean
Hi,

Here's the list of the currently assign JIRA issues, I know that some are being 
worked on and some may be resolved, but if you're assigned to an issue but are 
no longer willing to work on it can you mark it as unassigned.

Adobe JIRA
FLEX-33580  CLONE - Ambiguous reference when using data binding in 
inherited class with the same name as base class in a different package

Alex Harui
FLEX-33083  Flash builder report "An internal build error has occurred. See 
the error log for more information."
FLEX-33183  Revisit Mustella Tests
FLEX-33690  focus does not move correctly when there are multiple non-modal 
popup windows
FLEX-33632  Getting Run Time Error when loading resource module at runtime. 
FLEX-33678  DataGrid VerticalScrollBar disappears in CallOut or on 
StateChange in 4.10.0

Carol Frampton
FLEX-33155  Uncaught exception in compiler, when JRE 1.7 is used
FLEX-33248  Spark GridItemEditor cannot edit nested properties

Chema Balsas
FLEX-33299  Get all Falcon functional tests to pass (SDKSWCTests)

Christofer Dutz
FLEX-33394  Mavenizer with AIR SDK 3.6 Could not create directory error

Cyrill Zadra
FLEX-33490  FLEX-33488 FlexUnit Tutorials   
FLEX-33488  FlexUnit

Darrell Loverin
FLEX-33320  Falcon doesn't allow multiline member access using [] syntax

Espen Skogen
FLEX-33085  As a developer I would like to be able to load dependencies in 
an RSL like fashion from a flex module.

Frédéric THOMAS
FLEX-33695  Add Mavenizer functionality to Installer

Harbs
FLEX-33693  TLF Lists which have ParagraphElements with hanging indents do 
not render correctly

Igor Costa
FLEX-33441  Include Modest Map engine for Flex-Maps component

Justin Mclean
FLEX-33722  Dragging a row with an itemRenderer which extends 
DefaultGridItemRenderer causes null pointer in 
mx.utils::MatrixUtil$/isDeltaIdentity()

Mark Kessler
FLEX-33660  ensureIndexIsVisible() does not work for spark.components.List

Michael Schmalle
FLEX-2  Make metadata annotations first class AS3 citizens

OmPrakash Muppirala
FLEX-33265  Enable Mustella on CI server (jenkins)
FLEX-33266  Make it easy for developers to do a targetted Mustella test run 
that doesnt take hours  
FLEX-33626  Flex Demo 4.10.0 mobile app

Thanks,
Justin