[flexcoders] I don't understand why I'm getting this compiler error

2009-02-20 Thread elevight
I'm getting a compiler message saying Event type 'events.CustomEvent' is unavailable, and I don't understand why. I'm hoping a second eye might catch the problem. My custom event class is called CustomEvent.as: (the dao.Person class is just a dummy class that stores a firstName, middleName,

Re: [flexcoders] I don't understand why I'm getting this compiler error

2009-02-20 Thread p...@vin Uttarwar
Hi, I think you are given wrong event type in this metadata tag, mx:Metadata [Event(name=testEvent, type=events.CustomEvent)] /mx:Metadata rather it should be complete package structure as, mx:Metadata [Event(name=testEvent, type=actionscript.CustomEvent)] /mx:Metadata Regards, *Pravin*

[flexcoders] FlexBuilder 3 problem -- dynamic help stops working

2009-02-20 Thread Anggie Bratadinata
Hi, list, I'm having a problem with FlexBuilder 3 Dynamic Help . It was working well until a couple of days ago. The dynamic help isn't working anymore and I keep getting these error messages : - An internal error occured during : Indexing help ... - invalid format The Help Contents is also

[flexcoders] ITEmRenderer in Actionscript

2009-02-20 Thread kotha poornima
Hi All, Any idea how the following code using Action script.. Code: mx:DataGridColumn headerText=Online dataField=online mx:itemRenderer mx:Component mx:CheckBox id=chkBox/ /mx:Component /mx:itemRenderer /mx:DataGridColumn As

[flexcoders] Re: Why cant I use mouseOver() in Image class, but using mx:Image tag, I can?

2009-02-20 Thread yossi.baram
Hi Nate, Thanks, it works But I have one problem, How can I show seperate details for each of the images? rememver I have one cell that includes several images side by side drawn from the loop bellow, and each one need to popup different data on a tooltip. private var tooltipData:String;

[flexcoders] Re: Why cant I use mouseOver() in Image class, but using mx:Image tag, I can?

2009-02-20 Thread yossi.baram
I think that I need to create a new panel for each image, let say if I have 3 images in one cell and the event is fired, now I get one panel for all with the same data and its not good for me, i need 3 panels with different data, How do I do it?? Can it be done? Thanks again Jo --- In

[flexcoders] Re: Why cant I use mouseOver() in Image class, but using mx:Image tag, I can?

2009-02-20 Thread yossi.baram
well, i managed doing that :) Using one panel, I use the currentTarget object of the evevnt allows me to retrieve the dataPorvider elements private function tooltipDetailCreate(event:ToolTipEvent):void { var tt:PanelToolTip = new PanelToolTip(); var innerImage:Object =

[flexcoders] Slice / Scale 9 Flex Skins don't scale

2009-02-20 Thread Reto M. Kiefer
Dear all, we have some Flex Skins made in Flash exported as swc, as described in this article: http://devote.your.life.auricom.com/?p=70. We have Bitmaps in the Skins and the Bitmaps don't scale in Flex. We import the skins as artwork in Flex. It seems that we have encountered a bug which is

[flexcoders] Problem accessing data of an XML file

2009-02-20 Thread christophe_jacquelin
Hello, I have an XML file with points inside : root Point x0343/x0 y0350/y0 x1343/x1 y1359/y1 /Point Point x0344/x0 y0349/y0 x1344/x1 y1359/y1

[flexcoders] Datagrid personalization

2009-02-20 Thread thelordsince1984
Hi, i create a class that extends datadrid package actionscriptcomponent { import mx.controls.DataGrid; public class CustomDataGrid extends DataGrid { private var _nrows:uint = 6; private var

Re: [flexcoders] Problem accessing data of an XML file

2009-02-20 Thread Paul Andrews
- Original Message - From: christophe_jacquelin christophe_jacque...@yahoo.fr To: flexcoders@yahoogroups.com Sent: Friday, February 20, 2009 11:01 AM Subject: [flexcoders] Problem accessing data of an XML file Hello, I have an XML file with points inside : root Point x0343/x0

Re: [flexcoders] Re: Why cant I use mouseOver() in Image class, but using mx:Image tag, I can?

2009-02-20 Thread Nathaniel Skiba
Ah, so that's what you were wanting to do. AFAIK, the tool tip for the class can't be substituted. What you should probably do instead is to turn off the tooltips, use the mouse over (or roll over) event, and when you detect mouse over, use the PopUpManager to show your custom component. ~Nate

Re: [flexcoders] ITEmRenderer in Actionscript

2009-02-20 Thread Nathaniel Skiba
var dgc:DataGridColumn=new DataGridColumn(); dgc.itemRenderer = new ClassFactory(CheckBox); ~ Nate kotha poornima wrote: Hi All, Any idea how the following code using Action script.. Code: mx:DataGridColumn headerText=Online dataField=online mx:itemRenderer mx:Component

Re: [flexcoders] ItemRenderer in Actionscript

2009-02-20 Thread Jeffry Houser
You can't directly because there is no way to create a component on the fly in actionscript. Create the component (mx:label) as a stand alone file; either with MXML or ActionScript. Then create the DataGridColumn in AS, something like this: var DGC : DataGridColumn = new

RE: [flexcoders] Slice / Scale 9 Flex Skins don't scale

2009-02-20 Thread Kenneth Sutherland
Read the below link, it may give an insight as to why your scaling isn't working. http://opensource.adobe.com/wiki/display/flexsdk/Scale9+in+FXG also you could try the below http://www.adobe.com/devnet/fireworks/articles/9-slice_scaling.html

[flexcoders] AdvancedDataGridColumnGroup Dynamically Speaking...

2009-02-20 Thread w_page3
Here is the code...I am getting 3 columns for each set instead of 2 coloumns with a grouped header...Obviously I am missing something...A nudge in the right direction would be helpful... var length : int = Storesdp.length; for( var i : int = 0; i length; i++ ){ oColumnDef_amt = new

[flexcoders] AdvancedDataGridColumnGroup dynamically speaking

2009-02-20 Thread wpageiii
I am having some issues creating AdvancedDataGridColumnGroup (ing) in Actionscript... Here is what I have tried... var length : int = Storesdp.length; for( var i : int = 0; i length; i++ )

[flexcoders] Custom functions in SQLite using AIR

2009-02-20 Thread fan...@ymail.com
Hello, Is there a way to define custom aggregation functions in SQLite using AIR? From the documentation, I noticed that AIR supports SUM, MIN, MAX, AVG, COUNT, and TOTAL: http://www.adobe.com/go/learn_air_aslr_en?localDatabaseSQLSupport.html SQLite lets you define your own functions in C:

[flexcoders] Drawing on skinned component

2009-02-20 Thread civilu007
Hello, I'm trying to draw something on a component skinned using a Flash skin, but nothing is drawn (or better said, I don't see anything because the drawing is done beneath the skin). My code looks something like public class TestButton extends Button { public function TestButton() {

[flexcoders] Complex Header doubt AdvancedDataGrid

2009-02-20 Thread shishirpra...@ymail.com
Hi, I have a requirement to display data in a AdvancedDataGrid with a complexheader structure as follows : Example : |Place | Occupation | (How to show this column header as a part of Grid??) |Country|State |Field| Sub-field| |India |AP

[flexcoders] Best database for Flex

2009-02-20 Thread christophe_jacquelin
Hello, What is the best database for Flex: mySql or SQLServer ? Is it possible to use an Microsoft Access database with Flex ? Thank you, Christophe,

Re: [flexcoders] Best database for Flex

2009-02-20 Thread Pedro Sena
There is no silver bullet The database choice need to be done knowing the requirements, without that, you will get just personal preferences. Regards, PS On Fri, Feb 20, 2009 at 10:06 AM, christophe_jacquelin christophe_jacque...@yahoo.fr wrote: Hello, What is the best database for

re: [flexcoders] Best database for Flex

2009-02-20 Thread Wally Kolcz
Flex is database independant. There is no data classes with Flex, unless you are working with AIR. With Flex you connection to your data using either ColdFusion RemoteObjects or Web Services with any (CF, PHP, .NET, etc) so it is more based on what each language can use (which is all of them)

Re: [flexcoders] Class Image

2009-02-20 Thread Alain Thibodeau
processing.. do you mean manipulation? I think the bitmap class is what you need to check out also this is a good start: http://www.insideria.com/2008/03/image-manipulation-in-flex.html hth From: christophe_jacquelin christophe_jacque...@yahoo.fr To:

[flexcoders] Re: Best database for Flex

2009-02-20 Thread oneworld95
Flex generates a Flash movie (SWF) file that runs in the browser (client side). It's therefore a presentation layer for your application. It calls your Java, PHP, ASP.NET, CFML, etc., server side code to do such things as fetching database records, authenticating/authorizing a user, etc. Your

[flexcoders] Re: Flex server language

2009-02-20 Thread Amy
--- In flexcoders@yahoogroups.com, Jeffry Houser j...@... wrote: I prefer CF because it is what I know. Since it comes from Adobe it's integration w/ Flex is top notch. After 2 days of trying, I gave up trying to get PHP to work on my dev machine; so I'm amused by the claim it can

[flexcoders] tiling a container

2009-02-20 Thread Kenneth Sutherland
Has anyone ever created an algorithm that can work out the max size of a square tile for X number of tiles inside a container of dynamic size. So if I create a container that is 100 * 100 and it contains 2 tiles (non overlapping) then the max size of the tile is 50*50. If I take the same

[flexcoders] save image on desktop in air

2009-02-20 Thread abhishekchess1
hello frnds, could we save an image or all things(which is on our application) snap on desktop with allow option to users as SaveAS . thx in advanced. abhishekche...@gmail.com

Re: [flexcoders] Drawing on skinned component

2009-02-20 Thread Laurent Cozic
I have tried using a Sprite as the topmost child and drawing on it I think that's the way to do it. To make sure that your  sprite is always on top, just add addChild(yourSprite) at the end of the updateDisplayList function. If the sprite is not on the display list, it's going to be added to

RE: [flexcoders] Best database for Flex

2009-02-20 Thread Johan Öbrink
Two answers: 1. Flex has nothing to do with it. You don't call a DB from Flex - you call a server script that calls a DB. 2. SQLLite through AIR or MySQL through assql (http://code.google.com/p/assql/wiki/Examples#MySqlService_Example) Answer #2 is more of a geeky nature

RE: [flexcoders] save image on desktop in air

2009-02-20 Thread Johan Öbrink
All you have to do is draw the Application into a BitmapData, put the BitmapData through a JPEG/PNGEncoder and save the resulting ByteArray via File/FileStream. You can certainly let the user descide where the file should be saved. /Johan From: flexcoders@yahoogroups.com

[flexcoders] Running Flex from HTA

2009-02-20 Thread markgoldin_2000
I am looking for a solution of starting either a Flex or Air application from a regular win32 executable. I haven't tried AIR yet, but with Flex I have two options: Open Browser with a link to html page (standard with Flex) or with HTA file. If I do html page then I am getting sandbox

[flexcoders] Re: Complex Header doubt AdvancedDataGrid

2009-02-20 Thread markgoldin_2000
Check this out: http://www.onflex.org/ted/2007/06/flex-3-wednesday-components-and- sdk.php --- In flexcoders@yahoogroups.com, shishirpra...@... shishirpra...@... wrote: Hi, I have a requirement to display data in a AdvancedDataGrid with a complexheader structure as follows :

Re: [flexcoders] Drawing on skinned component

2009-02-20 Thread Alex Militaru
Thank you for your answer Laurent. I was doing something similar, but more complicated: calling addChild(sprite) in createChildren() and then setting the index of the sprite to numChildren - 1 in updateDisplayList. Apparently the answer is to wrap the sprite in a UIComponent and adding that

[flexcoders] Accordion problem - rowCount/scrollbar

2009-02-20 Thread lanekelly5
Is there a way to essentially disable the rowCount property of an accordion and just have it show as much content (including partial rows) in the vertical space that is available? I'm finding that if I set a rowCount which takes up less space than the expanded section has available I get an

[flexcoders] Re: Module Issue.... Resolved!

2009-02-20 Thread Eric Dunn
I figured out what I was missing.. I had to go into the project properties and add the modules to load ... Eric W Dunn Adaption Technologies 281-465-3326 ed...@adpt-tech.com

[flexcoders] Optimizing Allocated Memory versus Used Memory in Flex/Air Applications

2009-02-20 Thread Scott Delap
I've searched Google on this topic for a few hours with no success so I wanted to throw this out for the list to comment on. I'm working on an Air application that loads 20+ large png files. For some extreme cases we are seeing our application spike up to 800-1200m of operating system

[flexcoders] Pointers like in C

2009-02-20 Thread christophe_jacquelin
Hello, Did the type Pointer exist in Flex/ActionScript like in C. int *ptr; Thank you, Christophe,

[flexcoders] Multiple filters on datagrid

2009-02-20 Thread m_baker
I have four comboboxes populated from arrays. I have a datagrid populated by an ArrayCollection. I can filter the ArrayCollection from each combo box individually, but I need to filter by multiple selections. For example, I may want to filter by UserID and Carrier and Origin. The obvious

[flexcoders] Re: Need advise on how to display multiple SWF apps

2009-02-20 Thread valdhor
Have you checked out the example dashboard application? http://examples.adobe.com/flex3/devnet/dashboard/main.html --- In flexcoders@yahoogroups.com, todd.bruner todd.bru...@... wrote: I have developed a small flex charting app that displays a graph based on xml returned from a web service.

Re: [flexcoders] Pointers like in C

2009-02-20 Thread Laurent Cozic
No, there's no pointers. All the objects are passed to functions by reference, except for the basic types (Number, String, etc.) which are passed by value. -- Laurent Cozic Flash, Flex and Web Application development http://pogopixels.com --- On Fri, 2/20/09, christophe_jacquelin

[flexcoders] Localization without SDK modification?

2009-02-20 Thread Borek
Is it possible to use Flex localization without creating additional folders in ...\Flex Builder 3 Plug-in\sdks\3.1.0\frameworks\locale ? I'm asking for the sake of version control - I would like to add localization capabilities to my Flex app but don't want to check the Flex SDK in or depend on

Re: [flexcoders] Re: Flex server language

2009-02-20 Thread Jeffry Houser
It's easy to get things done / setup if you already know what you're doing. But, lets compare apples to apples here. It seems logical to me that someone wanting to install CF would start at Adobe.com , and from there could easily find and download the installers. I chose, Products

[flexcoders] Relative Layout Question

2009-02-20 Thread Keith Hughitt
Hi all, I have a question about using creative relatively-sized layouts: The default behavior http://livedocs.adobe.com/flex/3/langref/mx/containers/Panel.html of many containers is to use adopt a height just large enough to fit all of it's children content. Manually specifying a relative

[flexcoders] Re: (Again ) Capabilities.language or how to get keyboard Locale in Air/Flex

2009-02-20 Thread alex
That's what I thought.. but it always has an array containing only en_US although I have four different keyboard layouts and none of them is en_US ! the only place where en_US is mentioned is in the project properties... I will assume it is a bug og Air framework then. --- In

[flexcoders] Re: AdvancedDataGridColumnGroup dynamically speaking

2009-02-20 Thread tntomek
If I understand your problem correctly you just need column groups. http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_09.html --- In flexcoders@yahoogroups.com, wpageiii bi...@... wrote: I am having some issues creating AdvancedDataGridColumnGroup (ing) in Actionscript...

[flexcoders] Re: AdvancedDataGridColumnGroup dynamically speaking

2009-02-20 Thread tntomek
You have to set ADG.groupedColumns and not columns when grouping. --- In flexcoders@yahoogroups.com, wpageiii bi...@... wrote: I am having some issues creating AdvancedDataGridColumnGroup (ing) in Actionscript... Here is what I have tried... var length : int

Re: [flexcoders] Re: Flex server language

2009-02-20 Thread Laurent Cozic
Although I prefer open source software, it's true that most of the time it's harder to use an open source version that a paid for equivalent. Coldfusion is easier to setup than PHP, Photoshop or Word are more user friendly than Gimp or OpenOffice and so on. Open source software is free but

[flexcoders] Question for Cairngorm with Flex Module?

2009-02-20 Thread markflex2007
Hi, I build a Flex Module with cairngorm ,I load the module in main application and I need to load it many times. it works fine when I load the module at first time but I get error when I load it again. The error message is : Only one ServiceLocator instance can be instantiated Do you have a

[flexcoders] Gumbo / Flex 4 release date estimate?

2009-02-20 Thread Jason
I know there is never an official announcement about release dates from Adobe until right before it happens... I have searched the archives because I know it was mentioned before, but anyone have a good idea/guess when Flexbuilder 4 will be released? Even just your best (somewhat informed)

RE: [flexcoders] Problem accessing data of an XML file

2009-02-20 Thread Tracy Spratt
But first, do not use mx:Model, it will not work with e4x expressions. Instead, use mx:XML. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Paul Andrews

Re: [flexcoders] Gumbo / Flex 4 release date estimate?

2009-02-20 Thread Matt Chotin
Q4 2009 On 2/20/09 9:05 AM, Jason jason.merr...@bankofamerica.com wrote: I know there is never an official announcement about release dates from Adobe until right before it happens... I have searched the archives because I know it was mentioned before, but anyone have a good idea/guess when

RE: [flexcoders] Running Flex from HTA

2009-02-20 Thread Tracy Spratt
Generate the wrapper withut the history management. It is a checkbox on the Project, Compiler dialog. Obviously, history managmeent makes no sense with an hta. In case anyone is following this, in this context, the tla hta means HML Application, which is a way to run html in an IE

RE: [flexcoders] Accordion problem - rowCount/scrollbar

2009-02-20 Thread Tracy Spratt
I don't think I have ever set rowCount with Accordion, and have never seen the problem you describe. What happens if you do not set it? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com

RE: [flexcoders] Multiple filters on datagrid

2009-02-20 Thread Tracy Spratt
Why not just do all the logic in the filter fuction? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of m_ba...@goodyear.com Sent: Friday, February 20, 2009

[flexcoders] Using Modules and Remote Objects

2009-02-20 Thread cortlandian
My flex 3 application, deployed on JBoss with BlazeDS, uses a Remote Object to get data from a class in a jar file. The application worked fine while all the code was deployed as a single Application mxml file. I then moved some of the code to a Module mxml file, which I navigated thru a Tab

Re: [flexcoders] Localization without SDK modification?

2009-02-20 Thread Robert Vollmar
Hello, The frameworks/flex-config.xml file contains this entry, which tells the compiler to look for a directory for the locale: path-elementlocale/{locale}/path-element First, you can remove this entry or create an empty frameworks/locale/Your_Locale directory to make the compiler happy. I

[flexcoders] Re: Running Flex from HTA

2009-02-20 Thread markgoldin_2000
I see, thanks. --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: Generate the wrapper withut the history management. It is a checkbox on the Project, Compiler dialog. Obviously, history managmeent makes no sense with an hta. In case anyone is following

[flexcoders] Re: Localization without SDK modification?

2009-02-20 Thread Borek
Hi Rob, thanks for your hints. It's all perfectly understandable except this: create an empty frameworks/locale/Your_Locale directory to make the compiler happy. You mean to create the empty directory inside the installed Flex Builder SDK? That would still mean manually modifying the SDK, though

[flexcoders] Re: Gumbo / Flex 4 release date estimate?

2009-02-20 Thread Jason
Thanks Matt! --- In flexcoders@yahoogroups.com, Matt Chotin mcho...@... wrote: Q4 2009 On 2/20/09 9:05 AM, Jason jason.merr...@... wrote:

RE: [flexcoders] Relative Layout Question

2009-02-20 Thread Tracy Spratt
Well, first, you are specifying that the two panels take up a total of 100% of the app height, so what you describe is what you are asking for. You can use an expression in binding braces. Try this, see if it does what you want: mx:Panel height={this.height/4} Tracy Spratt Lariat

Re: [flexcoders] Re: Localization without SDK modification?

2009-02-20 Thread Robert Vollmar
That's true. It's the lowest-impact change I'm aware of. On 2/20/09 9:53 AM, Borek bore...@yahoo.co.uk wrote: Hi Rob, thanks for your hints. It's all perfectly understandable except this: create an empty frameworks/locale/Your_Locale directory to make the compiler happy. You mean to create the

[flexcoders] Re: Accordion problem - rowCount/scrollbar

2009-02-20 Thread lanekelly5
Ack! I stand corrected - had to go back and look at my code - it is the TileList that has the rowCount behavior that I don't like. I have An accordion where each panel is a canvas that contains a TileList. So it's the TileList that I need to have look differently. I think the default

[flexcoders] Re: Accordion problem - rowCount/scrollbar

2009-02-20 Thread lanekelly5
Got it figured out. The height propery of the TileList works fine in my case. --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: I don't think I have ever set rowCount with Accordion, and have never seen the problem you describe. What happens if you do not set it?

[flexcoders] Wicked Memory Leaks and Massive Loitering Objects

2009-02-20 Thread Adrian Williams
Hi all, My forehead is becoming flatter by the minute as I bang my head against the wall on this one In my dashboard application, I have a tab navigator with a canvas that defines each tab. A single tab/canvas has numerous panels and each panel has a swfloader swf file. When a

[flexcoders] AdvancedDataGrid - exclude nodes in navigation

2009-02-20 Thread Richard Rodseth
Is there a simple way to use the AdvancedDataGrid with hierarchical data from XML, while excluding all but certain node types from the navigation hierarchy? For example, with the following XML, I don't want the name node showing up as a folder in the nav tree. Obviously, if name were an attribute

[flexcoders] PHP data capture issue

2009-02-20 Thread adeelafsar
i have a data grid in my application and am pulling data from a MYSQL DB using php. is there a way to store all that data into an array and pass it to a function or is it possible to just store the data directly coming from php into an array

[flexcoders] Re: AdvancedDataGridColumnGroup dynamically speaking

2009-02-20 Thread w_page3
Yes, you are correct I was not doing that properly... I have modified the code so now my columns are correct...But for any grouped column the data is not displaying...For an ungrouped column the data shows...I am assuming the issue is in the dataField property of my GroupedColumn...But not sure

[flexcoders] Re: Relative Layout Question

2009-02-20 Thread alinmircea_s
This should do the trick ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; verticalGap=0 paddingTop=0 paddingBottom=0 width=600 height=600 mx:Panel height=75% mx:Text text=This panel should take up 75% of the application's height / /mx:Panel

RE: [flexcoders] Wicked Memory Leaks and Massive Loitering Objects

2009-02-20 Thread Yves Riel
I like your humour Adrian! The loitering objects can be caused by many things. During my track down on leaks, I found out that most of the time, it was forgetting to set a property to null, not removing listeners as I expected, etc. Without seeing code, it's difficult to help you out properly.

[flexcoders] Error message in debug console?

2009-02-20 Thread markflex2007
Hi, I get the following message in debug console,do you know what this means? *** Security Sandbox Violation *** SecurityDomain 'file:///D:/WORKSPACE/Flex Builder 3/Reflex4/bin-debug/TabNavigatorDemo.html' tried to access incompatible context 'file:///D:/WORKSPACE/Flex Builder

[flexcoders] Re: event passing when source/destination are on different parent bubbling chains?

2009-02-20 Thread jer_ela
You need a loggedIn property somewhere in your model. It is initially set to false and when the user successfully logs in your controller code sets it to true. Any views that need to react to the log in have that property bound to a set method which fires off whatever code is appropriate when

RE: [flexcoders] Error message in debug console?

2009-02-20 Thread Tracy Spratt
Myabe you broke your html wrapper? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markflex2007 Sent: Friday, February 20, 2009 1:58 PM To:

[flexcoders] Re: Custom functions in SQLite using AIR

2009-02-20 Thread jason_williams_mm
There is no way to do this currently, but, a *great* feature request. Please visit www.adobe.com/go/wish and make the request. jw --- In flexcoders@yahoogroups.com, fan...@... fan...@... wrote: Hello, Is there a way to define custom aggregation functions in SQLite using AIR? From

[flexcoders] Re: design question: editing / saving complex valueobjects

2009-02-20 Thread Amy
--- In flexcoders@yahoogroups.com, Maciek Sakrejda msakre...@... wrote: I could, but display (since the CalendarEditor component expects data from a Calendar) is still an issue, no? Perhaps I should just be doing what the DataGrid does when outfitted with an itemEditor and just assume that

[flexcoders] Re: PHP data capture issue

2009-02-20 Thread alinmircea_s
remote object? result=myfunction(event) private function myfunction(resulte:resultEvent):void { yourArrc = new arrayCollection(ArrayUtil.toArray(resulte.result)) or mydg.dataprovider = resulte.result (and no variable on dataprovider) } dg id=mydg dataprovider={yourArrc} / --- In

[flexcoders] Re: Repeaters and Referencing Component IDs

2009-02-20 Thread Jason
I'd have to test it to know for sure, but I was just theorizing on why you were not able to access the id array for the image. I could further theorize that the image tag, being a child of the repeated container, is treated differently by Repeater than the container, but that is

[flexcoders] Re: Error message in debug console?

2009-02-20 Thread markflex2007
Thanks. But I never change the html code. the html code is generated with flex builder. Mark

[flexcoders] Re: Relative Layout Question

2009-02-20 Thread Keith Hughitt
Thank you both for the suggestions. You can use an expression in binding braces. Try this, see if it does what you want: mx:Panel height={this.height/4} This could work if I computed the desired height during initialization and set it, however, this would mean that I would need to update

[flexcoders] Re: How to implement right click drill down for either PieChart or ColumnChart

2009-02-20 Thread tungchau81
I am not writing things in AIR, therefore, I cannot rely on rightclick event. I assigned contextMenu of each PieSeries and ColumnSeries to my custom ContextMenu. Therefore, I was able to solve problem #1 as you said. When a user clicks on any item of my custom ContextMenu, I catch an event

RE: [flexcoders] Optimizing Allocated Memory versus Used Memory in Flex/Air Applications

2009-02-20 Thread Alex Harui
It is unfortunate that there is no good way to see what OS level resources are being used and how. Generally, bitmaps can use resources outside that measured by system.totalMemory. If 20 large PNGs eat 800Mb, that's 40MB per image which I don't think is impossible for large PNGs Alex Harui

Re: [flexcoders] Gumbo / Flex 4 release date estimate?

2009-02-20 Thread Jeffry Houser
To elaborate on Matt's post. Adobe (Macromedia) have traditionally had an 18 month release cycle. Since Flex 3 was released about a year ago [give or take a week]; you can add 6 months to today's date and that puts us in the beginning of September. Releases often (but not always) coincide

RE: [flexcoders] Optimizing Allocated Memory versus Used Memory in Flex/Air Applications

2009-02-20 Thread Gregory Kelley
Wonder if the process explorer from sysinternals would provide any help? Greg From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui Sent: Friday, February 20, 2009 3:01 PM To: flexcoders@yahoogroups.com Subject: RE:

[flexcoders] ToggleButtonBar xml based dataProvider

2009-02-20 Thread markgoldin_2000
Is that possible? Thanks

[flexcoders] Re: Send a confirmation Email

2009-02-20 Thread valdhor
You could try http://www.bytearray.org/?p=27 --- In flexcoders@yahoogroups.com, christophe_jacquelin christophe_jacque...@... wrote: Hello, How to send a confirmation Email in the flex program when the user get register ? Thank you, Christophe,

Re: [flexcoders] (Again ) Capabilities.language or how to get keyboard Locale in Air/Flex

2009-02-20 Thread Sam Lai
Oh right. It is probably returning the preferred languages in Internet Options Languages (if you're on Windows IE), rather than the OS language locales. Unfortunately because it is somewhat hidden in the control panel, most people have it set to en-US by default. But I think if you install

[flexcoders] XML Parsing - maintaining a record pointer

2009-02-20 Thread Libby
hi, flexCoders! thanks for all ur help in the past! Does Flex maintain your record pointer while reading an xml file? basically what i want to do is read each line and when I hit certain values, read on for 4 or 5 records, then return to the original process without starting back at the last

Re: [flexcoders] XML Parsing - maintaining a record pointer

2009-02-20 Thread Sam Lai
You could use a different variable name in the inner loop, that way it won't change the object in the outer loop. On 2/21/09, Libby libbychan...@yahoo.com wrote: hi, flexCoders! thanks for all ur help in the past! Does Flex maintain your record pointer while reading an xml file? basically

Re: [flexcoders] Optimizing Allocated Memory versus Used Memory in Flex/Air Applications

2009-02-20 Thread Fotis Chatzinikos
Alex, Sorry but i think you are wrong here... An uncompressed png (ready for drawing, ie in some form of bitmap data) can be far bigger than 40MBs. Example, 2000x2000 png: 2000 x 2000 pixels x 4 channels per pixel x 4 bytes per pixel(32bit int) = around 60MBs Let me know if i got my

Re: [flexcoders] Optimizing Allocated Memory versus Used Memory in Flex/Air Applications

2009-02-20 Thread Scott Delap
I think Alex said that size was not impossible and you read it as possible. So I think he's agreeing with you. I figured that a compressed PNG would be far larger in a bitmap data format. Scott

[flexcoders] ColdFusion Application variables with LCDS

2009-02-20 Thread Brendan Meutzner
Hi, I'd like to set an application variable on my CF server which is recognized in the various cfc's I'm using through LiveCycle Data Services. However, if I set a variable inside an Application.cfm file, it doesn't get recognized inside the cfc functions when called through LCDS Destinations.

[flexcoders] Re: Error message in debug console?

2009-02-20 Thread ursprakash6
Normally Security Sandbox Violation errors will come when trying to access local resources. If you are using any server side applcaitions like Java/php means then try tp access the files after creating one applicaiton for Flex Gnanz.../ http://gnanz-flexworld.blogspot.com --- In

[flexcoders] Re: AdvancedDataGridColumnGroup dynamically speaking

2009-02-20 Thread w_page3
Found the issue...I left this in my code...as I was doing some experimenting... var columnGroup:AdvancedDataGridColumnGroup=new AdvancedDataGridColumnGroup(String(i)); Changing to... var columnGroup:AdvancedDataGridColumnGroup=new AdvancedDataGridColumnGroup(); Solved the issue...Now is

Re: [flexcoders] Optimizing Allocated Memory versus Used Memory in Flex/Air Applications

2009-02-20 Thread Fotis Chatzinikos
Yap, you are right... Sorry Alex... On Fri, Feb 20, 2009 at 11:31 PM, Scott Delap scott-li...@richclientsolutions.com wrote: I think Alex said that size was not impossible and you read it as possible. So I think he's agreeing with you. I figured that a compressed PNG would be far larger

[flexcoders]

2009-02-20 Thread dorkie dork from dorktown
i am working on a project that is displaying html in the Flex Text component (via htmlText). it works great for showing basic html (b, i, u) but when i add an image it does not show the correct size. - is there a way to know when the image(s) have loaded in the text component? - i looked at a

RE: [flexcoders] XML Parsing - maintaining a record pointer

2009-02-20 Thread Tracy Spratt
I would suggest that you do not think in terms of reading the file. Rather, use e4x to find the node you want to process, then go from there. OTOH, it is acceptable to manipulate an XMLList, especially if your data is a single level. Tracy Spratt Lariat Services Flex development

RE: [flexcoders] ToggleButtonBar xml based dataProvider

2009-02-20 Thread Tracy Spratt
Certainly. Why would you think not? Though to speak accurately, you would use XMLList or XMLListCollection as the dataProvider. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Error message in debug console?

2009-02-20 Thread Tracy Spratt
Did you clean the project? Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markflex2007 Sent: Friday, February 20, 2009 2:43 PM To:

[flexcoders] Grid with header sections spanning the whole grid

2009-02-20 Thread ozziegt
I need to build a DataGrid that has header rows which span the whole grid. Basically, it's an invoice and items on the invoice are grouped by type. For each group, I want to have a row which spans across the whole grid, with text that will also span across multiple columns. I am hoping I can do

[flexcoders] Re: Relative Layout Question

2009-02-20 Thread alinmircea_s
Here you go, i think this is it :) if so, always pay attention to the absolute and vertical layout of the components ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; verticalGap=0 paddingTop=0 paddingBottom=0 width=600 height=600 mx:Panel

  1   2   >