[flexcoders] Custom Component AC3 : Creating Scrolling Functionality

2007-02-10 Thread Faisal Raja
HI Everyone, I hope everyone is having a nice time. I want to create a Custom Component that i am plannign to extend from Panel. I want to create Scrolling feature in my component using two buttons. (I don't want the default Scrollbar thing). Can any1 tell me how I can implement this or tell

Re: [flexcoders] How to get Flex2 Maven Plugin?

2007-02-10 Thread Christian Gruber
You are correct, but I am away and not easily able to do so. I will update the examples when I get back from my travels next weekend or the following week. Thanks for the note. Christian. On 2/9/07 9:20 PM, Thijs Triemstra | Collab [EMAIL PROTECTED] wrote: Hi Cristian, The

Re: [flexcoders] mouseOver an element within a TileList problem

2007-02-10 Thread Roman Protsiuk
I don't really see problem in this. You just have to add event handler to handle itemRollOver event of your TileList. That's all. Handler may look like: protected function onItemRollOver(event : ListEvent) : void { someLabelUnderTheList.text = event.itemRenderer.data.name; } Or something

re: [flexcoders] New to the group

2007-02-10 Thread Ben Stucki
Hey Pedro, Welcome to FlexCoders! I came into E4X with a background in XPath as well and think the biggest hurdle in learning E4X was understanding the methodology behind it. XPath is intended as a query language for XML. In contrast I think of E4X more like an object

[flexcoders] Override owner in TreeItemRenderer

2007-02-10 Thread syabro
I need a send [EMAIL PROTECTED] to an owner (tree). I've extend Tree class and write function Tree.setPath(); But when I tried to use this function as owner.setPath Flex says Call to a possibly undefined method setPath through a reference with static type flash.display:DisplayObjectContainer.;

[flexcoders] Re: StartDrag() versus DragManager.doDrag()

2007-02-10 Thread devforflex
The reason is simple, drag and drop could be a lot more complicated then it seems to be, most of the time startDrag()/stopDrag() is just too simple, directly handle the mouse down/move/up event gives you the most flexibility. point =

[flexcoders] Associative Array as dataProvider

2007-02-10 Thread Pankaj Gupta
Hi, I an writing an application based upon the MVC architecture. An associative array is the best datamodel for my application. I want to populate a list control on the basis of this datamodel. The list control accepts a dataprovider as a data source. An array can easily be made into a data

[flexcoders] Re: AMFPHP explicitType error

2007-02-10 Thread Mike Crowe
Kevin, I'm in the same boat. I had to initialize my VO object in the constructor. So, in your getUserInfo(), you would do (using my VO): var teamData:TeamVO = new TeamVO(data.result); and in your VO: public function TeamVO(toSet:Object=null) {

[flexcoders] Move from Flex Builder to command line/SDK -- how?

2007-02-10 Thread Mike Crowe
Hi folks, I'm developing on a system with only 512M of memory, and Eclipse just is annoying. I've tried tuning it, but it is still just slow. I'm at a stage where I'm developing in ActionScript now, and would love to move to compiling from the command line. How do I go about doing this? Up to

Re: [flexcoders] Move from Flex Builder to command line/SDK -- how?

2007-02-10 Thread Clint Tredway
You can use the mxmlc compiler and compile your apps OR you can use FlashDevelop which now is good for doing Flex 2 and AS3 coding. I have gotten this to work well and I like it. Go to flashdevelop.org as they have info on how to set this up. On 2/10/07, Mike Crowe [EMAIL PROTECTED] wrote:

Re: [flexcoders] Override owner in TreeItemRenderer

2007-02-10 Thread Michael Schmalle
Hi, you need to; ExtendedTree(owner).setPath([EMAIL PROTECTED]); You have to cast. Peace, Mike On 2/10/07, syabro [EMAIL PROTECTED] wrote: I need a send [EMAIL PROTECTED] to an owner (tree). I've extend Tree class and write function Tree.setPath(); But when I tried to use this function

Re: [flexcoders] Re: AMFPHP explicitType error

2007-02-10 Thread Kevin
wow. this seems like a lot of work to just map a VO object. Makes me wonder if it is worth it. What's the point of mapping the objects if you have to do the conversion manually anyway? What is weird is that in another command, I have an array of VO's being returned from PHP which all map

[flexcoders] Re: Move from Flex Builder to command line/SDK -- how?

2007-02-10 Thread Mike Crowe
Clint, I'm more asking how to invoke the mxmlc compiler on a flex project. Do I have to build up a Makefile or build.xml? Any automated way to start this? TIA Mike --- In flexcoders@yahoogroups.com, Clint Tredway [EMAIL PROTECTED] wrote: You can use the mxmlc compiler and compile your apps

[flexcoders] Re: TextInput - Incorrect focus behavior

2007-02-10 Thread lepusmars
Use a StringValidator that enables or disables fields based on the validity of the field in question. I use it all the time for forms where the submit button is disabled until all required fields are valid. I think using the focus/blur events are the wrong way to go about it.

[flexcoders] Cross domain confusion

2007-02-10 Thread John buono
I have written an application using Flex 2 builder, and on my local machine it works fine. The application goes out and reads various RSS feeds on demand, displays them and allows you to pick one you want to read. but when I deploy the .swf file I get this message RPC Fault

[flexcoders] Can someone tell me what I am doing wrong.

2007-02-10 Thread oim415
Hello, I am new to Flex and am currently in the process of going through the Adobe Flex 2 Training from the Source book. Well everything was going along fine until lesson 11. I have been fighting with a compiler error 1120: Access of undefined property valueObjects. I have the correct import

Re: [flexcoders] Col chart will not display a single column, need at least two - bug? (Flex 2.01)

2007-02-10 Thread Clint Modien
This is a pretty common problem people run into... When you do an xml get from a service... if you get back 2 or more elements it will be created as an array in AS2/AS3. But when that same service returns one element it will be deserialized as a single AS2/AS3 OBJECT. Import mx.utils.ArrayUtil

[flexcoders] Re: How to measure a Menu before calling show()?

2007-02-10 Thread karlgold
Thanks Doug. Interestingly enough, the public method UIComponent.validateNow() does exactly that (frameworks/source/mx/core/UIComponent.as): public function validateNow():void { UIComponentGlobals.layoutManager.validateClient(this); } But calling that still doesn't seem to

[flexcoders] Re: AMFPHP explicitType error

2007-02-10 Thread Mike Crowe
Interesting. I'm also using the renaun AMF0 templates. I wonder if that could be the problem. Have you moved to any AMF3 setups? --- In flexcoders@yahoogroups.com, Kevin [EMAIL PROTECTED] wrote: wow. this seems like a lot of work to just map a VO object. Makes me wonder if it is worth

[flexcoders] Flex Coding Guidelines

2007-02-10 Thread Fabio Terracini
Folks, As my commitment to community I'm releasing, with DClick support, our Adobe Flex Coding Guidelines, a document about Flex (MXML and ActionScript) coding conventions that we use on a regular basis. The objective is clear: provide a common and consistent language to help code comprehension

Re: [flexcoders] Re: Move from Flex Builder to command line/SDK -- how?

2007-02-10 Thread Clint Tredway
most people use Ant to do auto builds, but I dont know anymore than that as I dont do it that way. On 2/10/07, Mike Crowe [EMAIL PROTECTED] wrote: Clint, I'm more asking how to invoke the mxmlc compiler on a flex project. Do I have to build up a Makefile or build.xml? Any automated way to

Re: [flexcoders] Flex Coding Guidelines

2007-02-10 Thread Ralf Bokelberg
Hi Fabio I think it is a good document, beside the whitespace paragraphs. Distribution of whitespace is always worth a discussion :) There is only one thing, that makes me wonder. If methods should start with a verb, why don't you prefer handleMouseClick() over mouseClickHandler() ? Cheers,

[flexcoders] Re: mouseOver an element within a TileList problem

2007-02-10 Thread bensmith5774
Ahhh I see, well I did know I was missing something blindingly obvious and getting a bit fixated on mouseOver. Brilliant it works perfectly - thanks for your help. --- In flexcoders@yahoogroups.com, Roman Protsiuk [EMAIL PROTECTED] wrote: I don't really see problem in this. You just have to

Re: [flexcoders] Flex Coding Guidelines

2007-02-10 Thread Clint Modien
Sincerely... Thank You. On 2/10/07, Fabio Terracini [EMAIL PROTECTED] wrote: Folks, As my commitment to community I'm releasing, with DClick support, our Adobe Flex Coding Guidelines, a document about Flex (MXML and ActionScript) coding conventions that we use on a regular basis. The

Re: [flexcoders] Re: Move from Flex Builder to command line/SDK -- how?

2007-02-10 Thread Ilya Devèrs
you could also look at the flex compiler shell on adobe labs. i know the TextMate editor (for osx) has support for launching the compiler also. On 10-feb-2007, at 17:57, Clint Tredway wrote: most people use Ant to do auto builds, but I dont know anymore than that as I dont do it that

[flexcoders] filter AS syntax question

2007-02-10 Thread nasawebguy
In this Flex/RemoteObject/CFC app I'm developing: http://66.219.52.136/simple/bin/simple.html I have two columns in my drivergrid 1) Product (which are single product name such as: TravelMate 8000) 2) RelatedProducts(comma separate string of product names such as: TravelMate 8000, TravelMate

Re: [flexcoders] Re: AMFPHP explicitType error

2007-02-10 Thread Kevin
I am using AMFPHP 1.9 which I think uses AMF3. I think I zero'd in on the problem. If I have my PHP class only send strings, then the typing works (without any constructor conversion). However, when I try to map other data types, I get the error. I modified my UserDataVO to only contain

[flexcoders] Re: Refreshing Datagrid from pop up window

2007-02-10 Thread munene_uk
well im back with another problem... i followed your example private function sendResultHandler(evt:ResultEvent):void { dataProvider.addItem(ArrayUtil.toArray(evt.result)); dataProvider.refresh(); } however all it does is add a blank result to

[flexcoders] Scroll Position

2007-02-10 Thread jmfillman
I have canvas whose content scrolls verticaly about 3 pages. However, I don't want this to always start at the top, but is dependant on the user. The question is, how do I set the vertical scroll position to something other than the top, while still allowing the user to scroll up or down as

[flexcoders] Re: Self Signed Cert. For Secure SecureRTMPChannel

2007-02-10 Thread Doug Lowder
See if you have a keystore named cacerts under your Java installation folder, and if so add the key to that keystore as well. --- In flexcoders@yahoogroups.com, vitopn [EMAIL PROTECTED] wrote: Hi Doug, I'm fairly certain that the self-signed cert is in the keystore. (Doesn't keytool

[flexcoders] Cairngorm - fireing two events at the same time messes the results?

2007-02-10 Thread Danko Kozar
I have two Cairngorm events that trigger two commands which (using delegate) trigger two different web service methods. The problem is that both calls return the same result set (?). It seems that fireing two events at the same time causes this problem. Any suggestions? Thanks.

[flexcoders] Re: Cairngorm - fireing two events at the same time messes the results?

2007-02-10 Thread Danko Kozar
btw how am I supposed (for the sake of Cairngorm consistency) to handle calls that are not actions to user gestures, for instance: calling 3 web service methods for filling 3 combo boxes? Thx! --- In flexcoders@yahoogroups.com, Danko Kozar [EMAIL PROTECTED] wrote: I have two Cairngorm

[flexcoders] Need help getting the groupName of a radio button in a function

2007-02-10 Thread Mark
I have 2 sets of radio buttons with 2 different group names. I'm using them to do some filtering. The function is pretty basic and will work with both groups but I need to know what group is calling the function. Can someone please help me with the correct code to get the radioButtons

Re: [flexcoders] New to the group

2007-02-10 Thread Hervé Crespel
Hi everybody I'm studying E4X and I discover how it is powerfull. I agree with Ben: it is really objects. just one more detail: _/[EMAIL PROTECTED]toto means the element subject where the attribute id equals toto /subject id=toto .../subject /while subject.(@id==toto) means the element

Re: [flexcoders] Re: Refreshing Datagrid from pop up window

2007-02-10 Thread Adam Royle
That's certainly interesting. I would try and debug the result of: ArrayUtil.toArray(evt.result)); To make sure the data is the correct type, and columns named correctly. Just a stab in the dark. I know the technique does work as I use it in my app - but you might just need to check your

Re: [flexcoders] Re: Cairngorm - fireing two events at the same time messes the results?

2007-02-10 Thread Rich Tretola
You can certainly call multiple services at the same time. If you are having issues, I would first check to see what the concurrency is set to on the service as you will get different results depending on the setting being multiple, single, or last. As far as calling the services, you can use

[flexcoders] How can I make the mx;Panel draggable?

2007-02-10 Thread malik_robinson
Hi, I want to be able to drag this panel around sort of like a floating window. It should be able to be dragged and I guess dropped, not really like dragging a value from datagridA to datagridB but Just like in windows how you can drag a dialog box around I want to do the same in my app. How

[flexcoders] How can I make the mx;Panel draggable?

2007-02-10 Thread malik_robinson
Hi, I want to be able to drag this panel around sort of like a floating window. It should be able to be dragged and I guess dropped, not really like dragging a value from datagridA to datagridB but Just like in windows how you can drag a dialog box around I want to do the same in my app. How

[flexcoders] Re: How can I make the mx;Panel draggable?

2007-02-10 Thread malik_robinson
Hi, Somehow I have double posted, sorry about that, I am trying to make panel draggable via the title bar only. I meant to add that to my initial post. -westside --- In flexcoders@yahoogroups.com, malik_robinson [EMAIL PROTECTED] wrote: Hi, I want to be able to drag this panel around sort

[flexcoders] Re: How can I make the mx;Panel draggable?

2007-02-10 Thread malik_robinson
Hi, Somehow I have double posted, sorry about that, I am trying to make panel draggable via the title bar only. I meant to add that to my initial post. -westside --- In flexcoders@yahoogroups.com, malik_robinson [EMAIL PROTECTED] wrote: Hi, I want to be able to drag this panel around sort

Re: [flexcoders] Scroll Position

2007-02-10 Thread slangeberg
May not be precise, but it should be something like: var myPos:uint = 250; myCan.verticalScrollPosition = myPos; -S On 2/10/07, jmfillman [EMAIL PROTECTED] wrote: I have canvas whose content scrolls verticaly about 3 pages. However, I don't want this to always start at the top, but is

[flexcoders] Want the SWEETEST Flex theme(s) ever? Contest!

2007-02-10 Thread Chad
Thought my friends and fam here on the list would be very interested: --- Would you like an eye-popping, application differentiating, super fresh theme for your next RIA? Want an instant turn-key solution to give your app it's own unique look without needing to spend a million bucks (and

Re: [flexcoders] Want the SWEETEST Flex theme(s) ever? Contest!

2007-02-10 Thread Brendan Meutzner
Is there a site with these themes? I'm not sure if this is serious or not... if you're pushing Flex themes, why not show us? Brendan On 2/10/07, Chad [EMAIL PROTECTED] wrote: Thought my friends and fam here on the list would be very interested: --- Would you like an eye-popping,

[flexcoders] Any tips on how to do enable only vertical Sprite Drag and Drop ?

2007-02-10 Thread helihobby
Hello, Can anyone post a top on how to to enable only vertical Sprite Drag and Drop ? In other words, when the user drags a sprite, he can only drag it vertically accross the stage and not in any other direction ... !!! Thanks for the help, Sean.

Re: [flexcoders] Flex Coding Guidelines

2007-02-10 Thread Amol Pandhare
Hi Fabio, The effort of bringing the coding guidelines in public is highly appreciated. Was looking for a compact guidelines stringent to actionscript coding from long time. Thanks, Amol. - Original Message From: Fabio Terracini [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent:

[flexcoders] Re: Move from Flex Builder to command line/SDK -- how?

2007-02-10 Thread Mike Crowe
But I'm still missing this: My project has a program.mxml file in the root directory, and then 40-50 files in com.crowe.view.*, com.crowe.vo.*, com.crowe.events.*, etc. What I don't yet see is how to invoke the compiler on these 40-50 files. I'm asking for a pointer to documents on how to set

[flexcoders] Re: Flex Coding Guidelines

2007-02-10 Thread jer_ela
Fabio, great work. --- In flexcoders@yahoogroups.com, Fabio Terracini [EMAIL PROTECTED] wrote: Folks, As my commitment to community I'm releasing, with DClick support, our Adobe Flex Coding Guidelines, a document about Flex (MXML and ActionScript) coding conventions that we use on a

[flexcoders] Re: New to the group

2007-02-10 Thread Pedro Pastor
Hi Ben, Thank you very much for your response. Here you are my comments: 1) The = / == error is just a typing error in my e-mail. This symbol was properly set in my code. 2) I've tried your suggestion but it doesn't work. That query provides ALL the record elements in the XML tree. Using the

[flexcoders] highlighting a textarea

2007-02-10 Thread André Rodrigues Pena
Hi all, does anybody know how's the best way to highlight specific words within a TextArea? I need to do this with SQL keywords. thanks -- André Rodrigues Pena LOCUS www.locus.com.br Blog www.techbreak.org

[flexcoders] Highlight and select all rows in datagrid by button.

2007-02-10 Thread ad9798
I was able to select one row by doing myDataGrid.selectedIndex = 1; == index number of the row. However, I'm trying to create a button that select all rows in datagrid. I have tried following but no success.. private function selectAll() : void { for( var i:int = 0; i

[flexcoders] Re: Cross domain confusion

2007-02-10 Thread Pedro Pastor
Hi John, I'm new to Flex 2 and I have not an answer to this point. My message is also asking for help. I'm having the same error executing my Flex application on my local machine and trying to access an XML data file that's in a subdirectory of the /bin directory. The curious point is that if I

[flexcoders] Command line to compile system (extracted from FlexBuilder?)

2007-02-10 Thread Mike Crowe
Hi folks, Is there a way to get the mxmlc command that FlexBuilder is executing somehow? I'm running low on resources, and want to compile from the command line. However, I can't seem to get a command line to work that produces a working .swf. Any way I can get it somehow? TIA Mike

Re: [flexcoders] Flex Builder to run faster

2007-02-10 Thread André Rodrigues Pena
thanks for your support Shannon. That's what I'm gonna do On 2/10/07, Shannon Hicks [EMAIL PROTECTED] wrote: I don't think there's going to be any way to speed up Flex Builder. You could try using a different tool to edit you MXML/AS, and build it using the regular SDK. In other words, you

[flexcoders] Propagating Serverside Exception as Flex Fault

2007-02-10 Thread Lekha S
Hello, My Flex component is not displaying the correct Exception Message as thrown by the server side component which is a WebService.For example,the Webservice class throws an exception with message Customer ID must be uinque.However on flex side,the code below always shows HTTP request error.

[flexcoders] Newbie question about AMFPHP

2007-02-10 Thread André Rodrigues Pena
Hi all, I'm justing starting with AMFPHP and I saw this sample code at the project's front-page function handleGetOrderList(re:ResultEvent) { var rs:RecordSet = RecordSet(re.result); for(var i = 0; i rs.length; i++) { var item = rs.getItemAt(i);

[flexcoders] Re: DataGrid rendering

2007-02-10 Thread dontlament
--- In flexcoders@yahoogroups.com, dontlament [EMAIL PROTECTED] wrote: I have a large dynamic datagrid with 4 dropdown filtering options to compare a large database of products. The design of the site and datagrid is calling for a lot of custom style. The issue I am having is there seems to

Re: [flexcoders] Re: Move from Flex Builder to command line/SDK -- how?

2007-02-10 Thread Nancy Gill
You can just drop the file on the mxmlc.exe icon.

Re: [flexcoders] Highlight and select all rows in datagrid by button.

2007-02-10 Thread Adam Royle
This works for me: private function selectAll():void { var a:Array = [], i:Number; var num:Number = myDataProvider.length; for (i=0;inum;i++) a[i] = i; myDataGrid.selectedIndices = a; } Cheers, Adam - Original Message - From: ad9798 To: flexcoders@yahoogroups.com Sent:

RE: [flexcoders] Command line to compile system (extracted from FlexBuilder?)

2007-02-10 Thread Paul Williams
Hi Mike, Perhaps this will help you get started: http://livedocs.macromedia.com/flex/201/html/wwhelp/wwhimpl/common/html/ wwhelp.htm?context=LiveDocs_Book_Partsfile=apparch_116_14.html To automate with ant see below: http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks If you