[flexcoders] drawing a stack of rectangle ?

2006-11-25 Thread arpan srivastava
Hi, I am drawing a stack which contans rectangles of different depending on some value. rectangles are drawn but they are overlapping each other by 1 or 2 pixels at the end. I have to highlight the rectangles also, for that I am creating a rectangle on mouseOver event and adding the rectangl

[flexcoders] padding in the text in cells in a datagrid

2006-11-25 Thread arpan srivastava
Hi , How to give padding to text in the cells. In my datagrid I have numbers which are right aligned, but they are too much right aligned, the text in last column touches the scroll bar. Can I have padding in the text?

Re: [flexcoders] SWFLoader - local parent SWF / remote child SWF

2006-11-25 Thread Nick Collins
without apollo, I don't think so On 11/24/06, keithtucci <[EMAIL PROTECTED]> wrote: i have a local SWF file (to be more exact a projector executable, built w/ zinc) that needs to use SWFLOADER to run a remote swf file. i get sandbox security errors when i attempt to do this... is this even p

[flexcoders] DataBinding Vs. Procedural Model Updates

2006-11-25 Thread Steve Hindle
Hi All, Anyone know the performance implications of using databinding to update a model vs an 'updateModel()' type call? I can use basic databinding to bind a form to the model (source="{foo.customer_name}") and databinding calls to bind foo.customer_name back to the form control (so your mod

[flexcoders] head namespace in Flex 2 Style Explorer

2006-11-25 Thread Mark Piller
Hi guys, I've been looking into the Flex 2 Style Explorer at http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer.html and have a question about the "head" namespace used in the example. Could someone point out where in the code that namespace is being declared? For example

[flexcoders] Re: Initial order column for DataGrid - Flex2

2006-11-25 Thread kredding.geo
You should try to sort the ArrayCollection that is bound to the dataGrid's dataProvider. Once the collection or the source array is sorted, your data grid will be sorted. Kim --- In flexcoders@yahoogroups.com, "kehlpeter" <[EMAIL PROTECTED]> wrote: > > Hi, > > is there any way to set a defau

RE: [flexcoders] How to implement Lazy Hibernate?

2006-11-25 Thread Kelly
Lazy Loading probably isn't going to help you. You probably want to consider doing an intermediate class between any many-to-many associations in hibernate so you have two many-to-one associations instead. --Kelly _ From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] How to implement Lazy Hibernate?

2006-11-25 Thread Douglas McCarroll
Hi All, I'm attempting to create a Cairngorm/FDMS/Hibernate/MySQL example program which I'll publish to the community once completed. I used the MySQL Sakila sample DB (pared down to 3 tables - Film, Actor & FilmActor - at present) and used HibernateTools to reverse engineer the requisite Java

[flexcoders] best way to do database to Java to XML to flex

2006-11-25 Thread hank williams
I have been using remoting to get data out of my database and into flex. The nice thing about this is it handles all the data conversion issues etc. But now, I have a need to be able to communicate certain data in XML format. I would imagine that there must be a clean process/format for communicat

[flexcoders] Re: Newbie: binding RadioButtonGroup to a boolean database column

2006-11-25 Thread Tim Hoff
Hi Jack, One way would be to conditionally set the individual radio button's selected property. if (value == null) { yesRadioButton.selected="false"; noRadioButton.selected="false"; } -TH __ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com

RE: [flexcoders] "GLOBAL functions"?

2006-11-25 Thread Flexy
Hi, Try creating a package with a class containing all your "global functions" (i.e myUtils), then you can include this package and use the class including functions and variables. Hope this helps, Flexy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

[flexcoders] Re: Newbie: binding RadioButtonGroup to a boolean database column

2006-11-25 Thread jack_freud
No. I tried that too. Having a third radio button whose visible property is set to false, that looks for a value of 'null' or '' or whatever I choose the third value (besides 'Yes'or 'No', works fine but seems like unnecessary work. Has anyone solved this differently? I could use a single check

RE: [Junk E-Mail - LOW] [flexcoders] "GLOBAL functions"?

2006-11-25 Thread Shannon Hicks
You'll want to create a new actionscript class. In there, you can create your functions, and then in whatever files you need, you can just do an: include com.mycompany.myglobalfunctions And make the call: com.mycompany.myglobalfunctions.someMethod(); Shan _ From: flexcoders@yahoog

RE: [flexcoders] resizing the datagrid ?

2006-11-25 Thread Shannon Hicks
I ended up having to calculate out the datagrid height after I populated it... the code looked something like this: populateGrid(event:ResultEvent):void { acGridData = event.resut as ArrayCollection; callLater(resizeGrid); } resizeGrid():void { myGrid.height = myGrid.measureHeight

RE: [flexcoders] "GLOBAL functions"?

2006-11-25 Thread Steve Kellogg @ Project SOC
Jignesh, Thanks VERY MUCH. Steve _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jignesh Dodiya Sent: Saturday, November 25, 2006 10:21 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] "GLOBAL functions"? use mx.control.Applicat

Re: [flexcoders] "GLOBAL functions"?

2006-11-25 Thread Jignesh Dodiya
use mx.control.Application.application to access the variable. No globals are there in AS-3 jignesh dodiya On 11/25/06, Steve Kellogg @ Project SOC <[EMAIL PROTECTED]> wrote: Hello, I've got some functions and variables in my main MXML file that I need to access from other MXMLs in t

[flexcoders] "GLOBAL functions"?

2006-11-25 Thread Steve Kellogg @ Project SOC
Hello, I've got some functions and variables in my main MXML file that I need to access from other MXMLs in the project. For some reason, I can't seem to figure out how to do this. I've (obviously) checked the documentation looking for a 'global' keyword, or for an 'extern' keyword or fo

[flexcoders] Data binding nested data??? BUG???

2006-11-25 Thread dzeitman
All, Does anyone understand why this databinding doesn't work. It seems like this is a significant bug. Example shows a form with several fields, a data model, bindings, a grid and a second form to echo the data. Clearly the bindings work as the second form echos the first, the top level obje

[flexcoders] Getting Code Hinting to work from Library

2006-11-25 Thread Bruce Denham
Is there any way to get the code hinting to work from an included library? I've compiled all my image and font assets in a library swc and have included it in my project (merge-in). But now I'm no longer able to get the code-hinting, and without it, remember names of all the various images that use

RE: [flexcoders] IP Address Validation

2006-11-25 Thread Mozilla By
This is Regular Expression from AS3CB: ^([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4 ]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])$ -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: 24 ?? 200

[flexcoders] Marker ID #### not found

2006-11-25 Thread George Georgiou
Hi there, I am kind of new to Flex (but not to ColdFusion). I have been playing around with Flex 2 during the last days and so far I find it very future-promissing platform, worth investing some time on it. I have a small problem which I have no clue what's wrong. As soon as I try to execute my

[flexcoders] resizing the datagrid ?

2006-11-25 Thread arpan srivastava
Hi , I facing a lot of problem for resizing the datagrid. I have created a datagrid component which I am placing in a HBox. I have to set the size of datagrid in percentage to make it resizable. Can anyone tell me what properties of datagrid can I set in percentage, I need to keep rowcount c

[flexcoders] Re: Custom Tooltips in actionscript - Correction

2006-11-25 Thread richmcgillicuddy
John, Thanks for the tips. I think I got it between your help and one spot in the UIComponent help. So the code I was getting caught up in was the line toolTipCreate="event.toolTip=this.createTip() Where createTip created a custom tooltip as described in a number of posts I've seen before. What

RE: [flexcoders] Additional charting types

2006-11-25 Thread Alex
Thanks Ely, I'll give it a try. I was also thinking of adapting AreaChart by specifying minField value and alpha=0 for Thanks, Alex -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely Greenfield Sent: Saturday, November 25, 2006 10:21 AM To: f

[flexcoders] How do I make this custom Style property work correctly?

2006-11-25 Thread tombaggett
I'm trying to create a CSS style property that expects an mx:Effect object to be used in a custom AS class. I want to detect changes being made to the style property and assign the specified effect to an effect trigger belonging to a child of my custom component. Unfortunately, the specified mx:E