[flexcoders] Re: TabNaviigator tabBar index doesn't update on selectedIndex change

2008-07-21 Thread rleuthold
Hi Jeff, Have you found a solution to this, cause I'm having exactly the same problem, and didn't found a way to solve it. _rico --- In flexcoders@yahoogroups.com, Battershall, Jeff [EMAIL PROTECTED] wrote: I'm using Flex 3 Beta 3. I have a TabNavigator component where the children are

[flexcoders] Inline EventListener in MXML tags - confusing description in Developers guide.

2008-07-21 Thread florian.salihovic
Quoted from Adobe Flex Developers Guide, page 78 However, it is best practice to use the addEventListener() method. This method gives you greater control over the event by letting you configure the priority and capturing settings, and use event constants. In addition, if you use

[flexcoders] Mapping LCDS from Java to AS

2008-07-21 Thread berenger_kc
Hello, I use LCDS 2.6 and JBoss 4.2.2, I start to work with these technologies and have a problem with the data mapping between java and actionscript. I will try to be as clear as possible to express my problem : Server side, I use the java.util.Vector class and my design is OBECT_A

[flexcoders] AdvancedDataGrid + printing issue

2008-07-21 Thread Kuldeep Atil
Hi All, Is there any way(method) by which we can get the expanded nodes of advanceddatagrid while printing irrespective of the current (expanded) state of advanceddatagrid. i.e. lets say i a collapsed ADG but when i click print button the printed ADG must have all the nodes expanded without

[flexcoders] Numbers gone crazy: 5 - 4.8 = 0.2000000000000018 ?

2008-07-21 Thread b_alen
Here is how I arrived at this: var res:Number; var a:Number = 5; var b:Number = 4.8; res = a - b; trace(result: + res + , a: + a + , b: + b); The trace clearly shows that the value of a is 5, and the value of b is 4.8. However the end result is clearly shown as 0.2018. Ok, I

[flexcoders] Re: Numbers gone crazy: 5 - 4.8 = 0.2000000000000018 ?

2008-07-21 Thread Kuldeep Atil
well, u can use number.tofixed(2); --- In flexcoders@yahoogroups.com, b_alen [EMAIL PROTECTED] wrote: Here is how I arrived at this: var res:Number; var a:Number = 5; var b:Number = 4.8; res = a - b; trace(result: + res + , a: + a + , b: + b); The trace clearly shows that the

[flexcoders] Re: Inline EventListener in MXML tags - confusing description in Developers guid

2008-07-21 Thread florian.salihovic
Instead of waiting for an answer i just ran a lil' test: ?xml version=1.0 encoding=utf-8? mx:Application creationComplete=eventListener(event) xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ import flash.utils.getQualifiedClassName; import mx.events.FlexEvent;

Re: [flexcoders] Re: Inline EventListener in MXML tags - confusing description in Developers guid

2008-07-21 Thread Johannes Nel
you could compile with the -keep option to see what is output underneath the covers. and then what i think might be the case pure speculation follows consider that the mxml gets converted to as. now in mxml you could have something event={a=1} or something event=function(event,'sdfdsf') or... now

Re: [flexcoders] Re: Numbers gone crazy: 5 - 4.8 = 0.2000000000000018 ?

2008-07-21 Thread Johannes Nel
this is well discussed and a side effect of dealing with Floats On Mon, Jul 21, 2008 at 12:03 PM, Kuldeep Atil [EMAIL PROTECTED] wrote: well, u can use number.tofixed(2); --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, b_alen [EMAIL PROTECTED] wrote: Here is how I

RE: [flexcoders] air sqlite example with BLOB datatype

2008-07-21 Thread Jim Hayes
I don't have an example to hand, but from memory : Storing images is a question of reading the original image file as a bytearray and inserting that byteArray varaible into a blob field in the database. Reading is much the same, select the record and read/cast it into a byteArray. It's then

[flexcoders] Re: Numbers gone crazy: 5 - 4.8 = 0.2000000000000018 ?

2008-07-21 Thread JWOpitz
My buddy Mike had just written a blog posting on this - http://mikeorth.com/?p=8 --- In flexcoders@yahoogroups.com, Johannes Nel [EMAIL PROTECTED] wrote: this is well discussed and a side effect of dealing with Floats On Mon, Jul 21, 2008 at 12:03 PM, Kuldeep Atil [EMAIL PROTECTED] wrote:

[flexcoders] Re: Anyone have a good resource on singletons?

2008-07-21 Thread zwetank
Hi, here I got a way to do it here http://code.google.com/p/maashaack/wiki/Singleton note that a lot of people will debate on how to define singleton in AS3, I don't say that the solution I mention above is the best but imho it's the most standard-way to do it and the closest to the AS3 language

[flexcoders] Numeric values drawn from a database, always int?

2008-07-21 Thread bredwards358
So far so good in the application currently in development, I feel like I'm in the home stretch. However something has come up which could prove to be a roadblock in the near future. There are some values which need to be totaled up and some of those need decimals. Now I realize that the int

Re: [flexcoders] Re: Numbers gone crazy: 5 - 4.8 = 0.2000000000000018 ?

2008-07-21 Thread Alen Balja
Yes, toFixed() is a better option. It still does not solve the problem as we don't know to what value to fix the numbers to achieve consistent behavior. In practice using something like toFixed(8) for every Number should do the job, but then again we can't be sure. I also found this blog that

RE: [flexcoders] Numeric values drawn from a database, always int?

2008-07-21 Thread Jim Hayes
I think you can find the answers here : http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/?localDatabase SQLSupport.html#dataTypes (I'd been meaning to look this up in any case, you just prompted me! Not finished reading it all as yet.) -Original Message- From:

[flexcoders] Re: Runtime CSS and SWF is not a loadable module

2008-07-21 Thread jamalwally
Was anybody able to view the css styles swf that I posted earlier? I'm still unable to implement runtime css because of the SWF is not a loadable module error. Any further help would be greatly appreciated. Thank you, --j --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED]

[flexcoders] Animated dashed lines

2008-07-21 Thread havardfl
In a project I'm working on I would like to represent data flowing through the system with dashed/dotted lines moving between two or more points. I've done one implementation using the lineGradientStyle function to create dashes. This works, but I'm not pleased with the CPU load while the script

[flexcoders] Re: Set attributes and methods of dynamically added controls

2008-07-21 Thread daddyo_buckeye
Amy, I got the results I wanted prior to my post with states, but the code is extremely unwieldy and limiting. I'll check out the repeater and post my results back here. Sherm --- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, daddyo_buckeye

[flexcoders] Filter an ArrayCollection into an ItemRender

2008-07-21 Thread luis_roman_am
Hi people! Situation as follows: MYARRAYCOLLECTION (Example fields) - TITLE - URL INDEX.MXML - TILELIST - DataProvider={MyArrayCollection} - ItemRenderer =MyRenderer MYRENDERER.MXML - LABEL (data.TITLE) (WORKS FINE) - LINECHART

[flexcoders] Re: Inline EventListener in MXML tags - confusing description in Developers guid

2008-07-21 Thread Amy
--- In flexcoders@yahoogroups.com, Johannes Nel [EMAIL PROTECTED] wrote: you could compile with the -keep option to see what is output underneath the covers. and then what i think might be the case pure speculation follows consider that the mxml gets converted to as. now in mxml you could

Re: [flexcoders] Re: Anyone have a good resource on singletons?

2008-07-21 Thread Troy Gilbert
I'm trying to find information on using singletons in AS3/Flex. I've got an .AS file set up but I'm having issues calling the data/functions within that function in other classes. Does anyone have a good resource on the web for creating and using singletons? As others have probably pointed

[flexcoders] Re: Would like to create a dynamic form

2008-07-21 Thread valdhor
Tim Yes, it can be done but it ain't easy. I have just completed an application that creates form items on the fly from a database. The PHP code returns value objects with fields including FieldName, FieldLabel, FieldType etc. So, first, I create a custom class that extends Form. Then, in the

[flexcoders] PopUpManager

2008-07-21 Thread tchredeemed
Does anyone know how to change the color/alpha of the background when using a popupmanager to add a popup to the screen? Not being able to do this has caused me to create my own popups, which might not be the best way to do it :) HALP!

[flexcoders] Re: PopUpManager

2008-07-21 Thread tchredeemed
are you allowed to say that on a yahoo forum? ps. I was looking at google when I found this, so yes, google is my friend! --- In flexcoders@yahoogroups.com, David Gironella [EMAIL PROTECTED] wrote: Here can find information:

RE: [flexcoders] PopUpManager

2008-07-21 Thread David Gironella
Here can find information: http://blog.flexexamples.com/2007/08/14/changing-a-modal-alert-controls-blur -transparency-and-transparency-color/ Google is your friend!!! Giro. -Mensaje original- De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de tchredeemed Enviado el:

[flexcoders] Re: PopUpManager

2008-07-21 Thread tchredeemed
actually, i dont see how to use that with the popupmanager, that works with alerts, and the solution below steps into mx_internal, which I would rather avoid... --- In flexcoders@yahoogroups.com, tchredeemed [EMAIL PROTECTED] wrote: are you allowed to say that on a yahoo forum? ps. I was

[flexcoders] Re: PopUpManager

2008-07-21 Thread tchredeemed
also, i can use global {}, but id rather use a popupmanager specific style... might not be possible? --- In flexcoders@yahoogroups.com, tchredeemed [EMAIL PROTECTED] wrote: are you allowed to say that on a yahoo forum? ps. I was looking at google when I found this, so yes, google is my

[flexcoders] Re: LCDS 2.6 - problem in samples

2008-07-21 Thread dstanten01
Hi Zdenek: I was able to reproduce this and have logged a bug for it. We will look into it. Thanx for bringing it to our attention. -David Stanten LCDS QE --- In flexcoders@yahoogroups.com, Zdenek Mikan [EMAIL PROTECTED] wrote: I have just downloaded LCDS 2.6, installed it on Tomcat 6.0.16

[flexcoders] Blank Images

2008-07-21 Thread archtechcomputers
I am testing something with Flex3 and need some guidance. I have a security camera that I can only see as a jpeg 320x240 and I am trying to get a flex program to display an image every 3 seconds. I have used the image control and created a timer event to refresh the image every 5 seconds. The

[flexcoders] Drag and drop. From an image to a box

2008-07-21 Thread Fernando Wermus
I have a strange behavior for me as a newbie. I have an image which I drop to a box. The image is accepted if only if the box is white. I cannot figure it out the reason of this behavior. The code, ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

[flexcoders] Flex Dashboard

2008-07-21 Thread gjessup1
Hey all, I have been watching this group for a while and figured many of you could benefit from a project I started called the Flex Dashboard. The google group is http://groups.google.com/group/flex-dashboard Its basically a database driven module loader. It is currently using MSSQL Server as

[flexcoders] Re: Drag and drop. From an image to a box

2008-07-21 Thread Fernando Wermus
I solved it doing this, backgroundColor=#FF backgroundAlpha=0 in the box. It is not nice! But works. Why is this behavior? On Mon, Jul 21, 2008 at 7:43 AM, Fernando Wermus [EMAIL PROTECTED] wrote: I have a strange behavior for me as a newbie. I have an image which I drop to a box. The

RE: [flexcoders] Re: PopUpManager

2008-07-21 Thread Alex Harui
Background of the popup? You specify that by making a selector of the name of the MXML file that defines the popup. Backgorund of the app behind the popup? You have to specify the modalTransparency and related styles From: flexcoders@yahoogroups.com

[flexcoders] Re: Anyone have a good resource on singletons?

2008-07-21 Thread Rick Winscot
With regard to Troy's comment on making it *impossible* to create multiple instances... - I would add.. multiple instances shouldn't be a huge problem unless you are using modules in your app. If you are - it is quite important to make sure you watch that like a hawk.

RE: [flexcoders] Re: Runtime CSS and SWF is not a loadable module

2008-07-21 Thread Alex Harui
I'm unable to download those files. Try to find another way to make them available. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jamalwally Sent: Monday, July 21, 2008 5:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re:

[flexcoders] Re: Bake XML File into ActionScript

2008-07-21 Thread edlueze
Genius - it works - thanks Tim! --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi, Here's a way that you can embed an external xml file into your app: [Embed('/data/myStubData.xml')] private var myStubDataXML : Class; private function onInitialize() : void {

[flexcoders] Re: Numeric values drawn from a database, always int?

2008-07-21 Thread bredwards358
Bingo, thanks that I believe was exactly what I needed, it would seem that when I'm making the database tables, it would be best to use REAL and/or NUMBER as opposed to NUMERIC and/or INTEGER to best utilize numbers with decimal points. Brian Ross Edwards Tech-Connect LLC --- In

Re: [flexcoders] Filter an ArrayCollection into an ItemRender

2008-07-21 Thread Scott Bachman
The syntax you tried is e4x (ECMAscript for XML) and only works with XML data. For an ArrayCollection you could use a filterFunction to filter the data. Check out, for instance, http://www.boyzoid.com/blog/index.cfm/2006/10/19/Filtering-Data-in-Flex or the filterFunction property of

[flexcoders] annotations on flex charts?

2008-07-21 Thread blc187
I am using chart annotations like the following example: var annotationElement:MyAnnotationElement = new MyAnnotationElement(); myChart.annotationElements = [annotationElement]; The problem is, I need the annotations to start a few pixels above my chart's dataRegion. Does anybody know how to

[flexcoders] How to display a total row on a DataGrid

2008-07-21 Thread Sean Clark Hess
Hello All, Well, I'm stuck. I've approached this about 3 different ways and have run into (different) dead ends on all of them. I've tried using multiple datagrids, which I got working fabulously, but setting the datagrid to width 100% does really wacky things with the column sizes. I've also

[flexcoders] Tile Component // Mutliple Drag Selection

2008-07-21 Thread artur_desig2dev
is something like this possible in Flex 3? http://www.design2dev.com/dragSelect.jpg has anyone successfully achieved this? if so..any direction would be greatly appreciated. thanks artur

[flexcoders] HBox verticalGap

2008-07-21 Thread [EMAIL PROTECTED]
How come when I create an HBox in view mode, it allows verticalGap=30 but when I create an HBox dymanically it says there is no such property movieBox.verticalGap=30; 1119: Access of possibly undefined property verticalGap through a reference with static type mx.containers:HBox. Also, I asked

[flexcoders] Populate label with item from combobox

2008-07-21 Thread Cathal
Hi, I have a combobox which is populate by an XML file and works fine. code: mx:ComboBox creationComplete=userProjects.send() dataProvider={userProject} labelField=projectname change=setCompanyName(event) width=313 /mx:ComboBox Once, the combo box is changed it fills a label with the value

[flexcoders] How to make Tree only display branch nodes without filters

2008-07-21 Thread Greg Hess
Hi All, My application has a global data model representing a file system. I have a tree control allowing users to navigate the file system directories. I am using a global data model so that rename, delete, add operations automatically propogate to other UIComponents bound to file children

RE: [flexcoders] How to display a total row on a DataGrid

2008-07-21 Thread Alex Harui
There's a footer example on my blog From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sean Clark Hess Sent: Monday, July 21, 2008 11:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to display a total row on a DataGrid

RE: [flexcoders] Tile Component // Mutliple Drag Selection

2008-07-21 Thread Alex Harui
TileList with allowMutipleSelection=true? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of artur_desig2dev Sent: Monday, July 21, 2008 11:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Tile Component // Mutliple Drag

[flexcoders] Re: Flex Dashboard

2008-07-21 Thread gjessup1
Added a code project for those interested http://code.google.com/p/flex-dashboard/ --- In flexcoders@yahoogroups.com, gjessup1 [EMAIL PROTECTED] wrote: Hey all, I have been watching this group for a while and figured many of you could benefit from a project I started called the Flex

RE: [flexcoders] HBox verticalGap

2008-07-21 Thread Alex Harui
It is a style so you have to use setStyle() From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, July 21, 2008 11:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] HBox verticalGap How come when I

[flexcoders] Re: creating a World Clock and need a little help with the time and date

2008-07-21 Thread valdhor
Looking at the ASP .NET Date Tutorial at http://www.easerve.com/developer/tutorials/asp-net-tutorials-dates.aspx you can figure out how the dates work. Using that I came up with the following which should help you out: ?xml version=1.0 encoding=utf-8? mx:Application pageTitle=World Time

RE: [flexcoders] Populate label with item from combobox

2008-07-21 Thread Alex Harui
Tyr binding the label to the combobox's selectedItem.projectname From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cathal Sent: Monday, July 21, 2008 11:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Populate label with item

RE: [flexcoders] How to make Tree only display branch nodes without filters

2008-07-21 Thread Alex Harui
In theory, you can override createItemRenderer and return different kinds of renderers based on the data From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Greg Hess Sent: Monday, July 21, 2008 12:06 PM To: flexcoders@yahoogroups.com

[flexcoders] getting absolute height from component

2008-07-21 Thread ibo
If I have a canvas with height set to 100%, how do I get its absolute height? (in pixels) the height attribute is giving me 0.

RE: [flexcoders] getting absolute height from component

2008-07-21 Thread Gordon Smith
You're accessing the 'height' property before the LayoutManager has determined what its height should be. You need to wait at least until the component has dispatched an updateComplete event. Gordon Smith Adobe Flex SDK Team From:

RE: [flexcoders] Tile Component // Mutliple Drag Selection

2008-07-21 Thread terryflexcoders
From line 559 of ScheduleViewer: [Bindable] public function get allowMultipleSelection() : Boolean { return entryViewer.allowMultipleSelection; }

RE: [flexcoders] Inline EventListener in MXML tags - confusing description in Developers guide.

2008-07-21 Thread Gordon Smith
Why can't i just call removeEventListener in ActionScript on the type of event declared in MXML? Because you don't know what to pass for the handler reference. When you write MXML code like Button click=a=1; b=2/ the MXML compiler autogenerates an event handler method whose body

Re: [flexcoders] How to display a total row on a DataGrid

2008-07-21 Thread Sean Clark Hess
Your examples were some of the first I looked at. I don't remember now why I thought I couldn't use them. I'll try the Flex 3 DataGrid Footers post again and see if I run into the same problems I'm experiencing (mismatched column widths, 100% width not working). Thanks for the reminder On Mon,

[flexcoders] air sqlite image loading

2008-07-21 Thread sudha_bsb
Hi, I am trying to store an image into Sqlite database from an air application and also trying to display the image by reading data from the database. I am using blob datatype for this. I am getting the following error while doing it... Error #2044: Unhandled IOErrorEvent:. text=Error #2124:

[flexcoders] Gumbo

2008-07-21 Thread Gordon Smith
Want to know what we've got cookin' for the next major release of Flex, codenamed Gumbo? Take a look at http://opensource.adobe.com/wiki/display/flexsdk/Gumbo Deepa's whitepaper on the new Gumbo Component Architecture

[flexcoders] mouseOverHandler and itemRollOver Listener

2008-07-21 Thread markgoldin_2000
It looks like if I implement mouseOverHandler then itemRollOver event is not fireing, or at least it's not getitng into its handler.Can I use both events somehow? Thanks

[flexcoders] attaching one instance of a displayobject to multiple containers

2008-07-21 Thread blc187
Is there a way to attach a displayobject to more than one container? I have a canvas that I instantiated and drew onto, but I want to attach it onto two separate containers without having 2 separate instances of it. When I do this: var obj:MyCanvas = new MyCanvas(); container1.addChild(obj);

Re: [flexcoders] attaching one instance of a displayobject to multiple containers

2008-07-21 Thread Daniel Gold
A display object can only have a single parent, so you will have to have two instances. On Mon, Jul 21, 2008 at 3:31 PM, blc187 [EMAIL PROTECTED] wrote: Is there a way to attach a displayobject to more than one container? I have a canvas that I instantiated and drew onto, but I want to

RE: [flexcoders] Tile Component // Mutliple Drag Selection

2008-07-21 Thread Alex Harui
So when you set to true, what happens? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, July 21, 2008 12:46 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Tile Component // Mutliple Drag

RE: [flexcoders] mouseOverHandler and itemRollOver Listener

2008-07-21 Thread Alex Harui
Did you call super.mouseOverHandler? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Monday, July 21, 2008 1:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] mouseOverHandler and itemRollOver Listener

RE: [flexcoders] attaching one instance of a displayobject to multiple containers

2008-07-21 Thread Alex Harui
Can't. You might have two parents, but display objects can only have one. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of blc187 Sent: Monday, July 21, 2008 1:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] attaching one

[flexcoders] Re: mouseOverHandler and itemRollOver Listener

2008-07-21 Thread markgoldin_2000
Yes, that was the problem. Thanks! --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Did you call super.mouseOverHandler? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Monday,

[flexcoders] Re: Tile Component // Mutliple Drag Selection

2008-07-21 Thread artur_desig2dev
just to clarify.. im not talking about the ability to drag around multiple tiles. im looking to select multiple tiles via clickdrag. while at the same time generating a selection box over the tiles. thanks

[flexcoders] I do not like flex 3 any more!!!!

2008-07-21 Thread hworke
See this presentation by Ely. You will know why: http://tv.adobe.com/#v=http%3A//adobe.edgeboss.net/flash/adobe/adobetvprod/adc_presents/64_adc_018.flv%3Frss_feedid%3D1216%26xmlvers%3D2

[flexcoders] Re: TextArea - changing backgroundColor on MouseOver when used in an ItemRenderer

2008-07-21 Thread djohnson29
Thanks for the reply Alex - Most of the examples I see are using the DataGrid and working with the DataGridItemRenderer. Do you have any specific examples using ListItemRenderer and a List? I have been googling modifying ListItemRenderer but can't seem to see any examples. The only examples I

Re: [flexcoders] Gumbo

2008-07-21 Thread Vivian Richard
Wow!!! Great Gordon. I feel link suspend my project till Flex 4 comes out. :-)). Really liked Ely's demo. On Mon, Jul 21, 2008 at 1:07 PM, Gordon Smith [EMAIL PROTECTED] wrote: Want to know what we've got cookin' for the next major release of Flex, codenamed Gumbo? Take a look at

[flexcoders] Highlight cell from context menu

2008-07-21 Thread markgoldin_2000
Is there a way of highlighting a cell that was right mouse clicked on right before contextmenu showed up? Thanks

[flexcoders] ArrayCollection filterFunction only gets called on root item

2008-07-21 Thread Greg Hess
Hi All, I have a tree control who's data provider is an ArrayCollection holding a single File object I defined. The File object represents the root of a remote file system hierarchy that has children getter that supports the tree control and each child is rendered in the tree with an

[flexcoders] changing project settings

2008-07-21 Thread [p e r c e p t i c o n]
Hi all, i started a project and at the time i didn't need a server, but now i do. is there a way to modify the settings to use a server after the fact? thanks and cheers percy

RE: [flexcoders] Re: TextArea - changing backgroundColor on MouseOver when used in an ItemRenderer

2008-07-21 Thread Alex Harui
I am recommending that you modify your renderer in Actionscript instead of MXML. It will be much more efficient, and you can use ListItemRenderer as a template, and borrow background modification code from the examples on my blog for DataGridItemRenderer (which is a TextField).

RE: [flexcoders] Gumbo

2008-07-21 Thread Gordon Smith
No breath-holding, please... Gumbo isn't even alpha yet and we haven't announced any ship date! But you'll be able to watch us develop it checkin-by-checkin, and try it out. You can build it now, or download builds. We worked on a private branch for a few months while we figured out the high-level

Re: [flexcoders] Gumbo

2008-07-21 Thread Michael Schmalle
Nice to see the recipe being altered to taste. This shows some good cooks in the kitchen. Peace, Mike On Mon, Jul 21, 2008 at 6:06 PM, Gordon Smith [EMAIL PROTECTED] wrote: No breath-holding, please... Gumbo isn't even alpha yet and we haven't announced any ship date! But you'll be able

Re: [flexcoders] HBox verticalGap

2008-07-21 Thread [EMAIL PROTECTED]
Thanks. I got it to accept verticalGap, but it didn't do what I wanted. I have an application with vertical layout I want an HBox to have a 20 topmargin. How do I do that? I have also tried topMargin=20 , and y=20 Alex Harui wrote: It is a style so you have to use setStyle()

[flexcoders] Re: Populate label with item from combobox

2008-07-21 Thread Cathal
Hi Alex, How do I achieve this? I've tryed doing lbl.text = selectedItem.projectname but I beleave this needs an event first, no? Any suggestions? Thanks, Cathal --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Tyr binding the label to the combobox's

RE: [flexcoders] air sqlite image loading

2008-07-21 Thread Jim Hayes
I'm not sure why you're using Base64Encoder/Base64Decoder here, tbh (perhaps you really need to send over the net as text at some point?). Unless it's because you are using only a string for the insert statement? You can insert binary data into a blob field in the AIR database directly, though

RE: [flexcoders] HBox verticalGap

2008-07-21 Thread Alex Harui
paddingTop From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, July 21, 2008 3:48 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] HBox verticalGap Thanks. I got it to accept verticalGap, but

RE: [flexcoders] Re: Populate label with item from combobox

2008-07-21 Thread Alex Harui
In MXML, you might have mx:Label id=lbl text={cb.selectedItem.projectname} / mx:ComboBox id=cb / From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cathal Sent: Monday, July 21, 2008 3:40 PM To: flexcoders@yahoogroups.com

Re: [flexcoders] HBox verticalGap

2008-07-21 Thread [EMAIL PROTECTED]
I meant I have an application with horizontal layout I want an HBox to have a 20 topmargin. How do I do that? [EMAIL PROTECTED] wrote: Thanks. I got it to accept verticalGap, but it didn't do what I wanted. I have an application with vertical layout I want an HBox to have a 20

[flexcoders] referencing embedded images inside AdvancedDataGridGroupItemRenderer

2008-07-21 Thread Brandon Krakowsky
I've embedded some images like so: [Embed(source=images/image1.png)] private var image1:Class; [Embed(source=images/image2.png)] private var image2:Class; I can't seem to reference these class names from a String like so: override public function set data(value:Object):void { img =

[flexcoders] Understanding DataGridColumn#sortCompareFunction with composite custom classes

2008-07-21 Thread florian.salihovic
I'm currently working with a custom classes which are composites. I display the needed data via custom ItemRenderer which extends the mx.controls.Text component. It works pretty nice and is pretty flexible. But i need to sort my data as well. After some researches i learned to implement a

[flexcoders] Layout challenge

2008-07-21 Thread Richard Rodseth
Here's what I need: A single row containing a right-aligned PopUpButton and to its left, an mx:Label that fills the remaining space. The label has truncateToFit=true ad should display an ellipsis when necessary (the label can have very long contents). Ideally the PopUpButton could be of variable

Re: [flexcoders] HBox verticalGap

2008-07-21 Thread [EMAIL PROTECTED]
I thought of that but since my box has a border it won't work. I guess I could wrap it in another box but I was hoping to avoid that. Alex Harui wrote: paddingTop

[flexcoders] how to set lineScrollSize of a scrollbar in HorizontalList ?

2008-07-21 Thread Yochikoh Haruomi
Dear list, For Horizontal scroll list, when the scrollbar's arrow is clicked, one item is moved at a time. Is there a way to set the horizontal lineScrollSize?  I want to be able to have more than one item to move at a time . Thanks! Yoko

[flexcoders] how to set lineScrollSize of scrollbar in HorizontalList?

2008-07-21 Thread Yochikoh Haruomi
Sorry for the typo in the previous email. I meant to say HorizontalList instead of Horizontal scroll list. Here is the question: For HorizontalList, when the scrollbar's arrow is clicked, one item is moved at a time. Is there a way to set the horizontal lineScrollSize?  I want to be able to

[flexcoders] rtmp, videodisplay and _definst_

2008-07-21 Thread grimmwerks
I'm curious - has anyone had any experience pulling in a limelight feed into flex? I've written a flash player that uses NSConnection and successfully pulls in the stream; but in trying to pull this same stream into flex -- there's no connection/display whatsoever.

[flexcoders] LogAxis and LineChart does not work

2008-07-21 Thread ilikeflex
Hi Team I am trying to use LogAxis with the LineChart. I have attached the piece of code. If i change the axis to Linear Axis it works but if i chnage to LogAxis it fails. Can anybody let me know why Thanks ilikeflex ?xml version=1.0 ? !-- Simple example to demonstrate the ColumnChart and

[flexcoders] display code won't work outside of the mx:State and mx:AddChild

2008-07-21 Thread Scott
I'm not sure why this is not working but I can't seem to get it to work correctly... I've got the following code: mx:State name=Startup mx:AddChild position=lastChild mx:Image x=31 y=30 source=images/FT.gif/ (this one displays the

[flexcoders] runtime localization

2008-07-21 Thread Parag Metha
Hi All, I am working on runtime localization. I am using Flex 3 and LCDS 2.5. I have few resource bundles specific to application along with some resource bundles in Flex SDK and LCDS. When compile all resource bundles (specific to my app, Flex, LCDS) into a single swf/swc, the

[flexcoders] what is vellum in flex4?

2008-07-21 Thread Sherif Abdou
the namespace is vellum:http://vellum/prerelease, i spent an hour trying to just see what i can do with it but nothing is going up on the screen. it looks like html tags that are native in flash player but i have no idea how to use it since i searched and there is nothing on it. Anyone know

[flexcoders] accessing styles of children

2008-07-21 Thread [EMAIL PROTECTED]
videoButtonBox. is an VBox with HBoxes for children. How do I change styles as I iterate thru children? videoButtonBox.getChildAt(i).setStyle() is not a function. var numChildren:Number = videoButtonBox.numChildren; for (var i:int = 0; i numChildren; i++) { videoButtonBox.getChildAt(i)

RE: [flexcoders] accessing styles of children

2008-07-21 Thread Alex Harui
It is if you cast everything correctly IStyleClient(videoButtonBox.getChildAt(i)).setStyle(...). The compile is trying to help you out so the return types of methods and properties are important From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] how to set lineScrollSize of scrollbar in HorizontalList?

2008-07-21 Thread Alex Harui
Try overriding configureScrollBars and set lineScrollSize if the horizontalScrollBar exists From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Yochikoh Haruomi Sent: Monday, July 21, 2008 6:25 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Understanding DataGridColumn#sortCompareFunction with composite custom classes

2008-07-21 Thread Alex Harui
If the property identified by the column's dataField doesn't actually exist, I think that's when you get this error. A sortCompareFunction on a column specifies a SortField's compare function. You can also specify a custom Sort with a global compareFunction that shouldn't check for the existence