Re: [flexcoders] Headers of Panel in Flex 2 Similar to Flex 1.5

2006-03-23 Thread jeremy lu
hi scott, extends Panel/TitleWindow then use following code: this.titleBar.addEventListener("mouseDown", onMouseDown); you can pretty much do anything you like to titleBar. jeremy. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Ar

Re: [flexcoders] Headers of Panel in Flex 2 Similar to Flex 1.5

2006-03-23 Thread jeremy lu
hi mvbaffa, forget about what I said, the api changed in beta2, correct way to do that is now : borderAlpha = 1; headerColors = "[0xE7E7E7, 0xD9D9D9]"; which will make a aqua-alike panel with grey-gradient titlebar. jeremy.   On 3/22/06, mvbaffa <[EMAIL PROTECTED] > wrote: Hi everybo

RE: [flexcoders] Re: mxmlc/compc versus web server compile

2006-03-23 Thread Ted Patrick
The real key to ANT is leveraging the "depends" property. In this case calling ANT flex.build, will first run rsl.build just before running flex.build. depends allows you to create a very large build from very small encapsulated _ From: flexcoders@yahoogroups.com [mailto:[EMAI

Re: [flexcoders] How to create new custom Style in custom component?

2006-03-23 Thread Stanislav Zayarsky
Thanks Stephen, I suppose it will work with Flex 1.5 too? Best regards Stanislav On 3/23/06, Stanislav Zayarsky <[EMAIL PROTECTED]> wrote: > Thanks Anatole, This helps! > > Best regards > Stanislav > > On 3/23/06, Anatole Tartakovsky <[EMAIL PROTECTED]> wrote: > > > > I believe the simplest way i

Re: [flexcoders] How to create new custom Style in custom component?

2006-03-23 Thread Stanislav Zayarsky
Thanks Anatole, This helps! Best regards Stanislav On 3/23/06, Anatole Tartakovsky <[EMAIL PROTECTED]> wrote: > > I believe the simplest way is to look in the generated code - it gives you > the better understanding on both code and timing. The code would go like > this: > .. > var style:CSSS

Re: [flexcoders] How to create new custom Style in custom component?

2006-03-23 Thread Anatole Tartakovsky
I believe the simplest way is to look in the generated code - it gives you the better understanding on both code and timing. The code would go like this: .. var style:CSSStyleDeclaration;style = StyleManager.getStyleDeclaration(".yourStyleName");if (!style)  { style = new

Re: [flexcoders] AS3 :: Interface type verses Concrete type return

2006-03-23 Thread Scott Langeberg
2 pc: If you ever want to swap behaviors internally at runtime, use interfaces: : ) ScottOn 3/17/06, Michael Schmalle < [EMAIL PROTECTED]> wrote: Thanks roger, That answers my question exactly! :) This is how I program, so that makes me happy. Sometimes intuition of feeling goes along way wi

RE: [flexcoders] How to create new custom Style in custom component?

2006-03-23 Thread Stephen Gilson
Sure, there is a chapter on this topic in the Creating Components book at: http://livedocs.macromedia.com/labs/1/flex20beta2/1813.html Stephen -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky Sent: Thursday, March 23, 200

Re: [flexcoders] Headers of Panel in Flex 2 Similar to Flex 1.5

2006-03-23 Thread Scott Langeberg
Does anyone know the event that gets fired by Panels or TitleWindows, when the user clicks the header? This should be what the PopUpManager listens for, to enable dragging. I would like to intercept that event, for custom dragging or to stop dragging. ScottOn 3/22/06, mvbaffa <[EMAIL PROTECTED]>

RE: [flexcoders] Saving object graphs

2006-03-23 Thread Peter Farland
ArrayCollection on the server extends ArrayList so that should work, but if you've got ManagedProxies instead of Books then it's likely the Book client type wasn't linked in to the SWF and/or properly registered with the correct [RemoteClass(alias="...")] metadata. Can you try adding a reference t

[flexcoders] How to create new custom Style in custom component?

2006-03-23 Thread Stanislav Zayarsky
Hi FlexCoders, I'm wondering how I can create new custom style in my ActionScript Component? And how to use it with StyleManager? Can anybody point me to documentation where this topic is described? Best regards Stanislav -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders

RE: [flexcoders] Flex 2.0: mxmlc question

2006-03-23 Thread Tobias Patton
Hi Roger;   So, to link corelib.swc into my application, you’d supply the path to corelib as an argument to the –library-path option? Here’s the command-line I’m using:   mxmlc -actionscript-classpath=D:\PerforceDepot\galiano\Galiano.Tobias_Patton\Client\classes -library-path D:\Pe

[flexcoders] Re: mxmlc/compc versus web server compile

2006-03-23 Thread Renaun Erickson
Ted, Thanks for the for depth of insight. My mind finally has got mxmlc/compc and build scripts in the right prespective. Renaun --- In flexcoders@yahoogroups.com, "Ted Patrick" <[EMAIL PROTECTED]> wrote: > > Renaun, > > We use ANT on developer machines and on the server for deployment. Typica

[flexcoders] Re: Is there a way to change the default error color of the TextInput border?

2006-03-23 Thread Libby
Thanks, Manish That has the same effect as the previous code, it changes the color of the ToolTip (error message) but not the border of the TextInput. I think I need to subclass the TextInput in order to get to the appropriate style property / attribute. However, I do not know what the "appropria

RE: [flexcoders] FB2 :: Flex printing

2006-03-23 Thread Dima Ulich
Hi I have used the package you are pointing at. To reproduce the bug try to print out a page with text and bitmap image (do not embed image load it dynamically). When you use FlexPrintJob package, you'll get bitmap quality printing which is not good at all for use in reports. When you use fla

Re: [flexcoders] Re: Flex Beta 2 - Loader not loading SWF 100%

2006-03-23 Thread Bruno Martins
Hi,   I did a poor solution to this problem but I believe that is a start to solve the problem:   I put the following code in the application that will be loaded:   private function resizeLoader(event:Event = null):void {      width = parent.parent.parent.width;  height = pa

[flexcoders] Flash custom components in Flex 2

2006-03-23 Thread Jonathan Bezuidenhout
Hi everyone,In the Flex 1.5 docs there was a section on how to make a custom component in Flash and how to export it etc for use in Flex.  I have noticed that this content is missing from the new Flex 2 docs. Is this not encouraged anymore or have they just not been included?I have tried to make

Re: [flexcoders] How to set a background in FLEX 2 Beta 2

2006-03-23 Thread Manish Jethani
On 3/23/06, Dion Mendel <[EMAIL PROTECTED]> wrote: > On Wed, Mar 22, 2006 at 02:26:04PM +0530, Manish Jethani wrote: > > > > There's no backgroud-repeat in Flex yet. So you'll have to either > > make your SWF repeat the pattern, or you'll have to write a > > programmatic skin and go about repeatin

Re: [flexcoders] Re: mxmlc/compc versus web server compile

2006-03-23 Thread Johannes Nel
hi ted,have you got an example of a flex2 mxmlc ant script that works properly?ThanksjohanOn 3/23/06, Ted Patrick < [EMAIL PROTECTED]> wrote:Renaun,We use ANT on developer machines and on the server for deployment. Typically a single build.xml file sits in the root of the SVN repository for a p

Re: [flexcoders] Re: Is there a way to change the default error color of the TextInput border?

2006-03-23 Thread Manish Jethani
On 3/23/06, Libby <[EMAIL PROTECTED]> wrote: > OK, that puts me halfway there by changing the color of the ToolTip. > Is there a way to also change the border color of the TextInput (that > shows when a validation error occurs)? I did a quick Google search and found this: http://www.asfusion.com/

RE: [flexcoders] Extending MXML components (change from 1.5 to 2)

2006-03-23 Thread Basil Hosmer
Tony,   Yes, we absolutely intend to continue supporting extending MXML with MXML, with the constraint that only one set of children be specified anywhere in the chain of derived components or the component instantiation.   What you’re seeing is a bug in beta 2 – the framework incor

[flexcoders] Re: Is there a way to change the default error color of the TextInput border?

2006-03-23 Thread Libby
OK, that puts me halfway there by changing the color of the ToolTip. Is there a way to also change the border color of the TextInput (that shows when a validation error occurs)? Right now it is Red. Where are the default stylesheets where StyleManager is getting its information? I have searched the

[flexcoders] Help : Hibernate Adapter

2006-03-23 Thread arsal_007
Hi, I am new with Flex, can anybody give me some advice how to use Hibernate-Adapter in Flex 2.0 Thank's Arsalan -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yah

[flexcoders] Re: TabNavigator Bug Flex 2 Beta 2

2006-03-23 Thread Harris Reynolds
Sreejith, You are correct... this BUG was reporting earlier (see thread below) and I have confirmed that it still exists. Can anyone from Adobe confirm this? ~harris --- In flexcoders@yahoogroups.com, "Jonathan Miranda" <[EMAIL PROTECTED]> wrote: > > It sometimes lays out correctly after you

[flexcoders] Re: Binding properties of Custom Component in Flex 2

2006-03-23 Thread mvbaffa
Never mind, I have already discovered the problem. I am using AMFPHP and when you return a recordset, with Flex 2, AMFPHP, in fact, return an array of array, and the fields of the records are numbers not the field name. This does not occurs when you return only one record. So you have to map t

Re: [flexcoders] addColumn removed from Beat 2

2006-03-23 Thread ZhaoXingdong
thanks Benoit, it works well now. On Thu, 23 Mar 2006 13:29:04 +0100 "Benoit Hediard" <[EMAIL PROTECTED]> wrote: > To handle datagrid columns in beta2, you need to directly access and > manipulate the "columns" array property. > > Benoit Hediard > > -Message d'origine- > De : flexcoders

[flexcoders] Saving object graphs

2006-03-23 Thread pepe_perez_perez_perez
Hi, I'm using data services with the JavaAdapter with the "hierarchical values approach" and I'm finding that when I invoke commit() from the client the object graph that I'm receiving in the server after the unmarshalling to Java is not what I'd expect. The original object graph that I sent to t

RE: [flexcoders] FB2 :: Flex printing

2006-03-23 Thread David Mendels
Hi,   a) Check out http://livedocs.macromedia.com/labs/1/flex/langref/mx/print/package-detail.html b) Please be specific and give us reproducible bugs so we can address as many issues as possible and/or log ECRs for future!   -David Adobe From: flexcoders@yahoogroups.com [mailt

RE: [flexcoders] Re: mxmlc/compc versus web server compile

2006-03-23 Thread Ted Patrick
Renaun, We use ANT on developer machines and on the server for deployment. Typically a single build.xml file sits in the root of the SVN repository for a project. We typically define tasks for incremental SWF and RSL compilation, java compilation, and larger tasks for ground up builds. The smal

[flexcoders] Image source path bug?

2006-03-23 Thread Alberto Albericio Salvador
Hi all, Im experiencing an strange behaviour (bug?) with the Image tag in Flex2b2. If I use the tag like: it works when compiled with Flex Builder and the image displays correctly. If I move this application (and picture) to j2ee server, I type the url in the browser and the application runs

[flexcoders] Re: Flex 2.0 b2: 'getClassByName' method of the 'flash.util' package

2006-03-23 Thread Vadim Melnik
Is there some special mxmlc option to prevent optimization, and force compiler to include all classes from classpath or at least imported ones (like "import MyClass;") ? I saw "-compiler.keep-all- type-selectors" option, described as "disables the pruning of unused type selectors (advanced)", bu

RE: [flexcoders] addColumn removed from Beat 2

2006-03-23 Thread Benoit Hediard
To handle datagrid columns in beta2, you need to directly access and manipulate the "columns" array property. Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de ZhaoXingdong Envoyé : jeudi 23 mars 2006 08:22 À : flexcoders@yahoogroup

[flexcoders] Re: Flex2 beta2 bug - Focus does not work on lists

2006-03-23 Thread Peter Blazejewicz
Hello Benoit, > Indeed, making all my VO classes dynamic solves the problem. > Not very "clean", but excellent workaround ;). that is so interesting that I've spend few minutes on that, try another way which seems for me to not be a work around: http://www.adobe.com/2006/mxml"; xmlns="*">

[flexcoders] Re: dynamically creating a remote object

2006-03-23 Thread deepu_verma
Thanks Tracy, but the example is for web service. Where can I get the syntax for RemoteObject call. Thanks dv --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > This is not supported in 1.5, but is possible to do. > > See this article: > http://jeff.mxdj.com/calling_

[flexcoders] Binding properties of Custom Component in Flex 2

2006-03-23 Thread mvbaffa
Hi everybody, I am migrating a Custom Component, from Flex 1.5 to Flex 2 Beta 2, that has inside it two other components: - ClienteList: A datagrid with a list of Clients - ClientSummary: Panel that show the details of a Selected Client in the DataGrid The main component is like this [Bindab

[flexcoders] Flex & Action Script 2.0 Related Books & Sites

2006-03-23 Thread srini vasan
Hi   I am new starter on flex and action script 2.0. Please can you any one suggest me what are all the books avialble related to flex and action script 2.0 in indian editions and flex & action scrit 2.0 learning related sites.   Thanks  Jiyo cricket on Yahoo! India cricket Yahoo! M

[flexcoders] Re: Headers of Panel in Flex 2 Similar to Flex 1.5

2006-03-23 Thread mvbaffa
Thank you, I will try it --- In flexcoders@yahoogroups.com, "jeremy lu" <[EMAIL PROTECTED]> wrote: > > panelAlpha = 1 > headerHeight = 22 > > will also look very much alike those found in aqua... > > On 3/22/06, mvbaffa <[EMAIL PROTECTED]> wrote: > > > > Hi everybody, > > > > How can I set the a

[flexcoders] addColumn removed from Beat 2

2006-03-23 Thread ZhaoXingdong
hi guys: Could anyone tell me how to add columns to datagrid in actionscript? I did it by using addColumn in Beta 1 but it's removed from Beta 2. cheers, xd -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive

RE: [flexcoders] Flex2 beta2 bug - Focus does not work on lists

2006-03-23 Thread Benoit Hediard
Indeed, making all my VO classes dynamic solves the problem. Not very "clean", but excellent workaround ;).   Thanks.   Benoit Hediard De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de jeremy luEnvoyé : jeudi 23 mars 2006 05:51À : flexcoders@yahoogroups.comObjet :

[flexcoders] Tree key handlers problem

2006-03-23 Thread kosirm2000
There are still some strange behaviors when using the Tree component with up, down, left and right keys, but flex shows no error as in beta 1. You can open the tree node and go down to child nodes with pressing down and right keys, but try then to press left key twice. You will go to parent node, b

Re: [flexcoders] TabNavigator Display Issue [Flex 2 Beta 2]

2006-03-23 Thread Sreejith Unnikrishnan
I remember this was reported as a bug in beta 1 and was supposed to be fixed in beta 2! - Original Message - From: João Fernandes To: flexcoders@yahoogroups.com Sent: Thursday, March 23, 2006 2:56 PM Subject: RE: [flexcoders] TabNavigator Display Issue [Flex

RE: [flexcoders] TabNavigator Display Issue [Flex 2 Beta 2]

2006-03-23 Thread João Fernandes
Harris, Try to increase your tabWidth style.If you remove it you'll see that there is no problem with your labels. João Fernandes -Original Message- From: flexcoders@yahoogroups.com on behalf of Harris Reynolds Sent: Thu 23-Mar-06 3:30 AM To: flexcoders@yahoogroups.com Subject: [flexc

RE: [flexcoders] Cairgnorm beta release?

2006-03-23 Thread Alex Uhlmann
Hi Oriol,   There is still a selectedChild property on ViewStack. The only thing you need to do is type stronger. UIComponent is the base class of Container but Containter goes into a ViewStack. Beta 2 is stricter here.   In addition to that, I wouldn't recommend your workaround using t

[flexcoders] Question about RemoveChild

2006-03-23 Thread Richard Schutten
Hi, I want to delete dynamically created buttons. The documentation of Flex says: Removing a child does not delete it, so you can redisplay it later without recreating it. So if RemoveChild doesn't delete them how can i do so? Greetings, Richard -- Flexcoders Mailing List FAQ: http://groups

[flexcoders] Re: How to hide backMonthButton and fwdMonthButton of DateChooser Control?

2006-03-23 Thread flexhtoo
--- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote: > > In Beta 2, try > > > > - Gordon > > Thanks Gordon for your reply. It get work in Beta 1. Do you know New Flex Beta 2 come out? I wanna know for Beta 2. In Beta 2, there are problems message: Access of undefin

<    1   2