RE: Radiate people, radiate...

2013-07-25 Thread Mark Line
I just checked this out, I really like it. A few times when I'm looking at
other peoples classes/views I've missed the design view.

Really like how the groups work



-Original Message-
From: Frédéric THOMAS [mailto:webdoubl...@hotmail.com] 
Sent: 25 July 2013 07:28
To: users@flex.apache.org
Subject: Re: Radiate people, radiate...

Great tool Jude :-)

-Message d'origine-
From: jude
Sent: Wednesday, July 24, 2013 7:19 PM
To: users@flex.apache.org
Subject: Radiate people, radiate... 

So here's an update on the Radiate (radii8) project. I've uploaded a new
demo, with major changes. This one should load now. I've found out that none
of the versions posted from January until now have loaded for anyone I've
sent links too. I think it had to do with monkey patching FlexSprite but
I've removed that a few days ago and I have reports it's loading. Only we
would care about the reasons why. :)

Anyway, here's what's new:
- Summary of changes in 1650 http://www.radii8.com/blog/?p=157
- Change log of version 1650 http://www.radii8.com/blog/?p=161
- Summary of changes in 1025 http://www.radii8.com/blog/?p=66
- Change log of 1025 http://www.radii8.com/blog/?p=136

The latest version is 2019 which is what is live now. I have *not* posted a
change log on this release just uploaded. So there are some new features
that aren't mentioned. I hope to post that soon.

I have two goals with this announcement. One is to coincide with the news of
4.10 if possible. That is to say that it might help Flex in general for
people to know there is a online design view that people can use to learn
a little more about Flex through the use of components, the ability to view
the generated MXML code from the view, to be able to set inline styles and
properties and see how they modification the design and to review the
documentation when working with those attributes. This is alpha demo but it
might get someone started.

The second reason is to ask for feedback on what you would find useful.
Don't lie. :) I would like to know if this addresses anyone's needs here.
It may be a better tool for designers. And in that case that's where I
should spend more energy. The way I'm designing it now is I'm writing it for
me. So, what does it need, what would be nice for it to have to make this
project easier. This answer changes based on the project.

This may be the first version that you can see the code tab in. Click the
code tab and you can see MXML, HTML and Android markup. The HTML markup has
feature allowing you to preview it. It doesn't use FlexJS but a simple MXML
to HTML converter. The obvious reason is that this is running in the browser
and FlexJS requires the compiler. A downloadable version might be able to
solve that.

A few milestones from now I'd like to have module support done. So you can
load in your own components, tools and panels, libraries and projects with
all of the application logic and then tie in and build the view *visually*.
That way you can use the best tools for the job and this compliment that.
And it would guarantee separation of concerns! :)

BTW I've been contemplating integrating Randori support since I have a basic
HTML conversion going.

Upcoming work includes theme switching, skinning, example loading, better
MXML to HTML and considering states support, style inheritance panel and
transitions panel.

Here is a link to the demo http://www.radii8.com/demo/. There's much more
information on the site.

FYI The HTML conversion has been tested in Firefox on Mac OS X only and is
guaranteed to have numerous bugs.

PS This is not using 4.10 yet but I hope to swap it in when 4.10 is
official.

Demo http://www.radii8.com/demo
Blog http://www.radii8.com/

Feedback can be sent directly to me as well.



RE: Radiate people, radiate...

2013-07-25 Thread Raj U. Shaikh
Awesome tool.


-Original Message-
From: Mark Line [mailto:markl...@gmail.com] 
Sent: Thursday, July 25, 2013 12:55 PM
To: users@flex.apache.org
Subject: RE: Radiate people, radiate...

I just checked this out, I really like it. A few times when I'm looking at
other peoples classes/views I've missed the design view.

Really like how the groups work



-Original Message-
From: Frédéric THOMAS [mailto:webdoubl...@hotmail.com] 
Sent: 25 July 2013 07:28
To: users@flex.apache.org
Subject: Re: Radiate people, radiate...

Great tool Jude :-)

-Message d'origine-
From: jude
Sent: Wednesday, July 24, 2013 7:19 PM
To: users@flex.apache.org
Subject: Radiate people, radiate... 

So here's an update on the Radiate (radii8) project. I've uploaded a new
demo, with major changes. This one should load now. I've found out that none
of the versions posted from January until now have loaded for anyone I've
sent links too. I think it had to do with monkey patching FlexSprite but
I've removed that a few days ago and I have reports it's loading. Only we
would care about the reasons why. :)

Anyway, here's what's new:
- Summary of changes in 1650 http://www.radii8.com/blog/?p=157
- Change log of version 1650 http://www.radii8.com/blog/?p=161
- Summary of changes in 1025 http://www.radii8.com/blog/?p=66
- Change log of 1025 http://www.radii8.com/blog/?p=136

The latest version is 2019 which is what is live now. I have *not* posted a
change log on this release just uploaded. So there are some new features
that aren't mentioned. I hope to post that soon.

I have two goals with this announcement. One is to coincide with the news of
4.10 if possible. That is to say that it might help Flex in general for
people to know there is a online design view that people can use to learn
a little more about Flex through the use of components, the ability to view
the generated MXML code from the view, to be able to set inline styles and
properties and see how they modification the design and to review the
documentation when working with those attributes. This is alpha demo but it
might get someone started.

The second reason is to ask for feedback on what you would find useful.
Don't lie. :) I would like to know if this addresses anyone's needs here.
It may be a better tool for designers. And in that case that's where I
should spend more energy. The way I'm designing it now is I'm writing it for
me. So, what does it need, what would be nice for it to have to make this
project easier. This answer changes based on the project.

This may be the first version that you can see the code tab in. Click the
code tab and you can see MXML, HTML and Android markup. The HTML markup has
feature allowing you to preview it. It doesn't use FlexJS but a simple MXML
to HTML converter. The obvious reason is that this is running in the browser
and FlexJS requires the compiler. A downloadable version might be able to
solve that.

A few milestones from now I'd like to have module support done. So you can
load in your own components, tools and panels, libraries and projects with
all of the application logic and then tie in and build the view *visually*.
That way you can use the best tools for the job and this compliment that.
And it would guarantee separation of concerns! :)

BTW I've been contemplating integrating Randori support since I have a basic
HTML conversion going.

Upcoming work includes theme switching, skinning, example loading, better
MXML to HTML and considering states support, style inheritance panel and
transitions panel.

Here is a link to the demo http://www.radii8.com/demo/. There's much more
information on the site.

FYI The HTML conversion has been tested in Firefox on Mac OS X only and is
guaranteed to have numerous bugs.

PS This is not using 4.10 yet but I hope to swap it in when 4.10 is
official.

Demo http://www.radii8.com/demo
Blog http://www.radii8.com/

Feedback can be sent directly to me as well.

MASTEK LTD.
In the US, we're called MAJESCOMASTEK

~~
Opinions expressed in this e-mail are those of the individual and not that of 
Mastek Limited, unless specifically indicated to that effect. Mastek Limited 
does not accept any responsibility or liability for it. This e-mail and 
attachments (if any) transmitted with it are confidential and/or privileged and 
solely for the use of the intended person or entity to which it is addressed. 
Any review, re-transmission, dissemination or other use of or taking of any 
action in reliance upon this information by persons or entities other than the 
intended recipient is prohibited. This e-mail and its attachments have been 
scanned for the presence of computer viruses. It is the responsibility of the 
recipient to run the virus check on e-mails and attachments before opening 
them. If you have received this e-mail in error, kindly delete this e-mail from 
desktop and 

Re: Radiate people, radiate...

2013-07-25 Thread Scott Matheson
Hum.. Must be me but I can not work out what this project does

Sales and marketing has a value



On 7/25/13 8:25 AM, Mark Line markl...@gmail.com wrote:

I just checked this out, I really like it. A few times when I'm looking at
other peoples classes/views I've missed the design view.

Really like how the groups work



-Original Message-
From: Frédéric THOMAS [mailto:webdoubl...@hotmail.com]
Sent: 25 July 2013 07:28
To: users@flex.apache.org
Subject: Re: Radiate people, radiate...

Great tool Jude :-)

-Message d'origine-
From: jude
Sent: Wednesday, July 24, 2013 7:19 PM
To: users@flex.apache.org
Subject: Radiate people, radiate...

So here's an update on the Radiate (radii8) project. I've uploaded a new
demo, with major changes. This one should load now. I've found out that
none
of the versions posted from January until now have loaded for anyone I've
sent links too. I think it had to do with monkey patching FlexSprite but
I've removed that a few days ago and I have reports it's loading. Only we
would care about the reasons why. :)

Anyway, here's what's new:
- Summary of changes in 1650 http://www.radii8.com/blog/?p=157
- Change log of version 1650 http://www.radii8.com/blog/?p=161
- Summary of changes in 1025 http://www.radii8.com/blog/?p=66
- Change log of 1025 http://www.radii8.com/blog/?p=136

The latest version is 2019 which is what is live now. I have *not* posted
a
change log on this release just uploaded. So there are some new features
that aren't mentioned. I hope to post that soon.

I have two goals with this announcement. One is to coincide with the news
of
4.10 if possible. That is to say that it might help Flex in general for
people to know there is a online design view that people can use to
learn
a little more about Flex through the use of components, the ability to
view
the generated MXML code from the view, to be able to set inline styles and
properties and see how they modification the design and to review the
documentation when working with those attributes. This is alpha demo but
it
might get someone started.

The second reason is to ask for feedback on what you would find useful.
Don't lie. :) I would like to know if this addresses anyone's needs here.
It may be a better tool for designers. And in that case that's where I
should spend more energy. The way I'm designing it now is I'm writing it
for
me. So, what does it need, what would be nice for it to have to make this
project easier. This answer changes based on the project.

This may be the first version that you can see the code tab in. Click the
code tab and you can see MXML, HTML and Android markup. The HTML markup
has
feature allowing you to preview it. It doesn't use FlexJS but a simple
MXML
to HTML converter. The obvious reason is that this is running in the
browser
and FlexJS requires the compiler. A downloadable version might be able to
solve that.

A few milestones from now I'd like to have module support done. So you can
load in your own components, tools and panels, libraries and projects with
all of the application logic and then tie in and build the view
*visually*.
That way you can use the best tools for the job and this compliment that.
And it would guarantee separation of concerns! :)

BTW I've been contemplating integrating Randori support since I have a
basic
HTML conversion going.

Upcoming work includes theme switching, skinning, example loading, better
MXML to HTML and considering states support, style inheritance panel and
transitions panel.

Here is a link to the demo http://www.radii8.com/demo/. There's much
more
information on the site.

FYI The HTML conversion has been tested in Firefox on Mac OS X only and is
guaranteed to have numerous bugs.

PS This is not using 4.10 yet but I hope to swap it in when 4.10 is
official.

Demo http://www.radii8.com/demo
Blog http://www.radii8.com/

Feedback can be sent directly to me as well.





Disclaimer: This electronic mail and any attachments are confidential and may 
be privileged. If you are not the intended recipient, please notify the sender 
immediately by replying to this email, and destroy all copies of this email and 
any attachments. Thank you.


RE: Radiate people, radiate...

2013-07-25 Thread Devesh Mishra
No words to say after looking what you have done. Excellent !

-Original Message-
From: Scott Matheson [mailto:smathe...@intralinks.com] 
Sent: 25 July 2013 14:57
To: users@flex.apache.org
Subject: Re: Radiate people, radiate...

Hum.. Must be me but I can not work out what this project does

Sales and marketing has a value



On 7/25/13 8:25 AM, Mark Line markl...@gmail.com wrote:

I just checked this out, I really like it. A few times when I'm looking at
other peoples classes/views I've missed the design view.

Really like how the groups work



-Original Message-
From: Frédéric THOMAS [mailto:webdoubl...@hotmail.com]
Sent: 25 July 2013 07:28
To: users@flex.apache.org
Subject: Re: Radiate people, radiate...

Great tool Jude :-)

-Message d'origine-
From: jude
Sent: Wednesday, July 24, 2013 7:19 PM
To: users@flex.apache.org
Subject: Radiate people, radiate...

So here's an update on the Radiate (radii8) project. I've uploaded a new
demo, with major changes. This one should load now. I've found out that
none
of the versions posted from January until now have loaded for anyone I've
sent links too. I think it had to do with monkey patching FlexSprite but
I've removed that a few days ago and I have reports it's loading. Only we
would care about the reasons why. :)

Anyway, here's what's new:
- Summary of changes in 1650 http://www.radii8.com/blog/?p=157
- Change log of version 1650 http://www.radii8.com/blog/?p=161
- Summary of changes in 1025 http://www.radii8.com/blog/?p=66
- Change log of 1025 http://www.radii8.com/blog/?p=136

The latest version is 2019 which is what is live now. I have *not* posted
a
change log on this release just uploaded. So there are some new features
that aren't mentioned. I hope to post that soon.

I have two goals with this announcement. One is to coincide with the news
of
4.10 if possible. That is to say that it might help Flex in general for
people to know there is a online design view that people can use to
learn
a little more about Flex through the use of components, the ability to
view
the generated MXML code from the view, to be able to set inline styles and
properties and see how they modification the design and to review the
documentation when working with those attributes. This is alpha demo but
it
might get someone started.

The second reason is to ask for feedback on what you would find useful.
Don't lie. :) I would like to know if this addresses anyone's needs here.
It may be a better tool for designers. And in that case that's where I
should spend more energy. The way I'm designing it now is I'm writing it
for
me. So, what does it need, what would be nice for it to have to make this
project easier. This answer changes based on the project.

This may be the first version that you can see the code tab in. Click the
code tab and you can see MXML, HTML and Android markup. The HTML markup
has
feature allowing you to preview it. It doesn't use FlexJS but a simple
MXML
to HTML converter. The obvious reason is that this is running in the
browser
and FlexJS requires the compiler. A downloadable version might be able to
solve that.

A few milestones from now I'd like to have module support done. So you can
load in your own components, tools and panels, libraries and projects with
all of the application logic and then tie in and build the view
*visually*.
That way you can use the best tools for the job and this compliment that.
And it would guarantee separation of concerns! :)

BTW I've been contemplating integrating Randori support since I have a
basic
HTML conversion going.

Upcoming work includes theme switching, skinning, example loading, better
MXML to HTML and considering states support, style inheritance panel and
transitions panel.

Here is a link to the demo http://www.radii8.com/demo/. There's much
more
information on the site.

FYI The HTML conversion has been tested in Firefox on Mac OS X only and is
guaranteed to have numerous bugs.

PS This is not using 4.10 yet but I hope to swap it in when 4.10 is
official.

Demo http://www.radii8.com/demo
Blog http://www.radii8.com/

Feedback can be sent directly to me as well.





Disclaimer: This electronic mail and any attachments are confidential and may 
be privileged. If you are not the intended recipient, please notify the sender 
immediately by replying to this email, and destroy all copies of this email and 
any attachments. Thank you.
MASTEK LTD.
In the US, we're called MAJESCOMASTEK

~~
Opinions expressed in this e-mail are those of the individual and not that of 
Mastek Limited, unless specifically indicated to that effect. Mastek Limited 
does not accept any responsibility or liability for it. This e-mail and 
attachments (if any) transmitted with it are confidential and/or privileged and 
solely for the use of the intended person or entity to which it 

Re: Building Spark DataGrid dynamically

2013-07-25 Thread Oleg Konovalov
Full exception trace with numbers:

TypeError: Error #1009: Cannot access a property or method of a null object
reference.

  at
spark.components.gridClasses::GridLayout/updateTypicalCellSizes()[E:\
dev\4.5.1\frameworks\projects\spark\src\spark\components\gridClasses\G
ridLayout.as:867]

  at
spark.components.gridClasses::GridLayout/measure()[E:\dev\4.5.1\frame
works\projects\spark\src\spark\components\gridClasses\GridLayout.as:44 4]

  at
spark.components.supportClasses::GroupBase/measure()[E:\dev\4.5.1\fra
meworks\projects\spark\src\spark\components\supportClasses\GroupBase.a
s:1148]

  at
mx.core::UIComponent/measureSizes()[E:\dev\4.5.1\frameworks\projects\
framework\src\mx\core\UIComponent.as:8496]

  at
mx.core::UIComponent/validateSize()[E:\dev\4.5.1\frameworks\projects\
framework\src\mx\core\UIComponent.as:8420]

  at
spark.components::Group/validateSize()[E:\dev\4.5.1\frameworks\projec
ts\spark\src\spark\components\Group.as:1012]

  at
mx.managers::LayoutManager/validateSize()[E:\dev\4.5.1\frameworks\pro
jects\framework\src\mx\managers\LayoutManager.as:665]

  at
mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.5.1\frame
works\projects\framework\src\mx\managers\LayoutManager.as:816]

  at
mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.5
.1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1180 ]


On Thu, Jul 25, 2013 at 12:17 AM, OmPrakash Muppirala
bigosma...@gmail.comwrote:

 Moving topic to users list.

 Oleg, you will get a better response in this forum for questions like
 these.  Please make sure you are subscribed to users@flex.apache.org to
 see further responses.  You could do so by sending an email to
 users-subscr...@flex.apache.org.

 Thanks,
 Om


 On Wed, Jul 24, 2013 at 9:12 PM, Oleg Konovalov oleg...@gmail.com wrote:

 Hi,

 I am building a screen with one Static DataGrid and one Dynamic (data
 comes
 through SOAP
 and I do not know the number of columns or their names in advance).
 I also get a list of column names in order from another SOAP call.

 That Dynamic DataGrid works (converting data from Vector of Objects to
 ArrayList of Columns).

 I still have a few problems:


 1) I need to implement Clear of that Dynamic table.

 No matter what I tried:

 arrayColl=null;

 arrayColl.removeAll();

 arrayColl = new ArrayCollection();

 myDG.dataProvider=null;

 myDG.dataProvider=new ArrayCollection();

 I am getting NULL reference exception coming from some system code:if
 (cell.visible)...   where cell is null.

 How can I clear that dynamic DG ?



 full exception stack:

 TypeError: Error #1009: Cannot access a property or method of a null
 object
 reference.
 at spark.components.gridClasses::GridLayout/updateTypicalCellSizes()
 at spark.components.gridClasses::GridLayout/measure()
 at spark.components.supportClasses::GroupBase/measure()
 at mx.core::UIComponent/measureSizes()
 at mx.core::UIComponent/validateSize()
 at spark.components::Group/validateSize()
 at mx.managers::LayoutManager/validateSize()
 at mx.managers::LayoutManager/doPhasedInstantiation()
 at mx.managers::LayoutManager/doPhasedInstantiationCallback()






















 2)  It seems that by default that Dynamic DG puts columns in alphabetical

 order, which is of course not what I need.

 Any way to disable that or fix somehow?




 3) I need to show 2 DGs on the screen, and the second of them is Dynamic,

 and allow user to resize them vertically to be able to see more in static
 or dynamic DG.

 I put them in VDividedBox (and set height of both DG and container to
 100%).

 It split the screen vertically 50:50, but still there is no draggable in
 between,

 so can't resize.



 Any help is very appreciated.




 TIA,

 Oleg.





-- 
Thank you,
Oleg.


Re: Building Spark DataGrid dynamically

2013-07-25 Thread Martin Miko
Could you post a code sample? I've seen many strange things, but you must
be doing something really funny there.


On Thu, Jul 25, 2013 at 1:39 PM, Oleg Konovalov oleg...@gmail.com wrote:

 Full exception trace with numbers:

 TypeError: Error #1009: Cannot access a property or method of a null object
 reference.

   at
 spark.components.gridClasses::GridLayout/updateTypicalCellSizes()[E:\
 dev\4.5.1\frameworks\projects\spark\src\spark\components\gridClasses\G
 ridLayout.as:867]

   at
 spark.components.gridClasses::GridLayout/measure()[E:\dev\4.5.1\frame
 works\projects\spark\src\spark\components\gridClasses\GridLayout.as:44 4]

   at
 spark.components.supportClasses::GroupBase/measure()[E:\dev\4.5.1\fra
 meworks\projects\spark\src\spark\components\supportClasses\GroupBase.a
 s:1148]

   at
 mx.core::UIComponent/measureSizes()[E:\dev\4.5.1\frameworks\projects\
 framework\src\mx\core\UIComponent.as:8496]

   at
 mx.core::UIComponent/validateSize()[E:\dev\4.5.1\frameworks\projects\
 framework\src\mx\core\UIComponent.as:8420]

   at
 spark.components::Group/validateSize()[E:\dev\4.5.1\frameworks\projec
 ts\spark\src\spark\components\Group.as:1012]

   at
 mx.managers::LayoutManager/validateSize()[E:\dev\4.5.1\frameworks\pro
 jects\framework\src\mx\managers\LayoutManager.as:665]

   at
 mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.5.1\frame
 works\projects\framework\src\mx\managers\LayoutManager.as:816]

   at
 mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.5
 .1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1180 ]


 On Thu, Jul 25, 2013 at 12:17 AM, OmPrakash Muppirala
 bigosma...@gmail.comwrote:

  Moving topic to users list.
 
  Oleg, you will get a better response in this forum for questions like
  these.  Please make sure you are subscribed to users@flex.apache.org to
  see further responses.  You could do so by sending an email to
  users-subscr...@flex.apache.org.
 
  Thanks,
  Om
 
 
  On Wed, Jul 24, 2013 at 9:12 PM, Oleg Konovalov oleg...@gmail.com
 wrote:
 
  Hi,
 
  I am building a screen with one Static DataGrid and one Dynamic (data
  comes
  through SOAP
  and I do not know the number of columns or their names in advance).
  I also get a list of column names in order from another SOAP call.
 
  That Dynamic DataGrid works (converting data from Vector of Objects to
  ArrayList of Columns).
 
  I still have a few problems:
 
 
  1) I need to implement Clear of that Dynamic table.
 
  No matter what I tried:
 
  arrayColl=null;
 
  arrayColl.removeAll();
 
  arrayColl = new ArrayCollection();
 
  myDG.dataProvider=null;
 
  myDG.dataProvider=new ArrayCollection();
 
  I am getting NULL reference exception coming from some system code:
  if
  (cell.visible)...   where cell is null.
 
  How can I clear that dynamic DG ?
 
 
 
  full exception stack:
 
  TypeError: Error #1009: Cannot access a property or method of a null
  object
  reference.
  at spark.components.gridClasses::GridLayout/updateTypicalCellSizes()
  at spark.components.gridClasses::GridLayout/measure()
  at spark.components.supportClasses::GroupBase/measure()
  at mx.core::UIComponent/measureSizes()
  at mx.core::UIComponent/validateSize()
  at spark.components::Group/validateSize()
  at mx.managers::LayoutManager/validateSize()
  at mx.managers::LayoutManager/doPhasedInstantiation()
  at mx.managers::LayoutManager/doPhasedInstantiationCallback()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  2)  It seems that by default that Dynamic DG puts columns in
 alphabetical
 
  order, which is of course not what I need.
 
  Any way to disable that or fix somehow?
 
 
 
 
  3) I need to show 2 DGs on the screen, and the second of them is
 Dynamic,
 
  and allow user to resize them vertically to be able to see more in
 static
  or dynamic DG.
 
  I put them in VDividedBox (and set height of both DG and container to
  100%).
 
  It split the screen vertically 50:50, but still there is no draggable in
  between,
 
  so can't resize.
 
 
 
  Any help is very appreciated.
 
 
 
 
  TIA,
 
  Oleg.
 
 
 


 --
 Thank you,
 Oleg.




-- 
Martin Miko


ToggleButton and state images

2013-07-25 Thread mark goldin
How can I provide different images for ToggleButton's states without
modifying its skin (if possible)?

Thanks


Re: ToggleButton and state images

2013-07-25 Thread Martin Miko
If I recall it correctly use the icon style [1] in mxml it should be
something similar to

stateName.icon=your_desired_icon

[1]
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/supportClasses/ButtonBase.html#style:icon


On Thu, Jul 25, 2013 at 5:01 PM, mark goldin markzolo...@gmail.com wrote:

 How can I provide different images for ToggleButton's states without
 modifying its skin (if possible)?

 Thanks




-- 
Martin Miko


Re: ToggleButton and state images

2013-07-25 Thread Martin Miko
Edit to the example:

it should be the otherway around, correct notation is:

icon.styleName=your_desired_icon

sorry for the confusion


On Thu, Jul 25, 2013 at 5:06 PM, Martin Miko marrtinm...@gmail.com wrote:

 If I recall it correctly use the icon style [1] in mxml it should be
 something similar to

 stateName.icon=your_desired_icon

 [1]
 http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/supportClasses/ButtonBase.html#style:icon


 On Thu, Jul 25, 2013 at 5:01 PM, mark goldin markzolo...@gmail.comwrote:

 How can I provide different images for ToggleButton's states without
 modifying its skin (if possible)?

 Thanks




 --
 Martin Miko




-- 
Martin Miko


Re: ToggleButton and state images

2013-07-25 Thread mark goldin
In case of a ToggleButton what states would I use? selected and normal? Or
I need to creates states first?


On Thu, Jul 25, 2013 at 10:08 AM, Martin Miko marrtinm...@gmail.com wrote:

 Edit to the example:

 it should be the otherway around, correct notation is:

 icon.styleName=your_desired_icon

 sorry for the confusion


 On Thu, Jul 25, 2013 at 5:06 PM, Martin Miko marrtinm...@gmail.com
 wrote:

  If I recall it correctly use the icon style [1] in mxml it should be
  something similar to
 
  stateName.icon=your_desired_icon
 
  [1]
 
 http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/supportClasses/ButtonBase.html#style:icon
 
 
  On Thu, Jul 25, 2013 at 5:01 PM, mark goldin markzolo...@gmail.com
 wrote:
 
  How can I provide different images for ToggleButton's states without
  modifying its skin (if possible)?
 
  Thanks
 
 
 
 
  --
  Martin Miko
 



 --
 Martin Miko



Re: ToggleButton and state images

2013-07-25 Thread Martin Miko
In this case you have the states predefined in the component and I would
use down and up states.


On Thu, Jul 25, 2013 at 5:11 PM, mark goldin markzolo...@gmail.com wrote:

 In case of a ToggleButton what states would I use? selected and normal? Or
 I need to creates states first?


 On Thu, Jul 25, 2013 at 10:08 AM, Martin Miko marrtinm...@gmail.com
 wrote:

  Edit to the example:
 
  it should be the otherway around, correct notation is:
 
  icon.styleName=your_desired_icon
 
  sorry for the confusion
 
 
  On Thu, Jul 25, 2013 at 5:06 PM, Martin Miko marrtinm...@gmail.com
  wrote:
 
   If I recall it correctly use the icon style [1] in mxml it should be
   something similar to
  
   stateName.icon=your_desired_icon
  
   [1]
  
 
 http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/supportClasses/ButtonBase.html#style:icon
  
  
   On Thu, Jul 25, 2013 at 5:01 PM, mark goldin markzolo...@gmail.com
  wrote:
  
   How can I provide different images for ToggleButton's states without
   modifying its skin (if possible)?
  
   Thanks
  
  
  
  
   --
   Martin Miko
  
 
 
 
  --
  Martin Miko
 




-- 
Martin Miko


Re: ToggleButton and state images

2013-07-25 Thread Martin Miko
I kinda accidentally sent it before I finished.

I would use those two to define the icon depicting that nothing is
selected, and downAndSelected + upAndSelected to define the selected
icon. Plus you might need to fix the icon for other states see [1].

[1]
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/supportClasses/ToggleButtonBase.html#SkinStateSummary



On Thu, Jul 25, 2013 at 5:19 PM, Martin Miko marrtinm...@gmail.com wrote:

 In this case you have the states predefined in the component and I would
 use down and up states.


 On Thu, Jul 25, 2013 at 5:11 PM, mark goldin markzolo...@gmail.comwrote:

 In case of a ToggleButton what states would I use? selected and normal? Or
 I need to creates states first?


 On Thu, Jul 25, 2013 at 10:08 AM, Martin Miko marrtinm...@gmail.com
 wrote:

  Edit to the example:
 
  it should be the otherway around, correct notation is:
 
  icon.styleName=your_desired_icon
 
  sorry for the confusion
 
 
  On Thu, Jul 25, 2013 at 5:06 PM, Martin Miko marrtinm...@gmail.com
  wrote:
 
   If I recall it correctly use the icon style [1] in mxml it should be
   something similar to
  
   stateName.icon=your_desired_icon
  
   [1]
  
 
 http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/supportClasses/ButtonBase.html#style:icon
  
  
   On Thu, Jul 25, 2013 at 5:01 PM, mark goldin markzolo...@gmail.com
  wrote:
  
   How can I provide different images for ToggleButton's states without
   modifying its skin (if possible)?
  
   Thanks
  
  
  
  
   --
   Martin Miko
  
 
 
 
  --
  Martin Miko
 




 --
 Martin Miko




-- 
Martin Miko


AW: Radiate people, radiate...

2013-07-25 Thread Krüger , Olaf

Hum.. Must be me but I can not work out what this project does
Me to, but the GUI is excellent with very nice features ;-)

Olaf





Edscha Holding GmbH
Sitz der Gesellschaft: Remscheid
Registergericht: Wuppertal, HRB 22889
Geschäftsführung: Francisco J. Riberas Mera, Juan Maria Riberas Mera, Francisco 
López Peña, David Vázquez Pascual, Torsten Greiner, Mario Eikelmann, Hans-Peter 
Schulz und Volker Weiss

Vertretungsberechtigt sind nur Geschäftsführer und schriftlich Bevollmächtigte.

Solely Managing Directors or employees with a written proxy have got power of 
representation.

Der Inhalt dieser E-Mail einschließlich etwaiger beigefügter Dateien ist 
vertraulich und nur für den Empfänger bestimmt. Sollten Sie nicht der 
bestimmungsgemäße Empfänger sein, ist Ihnen jegliche Offenlegung, 
Vervielfältigung, Weitergabe oder Nutzung des Inhalts untersagt. Bitte 
informieren Sie in diesem Fall unverzüglich den Absender und löschen Sie die 
E-Mail einschließlich etwaiger beigefügter Dateien von Ihrem System. Vielen 
Dank.

The contents of this e-mail including any attachments are confidential and may 
be legally privileged. If you are not the intended recipient, any disclosure, 
copying, distribution or use of its contents is strictly prohibited, and you 
should please notify the sender immediately and then delete this e-mail 
including any attachments from your system. Thank you.


ensureCellIsVisible for real

2013-07-25 Thread mark goldin
I am working on text search in DataGrid. When text instances found I am
scrolling it to the first instance using ensureCellIsVisible. Works fine as
long as the whole DG is visible, But if a part of it is underneath of the
screen which has a vertical scroll bar the instances of found text are not
visible. I would need to scroll thee screen to position the DG in he
visible area. Any idea how to architect this task?

Thanks


Re: ensureCellIsVisible for real

2013-07-25 Thread mark goldin
Is there a way to position a scroller to its bottom without figuring out
what a verticalScrollPosition value could have been?


On Thu, Jul 25, 2013 at 11:52 AM, Alex Harui aha...@adobe.com wrote:

 If that screen is in a scroller, in theory you just set
 verticalScrollPosition of the scroller to the DataGrid's y value to snap
 the DG to the top of the viewport.

 On 7/25/13 9:47 AM, mark goldin markzolo...@gmail.com wrote:

 I am working on text search in DataGrid. When text instances found I am
 scrolling it to the first instance using ensureCellIsVisible. Works fine
 as
 long as the whole DG is visible, But if a part of it is underneath of the
 screen which has a vertical scroll bar the instances of found text are not
 visible. I would need to scroll thee screen to position the DG in he
 visible area. Any idea how to architect this task?
 
 Thanks




Re: ensureCellIsVisible for real

2013-07-25 Thread Alex Harui
maxVerticalScrollPosition

On 7/25/13 9:55 AM, mark goldin markzolo...@gmail.com wrote:

Is there a way to position a scroller to its bottom without figuring out
what a verticalScrollPosition value could have been?


On Thu, Jul 25, 2013 at 11:52 AM, Alex Harui aha...@adobe.com wrote:

 If that screen is in a scroller, in theory you just set
 verticalScrollPosition of the scroller to the DataGrid's y value to snap
 the DG to the top of the viewport.

 On 7/25/13 9:47 AM, mark goldin markzolo...@gmail.com wrote:

 I am working on text search in DataGrid. When text instances found I am
 scrolling it to the first instance using ensureCellIsVisible. Works
fine
 as
 long as the whole DG is visible, But if a part of it is underneath of
the
 screen which has a vertical scroll bar the instances of found text are
not
 visible. I would need to scroll thee screen to position the DG in he
 visible area. Any idea how to architect this task?
 
 Thanks





Re: ensureCellIsVisible for real

2013-07-25 Thread mark goldin
Which control maxVerticalScrollPosition property is of? A scroller?


On Thu, Jul 25, 2013 at 12:27 PM, Alex Harui aha...@adobe.com wrote:

 maxVerticalScrollPosition

 On 7/25/13 9:55 AM, mark goldin markzolo...@gmail.com wrote:

 Is there a way to position a scroller to its bottom without figuring out
 what a verticalScrollPosition value could have been?
 
 
 On Thu, Jul 25, 2013 at 11:52 AM, Alex Harui aha...@adobe.com wrote:
 
  If that screen is in a scroller, in theory you just set
  verticalScrollPosition of the scroller to the DataGrid's y value to snap
  the DG to the top of the viewport.
 
  On 7/25/13 9:47 AM, mark goldin markzolo...@gmail.com wrote:
 
  I am working on text search in DataGrid. When text instances found I am
  scrolling it to the first instance using ensureCellIsVisible. Works
 fine
  as
  long as the whole DG is visible, But if a part of it is underneath of
 the
  screen which has a vertical scroll bar the instances of found text are
 not
  visible. I would need to scroll thee screen to position the DG in he
  visible area. Any idea how to architect this task?
  
  Thanks
 
 




Re: Building Spark DataGrid dynamically

2013-07-25 Thread Oleg Konovalov
No, it is Clients code, I can't post it. I am getting data dynamically via
SOAP, convert it to Vector of Objects, then to ArrayCollection, and pass it
to Spark DG dataprovider. Datagrid is declared in MXML without any columns.
That's it. But as I said, can't clear that AC. Any idea how to avoid that
Null Reference?
On Jul 25, 2013 8:16 AM, Martin Miko marrtinm...@gmail.com wrote:

 Could you post a code sample? I've seen many strange things, but you must
 be doing something really funny there.


 On Thu, Jul 25, 2013 at 1:39 PM, Oleg Konovalov oleg...@gmail.com wrote:

  Full exception trace with numbers:
 
  TypeError: Error #1009: Cannot access a property or method of a null
 object
  reference.
 
at
  spark.components.gridClasses::GridLayout/updateTypicalCellSizes()[E:\
  dev\4.5.1\frameworks\projects\spark\src\spark\components\gridClasses\G
  ridLayout.as:867]
 
at
  spark.components.gridClasses::GridLayout/measure()[E:\dev\4.5.1\frame
  works\projects\spark\src\spark\components\gridClasses\GridLayout.as:44 4]
 
at
  spark.components.supportClasses::GroupBase/measure()[E:\dev\4.5.1\fra
  meworks\projects\spark\src\spark\components\supportClasses\GroupBase.a
  s:1148]
 
at
  mx.core::UIComponent/measureSizes()[E:\dev\4.5.1\frameworks\projects\
  framework\src\mx\core\UIComponent.as:8496]
 
at
  mx.core::UIComponent/validateSize()[E:\dev\4.5.1\frameworks\projects\
  framework\src\mx\core\UIComponent.as:8420]
 
at
  spark.components::Group/validateSize()[E:\dev\4.5.1\frameworks\projec
  ts\spark\src\spark\components\Group.as:1012]
 
at
  mx.managers::LayoutManager/validateSize()[E:\dev\4.5.1\frameworks\pro
  jects\framework\src\mx\managers\LayoutManager.as:665]
 
at
  mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.5.1\frame
  works\projects\framework\src\mx\managers\LayoutManager.as:816]
 
at
  mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.5
  .1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1180 ]
 
 
  On Thu, Jul 25, 2013 at 12:17 AM, OmPrakash Muppirala
  bigosma...@gmail.comwrote:
 
   Moving topic to users list.
  
   Oleg, you will get a better response in this forum for questions like
   these.  Please make sure you are subscribed to users@flex.apache.orgto
   see further responses.  You could do so by sending an email to
   users-subscr...@flex.apache.org.
  
   Thanks,
   Om
  
  
   On Wed, Jul 24, 2013 at 9:12 PM, Oleg Konovalov oleg...@gmail.com
  wrote:
  
   Hi,
  
   I am building a screen with one Static DataGrid and one Dynamic (data
   comes
   through SOAP
   and I do not know the number of columns or their names in advance).
   I also get a list of column names in order from another SOAP call.
  
   That Dynamic DataGrid works (converting data from Vector of Objects to
   ArrayList of Columns).
  
   I still have a few problems:
  
  
   1) I need to implement Clear of that Dynamic table.
  
   No matter what I tried:
  
   arrayColl=null;
  
   arrayColl.removeAll();
  
   arrayColl = new ArrayCollection();
  
   myDG.dataProvider=null;
  
   myDG.dataProvider=new ArrayCollection();
  
   I am getting NULL reference exception coming from some system code:
   if
   (cell.visible)...   where cell is null.
  
   How can I clear that dynamic DG ?
  
  
  
   full exception stack:
  
   TypeError: Error #1009: Cannot access a property or method of a null
   object
   reference.
   at spark.components.gridClasses::GridLayout/updateTypicalCellSizes()
   at spark.components.gridClasses::GridLayout/measure()
   at spark.components.supportClasses::GroupBase/measure()
   at mx.core::UIComponent/measureSizes()
   at mx.core::UIComponent/validateSize()
   at spark.components::Group/validateSize()
   at mx.managers::LayoutManager/validateSize()
   at mx.managers::LayoutManager/doPhasedInstantiation()
   at mx.managers::LayoutManager/doPhasedInstantiationCallback()
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
   2)  It seems that by default that Dynamic DG puts columns in
  alphabetical
  
   order, which is of course not what I need.
  
   Any way to disable that or fix somehow?
  
  
  
  
   3) I need to show 2 DGs on the screen, and the second of them is
  Dynamic,
  
   and allow user to resize them vertically to be able to see more in
  static
   or dynamic DG.
  
   I put them in VDividedBox (and set height of both DG and container to
   100%).
  
   It split the screen vertically 50:50, but still there is no draggable
 in
   between,
  
   so can't resize.
  
  
  
   Any help is very appreciated.
  
  
  
  
   TIA,
  
   Oleg.
  
  
  
 
 
  --
  Thank you,
  Oleg.
 



 --
 Martin Miko



RE: Building Spark DataGrid dynamically

2013-07-25 Thread Maurice Amsellem
Here is a possible workaround:

Instead of clearing the DG (which anyway wouldn't look very nice), what about 
setting it to one single empty column ( that is : GridColumn headerText=   
and dataField=_nonExistingField_ ) .  
That way, it still looks like a datagrid, although empty and it probably won't 
break.

What do you think?

Maurice 


-Message d'origine-
De : Oleg Konovalov [mailto:oleg...@gmail.com] 
Envoyé : jeudi 25 juillet 2013 20:12
À : users@flex.apache.org
Objet : Re: Building Spark DataGrid dynamically

No, it is Clients code, I can't post it. I am getting data dynamically via 
SOAP, convert it to Vector of Objects, then to ArrayCollection, and pass it to 
Spark DG dataprovider. Datagrid is declared in MXML without any columns.
That's it. But as I said, can't clear that AC. Any idea how to avoid that Null 
Reference?
On Jul 25, 2013 8:16 AM, Martin Miko marrtinm...@gmail.com wrote:

 Could you post a code sample? I've seen many strange things, but you 
 must be doing something really funny there.


 On Thu, Jul 25, 2013 at 1:39 PM, Oleg Konovalov oleg...@gmail.com wrote:

  Full exception trace with numbers:
 
  TypeError: Error #1009: Cannot access a property or method of a null
 object
  reference.
 
at
  spark.components.gridClasses::GridLayout/updateTypicalCellSizes()[E:
  \ 
  dev\4.5.1\frameworks\projects\spark\src\spark\components\gridClasses
  \G
  ridLayout.as:867]
 
at
  spark.components.gridClasses::GridLayout/measure()[E:\dev\4.5.1\fram
  e
  works\projects\spark\src\spark\components\gridClasses\GridLayout.as:
  44 4]
 
at
  spark.components.supportClasses::GroupBase/measure()[E:\dev\4.5.1\fr
  a 
  meworks\projects\spark\src\spark\components\supportClasses\GroupBase
  .a
  s:1148]
 
at
  mx.core::UIComponent/measureSizes()[E:\dev\4.5.1\frameworks\projects
  \ framework\src\mx\core\UIComponent.as:8496]
 
at
  mx.core::UIComponent/validateSize()[E:\dev\4.5.1\frameworks\projects
  \ framework\src\mx\core\UIComponent.as:8420]
 
at
  spark.components::Group/validateSize()[E:\dev\4.5.1\frameworks\proje
  c ts\spark\src\spark\components\Group.as:1012]
 
at
  mx.managers::LayoutManager/validateSize()[E:\dev\4.5.1\frameworks\pr
  o jects\framework\src\mx\managers\LayoutManager.as:665]
 
at
  mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.5.1\fram
  e works\projects\framework\src\mx\managers\LayoutManager.as:816]
 
at
  mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.
  5
  .1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:11
  80 ]
 
 
  On Thu, Jul 25, 2013 at 12:17 AM, OmPrakash Muppirala
  bigosma...@gmail.comwrote:
 
   Moving topic to users list.
  
   Oleg, you will get a better response in this forum for questions 
   like these.  Please make sure you are subscribed to 
   users@flex.apache.orgto see further responses.  You could do so by 
   sending an email to users-subscr...@flex.apache.org.
  
   Thanks,
   Om
  
  
   On Wed, Jul 24, 2013 at 9:12 PM, Oleg Konovalov 
   oleg...@gmail.com
  wrote:
  
   Hi,
  
   I am building a screen with one Static DataGrid and one Dynamic 
   (data comes through SOAP and I do not know the number of columns 
   or their names in advance).
   I also get a list of column names in order from another SOAP call.
  
   That Dynamic DataGrid works (converting data from Vector of 
   Objects to ArrayList of Columns).
  
   I still have a few problems:
  
  
   1) I need to implement Clear of that Dynamic table.
  
   No matter what I tried:
  
   arrayColl=null;
  
   arrayColl.removeAll();
  
   arrayColl = new ArrayCollection();
  
   myDG.dataProvider=null;
  
   myDG.dataProvider=new ArrayCollection();
  
   I am getting NULL reference exception coming from some system code:
   if
   (cell.visible)...   where cell is null.
  
   How can I clear that dynamic DG ?
  
  
  
   full exception stack:
  
   TypeError: Error #1009: Cannot access a property or method of a 
   null object reference.
   at 
   spark.components.gridClasses::GridLayout/updateTypicalCellSizes()
   at spark.components.gridClasses::GridLayout/measure()
   at spark.components.supportClasses::GroupBase/measure()
   at mx.core::UIComponent/measureSizes()
   at mx.core::UIComponent/validateSize()
   at spark.components::Group/validateSize()
   at mx.managers::LayoutManager/validateSize()
   at mx.managers::LayoutManager/doPhasedInstantiation()
   at mx.managers::LayoutManager/doPhasedInstantiationCallback()
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
   2)  It seems that by default that Dynamic DG puts columns in
  alphabetical
  
   order, which is of course not what I need.
  
   Any way to disable that or fix somehow?
  
  
  
  
   3) I need to show 2 DGs on the screen, and the second of them is
  Dynamic,
  
   and allow user to resize them vertically to be able to see more 
   in
  static
 

Re: MVC framework

2013-07-25 Thread Carlos Velasco
In case you like PureMVC, take a look at Uriana, which is quite similar but
adds so many built-in libraries and automations.


2013/7/25 Krüger, Olaf okrue...@edscha.com

 Hi,
 until now I'm using PureMVC multicore with my Flex projects but it seems
 that PureMVC is an old steamer.
 Starting a new project I'd like to ask if anybody has experience with
 Robotlegs2 or mvcExpress.
 Or is there an other highly recommended MVC framework or is it currently
 the best way to use Flex only without any third party micro framework;-)

 Thanks
 Olaf

 

 Edscha Holding GmbH
 Sitz der Gesellschaft: Remscheid
 Registergericht: Wuppertal, HRB 22889
 Geschäftsführung: Francisco J. Riberas Mera, Juan Maria Riberas Mera,
 Francisco López Peña, David Vázquez Pascual, Torsten Greiner, Mario
 Eikelmann, Hans-Peter Schulz und Volker Weiss

 Vertretungsberechtigt sind nur Geschäftsführer und schriftlich
 Bevollmächtigte.

 Solely Managing Directors or employees with a written proxy have got power
 of representation.

 Der Inhalt dieser E-Mail einschließlich etwaiger beigefügter Dateien ist
 vertraulich und nur für den Empfänger bestimmt. Sollten Sie nicht der
 bestimmungsgemäße Empfänger sein, ist Ihnen jegliche Offenlegung,
 Vervielfältigung, Weitergabe oder Nutzung des Inhalts untersagt. Bitte
 informieren Sie in diesem Fall unverzüglich den Absender und löschen Sie
 die E-Mail einschließlich etwaiger beigefügter Dateien von Ihrem System.
 Vielen Dank.

 The contents of this e-mail including any attachments are confidential and
 may be legally privileged. If you are not the intended recipient, any
 disclosure, copying, distribution or use of its contents is strictly
 prohibited, and you should please notify the sender immediately and then
 delete this e-mail including any attachments from your system. Thank you.



Re: ensureCellIsVisible for real

2013-07-25 Thread Jesse Ward-Karet
http://lmgtfy.com/?q=maxVerticalScrollPosition+site%3Ahelp.adobe.com

On Jul 25, 2013, at 1:11 PM, mark goldin markzolo...@gmail.com wrote:

 I did, a scroller does not not have it, but scroller is what seems to be
 the correct target to play with.
 
 
 On Thu, Jul 25, 2013 at 3:08 PM, Alex Harui aha...@adobe.com wrote:
 
 Apparently nobody has this answer memorized so you'll have to look it up
 in the documentation.
 
 On 7/25/13 10:37 AM, mark goldin markzolo...@gmail.com wrote:
 
 Which control maxVerticalScrollPosition property is of? A scroller?
 
 
 On Thu, Jul 25, 2013 at 12:27 PM, Alex Harui aha...@adobe.com wrote:
 
 maxVerticalScrollPosition
 
 On 7/25/13 9:55 AM, mark goldin markzolo...@gmail.com wrote:
 
 Is there a way to position a scroller to its bottom without figuring
 out
 what a verticalScrollPosition value could have been?
 
 
 On Thu, Jul 25, 2013 at 11:52 AM, Alex Harui aha...@adobe.com wrote:
 
 If that screen is in a scroller, in theory you just set
 verticalScrollPosition of the scroller to the DataGrid's y value to
 snap
 the DG to the top of the viewport.
 
 On 7/25/13 9:47 AM, mark goldin markzolo...@gmail.com wrote:
 
 I am working on text search in DataGrid. When text instances found
 I am
 scrolling it to the first instance using ensureCellIsVisible. Works
 fine
 as
 long as the whole DG is visible, But if a part of it is underneath
 of
 the
 screen which has a vertical scroll bar the instances of found text
 are
 not
 visible. I would need to scroll thee screen to position the DG in he
 visible area. Any idea how to architect this task?
 
 Thanks
 
 
 
 
 
 



Re: MVC framework

2013-07-25 Thread Sean Thayne
RobotLegs is very very cool. I highly recommend it. It's minimal,
comprehensive, and scales well. It makes coding lots of fun!

~Sean

On Thu, Jul 25, 2013 at 2:33 PM, dude d...@atheist.com wrote:

 0. There is not 'the best' and you don't really need it, as Flex/AS3
 itself is already capable of MVC/MV(V)P itself.
 1. Tide (GraniteDS) - most complete solution replacing BlazeDS/LCDS.
 Tide is GraniteDS's IoC framework. I'd pick this for a new project. [1]
 2. Parsley (my favorite) - IMHO the best decoupling framework out there.
 It's great and has everything you need for MVC/MVP or IoC/DI. We love
 it. [2]
 3. Swiz - might be donated to Apache soon. Haven't used it myself in
 production, but gets recommended every now and then. [3]
 4. Some more here: http://www.spoon.as/ecosystem/application-frameworks/

 [1] http://www.graniteds.org/
 [2] http://www.spicefactory.org/parsley/
 [3] https://github.com/swiz/



Re: ensureCellIsVisible for real

2013-07-25 Thread mark goldin
Well, even that does not help because my question was how to set a scroller
to its bottom position. But the scroller does not have
maxHorizontalScrollPosition
property that would have a value to set its verticalScrollPosition to. My
screen is pretty complex. All I want as what a user is doing - scrolling it
all a way to the bottom. That's what I want to do in my code.


On Thu, Jul 25, 2013 at 3:20 PM, Jesse Ward-Karet j...@tanium.com wrote:

 http://lmgtfy.com/?q=maxVerticalScrollPosition+site%3Ahelp.adobe.com

 On Jul 25, 2013, at 1:11 PM, mark goldin markzolo...@gmail.com wrote:

  I did, a scroller does not not have it, but scroller is what seems to be
  the correct target to play with.
 
 
  On Thu, Jul 25, 2013 at 3:08 PM, Alex Harui aha...@adobe.com wrote:
 
  Apparently nobody has this answer memorized so you'll have to look it up
  in the documentation.
 
  On 7/25/13 10:37 AM, mark goldin markzolo...@gmail.com wrote:
 
  Which control maxVerticalScrollPosition property is of? A scroller?
 
 
  On Thu, Jul 25, 2013 at 12:27 PM, Alex Harui aha...@adobe.com wrote:
 
  maxVerticalScrollPosition
 
  On 7/25/13 9:55 AM, mark goldin markzolo...@gmail.com wrote:
 
  Is there a way to position a scroller to its bottom without figuring
  out
  what a verticalScrollPosition value could have been?
 
 
  On Thu, Jul 25, 2013 at 11:52 AM, Alex Harui aha...@adobe.com
 wrote:
 
  If that screen is in a scroller, in theory you just set
  verticalScrollPosition of the scroller to the DataGrid's y value to
  snap
  the DG to the top of the viewport.
 
  On 7/25/13 9:47 AM, mark goldin markzolo...@gmail.com wrote:
 
  I am working on text search in DataGrid. When text instances found
  I am
  scrolling it to the first instance using ensureCellIsVisible. Works
  fine
  as
  long as the whole DG is visible, But if a part of it is underneath
  of
  the
  screen which has a vertical scroll bar the instances of found text
  are
  not
  visible. I would need to scroll thee screen to position the DG in
 he
  visible area. Any idea how to architect this task?
 
  Thanks
 
 
 
 
 
 




Re: Building Spark DataGrid dynamically

2013-07-25 Thread Oleg Konovalov
Yes, it fixed that exception:   arrCol.source=new Array( {  : } );

Any suggestions how to resolve items 2  3 (show columns in original order
and implement VDividerBox when second datagrid populated dynamically) ?


On Thu, Jul 25, 2013 at 2:21 PM, Maurice Amsellem 
maurice.amsel...@systar.com wrote:

 Here is a possible workaround:

 Instead of clearing the DG (which anyway wouldn't look very nice), what
 about setting it to one single empty column ( that is : GridColumn
 headerText=   and dataField=_nonExistingField_ ) .
 That way, it still looks like a datagrid, although empty and it probably
 won't break.

 What do you think?

 Maurice


 -Message d'origine-
 De : Oleg Konovalov [mailto:oleg...@gmail.com]
 Envoyé : jeudi 25 juillet 2013 20:12
 À : users@flex.apache.org
 Objet : Re: Building Spark DataGrid dynamically

 No, it is Clients code, I can't post it. I am getting data dynamically via
 SOAP, convert it to Vector of Objects, then to ArrayCollection, and pass it
 to Spark DG dataprovider. Datagrid is declared in MXML without any columns.
 That's it. But as I said, can't clear that AC. Any idea how to avoid that
 Null Reference?
 On Jul 25, 2013 8:16 AM, Martin Miko marrtinm...@gmail.com wrote:

  Could you post a code sample? I've seen many strange things, but you
  must be doing something really funny there.
 
 
  On Thu, Jul 25, 2013 at 1:39 PM, Oleg Konovalov oleg...@gmail.com
 wrote:
 
   Full exception trace with numbers:
  
   TypeError: Error #1009: Cannot access a property or method of a null
  object
   reference.
  
 at
   spark.components.gridClasses::GridLayout/updateTypicalCellSizes()[E:
   \
   dev\4.5.1\frameworks\projects\spark\src\spark\components\gridClasses
   \G
   ridLayout.as:867]
  
 at
   spark.components.gridClasses::GridLayout/measure()[E:\dev\4.5.1\fram
   e
   works\projects\spark\src\spark\components\gridClasses\GridLayout.as:
   44 4]
  
 at
   spark.components.supportClasses::GroupBase/measure()[E:\dev\4.5.1\fr
   a
   meworks\projects\spark\src\spark\components\supportClasses\GroupBase
   .a
   s:1148]
  
 at
   mx.core::UIComponent/measureSizes()[E:\dev\4.5.1\frameworks\projects
   \ framework\src\mx\core\UIComponent.as:8496]
  
 at
   mx.core::UIComponent/validateSize()[E:\dev\4.5.1\frameworks\projects
   \ framework\src\mx\core\UIComponent.as:8420]
  
 at
   spark.components::Group/validateSize()[E:\dev\4.5.1\frameworks\proje
   c ts\spark\src\spark\components\Group.as:1012]
  
 at
   mx.managers::LayoutManager/validateSize()[E:\dev\4.5.1\frameworks\pr
   o jects\framework\src\mx\managers\LayoutManager.as:665]
  
 at
   mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.5.1\fram
   e works\projects\framework\src\mx\managers\LayoutManager.as:816]
  
 at
   mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.
   5
   .1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:11
   80 ]
  
  
   On Thu, Jul 25, 2013 at 12:17 AM, OmPrakash Muppirala
   bigosma...@gmail.comwrote:
  
Moving topic to users list.
   
Oleg, you will get a better response in this forum for questions
like these.  Please make sure you are subscribed to
users@flex.apache.orgto see further responses.  You could do so by
sending an email to users-subscr...@flex.apache.org.
   
Thanks,
Om
   
   
On Wed, Jul 24, 2013 at 9:12 PM, Oleg Konovalov
oleg...@gmail.com
   wrote:
   
Hi,
   
I am building a screen with one Static DataGrid and one Dynamic
(data comes through SOAP and I do not know the number of columns
or their names in advance).
I also get a list of column names in order from another SOAP call.
   
That Dynamic DataGrid works (converting data from Vector of
Objects to ArrayList of Columns).
   
I still have a few problems:
   
   
1) I need to implement Clear of that Dynamic table.
   
No matter what I tried:
   
arrayColl=null;
   
arrayColl.removeAll();
   
arrayColl = new ArrayCollection();
   
myDG.dataProvider=null;
   
myDG.dataProvider=new ArrayCollection();
   
I am getting NULL reference exception coming from some system code:
if
(cell.visible)...   where cell is null.
   
How can I clear that dynamic DG ?
   
   
   
full exception stack:
   
TypeError: Error #1009: Cannot access a property or method of a
null object reference.
at
spark.components.gridClasses::GridLayout/updateTypicalCellSizes()
at spark.components.gridClasses::GridLayout/measure()
at spark.components.supportClasses::GroupBase/measure()
at mx.core::UIComponent/measureSizes()
at mx.core::UIComponent/validateSize()
at spark.components::Group/validateSize()
at mx.managers::LayoutManager/validateSize()
at mx.managers::LayoutManager/doPhasedInstantiation()
at 

AW: MVC framework

2013-07-25 Thread Krüger , Olaf
0. There is not 'the best' and you don't really need it, as Flex/AS3 itself is 
already capable of MVC/MV(V)P itself.
How can I realize an MVC like architecture by using Flex/AS3 only. Are there 
any examples out there?

Olaf



Edscha Holding GmbH
Sitz der Gesellschaft: Remscheid
Registergericht: Wuppertal, HRB 22889
Geschäftsführung: Francisco J. Riberas Mera, Juan Maria Riberas Mera, Francisco 
López Peña, David Vázquez Pascual, Torsten Greiner, Mario Eikelmann, Hans-Peter 
Schulz und Volker Weiss

Vertretungsberechtigt sind nur Geschäftsführer und schriftlich Bevollmächtigte.

Solely Managing Directors or employees with a written proxy have got power of 
representation.

Der Inhalt dieser E-Mail einschließlich etwaiger beigefügter Dateien ist 
vertraulich und nur für den Empfänger bestimmt. Sollten Sie nicht der 
bestimmungsgemäße Empfänger sein, ist Ihnen jegliche Offenlegung, 
Vervielfältigung, Weitergabe oder Nutzung des Inhalts untersagt. Bitte 
informieren Sie in diesem Fall unverzüglich den Absender und löschen Sie die 
E-Mail einschließlich etwaiger beigefügter Dateien von Ihrem System. Vielen 
Dank.

The contents of this e-mail including any attachments are confidential and may 
be legally privileged. If you are not the intended recipient, any disclosure, 
copying, distribution or use of its contents is strictly prohibited, and you 
should please notify the sender immediately and then delete this e-mail 
including any attachments from your system. Thank you.