RE: [flexcoders] Loader coming back with incorrect dimensions

2009-05-12 Thread Alex Harui
Any SWF has a default size baked into its header. That size is reported in LoaderInfo. The SWF can put displayobjects and draw graphics anywhere and that will affect the width/height of the Loader instance. One way to diagnose this would be to use Flash to build an AS2 SWF so you can poke at

RE: [flexcoders] Text Layout Framework with Flex 3.3 and Embeded Fonts

2009-05-12 Thread Gordon Smith
Pete, has the 3.x compiler been revved, or will it be, to support embedding fonts as DefineFont4 tags for use with FTE and TLF? Or is this something only Flex 4 will support? - Gordon From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Daniel Freiman Sent:

[flexcoders] Re: Dynamicaly shrink expand flex application

2009-05-12 Thread yossi.baram
Thanks for the reply man, I'm missing something here, I created my Tree as a tag: %@ tag import=com.mercury.topaz.webinfra.WebInfraApplicationFactory % %@ tag import=com.mercury.topaz.webinfra.WebInfraApplication % %@ tag description=Display Flex Treetable pageEncoding=UTF-8 % %@ taglib prefix=c

RE: [flexcoders] Dictionary class?

2009-05-12 Thread Kenneth Sutherland
I've used it in the past to get all the unique values from an array or array collection. See http://kennethsutherland.com/2009/04/02/find-all-unique-values-from-arra y-or-collection/ Kenneth. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of luvfotography

[flexcoders] Re: Dynamicaly shrink expand flex application

2009-05-12 Thread yossi.baram
I think the problem is that the AdvancedDataGrid set its columns width to 100px by default. I add my columns dynamically using AdvancedDataGridColumn, Can I sett some columns to be percentage width and some not? Thanks --- In flexcoders@yahoogroups.com, yossi.baram yossi.ba...@... wrote:

[flexcoders] Debugger Issues

2009-05-12 Thread knottbrian
I guys I'm new to Flex and getting my feet wet. The issue I have at the moment is that the debugger does not work. I have installed the debug versiojn of the flash player (10,0,22,87) but it will not connect to Flex builder (3.0.2.214193). Flex Builder returns a message saying you need to

[flexcoders] combobox data provider update on remote object call

2009-05-12 Thread Nitin Kanaskar
hi All I am working on combo box data provider getting updated after call to a remote object which returns an array. I am trying to update the data provider in a event handler for remote object. The problem is it sometimes gets updated and sometimes not - I read that remote object events are

[flexcoders] passing data to itemrenderer children

2009-05-12 Thread sinstone_flickr
hey guys and gals, i'm using a list with an itemRenderer to show a list of activities in our LMS. the list has its dataProvider set to use XML retrieved from the backend: itemRenderers:ActivityListItemRenderer id=mainActivityList dataProvider={this.learningDesignXML.Activity} / inside the

[flexcoders] combobox data provider update on remote object call

2009-05-12 Thread nitink_77
hi All I am working on combo box data provider getting updated after call to a remote object which returns an array. I am trying to update the data provider in a event handler for remote object. The problem is it sometimes gets updated and sometimes not - I read that remote object events are

Re: [flexcoders] combobox data provider update on remote object call

2009-05-12 Thread Jeffry Houser
I can't say for certain, but it sounds to me like, sometimes, your creationComplete handler is firing before the RemoteObject returns data, thus firing the result handler. Unless you have control over the Internet, I don't think there is any way to guarantee that your asynchronous code (AKA

Re: [flexcoders] passing data to itemrenderer children

2009-05-12 Thread Jeffry Houser
Because the data didn't change? sinstone_flickr wrote: hey guys and gals, i'm using a list with an itemRenderer to show a list of activities in our LMS. the list has its dataProvider set to use XML retrieved from the backend: itemRenderers:ActivityListItemRenderer id=mainActivityList

[flexcoders] Re: Custom component itemRenderer

2009-05-12 Thread Tim Hoff
Yes, you can definetely set properties on an itemRenderer if it is created using ClassFactory. Perhaps a little better than binding the itemRenderer to a model, but it would certainly be debated. -TH --- In flexcoders@yahoogroups.com, Jeffry Houser j...@... wrote: I didn't know that,

RE: [flexcoders] Tracy's search tree solution question ...

2009-05-12 Thread Tracy Spratt
Perhaps you should set the selectedItems array instead. treeSlsHrchy.selectedItems.push( xmllistDescendants[i]); Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Mic Sent: Monday, May

Re: [flexcoders] using as breaks data binding?

2009-05-12 Thread Pan Troglodytes
I wonder if I wasn't clear enough on this - these are run-time warnings that output to the console. You don't get those? On Mon, May 11, 2009 at 5:27 PM, Alex Harui aha...@adobe.com wrote: I didn’t get any warnings like you did so I couldn’t investigate further. Alex Harui Flex SDK

[flexcoders] Getting an error when using a tree as a component

2009-05-12 Thread timgerr
Hello all, I was wondering if this error makes sense? I have this tree that I made into a component. When I run the script, I see the tree but when I try and click on one of the folders I get this error The supplied DisplayObject must be a child of the caller. Anyone know what this

[flexcoders] removing some labels on chart axis

2009-05-12 Thread thomas parquier
Hi, How to prevent selectively some labels from rendering ? thomas --- http://www.web-attitude.fr/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net téléphone portable : +33601 822 056

Re: [flexcoders] Text Layout Framework with Flex 3.3 and Embeded Fonts

2009-05-12 Thread Daniel Freiman
Apparently you can compile DefineFont4 font in Flex 4 and then import that swf into Flex 3.2+. But thanks for passing on the question. - Daniel Freiman On Tue, May 12, 2009 at 2:22 AM, Gordon Smith gosm...@adobe.com wrote: Pete, has the 3.x compiler been revved, or will it be, to support

Re: [flexcoders] combobox data provider update on remote object call

2009-05-12 Thread nitinvk04
hi Jeffry I moved my javascript invoking code to the event handler - and voila! That worked like magic. It worked for all the tests I did. Thanks a million for your idea. I was frustrated with this problem to my wit's end. Hopefully it should keep working forever and not sometimes. Nitin

[flexcoders] Re: Debugger Issues

2009-05-12 Thread valdhor
First off, check that you have the debug version. Try... http://kb2.adobe.com/cps/155/tn_15507.html or http://playerversion.com/ Let us know what it says. --- In flexcoders@yahoogroups.com, knottbrian bkn...@... wrote: I guys I'm new to Flex and getting my feet wet. The issue I have at

[flexcoders] Flex, Selenium, lists and dragdrop

2009-05-12 Thread civilu007
Hello, I'm trying to test a Flex application with Selenium using the set-up described at http://blackpepper.co.uk/black-pepper-blog/Flex-acceptance-testing-and-c\ ontinuous-integration.html . For those not inclined to read through that post, I'm using flash-selenium and Selenium Flex API to

[flexcoders] FlowBox Nesting

2009-05-12 Thread Mike Oliver
I am trying to create a screen with a grid and a toolbar on top of it. The problem is that the toolbar can have more user selectable controls in it than will fit on small screens. So I wanted to use the FlowBox and that works great but only if I allow for the space between the Flowbox and the

[flexcoders] Buggy HorizontalList

2009-05-12 Thread nathanpdaniel
I'm using the HorizontalList (HList) component and I've run into an issue where when data is updated dynamically some items are not rendered. I load data via an XML file which sets up in my app several XMLListCollection variables. Users can select different menu options to determine which

[flexcoders] Re: using as breaks data binding?

2009-05-12 Thread valdhor
Jason As a sanity check I tried it and I get the exact same error. I am using Flex SDK 3.3.0 and Flash Player WIN 9,0,159,0 Debug. Strangely enough, changing b to y fixes it and the error goes away. Other variable identifiers I have tried (Very small sample) gives the error as well. It's got

[flexcoders] How do I set a focus property on a TextInput that is built using AddChild?

2009-05-12 Thread huu...@ymail.com
Does anyone have an idea how to resolve this issue that I posted on StackOverflow? http://stackoverflow.com/questions/853835/how-do-i-set-a-focus-property-\ on-a-textinput-that-is-built-using-addchild

[flexcoders] mx:image bottom=0 problems with vertical bar

2009-05-12 Thread fotis.chatzinikos
Hello all, I am trying to align an image at the bottom of the screen. My structure is the following: mx:application mx:Image bottom=0/ hbox left=0 top=0 ... /hbox /mx:application When the the hbox is less than the screen hight (ie no scrollbars) the image is correctly alligned at

RE: [flexcoders] Re: using as breaks data binding?

2009-05-12 Thread Alex Harui
Yeah, I didn't get any console output Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of valdhor Sent: Tuesday, May 12, 2009 10:24 AM To:

[flexcoders] Debugging in Flex Builder crashes IE, Firefox, Safari...

2009-05-12 Thread Dave Kong
Hi, Just about 2 weeks ago, I suddenly started getting a lot of crashes when trying to debug our app under Flex Builder (standalone). The crashes happen as soon as our app is loaded and it crashes IE7, FF3, Safari w/o any prior warning or exception. The crash is only happens when I try to run

[flexcoders] Skin TextInput password character

2009-05-12 Thread JérémyR
Hi, Is there any way to skin TextInput default character *? Typically I want to replace it by bullets / icons /... Or any third part component that handles it? Thanks. -- View this message in context: http://www.nabble.com/Skin-TextInput-password-character-tp23508043p23508043.html Sent from

[flexcoders] Examples of side TabNavigator?

2009-05-12 Thread grimmwerks
Hey - has anyone any links / info on possibly making a side Tab Navigator? How best to override the createChildren? Danke

[flexcoders] AIR app crashes and burns on Mac

2009-05-12 Thread jer_ela
adl, the development runtime for AIR is crashing on me. This seems to be related to using SQL lite. It had been crashing at one place in the code intemittently, then was stable for a while. Now it is crashing consistantly at another place in the code. Changing the sdk from 3.2 to 3.3 didn;t

[flexcoders] loading status for DataGrid

2009-05-12 Thread Dharmendra Chauhan
Hi All, I have flex DataGrid which asynchronously receive data throw LCDS deployed on Jboss.Initially It loads around 2k to 3k rows I need to show loading status which would just keep showing Data Loading until data load is complete. DataService class does not have any event which would

[flexcoders] Re: Examples of side TabNavigator?

2009-05-12 Thread nathanpdaniel
Like this? http://merhl.com/?p=172 --- In flexcoders@yahoogroups.com, grimmwerks gr...@... wrote: Hey - has anyone any links / info on possibly making a side Tab Navigator? How best to override the createChildren? Danke

Re: [flexcoders] loading status for DataGrid

2009-05-12 Thread Adrian Williams
Hi, We just have a simple Loading Data clip the we setup in a swfLoader and we toggle the visibility on when we make our web service call to get our data, then after it's been returned, we toggle the visibility off. -adrian Dharmendra Chauhan wrote: Hi All, I have flex DataGrid which

Re: [flexcoders] Re: using as breaks data binding?

2009-05-12 Thread Pan Troglodytes
Thanks for giving me some confirmation. Now if we could just figure out what Alex/Adobe need to do to replicate our tests. The reason it doesn't give a warning on y is due to what I referenced (perhaps unclearly) above. Notice in the warning it tells you it can't bind to that value on the

[flexcoders] 2 Questions abot TextField in ActionScript

2009-05-12 Thread ACasualObserver
1- Is it possible to create a translucent TextField (or whatever class that can be added to a DisplayObjectContainer to display) ? How? 2- The same question about a text with halo? Thanks

[flexcoders] Re: AIR app crashes and burns on Mac

2009-05-12 Thread jason_williams_mm
Can you please log a bug with your test case attached at: http://www.adobe.com/go/wish Thanks, jw --- In flexcoders@yahoogroups.com, jer_ela g...@... wrote: adl, the development runtime for AIR is crashing on me. This seems to be related to using SQL lite. It had been crashing at one

Re: [flexcoders] loading status for DataGrid

2009-05-12 Thread Jeffrey Vroom
You can turn on paging, then listen for the result events on the DataService. They'll be dispatched once for each page result. Jeff On Tue, May 12, 2009 at 12:15 PM, Dharmendra Chauhan chauhan_i...@yahoo.com wrote: Hi All, I have flex DataGrid which asynchronously receive data throw LCDS

[flexcoders] Flex Framework Cache Statistics

2009-05-12 Thread Nayan Savla
Hi All, I am just wondering if there is some data on the percentage of Flash players which would already have a the flex framework cache. Our application without the cache is 456Kb and when i use framework caching its 256Kb and the swz file is around 500kb. In this scenario if the user doesn't

Re: [flexcoders] Re: using as breaks data binding?

2009-05-12 Thread Pan Troglodytes
Well, I entered the two related issues as: https://bugs.adobe.com/jira/browse/SDK-21100 https://bugs.adobe.com/jira/browse/SDK-21101 Maybe someone at Adobe can manage to reproduce them. I'm not really sure how much harm is being done, since the code appears to work right in the end. But

[flexcoders] Re: using as breaks data binding?

2009-05-12 Thread valdhor
I think I may have an answer. I broke down the code into its constituent pieces and I now have a theory. My theory: When you use (data as TestObject).b, you are actually trying to bind to the data property of the item renderer. As this is not a bindable property, you get the error. When you use

Re: [flexcoders] Re: Examples of side TabNavigator?

2009-05-12 Thread grimmwerks
WOW - thanks - much prettier than the one I'd found from Tink. On May 12, 2009, at 3:17 PM, nathanpdaniel wrote: Like this? http://merhl.com/?p=172 --- In flexcoders@yahoogroups.com, grimmwerks gr...@... wrote: Hey - has anyone any links / info on possibly making a side Tab Navigator?

[flexcoders] Adobe Air HTTPServices problem

2009-05-12 Thread djhatrick
I have an air application that polls the server, I've been developing it for a for a couple months. All of a sudden, now this may have been the result of a server change, but now I get a 2032 Error. Which seems odd, it just broke. The api still works... Has anyone known any issues where

RE: [flexcoders] Getting an error when using a tree as a component

2009-05-12 Thread Tracy Spratt
We are going to need to see a bit of code, particularly the line that raises the exception. Go on and post the entire stack trace, some folks here can make use of it. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

RE: [flexcoders] removing some labels on chart axis

2009-05-12 Thread Tracy Spratt
labelFunction() ? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of thomas parquier Sent: Tuesday, May 12, 2009 11:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] removing some

RE: [flexcoders] FlowBox Nesting

2009-05-12 Thread Tracy Spratt
Plain old VBox will do this for you. Set the lower grid height to 100% and it should resize dynamically to fit (If the VBox has a fixed height) If the VBox height is not set then its container will show scrollbars Tracy Spratt, Lariat Services, development services available _

RE: [flexcoders] Buggy HorizontalList

2009-05-12 Thread Tracy Spratt
Are you using a custom ItemRenderer? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of nathanpdaniel Sent: Tuesday, May 12, 2009 1:02 PM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Flex Java-based compiler - and dynamic flex SDK??

2009-05-12 Thread Mehdi
You guys, I have been playing w/ the flex java based compiler API( http://blogs.adobe.com/flexdoc/2008/01/compiler_api.html), and I am using it to build couple of swc. No problem there. In order for this api to work, you need: - flex-compiler-oem.jar (needed for compilation) - All the rest of

[flexcoders] ColdFusion typed object problem - but not the usual issues

2009-05-12 Thread Tom McNeer
Believe me, I wouldn't be asking about this if I hadn't spent a day-and-a-half fighting it, googling, fighting it, googling ... From ColdFusion, I am sending a number of objects as typed structs, which are properly translated into their equivalent VOs on the Flex side. But I have one that simply

RE: [flexcoders] FlowBox Nesting

2009-05-12 Thread Mike Oliver
I said that I tried a VBox and that did NOT give me what I want, Here is the mxml mx:VBox x=10 y=42 height=650 width=100% ns1:FlowBox width=100% paddingBottom=10 paddingLeft=10 paddingRight=10 paddingTop=10 left=10

RE: [flexcoders] ColdFusion typed object problem - but not the usual issues

2009-05-12 Thread Peter Farland
You don't have two types mapped to the same alias by any chance do you?

RE: [flexcoders] FlowBox Nesting

2009-05-12 Thread Tracy Spratt
Is it the FlowBox that is causing the problem? What happens if you replace it with an HBox? Do you still get that space? Can you put a border or background on the FlowBox to see if it is causing the layout issue? Something is confusing the layout. The space between items in a VBox should

RE: [flexcoders] FlowBox Nesting

2009-05-12 Thread Mike Oliver
Yes its the flow box see attached. http://www.nabble.com/file/p23513630/ToolbarDemo.swf ToolbarDemo.swf It looks like the flow box calculates its height based on all components wrapping. Ollie Tracy Spratt-2 wrote: Is it the FlowBox that is causing the problem? What happens if you

RE: [flexcoders] 2 Questions abot TextField in ActionScript

2009-05-12 Thread Gordon Smith
1. Yes. By default, flash.display.TextField does not have an opaque background; to get one, you have to set its background:Boolean property, and then you can set backgroundColor:uint to determine what color the background is. 2. Can you be more specific? What Halo component are you talking

[flexcoders] LCDS Push API Problem

2009-05-12 Thread foobone9
I have a custom assembler, that uses the interface approach, which returns an object with a XML property. When I open two clients and edit one through LCDS the other updates as expected. I then have server code which updates the same XML property and calls the newer DataServiceTransaction

Re: [flexcoders] FlowBox Nesting

2009-05-12 Thread Doug McCune
FlowBox has a pretty serious bug having to do with how it does its height calculation. This bug has been logged and has remained unresolved for far too long (I say this as the main flexlib maintainer, it's basically my laziness that has kept this from being fixed). That said, there's a second

[flexcoders] Compile css to swf for runtime css

2009-05-12 Thread sinacapho
Hi, I have try the runtime css for my project, I have set the Main source path in the Flex Builder as 'flex\src' and the Output folder as 'WebContent'. The css file is under the flex\src\css\test.css. When i click the compile CSS to SWF.Actually the css folder have already create in the

[flexcoders] HTTPService not behaving properly?

2009-05-12 Thread Laurence MacNeill
I don't get it. I've got an ArrayCollection being populated by an HTTPService call, and it only works like half the time. If I add a couple of break points to the program, and Debug it, then it works 100% of the time -- it's acting like there's just not enough time to load the thing into

[flexcoders] HTTPService not behaving properly?

2009-05-12 Thread laurence5905
I don't get it. I've got an ArrayCollection being populated by an HTTPService call, and it only works like half the time. If I add a couple of break points to the program, and Debug it, then it works 100% of the time -- it's acting like there's just not enough time to load the thing into

[flexcoders] Re: Buggy HorizontalList

2009-05-12 Thread Amy
--- In flexcoders@yahoogroups.com, nathanpdaniel ndan...@... wrote: I'm using the HorizontalList (HList) component and I've run into an issue where when data is updated dynamically some items are not rendered. I load data via an XML file which sets up in my app several XMLListCollection

[flexcoders] Re: loading status for DataGrid

2009-05-12 Thread Dharmendra Chauhan
Thanks for the reply, I really cant turn on pagiing because it makes sorting slow by at least 5 times.Once I did it but had to revert. I have to think other way to get rid of this issue. DataService should dispatch some event which tells the status of data loading. --- In

[flexcoders] Do we get any notification when user dissconnects from LCDS

2009-05-12 Thread Dharmendra Chauhan
Hi, I have to release resources when user get disconnected from LCDS. What I need to implement in java to listen it ? User may disconnect due to network failure ,when he closes the flex Window etc.. Thanks, Dharmendra