All the books that I checked are AS3 books for Flash. Where can I find a book
for AS3 for Flex 3(4). Or maybe all the Flex 3 books explain AS3 and I don't
need them? But I would like to know AS3 very well as most Flex 3 books don't
spend much time going into details about AS3. What are your reco
Lots of crossed wires here. Sorry I wasn't more clear.
My last two messages were the solution for the benefit of others, not
further puzzlement.
Yes the test case I included runs perfectly, as I said.
Yes, a specified dataField must exist. The code I inherited had both a
non-existent dataField nam
Alex,
Your code is very interesting, and quite instructive. Thank you.
You said that your code handles labelFunction and dataField; however the asdoc
for the itemToLabel() method reads:
public function itemToLabel(data:Object):String
"Returns the string the renderer would display for the give
I doubt that would be true unless the dataField was didn’t exist as a top-level
property in the data objects. I ran your test case and never got any error.
Looking at the code, I don’t know why you need two sort functions. They look
the same. Also, I would apply the sort after setting the sou
I’m still not sure what your goal is and what things are under your control. I
can have a renderer that displays content not found in the data provider, or
one that shows colors and no text. A renderer can have multiple text widgets
inside it and be mixed with other controls. Is there some co
I must take the DataGrid as I find it. If no labelFunction is defined, that
approach won't work; also each item in the dataProvider might be manifested in
0 or more columns. This approach probably won't be general enough.
Thanks,
Mike
> You should be able to do this by running the labelFunc
--- In flexcoders@yahoogroups.com, "Tracy Spratt" wrote:
>
> I will answer, but you probably won't like the answer.
>
>
>
> This is simply not possible. In order to optimize performance, DataGrid and
> the other list components only create(render) the visible elements. If a
> row is not vi
--- In flexcoders@yahoogroups.com, "turbo_vb" wrote:
>
> If you don't have too many items in the dataProvider, you could create a
> second DataGrid, with the same DataProvider and itemRenderers, that does not
> have a height set and is not visible. The second DataGrid would render all
> of t
I meant formatting, as in currency, decimals, thousands separators, etc. but I
don't need stylesheet info like font size or face. Seems like your approach
may be exactly what I need.
indexToItemRenderer() returned null, but maybe I invoked it improperly.
I suppose you mean "Flex DataGrid Excel
And it appears the error *was* caused by having a column with a value for
both labelFunction and dataField.
On Fri, Feb 12, 2010 at 3:36 PM, Richard Rodseth wrote:
> Original question:
>
>
> Is there a recipe for sorting initially on a column which has a computed
> value in it?
>
> I put togethe
Sorry to hear your posts get unanswered. I can only suggest a 'try'...did you
try using the datagrid's indextoitemrenderer method instead of creating a new
item renderer...
I have seen something similar in the DataGrid to Excel component on
Flexdownloads.com but there the exercise was limited t
Hi Tom,
Since it apparently happens randomly, it seems it depends on the data that is
being passed from Flex to CF and that can vary depending on user input or
selection. So, it seems some combination of this data is not loved by the
CFASSerializer in the AMF gateway. I think you will have to t
OK, I have made some progress on this issue but still unable to resolve it
completely. It's getting embarrassing already. . . . I am trying to use some
XML that I get from an application to feed an advanceddatagrid where I can
group the entries.
I have a demo with view source here :
http
Paul, why not pull down the AS3corelib source and compile that, its pretty easy
since you can just specify include="*".
--- In flexcoders@yahoogroups.com, "Paul Sanders" wrote:
>
> I have a Flex project that uses as3corelib for JSON coding and decoding and
> it builds and deploys fine within Fl
Can anyone explain how to setup mate with a Flex Unit 4 test? For example,
where do I create an instance of the event map?
I have
[Before]
[After]
[BeforeClass]
[AfterClass]
methods
Would it be something like this:
public function setup():void {
var myMap:EventMap = new MainEventMap();
Original question:
Is there a recipe for sorting initially on a column which has a computed
value in it?
I put together the example below which works great. I'm not sure what's
triggering the error in the actual code I'm dealing with, but this example
convinces me it's time for some refactoring.
If you don't have too many items in the dataProvider, you could create a second
DataGrid, with the same DataProvider and itemRenderers, that does not have a
height set and is not visible. The second DataGrid would render all of the
items in the dataProvider, because the height isn't set. Then
I need to post the displayed data to a server, complete with formatting. The
dataProvider does not help much; I'd have to replicate the work that the
datagrid does in determining the properties displayed by each column, and
duplicate the job of the item renderers in order to extract the display
Runtime-loaded images need to be “disposed()” Set the source to null and let
it validate or call validateNow().
I’m not sure about embedded image assets. I’ll try to find time to look into
that.
We’ve found two remoteobject bugs recently. One is that, on every call, a few
bytes leak. It i
You should always specify a valid dataField.
If you have null data items or items that are dynamic and missing properties
you can hit this error.
On 2/12/10 11:35 AM, "Richard Rodseth" wrote:
Yes, it's in an override of set dataprovider which calls super (I would not
have done things th
I will answer, but you probably won't like the answer.
This is simply not possible. In order to optimize performance, DataGrid and
the other list components only create(render) the visible elements. If a
row is not visible, it does not exist. You can't look sideways into your tv
screen and s
I have a Flex project that uses as3corelib for JSON coding and decoding and it
builds and deploys fine within FlexBuilder but I cannot get my regular
build.xml file to compile it from the command line. I get the following:
[mxmlc] Loading configuration file
/usr/local/flex_sdk_3_4/frameworks/fl
Looks like this has been fixed in the 3.5 sdk, thanks engineers
if (_defaultButton)
_defaultButton.emphasized = true;
--- In flexcoders@yahoogroups.com, "djhatrick" wrote:
>
> TypeError: Error #1009: Cannot access a property or method of a null ob
Ok I made a copy of the app thats not working "NonWorkingCoolvisi" tried to
install it to bring up the error and then went through the ".airappinstall.log"
process and it produced the following log:-
Starting app install of file:///C:/Users/Gaz/Desktop/NonWorkingCoolvisi.air
UI SWF load is compl
I need extract the rendered text from all cells of a DataGrid, whether or not
they are all displayed. The following code dies because renderer is null:
public var dp:ArrayCollection = new ArrayCollection();
/** Obtain formatted text data from the DataGrid's dataProvider.
* Other data generat
TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at
mx.managers::FocusManager/focusInHandler()[C:\autobuild\3.4.0\frameworks\projects\framework\src\mx\managers\FocusManager.as:601]
There's nothing in the debugger but this error, happens a lot,
Im my case it was an image file in the assets folder. Look in the app
install log.
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of James
Sent: Friday, February 12, 2010 2:36 PM
To: flex
Hi,
I have a ColdFusion application that uses a Flex app as a front end. Until
recently, everything worked smoothly. But now, I am getting a stack of
NullPointerException errors that seem to come from the gateway's serializer.
I am seeing this occur in both dev and production environments, and I
Ah right. The name of the swf file itself contained an ampersand or the air
file which you compiled from your application?
I tried changing the name of the air file to include only letters but that
didn't seem to work either.
--- In flexcoders@yahoogroups.com, "Tracy Spratt" wrote:
>
> Yes, lo
Yes, it's in an override of set dataprovider which calls super (I would not
have done things this way).
And it does sort correctly initially. It's only when I click on the column
that I get the error.
One thing I'm asking myself is if it's harmful or just redundant to specifiy
dataField if you ar
How can I use a mouse drag to scroll a datagrid?
I want to click anywhere in the datagrid and drag up or down to
scroll the datagrid in that direction.
thanks,
Yes, look at the appinstall log. I don't recall exactly how to do that so
just google it. In my case it was a bad character in the filename, an
ampersand if I recall correctly.
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:
".creating a custom component and repeating that" yes, yes, yes. Pass in
the entire currentItem and store it in a public variable, and then you will
be able to code the repeated item cleanly and clearly. I'd suggest having
the component dispatch an event on click, then listen for that in the
rep
Hi,
I have a slider:
May I only show tip at 25, 100, 200, 500 and 1000 and I do not want to show Tip
when slider on ther points?
Thanks
Mark
Hi Nick,
Yes, it is possible. What is the goal of the automation?
If you want just a clean build done automatically, the ANT build would
be a good option.
If you want to automate Flash Builder UI, you can develop an Eclipse
plugin that would do that. Or you can use Eclipse UI automation tool
Thanks for that. I'll try it.
How can I solve a lack of space in my temp directory exactly? I've heard of the
airappinstall thing too but how exactly do I do this? I'm on vista.
Sorry if this all sounds stupid. I'm just a flex student at the moment. Cheers
for your help so far.
--- In flexcode
Are you including any other files in the package?
I seem to remember that certain characters in their file names could
cause this problem.
Maybe an ampersand ??? I'm sorry, it was quite a while ago and I've
forgottten exactly which char(s) caused it for me.
There was a bug open on it at the time as
Try this...
Although I would recommend creating a custom component and repeating that.
--- In flexcoders@yahoogroups.com, Darrin Kay wrote:
>
> I am tring to get some text become a link in a Flex3 app, but getting an
> error I know the data is getting pulled in, in this case I hard coded the
>
Well, I got the file but it is not standalone - it requires a ColdFusion server
which I do not have.
--- In flexcoders@yahoogroups.com, "ZIONIST" wrote:
>
> sent to valdhorli...@...
>
I don't think so. In a project I made a while ago I have an app called
coolvisi1. A few months back I created an air file from this very app called
coolvisi1.air and I've tested it just now and it works perfectly. The app in
question hasn't even been touched since back then. I've just tried to c
I am tring to get some text become a link in a Flex3 app, but getting an
error I know the data is getting pulled in, in this case I hard coded the
xml with http://www.espn.com for testing so it is not the link.
http://www.adobe.com/2006/mxml"; layout="
absolute" title="{imageRepeater.currentIt
Thanks Alex,
I had gone around and around to get a certain module to unload and was unable
to determine the cause. Your article was very informative and my suspicion is
that an image loaded at runtime was at fault. But that really isn't the same
thing as compile-time embedded assets, is it?
Have you recently changed sign certificates? Had a similar problem when our
certain expired. Ended up having to migrate the old one to the new for each
update.
--- In flexcoders@yahoogroups.com, "James" wrote:
>
> Yes but the fact that other air files I make are working shows that it's not
>
sent to valdhorli...@embarqmail.com
Yes but the fact that other air files I make are working shows that it's not a
flex/air related problem doesn't it? If it is this though how would I fix it?
--- In flexcoders@yahoogroups.com, Johannes Nel wrote:
>
> one thing which can cause this is if the update.xml file and the air file
> have
Nope, sorry.
How about just exporting a Flex Builder Project Archive and including it in
your email to the list. I have seen many people post projects this way.
--- In flexcoders@yahoogroups.com, "ZIONIST" wrote:
>
> hi Valdhor i sent the self contained app to your email. hope you got it.
>
You can mix them. What you need to do is make 2 ROs -- one tied to the secure
service and one tied to the normal service.
You can also build the the RO up in actionscript but I find it easier to use a
"standard" services-config.xml file. In our environment I can't change the file
so it's ea
one thing which can cause this is if the update.xml file and the air file
have different versions.
On Fri, Feb 12, 2010 at 2:54 PM, James wrote:
>
>
> I keep getting the same "The application could not be installed because the
> AIR file is damaged. etc..." message every time I attempt to test th
I keep getting the same "The application could not be installed because the AIR
file is damaged. etc..." message every time I attempt to test the install of an
air file I've just made from an application in flex. I've tried exporting other
applications for release build and they work fine but it
49 matches
Mail list logo