Re: [flexcoders] New to FlexBuilder Development Tool

2009-10-01 Thread Angelo Anolin
Follow up on this. When I click on the Proceed button, when the message "Error exist in required project(s):" appears when I try to run the application, the application opens up in the browser but no control or components seems to be loading up. I would appreciate some help on this. Thanks. R

[flexcoders] New to FlexBuilder Development Tool

2009-10-01 Thread Angelo Anolin
Finally, I got my own FlexBuilder standard edition. I am quite new to this tool. I have mostly developed apps by simply using the command line compiler. I am browsing for some examples to load to my FB3 and I found this example: http://demo.quietlyscheming.com/ChartSampler/app.html As you can

Re: [flexcoders] DateChooser Calendar pop up

2009-10-01 Thread Jeffry Houser
What type of modifications do you want? There is some localization customization of the DateChooser, with monthNames, monthSymbol, and I think a few other properties. I think there is a dayNames property too. I've been building a Calendar component as part of ongoing The Flex Show video s

[flexcoders] DateChooser Calendar pop up

2009-10-01 Thread GarethA
Just wondering if anyone knows a way to modify the DateChooser calendar that pops up. I looked through the file but didn't see any reference to any kind of factory or renderer that would accept a new calendar. If not, anyone have any other potential solutions? Thanks.

[flexcoders] Re: selecting a column in a datagrid

2009-10-01 Thread droponrcll
--- In flexcoders@yahoogroups.com, "Felino" wrote: > > > > Thanks. I was able to do as you suggest the function is like > > private function selectColumnAt(columnIndex:int):void > { > if (columnIndex > 0) > { > if (_selectedColumnIndex != columnIndex) > { >

[flexcoders] Re: how to add one value to each array item?

2009-10-01 Thread turbo_vb
If you add a transient property to the ListItemObject class (VO), it can be used by the UI, but not affect the RemoteObject mapping: [Transient]public var selected:Boolean; -TH --- In flexcoders@yahoogroups.com, coder3 wrote: > > > Hi All, > > i have an ArrayCollection from remote object for the ,

[flexcoders] how to add one value to each array item?

2009-10-01 Thread coder3
Hi All, i have an ArrayCollection from remote object for the , now i need to add a flag(selected) to each item, what's the fastest way to do it? because the returned list is very long, so the performance is a concern. each returned item object is: ListItemObject { label:String; value:int; } ==

[flexcoders] Re: FileReference.save optional

2009-10-01 Thread markdemich
--- In flexcoders@yahoogroups.com, "droponrcll" wrote: > > --- In flexcoders@yahoogroups.com, "markdemich" wrote: > > > > A lot of my customer base still uses Flash 9. Was trying to determine that > > if Flash 10 was loaded I would conditionally provide a feature in my app to > > save somethi

RE: [flexcoders] Text lines

2009-10-01 Thread Keith Reinfeld
Have you looked at the TextField methods? Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of cuttenv Sent: Thursday, October 01, 2009 5:47 PM

[flexcoders] Text lines

2009-10-01 Thread cuttenv
Anyone know how to get each individual line of text in a textarea or text?? For example if you have some block of text like this is there a way to get each individual line?? There is the getTextLineMetirics which tells you the dimensions, but I guess that's it??

[flexcoders] Re: TitleWindow Popup Question(s)

2009-10-01 Thread cuttenv
Glad I could help. Popups are actually children of the system manager not the application. :) So make sure you are listening in the right spot. --- In flexcoders@yahoogroups.com, Angelo Anolin wrote: > > hi Vito, > > Thanks a lot. This surely does work. The reason why my initialize events were

Re: [flexcoders] Re: what happens if you setItemAt the exact same item in an ArrayCollection?

2009-10-01 Thread Baz
Oh excellent, I can do that :) Thanks a lot for your advice! On Thu, Oct 1, 2009 at 1:54 PM, mrcaraion wrote: > > > I think a solution will be to extend the ArrayCollection and to override > setItemAt() method (and other methods if needed) and to prevent the call of > super.setItemAt() if the

[flexcoders] Re: what happens if you setItemAt the exact same item in an ArrayCollection?

2009-10-01 Thread mrcaraion
I think a solution will be to extend the ArrayCollection and to override setItemAt() method (and other methods if needed) and to prevent the call of super.setItemAt() if the reference of passed item is equal to the existing item at the given position, something like: override public function set

[flexcoders] Re: selecting a column in a datagrid

2009-10-01 Thread Felino
Thanks. I was able to do as you suggest the function is like private function selectColumnAt(columnIndex:int):void { if (columnIndex > 0) { if (_selectedColumnIndex != columnIndex) { deselectColumns(); var selectedColumn:DataGridColumn =this.colu

[flexcoders] Re: How do I increase the Debug Console buffer size?

2009-10-01 Thread luvfotography
AWESOME!!! thanks, --- In flexcoders@yahoogroups.com, "gtb104" wrote: > > Right-click within the console window and select preferences. Uncheck the > box for "Limit console output" to totally remove the limit, or put a really > large value in the "Console buffer size" field. > > --- In flex

[flexcoders] Re: Flash Builder 4 project structure

2009-10-01 Thread gtb104
Sadly, we're already doing most of these, so no help there, but thanks for the links. --- In flexcoders@yahoogroups.com, "mrcaraion" wrote: > > Although this is not specific for laying out large-scale Flex project > resources, its a great two-part article about flex best practices from Adobe >

[flexcoders] Re: How do I increase the Debug Console buffer size?

2009-10-01 Thread gtb104
Right-click within the console window and select preferences. Uncheck the box for "Limit console output" to totally remove the limit, or put a really large value in the "Console buffer size" field. --- In flexcoders@yahoogroups.com, "luvfotography" wrote: > > Is there a way to increase the deb

[flexcoders] How do I increase the Debug Console buffer size?

2009-10-01 Thread luvfotography
Is there a way to increase the debug window buffer size? My program spits out tons of trace statements, and by the time I stop it, the important info has scrolled off the screen into the bit bucket . . . thanks,

[flexcoders] Re: Flash Builder 4 project structure

2009-10-01 Thread gtb104
We're already using 1GB of RAM for Eclipse. I can't specify more or Eclipse won't even start. My current eclipse.ini looks like this: -showsplash -nl en_US -clean -framework plugins\org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar -vm C:\Program Files (x86)\Java\jdk1.6.0_14\bin\javaw.exe -vmargs

Re: [flexcoders] Re: what happens if you setItemAt the exact same item in an ArrayCollection?

2009-10-01 Thread Baz
Thank you. To stop views from updating if an object with the same values was set, how would I intercept the events that get fired and cancel them? Would I play with the bubbling values? Cheers, Baz On Wed, Sep 30, 2009 at 11:20 PM, mrcaraion wrote: > > > The ArrayCollection will dispatch a C

[flexcoders] Re: Search for an earth like cursor

2009-10-01 Thread valdhor
I have not seen anything but, if it was me, I would probably purchase a Flash component (Like http://www.flashcomponents.net/component/spinning_earth_globe_with_controlled_speed.html), modify it in Flash CS3, export as a SWF and then use that SWF (http://livedocs.adobe.com/flex/3/html/help.html

RE: [flexcoders] variableRowHeight

2009-10-01 Thread Alex Harui
Remember that renderers are recycled so the size of the renderer must be determined from the .data property, it can't just be stored in the renderer instance. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups

RE: [flexcoders] selecting a column in a datagrid

2009-10-01 Thread Alex Harui
Try setting the column's backgroundColor style Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Felino Sent: Thursday, October 01, 2009 10:08 AM To: flexco

[flexcoders] Re: Flash Builder 4 project structure

2009-10-01 Thread mrcaraion
Although this is not specific for laying out large-scale Flex project resources, its a great two-part article about flex best practices from Adobe Developer Connection authored by Seen Moore: http://www.adobe.com/devnet/flex/articles/best_practices_pt1.html http://www.adobe.com/devnet/flex/artic

[flexcoders] selecting a column in a datagrid

2009-10-01 Thread Felino
In a flex datagrid, by default clicking on column headers does sorting. I want it such that if a user clicks a column header the entire column is selected. I have the datagrid listening for the HEADER_RELEASE event so I know when the column header is clicked. How can I have the column and heade

Re: [flexcoders] Flash Builder 4 project structure

2009-10-01 Thread Richard Rodseth
Couple of quick thoughts 1) Up the Eclipse/FB memory (Google for instructions) 2) Look into flex-mojos for maven-based builds 3) If you're sharing code you *are* going to need library projects as you describe, and in my experience a bunch of projects does slow down FB considerably. On Thu, Oct 1

[flexcoders] Branding/Runtime CSS

2009-10-01 Thread Richard Rodseth
I've been looking into the runtime css stuff. Given the build complications, it may be overkill for my requirements, which may not be much more than a different background colour and logo, based on a flashvar value. But I'm curious how people organize things. For example, if you embed a logo image

[flexcoders] Flash Builder 4 project structure

2009-10-01 Thread gtb104
Does anyone know of a resource that specifies the best way to structure a very large Flex project? Our current Flex 3 project is comprised of 30 separate flex projects that each represent a 'display' within the overall application. So there's the main app project which is pretty small. It has

[flexcoders] Re: TextInput formating

2009-10-01 Thread mrcaraion
var ti:TextInput = new TextInput(); ti.maxChars = 2; ti.restrict = "A-Z";

Re: [flexcoders] Re: xml E4X adding a child?

2009-10-01 Thread Shaman
Do you mean ADD or REPLACE another group? -- Pavel.

[flexcoders] Search for an earth like cursor

2009-10-01 Thread christophe_jacquelin
Hello, I am searching for a cursor that looks like the earth rotating. Does somebody has such a resource in Action Script ? Thank you, Christophe,

[flexcoders] TextInput formating

2009-10-01 Thread christophe_jacquelin
Hello, I want that my text input accept only 2 characters maximum from A to Z. How to specify it in my code ? Thank you, Christophe,

[flexcoders] Re: xml E4X adding a child?

2009-10-01 Thread mrcaraion
For me it works either way, anyhow, the point is that you must call insertChildBefore method on the node which you want to attach a child to , but not on the root node of the xml if the target node is down the xml hierarchy.

[flexcoders] Re: xml E4X adding a child?

2009-10-01 Thread flexaustin
This works. var groupsNode:XML = xmlData.data.(@key == "groups")[0]; groupsNode.insertChildBefore(groupsNode.group[0], ); Also WATCHOUT. For some reason putting in a break point and then trying different xml expressions in the expressions window doesn't update all the

[flexcoders] Re: xml E4X adding a child?

2009-10-01 Thread flexaustin
Doesn't work.

Re: [flexcoders] Size of object in bytes

2009-10-01 Thread Sefi Ninio
Hmm... OK, thanks Alex, I'll look into it some more. Thanks for the reply. Sefi On Wed, Sep 30, 2009 at 7:48 PM, Alex Harui wrote: > > > If you don’t have a way to serialize all of your data types you won’t be > able to restore them later. You’ll need to registerClassAlias for > everything or

[flexcoders] FLEX AIR + Actionscript 3 addchild() error

2009-10-01 Thread santhi_netizen
Hi All, I am trying to add an image object which I downloaded using the Loader() class to a VBox as a child. But I am getting the following error ArgumentError: Error #2150: An object cannot be added as a child to one of it's children (or children's children, etc.). Please let me know how to

[flexcoders] variableRowHeight

2009-10-01 Thread djhatrick
I have collapsing/expanding item renderers in a List, all works well, but there is a case where the scrolling doesn't work correctly? Is there a way to force the list to measure all of it's item renderers correctly please? Thanks, Patrick

[flexcoders] How to draw dotted line around a component instance

2009-10-01 Thread dorkie dork from dorktown
I'm trying to create a dotted line around a component instance when it has focus. I've roughly got it to show the dotted line above and below the component instance but I don't know enough about the graphics class to get it to work. I'm extending the HaloFocusRect as shown here: http://pastebin.c

Re: [flexcoders] Re: AIR from a Flex ActionScript Project?

2009-10-01 Thread John McCormack
Brilliant support! I did hope to do it like this, by instantiating an instance of my previous main document class within ![CDATA[ tags but that didn't work I will try these out in the next couple of days. I also downloaded the AIR help file you pointed me to. Thank you. John Michael wrote: >

[flexcoders] Re: AIR + RSL Error #2035: URL Not Found

2009-10-01 Thread reflexactions
Thanks for the reply. Well firstly we would need to redesign the app to even get the modules merged in, as AFAIK FB only merges things that are referenced, since we dont have any references to the modules from the application we would need to change the app to make dummy references. The applica

Re: [flexcoders] Re: AIR + RSL Error #2035: URL Not Found

2009-10-01 Thread Tom Chiverton
On Monday 28 Sep 2009, reflexactions wrote: > We do a single build of the modules and run them in both the web and AIR > version. *Right*, which is a good way to do it. But why not just bake the modules into the app, rather than load them at runtime... ? -- Helping to proactively unleash innova