Re: [flexcoders] Script timeout binding selection in Tree

2010-05-18 Thread Richard Rodseth
I think I already mentioned it was called twice. I can double-check tomorrow. On Mon, May 17, 2010 at 9:35 PM, Alex Harui aha...@adobe.com wrote: Set a breakpoint on setSelectionDataLoop. See how often it gets called. On 5/17/10 4:49 PM, Richard Rodseth rrods...@gmail.com wrote:

[flexcoders] type was not found or was not a compile-time constant Error

2010-05-18 Thread heygapdol
Hello, I'm new to the Flex scene and I'm trying out an open source project called Merapi ( http://merapiproject.net/index.php ), which is essentially a bridge between java and AIR.I've been building a Flex app to use this package and I keep getting type was not found or was not a compile-time

[flexcoders] Maximized alwaysInFront AIR App covers Windows TaskBar

2010-05-18 Thread reflexactions
If I have an AIR app and set it to alwaysInFront and them I maximize it it covers the Windows TaskBar. Is there a way to either make it maximized but behind the TaskBar or failing that can I resize it so it fills the screen leaving space for the TaskBar. (Basically whilst visible the app is on

Re: [flexcoders] Maximized alwaysInFront AIR App covers Windows TaskBar

2010-05-18 Thread Tom Chiverton
On Tuesday 18 May 2010 09:13:41 you wrote: Is there a way to either make it maximized but behind the TaskBar or failing that can I resize it so it fills the screen leaving space for the TaskBar. You can get the screen bounds from the Screens object, check the reference. -- Tom Chiverton

[flexcoders] Adding nr of items to the label in a treeView

2010-05-18 Thread secrit.service
Hello, I have a treeView based on a XML-list. mx:XMLList id=xmlData folder label=Toplevel folder label=2ndLevel_folder1/ folder label=2ndLevel_folder2/ folder label=2ndLevel_folder3 file label=File1/ file label=File2/ file label=File3/

[flexcoders] Re: Maximized alwaysInFront AIR App covers Windows TaskBar

2010-05-18 Thread reflexactions
I thought of that but from what I can see the Screen bounds are returning the same dimensions i.e. not taking the TaskBar into account. On my screen everything from Screen/Stage/NativeWindow all return the same height 1050px (well 1054px actually but that is down to the usual 3+1 bug)

[flexcoders] Re: adding transparent images to a canvas

2010-05-18 Thread ouaqa
Yes, removed those bits of code in the new BitmapData Calls. It was a desperate try to obtain a satisfying result. It didn't change anything to my problem in good or bad so I removed them, but only after posting my problem. I'm still wondering how my transparent png images becomes opaque when

Re: [flexcoders] How to align label text to the left in Spark Button (no textAlign style)?

2010-05-18 Thread Andriy Panas
Hi Judah, I really do not get the Adobe folks reasoning why textAlign style was excluded from Spark Buttton. BTW, the binding of textAlign style property in your custom skin via {getStyle('textAlign')} is redundant. The s:Label inside Button's skin would inherit the value set from textAlign

[flexcoders] Anybody has worked with flex-plugin and MAVEN ..???

2010-05-18 Thread Nini7016 Nini7016
Hello I am working with Maven in order to automatise Unit tests, I have use the plugin flex-plugin : plugin groupIdorg.servebox.flex/groupId artifactIdflex-plugin/artifactId version2.3.2/version

[flexcoders] How to automatise Unit test with Maven ???

2010-05-18 Thread Nini7016 Nini7016
Hello I would like to automatise Unit tests but i didn't find the best plugin which does this ? does anyone did this before Thanks _ Vous voulez regarder la TV directement

Re: [flexcoders] How to automatise Unit test with Maven ???

2010-05-18 Thread Johannes Nel
when you say automate what do you exactly mean. DO you mean running unit tests on the back of a continues integration build? Paul B-H has blogged about that a fair bit http://eyefodder.com/ On Tue, May 18, 2010 at 3:56 PM, Nini7016 Nini7016 nahloulaha...@hotmail.com wrote: Hello I would

[flexcoders] Re: type was not found or was not a compile-time constant Error

2010-05-18 Thread valdhor
Have you tried checking out the examples from http://code.google.com/p/merapi-examples/source/checkout --- In flexcoders@yahoogroups.com, heygapdol hey_gap...@... wrote: Hello, I'm new to the Flex scene and I'm trying out an open source project called Merapi (

[flexcoders] Generic Function To Set ComboBox Item

2010-05-18 Thread Angelo Anolin
Hi FlexCoders, I would want to create a generic function to be able to set a ComboBox item. The function I have goes like this: private function selectComboItem(itemID:String, dataProv:XMLListCollection, cmb:ComboBox, dpID:String) :void { for (var i:int = 0; i dataProv.length; i++) {

Re: [flexcoders] Script timeout binding selection in Tree

2010-05-18 Thread Richard Rodseth
Two or three times. Then I get the spinning beach ball. On Mon, May 17, 2010 at 11:12 PM, Richard Rodseth rrods...@gmail.comwrote: I think I already mentioned it was called twice. I can double-check tomorrow. On Mon, May 17, 2010 at 9:35 PM, Alex Harui aha...@adobe.com wrote: Set a

Re: [flexcoders] Script timeout binding selection in Tree

2010-05-18 Thread Alex Harui
If that’s true, on the second invocation, step through it. It might be hung up in moveNext() not advancing to the next item, maybe because you’ve run out of items. On 5/17/10 11:12 PM, Richard Rodseth rrods...@gmail.com wrote: I think I already mentioned it was called twice. I can

Re: [flexcoders] Script timeout binding selection in Tree

2010-05-18 Thread Richard Rodseth
That sounds about right. moveNext() does appear in the stack sometimes, and I am changing the data provider contents. I may have to put the restoreselection code somewhere other than in a collection change handler. On Tue, May 18, 2010 at 9:16 AM, Alex Harui aha...@adobe.com wrote: If

[flexcoders] how to adjust mouse wheel scrolling for custom itemrender?

2010-05-18 Thread Baz
I have a skinnabledatacontainer with custom itemrender surrounded by a scroller and I want to adjust how many records are scrolled when the mouse-wheel is used. Currently it scrolls way to many records. Is there an easy way to do this? So far, the only way I've found is to extend the existing

Re: [flexcoders] Script timeout binding selection in Tree

2010-05-18 Thread Richard Rodseth
I've attempted to create a one-file test case, and while it doesn't exhibit the script timeout, the selection restoration does not work as part of the collection listener. Is it significant that selectedItems does not show up in code completion while selectedIndices does? ?xml version=1.0

Re: [flexcoders] Script timeout binding selection in Tree

2010-05-18 Thread Richard Rodseth
My bad (at least in this example). The selectedItems getter is incorrect. On Tue, May 18, 2010 at 12:15 PM, Richard Rodseth rrods...@gmail.comwrote: I've attempted to create a one-file test case, and while it doesn't exhibit the script timeout, the selection restoration does not work as part

Re: [flexcoders] How to align label text to the left in Spark Button (no textAlign style)?

2010-05-18 Thread dorkie dork from dorktown
Thanks Andriys, I see what you mean. I didn't look at the actual button skin. I assumed the textAlign and top left right bottom constraints were hardcoded in the default button skin's label. My example was mainly for illustrative purposes on how to pull in and set a style in your skin from CSS.

[flexcoders] Errors from generated MXML code from module

2010-05-18 Thread jmbo...@bellsouth.net
Hi, I have am trying to compile one of my modules but I am getting the errors shown below. This is in generated code and I am not certain what it is trying to tell me. Has anyone see this before? Thanks! -- Jim [ERROR] _PharmacySpendApp_mx_core_FlexModuleFactory.as:[13,14] Interface

Re: [flexcoders] Script timeout binding selection in Tree

2010-05-18 Thread Richard Rodseth
Here's a corrected test case, where only the persistent uids are stored, and selectedItems is computed. The Restore Selection button works, the collection event listener doesn't. It would be great if someone could give this a whirl and confirm what I see. Not sure how this relates to the script

[flexcoders] how to create custom tables

2010-05-18 Thread Ivan Perez
Hi! I wanna create different kinds of table inside my flex application like pivot tables, but without data processing as OLAP cube does. So, I spend some time looking for (googling) solutions about how to include tables inside flex applications. I'm a little confuse aboud which solution I

Re: [flexcoders] how to adjust mouse wheel scrolling for custom itemrender?

2010-05-18 Thread Alex Harui
Scrolling speed is a known issue. Some folks have had luck by modifying the delta property of the MouseEvent before the scroller sees it by using a capture phase or high priority event handler. On 5/18/10 11:23 AM, Baz li...@thinkloop.com wrote: I have a skinnabledatacontainer with

Re: [flexcoders] Errors from generated MXML code from module

2010-05-18 Thread Alex Harui
Sounds like the compiler is not compatible with the SWCs you are compiling against. On 5/18/10 12:42 PM, jmbo...@bellsouth.net jim_bo...@premierinc.com wrote: Hi, I have am trying to compile one of my modules but I am getting the errors shown below. This is in generated code and I am

RE: [flexcoders] Limit to number of states in a Flex application?

2010-05-18 Thread Gordon Smith
Is there a limit to the number of states in a Flex application? Not that I'm aware of. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Joel Sent: Saturday, May 15, 2010 8:52 PM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Re: Errors from generated MXML code from module

2010-05-18 Thread jmbo...@bellsouth.net
Hummm, I don't know how that would be. This happens within Eclipse, and when I compile using Maven from the command line using version 3.2 of the compiler. I have verified that the compiler version is the same across all my projects. I get the same error if I add a Module to my project

[flexcoders] init, creationcomplete and other events

2010-05-18 Thread Angelo Anolin
Hi FlexCoders, Does anyone have a link on which event fires up first? For example, in an application container, which event fires up and any other pointers which I have to be aware of. Thanks. Angelo

RE: [flexcoders] init, creationcomplete and other events

2010-05-18 Thread Gordon Smith
preinitialize - before child components are created initialize - after children are created, but before component undergoes layout creationComplete - after layout Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Angelo Anolin

Re: [flexcoders] Re: Errors from generated MXML code from module

2010-05-18 Thread Alex Harui
If you have a library/swc in the library-path that is based on code newer than 3.2, that would cause this problem. On 5/18/10 2:23 PM, jmbo...@bellsouth.net jim_bo...@premierinc.com wrote: Hummm, I don't know how that would be. This happens within Eclipse, and when I compile using

Re: [flexcoders] init, creationcomplete and other events

2010-05-18 Thread Alex Harui
Preinitialize, initialize, creationComplete, applicationComplete. Objects do not have a stage until applicationComplete. On 5/18/10 3:22 PM, Angelo Anolin angelo_ano...@yahoo.com wrote: Hi FlexCoders, Does anyone have a link on which event fires up first? For example, in an application

Re: [flexcoders] Script timeout binding selection in Tree

2010-05-18 Thread Oleg Sivokon
Erm... I just went to try it and... ouch, how do you compile that with SDK 4.X?

Re: [flexcoders] Script timeout binding selection in Tree

2010-05-18 Thread Oleg Sivokon
If I rewrite it to SDK 4 (it's basically the same tree anyway), the collection event listener is called... well, I cannot see anything extraordinary in what it does to be honest.

Re: [flexcoders] Script timeout binding selection in Tree

2010-05-18 Thread Richard Rodseth
Thanks for testing. At this point, I consider this a bug, that the tree does not display its selection, when it is updated via binding of selectedItems, where the property bound to is updated in response to a RESET of the data provider collection. My workaround might interest some people. It is

[flexcoders] Re: Errors from generated MXML code from module

2010-05-18 Thread jmbo...@bellsouth.net
Good point. With Flex 4 out and us still using Flex 3.2,we will need to be on the lookout for inconsistencies. I recompiled several swfs locally using 3.2 to ensure this wasn't the problem. I probably omitted important information. I was compiling a swf file that inherited from Application.

[flexcoders] Re: Adding nr of items to the label in a treeView

2010-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, secrit.service secrit-serv...@... wrote: Hello, I have a treeView based on a XML-list. mx:XMLList id=xmlData folder label=Toplevel folder label=2ndLevel_folder1/ folder label=2ndLevel_folder2/ folder label=2ndLevel_folder3

Re: [flexcoders] Re: Errors from generated MXML code from module

2010-05-18 Thread Alex Harui
Try a brand new project w/o any third-party libraries. It may not help to just recompile third-party libraries if those libraries reference Flex 4 versions of classes and interfaces. You have to make sure there aren’t any references to Flex 4 (or even 3.3 and later) in the libraries you are