Thanks, that worked.
On Jun 7, 2015 11:25 PM, "Alex Harui [via Apache Flex Users]" <
ml-node+s246n10528...@n4.nabble.com> wrote:
> horizontalScrollPolicy and horizontalScrollPosition?
>
> On 6/7/15, 3:50 PM, "DavidM" <[hidden email]
> <http://
Hi, I'm seeing odd behaviour when updating a single property of an item in an
arraycollection.
Given an ArrayCollection:
[Bindable]
public var arr:ArrayCollection = new ArrayCollection()
which contains objects like this:
[Bindable]
public class ClassA{
public var prop1:String;
public var
Hi,
I'm trying to figure out how to programmatically scroll an MxDatagrid column
into view.
i.e: if I update a cell, I'd like to make sure it's in view (actually I just
need the column in view)
I've done this before, so I know it's doable.
Thanks
Dave
--
View this message in context:
htt
Thanks Mark, will do once I've got BindingManager to work, just to be sure
that it's not a databinding issue rather than a grid rendering issue.
David
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/Databinding-with-SparkGrid-and-locked-headers-columns-seems-br
@Prashast: yes I used [Bindable], and, as I pointed out, the same code works
fine with MX Datagrid. :)
BTW, both the ArrayCollection and the array items use [Bindable]
@Mark: yes I used ArrayCollection (Array would not have worked with either
Spark or MX, and it does work with MX DataGrid) :)
@
Replaced Spark Datagrid with Mx Datagrid, left everything else the same, and
data binding problems disappeared.
So, I'm convinced that Spark Datagrid has issues with databinding.
These definitely seem broken:
1) Cells in locked columns don't always update, both in the case when a
whole dataitem
Seeing very strange behavior with Spark Datagrid when adding / removing
items.
As best I can tell, the cells in a locked column don't reliably update
either when items are added/removed from an ArrayCollection and when the
data for a bindable cell in a locked column is changed.
I've been trying t
Thanks Evyatar, below is the code I'm going to use.
The problem of the 'moving GridItemRenderer' remains.
That is: the effect starts on one cell of the data grid, but if you scroll
the data grid such that that GridItemRenderer is recycled, then the effect
continues to play out on the same gridIte
or, for that matter, using FlatSpark with 4.13?
seems like it isn't a 'theme' so using it, for example in Flash Builder 4.7
isn't straight forward?
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/SDK-4-14-installer-tp9331p9359.html
Sent from the Apache Flex Us
is there a link on how to use Font Awesome with flex?
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/SDK-4-14-installer-tp9331p9358.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Hi, I've been upgrading an old (2011) flex app and, as an experiment, decided
to generate a new application with Flash Builder 4.7 and compare with that
generated in 2011 using Flash Builder 4.5.
This is what I discovered:
identical:
index.template.html
completely different:
swfobject.js
add
Thanks, the reason for putting it on the layout is because useVirtualLayout
is not exposed as a public property on Spark Datagrid.
Your answer explains why I didn't see any performance difference, however,
isn't it still a bug for a layout not not respect height="100%" when
useVirtualLayout='true'
Piotr - the problem is with turning off the blinking after some period,
because at that later time, the renderer may be showing data belonging to a
DIFFERENT cell.
e.g. if you scroll the datagrid, the renderer will be recycled and will now
be attached to a completely different cell.
Alternativel
Evyatar - you get the gold medal.
If I cache the last row index and last col index, then check that these
haven't changed, then it seems to work, I can scroll without it causing the
recycled itemrenderers to trigger (azeh yofie).
Here is what I have (I wish I knew why it works):
http://ns.adobe
Thanks, but not sure what you mean.
This is the logic that change the background:
if (labelDisplay.uid == lastUID) {
if (lastText != labelDisplay.text) {
needBlink = true;
Figured out the first one:
grid.ensureCellIsVisible(row, col)
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/Spark-Datagrid-horizontalScrollPosition-tp9342p9343.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
2 questions regarding Spark Datagrid:
1) is there an equivalent of the MX Datagrid's horizontalScrollPosition?
i.e: is there a way to manually set the visible column?
2) what's the best way to tell if a spark datagrid is currently scrolling?
Thanks
David
--
View this message in context:
h
Alex, I got it working with Spark Datagrid, sort of.
The cells blink, just like in the animation version (#2 above).
Additionally, it certainly seems way less resource intensive.
The problem (just like #2 above), is that all the cells change color when
they are first brought into view.
I'm not su
Found a good article on ItemRenderers:
http://www.adobe.com/devnet/flex/articles/itemrenderers_pt1.html
Unfortunately, it's also specific to MX not Spark.
Interesting advice, to use a canvas and keep 2 versions of a label per cell,
then switch them out, rather than databinding to styles (which
The second version actually works, except that it also flashes every cell in
a any row or column that is scrolled into view, which looks awful.
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/Best-way-to-blink-a-Spark-Datagrid-cell-tp9334p9338.html
Sent from th
Thanks Alex, but DataGridItemRenderer is an MX component, and I'm using a
Spark Datagrid.
The Spark GridItemRenderer doesn't have the validateNow() function.
I've tried various other functions, but, honestly, I don't know that the
component's lifecycle is, so it's a bit confusing.
Do you have the
I'm wondering how best to blink a cell's background in a Spark Datagrid when
data changes, i.e like in a real-time stock chart. I've seen a couple of
methods, both seem specific to MX not Spark:
a)
From:
https://code.google.com/p/jpragma-utils/source/browse/trunk/JPragmaFlexUtils/src/com/jpragm
Hi, I see in the release notes that sdk 4.14 has been released.
The current installer is at 4.13 - any timeframe for when it will be updated
to 4.14?
The new flatspark skin looks like something worth trying out.
David
--
View this message in context:
http://apache-flex-users.246.n4.nabble
can't honestly say that I see any real difference between
useVirtualLayout='true' vs 'false.
could be that my table is just too small, or that my machine fairly powerful
(quad core macbook pro retina with 16 Gb ram). Looking at the activity
monitor, I do see slightly greater CPU usage with useVirt
Getting some weird and unexpected behavior.
With useVirtualLayout='false' then the grid takes up the whole screen
(expected).
With useVirtualLayout='true' then the grid takes up half the screen
(unexpected).
Here is the code:
http://ns.adobe.com/mxml/2009";
xmln
Thanks Justin.
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/Flex-Datagrid-MX-vs-Spark-tp9314p9328.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Hmm, not sure what to make of the Spark Datagrid.
Initially it was much faster than the MX Datagrid, even without the
useVirtualLayout='true' property being set. (and mx Datagrid 4.13 didn't
seem any different than 4.6).
Now the page has become unresponsive and Chrome's memory has exploded, so,
I
BTW, I'm using 50 columns, and 100 rows, with 2 locked columns, and 4 locked
rows.
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/Flex-Datagrid-MX-vs-Spark-tp9314p9327.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
The Spark Datagrid seems to use a canvas to scroll and is much, much, more
responsive that the MX Datagrid. I wish there was more documentation on
this, I suspect that in 4.13 you probably shouldn't be using ANY mx
components (i.e: I'm guessing that if the Spark Datagrid component has
exceeded the
Wow Justin, that's news to me. I've been avoiding any version > 4.6.0.
The notion that I can get all the bug fixes and new features all the way up
to 4.13.0, and also not have to increase Player requirements is huge. I wish
I'd have known that earlier - is it described anywhere in the document
Thanks Mark, if I'm reading those links correctly, you need SDK 4.13 to build
that functionality, but only Flash Player 10 to deploy it, correct?
I'm currently still using the 4.6 SDK, because I don't want my users to have
to upgrade anything beyond Player 11.1.
I'll look into 4.13 again, because
Looks like Spark Datagrid can't do locked rows or columns, so, I guess it's
out.
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/Flex-Datagrid-MX-vs-Spark-tp9314p9315.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Hi, I'm looking at upgrading an old App, build using MX Datagrid (version
4.5).
Critical functionality is the ability to 'freeze' 2 columns and 4 rows.
Am wondering if there are any advantages to replacing the MX Datagrid with
either the Spark Datagrid or the MX:Advanced Grid?
Thanks
David
Hi Michael,
We have a Flex-based commodity trading application in use since 2011.
Many of our users still use IE8.
All are on desktops, none use our application on mobile devices.
We've tried the various HTML5 frameworks, none can replace the functionality
of Flex on IE8 without significant 'sh
Nice suggestion Alex, the compiler was ok, but the runtime chocked:
TypeError: Error #1034: Type Coercion failed: cannot convert
Object@183e1f101 to model.common.Person.
Then I realized that the object I'm putting in the array is *not actually
typed* !!
It's coming in from Firebase in JSON forma
Alex, thanks for that awesome explanation, I really appreciate it.
I tried casting to my model as you suggest {MyModel(data).field} but for
some reason FlashBuilder won't resolve the MyModel class, even though it
uses the same class elsewhere in the mxml file just fine.
For now I'm going wit
Olaf,
Both my examples above work, even though dataField is not specified.
It would appear that the GridItemRenderer triggers on row changes, not data
field changes.
This makes sense to me because often you want to create a nested structure
in a cell that reacts to more than one datafield
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/DG-class-is-not-an-IEventDispatcher-tp9124p9129.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Changes to the 'company' field do update the first column, but not the
second.
Thoughts?
David
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/DG-class-is-not-an-IEventDispatcher-tp9124p9125.html
Sent from the Apache Flex Users mailing list archive at Nabble.
Hi, I'm running into a problem with updating a DataGrid.Basically data in an
ItemRender won't update, but it will update in a regular column.The Debugger
says: "warning: unable to bind to property 'company' on class 'Object'
(class is not an IEventDispatcher)"This can best be demonstrated by this
g
Mark, it's a common pattern in the javascript world, the idea is for the
browser to refresh whenever there is a change in a dependency.
The steps in my workaround, above, will allow you to just keep one browser
tab open, and have it automatically refresh when the swf is recompiled
(which happens a
Mark, FB does rebuild the swf automatically on save, but I don't think the
page reloads the new swf by itself, does it?
I got it to work using the LiveReload server and embedding a script in the
HTML page, as in my prior response.
Are you saying I shouldn't need to use LiveReload?
--
View
Solved this one, by following these steps:
(using OSX and FB 4.7, but should work with other IDE's )
1) Install the LiveReload server: http://livereload.com/
2) Set it to watch the bin-debug folder
3) Add this to the index.template.html file:
4) Run the project once
5) Set FB to compile au
Has anyone found a way to prevent Flash Builder (or IntelliJ) from opening a
new browser every time I recompile.
i.e: I just want the swf recompiled.
I could then have the browser reload itself when the new swf is created, by
watching the output directory with the LiveReload server.
This patter
Getting that weird error intermittently during development.
- any pointers to a cure?
dave
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/Error-2032-Stream-Error-tp8721.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Thanks Piotr, I really appreciate that, and agree about bug fixes.
In addition to not being able to get the debugger working in IJ, I also
couldn't figure out how to make the Flex 4.13 SDK target 11.1 using either
IJ or FB's configuration interfaces.
It might be that I develop the app in FB 4.7,
Thanks will take a look at that shortly.
For now I decided to just go back to vanilla Flash Builder 4.7 with it's
default SDK and debugger.
Reason is that:
a) I don't need any functionality beyond the 4.6 SDK, and
b) I want to support the 11.1 player and above.
i.e: the same platform as my curr
Thanks Piotr, I'm not sure what you mean by "IntelliJ Configuration" ?
David
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/Flash-Player-Debugger-location-on-Yosemite-tp8708p8712.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Hi, I'm trying to debug a flex application on OSX Yosemite, using IntelliJ.
I installed Flash Player content debugger 15.0
The install seemed to go fine, and seemed to end successfully.
However, I cannot find where the player is located, so that I can't set it's
location in the IntelliJ run/debug
I've had bad experiences with Crossover on OSX before, I find that VirtualBox
or VM Fusion work better for me.
I've noticed that Intellij's ADT viewer crashes every time I try to run it.
Seemed to be more stable 3 years ago when last I looked at it.
Is it known to be stable ?
--
View this mes
@Tom, Mark, We're using OSX, FlashDevelop is windoze only, no?
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/Flash-Builder-4-7-view-designer-tp8625p8642.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Wow Sacha, radii8 looks amazing, thanks for that link.
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/Flash-Builder-4-7-view-designer-tp8625p8643.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Thanks Stacey, it's an awesome stack, I agree, hence my surprise in finding
no native actionscript library.
I'm getting back into Flex, hoping to contribute to it's continuing success.
Dave
--
View this message in context:
http://apache-flex-users.246.n4.nabble.com/Firebase-and-Flex-tp8
Thanks Ronny, though I really like data binding, and Parsley was very well
designed.
My reason for Databinding is that I don't like my models, (or any other
non-view objects) to hold any references to views in any framework I use.
My general reason is that I think that it breaks MVVM pattern.
M
Coming back to Flex after a 3 year hiatus.
Just noticed that FB 4.7 doesn't have a view designer!
When did that happen?
Is there an alternative?
Without a view designer, seems like Intellij is the way to go, no?
I currently use it for java, groovy, scala, javascript, coffeescript,
typescript, et
Hi, we have a real-time Flex application communicating with a NodeJS backend
via the javascript-actionscript bridge and the Faye javascript client
library.
This has worked perfectly for the past several years, falling back
seamlessly from websockets to long polling, etc., as needed.
We're now us
Hi, we have an existing Flex app, described in a prior posting, which uses
Parsley mainly for Data Binding, and also for IOC.
We are currently using Parsley 2.4, though Parsley 3.0 seems to be the
latest release.
The project appears to be dormant.
My question is this:
1) Are there any problems
Justin, OmPrakash, Ronny, thanks so much for the replies.
I tend to agree with you. At the time of Adobe's announcements re Flex, I
was fairly certain that it would continue to be maintained. A plugin with a
presence in hundreds of millions of browsers just can't disappear that
easily. Certainly
Hello fellow Flex users, I have a few questions about the state of Flex and
Flash browser plugins.
Background:
We have a flex application in production since 2011 - running perfectly
fine, without any problems.
It is a desktop trading application, and is never used on mobile or tablet
platforms.
59 matches
Mail list logo