[flexcoders] Re: changing states from within a component

2007-02-28 Thread stephen50232
Thanks everyone, I thought that might be the best way to go. Stephen --- In flexcoders@yahoogroups.com, Jeffry Houser [EMAIL PROTECTED] wrote: Have the login component fire an event upon succesful, or failed, login. Have the 'main app respond to the event by changing states (or

[flexcoders] Re: Result to ArrayCollection - somtimes node is single, sometimes it's an array

2007-02-28 Thread greenfishinwater
This works for me: if (event.result.price_sets.price_set is ArrayCollection) { arr = event.result.price_sets.price_set.source; } else { arr = [event.result.price_sets.price_set]; } arrCol = new ArrayCollection(arr); Andrew --- In flexcoders@yahoogroups.com, darylgmyers [EMAIL PROTECTED]

[flexcoders] Leading spaces for text data trimmed?

2007-02-28 Thread Chua Chee Seng
Hi all, I have a web service call which return text data from the server side. I use e4x for the resultFormat, but to my surprise when read the data from actionscript I get leading spaces trimmed. For example ' Hello' will be read as 'Hello'. I checked the soap message the leading space (s)

[flexcoders] flex 2 - printing. child disappers from container after i add it to my print

2007-02-28 Thread bhaq1972
Hi I have a PrintView template which looks like this PrintView.mxml -- mx:VBox mx:Label / mx:PrintDataGrid/ /mx:VBox In my printThis() function i decide whether to add an extra child to the PrintView. What then happens is, it disappears from the original container. public

Re: [flexcoders] Re: Result to ArrayCollection - somtimes node is single, sometimes it's an array

2007-02-28 Thread leds usop
If the result format is set to object... or not set at all (default is object), the result will be wrapped by an ObjectProxy if there's a single node. Hence Andrew's solution should do the trick. However, in my case, to ensure that I can indeed use it as an array i do:

[flexcoders] Re: Ely's example of ItemRenderer cause tooltip to be always orange

2007-02-28 Thread vigen2000
Hi Ely, I know its been a while but I'm still having this problem. can you please post a short example of the solution? i saw other people who had the same problem and i could not see it on your website. thanks a lot for your help, vigen --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL

RE: [flexcoders] Storing / retrieving rich text

2007-02-28 Thread Brian Holmes
You need to escape the xml formatting before sending it to the client. In cold fusion you could use the XMLFormat() function so if you're using cf, just wrap that around your return, or find a similar function for the back end lang you're using. Brian.. -Original Message- From:

RE: [flexcoders] Re: Need help seaching and comparing in an ArrayCollection

2007-02-28 Thread Brian Holmes
Exactly what you need to do sounds a lot like what the filter and sort functions can do for you, with out all that extra work. I'd check those out first. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of e_baggg Sent: Tuesday, February 27, 2007

RE: [flexcoders] Re: ArrayCollection.filterFunction assigned but returns null

2007-02-28 Thread Brian Holmes
I'd imagine there is something wrong with the logic. The way I think about filterFunction is that it inspects each Item in a collection and says yes or no. If it's returning null, the evaluation is flawed. Brian.. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Re: Flex choking while converting less than 2 MB of data

2007-02-28 Thread Matt Chotin
Can you send us a test-case please? Instantiating 10,000 objects like you have shouldn't be so bad as far as I know. Sounds like getting the XML into anonymous objects is OK, it's just the strongly-typed ones right? Matt From:

RE: [flexcoders] how do you call the super's super?

2007-02-28 Thread Gordon Smith
There is no super.super syntax in AS3. What you want can only be done indirectly, such as through a scheme like this: class A { function foo():void { trace(1); } } class B extends A { function $foo():void { super.foo(); } override function foo() { trace(2) }; } class C extends B

RE: [flexcoders] DataGrid to Xml

2007-02-28 Thread Brian Holmes
Just as simple: lose the array mx:DataGrid id=grid dataProvider={myXmlListCollection()} width=100% height=100% e mx:columns mx:DataGridColumn dataField=NAME headerText=NAME/ mx:DataGridColumn dataField=TITLE headerText=TITLE width=75 / /mx:columns

RE: [flexcoders] Basic inheritance question

2007-02-28 Thread Gordon Smith
The Developer's Guide is wrong... you won't get a compilation error if you don't cast. However, casting is best practice so that the compiler can help you catch coding mistakes. For example, e.currentTarget.setSytle(...) would compile despite the typo, but throw a runtime error. However,

Re: [flexcoders] Using Flex Components in an ActionScript Project

2007-02-28 Thread Daniel Freiman
Check to make sure the size of the TextArea (and it's parents) aren't 0. - Dan On 2/26/07, August Gresens [EMAIL PROTECTED] wrote: Hello We're putting together an ActionScript Project with FlexBuilder and would like to use the TextArea component. We've had success including the proper

RE: [flexcoders] How do I prevent the user from selecting text in a text area component?

2007-02-28 Thread Brian Holmes
editable=false From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robin Burrer Sent: Monday, February 26, 2007 6:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How do I prevent the user from selecting text in a text area

RE: [flexcoders] Transitions Explanation

2007-02-28 Thread Brian Holmes
The problem is a timing issue. view states define what and how to change states transitions define which order visual changes occur during a state change You must still take into account the timing of when things are rendered to the screen On Your problem the button was getting rendered on

RE: [flexcoders] list of events really dispatched by a view

2007-02-28 Thread Gordon Smith
Take a look at the 'events' property of ComponentDescriptor. Each UIComponent like Canvas and Button has 'descriptor' property for accessing its UIComponentDescriptor, which extends ComponentDescriptor. But this will only tell you about event handlers written as MXML attributes. If you need to

RE: [flexcoders] Dispatching an event between 2 classes -

2007-02-28 Thread Gordon Smith
My class that is adding the event listener is like this : _caption = new Caption(); this.addEventListener(MeEvent.STOP,pauseStop); and from my calling class: var evt:MeEvent = new MeEvent(MeEvent.STOP); This code doesn't really give enough detail to diagnose the problem. What is the relevance

RE: [flexcoders] How does sprite listener work?

2007-02-28 Thread Gordon Smith
It's not obvious to me why that would be happening. Can you post the code for a simple app which demonstrates the problem? - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sandwish Sent: Tuesday, February 27, 2007 11:22 AM To:

Re: [flexcoders] how do you call the super's super?

2007-02-28 Thread Daniel Freiman
You can't. I wish you could, but you can't. - Dan On 2/26/07, Anthony Lee [EMAIL PROTECTED] wrote: Hi, Sorry for the lame AS questions, but can anyone tell me how to call the super method of the class I'm extending? ie. the grandparent and not the parent. Thanks, tonio

RE: [flexcoders] How can I access public members of custom MXML component using inline statemen ?

2007-02-28 Thread Gordon Smith
What you're doing should work. Post a sample app and component that don't work. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of helihobby Sent: Tuesday, February 27, 2007 5:52 PM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Flex Builder Syntax Highlighting Not Working

2007-02-28 Thread feiy
give me the detail about your mxml code!maybe the namespace define error 2007/2/27, mark_c_robinson [EMAIL PROTECTED]: Has anyone experienced syntax highlighting for the Flex Builder plugin (2.0.1) in Eclipse (3.2.1) failing all together or at best working sporadically? And has anyone

Re: [flexcoders] How can I access public members of custom MXML component using inline statemen ?

2007-02-28 Thread feiy
the public property must defined : private _prog; public function set somPro(String:prog):void{ this._prog=prog; } public function get somPro():String{ return this._prog; } usage within mxml component somPro=value / 2007/2/28, helihobby [EMAIL PROTECTED]: Hello all, How can I

RE: [flexcoders] Re: Just curious, A big development team or individual developers

2007-02-28 Thread Roger Gonzalez
Modules were a point-release feature that were released earlier than the corresponding IDE support so that we could get feedback from the community about what people wanted. If we had waited to get Module support into FlexBuilder, you wouldn't have seen Modules until 3.0. Would that have been

Re: [flexcoders] Annoying IE Error (Works in All other browsers!)

2007-02-28 Thread Douglas Knudsen
sounds like a caching issue. Been running into this too. Will depend on your browser settings though. how are you fetching this data? DK On 2/26/07, danneri21 [EMAIL PROTECTED] wrote: I have a Flex app, an administration panel for one of my clients site. There is a section where the

Re: [flexcoders] ArrayCollection length

2007-02-28 Thread feiy
u can use the mx.collectionsfile:///home/feiy/Programs/Flex2/flex201_documentation/langref/mx/collections/package-detail.html.ArrayCollection 's filterFunctionfile:///home/feiy/Programs/Flex2/flex201_documentation/langref/mx/collections/ListCollectionView.html#filterFunction:

Re: [flexcoders] Dispatching an event between 2 classes -

2007-02-28 Thread Doug McCune
In your caption class do you have the call to dispatchEvent? try this: var evt:MeEvent = new MeEvent(MeEvent.STOP); this.dispatchEvent(MeEvent); Doug On 2/27/07, Patrick Lemiuex [EMAIL PROTECTED] wrote: Flex People... Please help... I have two classes fully loaded with inheritance...

Re: [flexcoders] text line height

2007-02-28 Thread Daniel Freiman
If you want the height of the entire text component, you can use the textHeight property. If you're looking for a specific line, you going to want to use getLineMetrics(). - Dan On 2/26/07, Pablo Samela [EMAIL PROTECTED] wrote: Hi, I want to know how can I set the line height to a text

Re: [flexcoders] Finding out when an arraycollection in my model is set

2007-02-28 Thread Douglas Knudsen
Nice. What if in this case user.projects.myArrayCollection contained a arraycollection of tasks, and each tasks had a array collection of activities. how do you watch for a change in a activity and fire dataGrid.invalidateList(); ?? DK On 2/24/07, Yiðit Boyar [EMAIL PROTECTED] wrote: i had

Re: [flexcoders] flash cookie

2007-02-28 Thread Muzak
AFAIK, nope. regards, Muzak - Original Message - From: thierrybertossa [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, February 27, 2007 2:38 PM Subject: [flexcoders] flash cookie Is it possible to store a cookie (LSO) from a domain www.x.com and then access this

[flexcoders] Re: Modules and Cairngorm - Solution... I think

2007-02-28 Thread Bjorn Schultheiss
Has anyone established what actually causes this bug, so i can fast- track my fix? regards, Bjorn On 03/02/2007, at 4:58 AM, alimcleod wrote: Hi, This does look like a bug with SequenceCommand. I've been looking at the various options as to how to fix this. I've never been overly

RE: [flexcoders] how do you call the super's super?

2007-02-28 Thread Steve Cox
Could be wrong but I'm 99% sure this is not possible. Steve -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Lee Sent: 27 February 2007 04:00 To: flexcoders@yahoogroups.com Subject: [flexcoders] how do you call the super's super? Hi,

Re: [flexcoders] Basic inheritance question

2007-02-28 Thread Doug McCune
The docs are telling you that event.currentTarget is typed to DisplayObject, which is higher in the inheritance chain that UIComponent. So to use setStyle you've got to type-cast event.currentTarget to either UIComponent, or some type below UIComponent in the inheritance chain. So typecasting to

Re: [flexcoders] Annoying IE Error (Works in All other browsers!)

2007-02-28 Thread Rich Tretola
It worked fine for me on IE, although I did get a couple of errors thrown or initilization. Here they are: ArgumentError: Undefined state 'LoginForm'. at mx.core::UIComponent/::getState() at mx.core::UIComponent/::findCommonBaseState() at mx.core::UIComponent/::commitCurrentState()

Re: [flexcoders] changing states from within a component

2007-02-28 Thread Clint Tredway
try parentDocument.currentState = 'home' On 2/27/07, stephen50232 [EMAIL PROTECTED] wrote: Hi, I'm working on an application, which is component based. One of my components is a Login screen, in which the user enters the username and password, these details are passed to a ColdFusion CFC

Re: [flexcoders] flash cookie

2007-02-28 Thread julien castelain
hi thierry maybe you could use a shared object to store what's in the cookie julien On 2/27/07, thierrybertossa [EMAIL PROTECTED] wrote: Is it possible to store a cookie (LSO) from a domain www.x.com and then access this cookie from a .swf played outside internet explorer or mozilla (in

RE: [flexcoders] Re: Just curious, A big development team or individual developers

2007-02-28 Thread Robert Chyko
I have found that Flex Builder has already paid for itself by having the debugger. The time I have saved using it versus trying to flesh out bugs in Flash has easily made it worthwhile (If this is what you do professionally). -Original Message- From:

Re: [flexcoders] ui design question, ideas for showing the user to wait while a record loads

2007-02-28 Thread Anthony Lee
Is it just me or is the busy cursor not a really bad idea. I mean why lock up the whole application while you're waiting on data for a single component to load? Is this Web 2.0 or not ;-) Sorry, I know this doesn't answer your question. tonio On 2/28/07, rumpleminzeflickr [EMAIL PROTECTED]

Re: [flexcoders] Result to ArrayCollection - somtimes node is single, sometimes it's an array

2007-02-28 Thread Valy Sivec
See ArrayUtil.toArray(object ) : Array in the doc http://livedocs.adobe.com/flex/201/langref/mx/utils/ArrayUtil.html Regards, Valy - Original Message From: darylgmyers [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, February 27, 2007 9:26:39 AM Subject:

Re: [flexcoders] Quick Question: Conditional Operator ?:

2007-02-28 Thread Troy Gilbert
The difference you point out is the only difference. The trinary operator (?:) is an operator so it can be used in expressions (it evaluates to something). if/else is control flow and thus does not evaluate to anything nor can it be used inside of an expression. For certain situations, it can

Re: [flexcoders] ui design question, ideas for showing the user to wait while a record loads

2007-02-28 Thread Adam Royle
Use the following methods to show and hide the busy cursor. Cheers, Adam import mx.managers.CursorManager; CursorManager.setBusyCursor(); CursorManager.removeBusyCursor(); - Original Message - From: rumpleminzeflickr To: flexcoders@yahoogroups.com Sent: Wednesday,

Re: [flexcoders] disabling COPY in drag/drop operations

2007-02-28 Thread Andrey
what i'm trying to do is exactly the opposite. I'm trying to reorder the list by drag/drop, so i want to make it so you can ONLY move, and can not copy. dragCopyEnabled i guess would be the ultimate answer :) is there something out there or some technique that could do that? i wanted to try the

Re: [flexcoders] Re: How can I loop through a Tile ?

2007-02-28 Thread Ciarán
Hi Mark, What you're trying to accomplish is (don't quote my authority here...) I think best tackled in Flex with a TileList and a custom ItemRenderer. You're definitely going into too much depth by altering component children individually at runtime. Since there's more than one way to skin a

[flexcoders] Re: ArrayCollection length

2007-02-28 Thread iilsley
var dataProvider = [{Date: 02-12-2007, Company1: 20, Company2: 30}, {Date: 02-09-2007, Company1: 20, Company2: 30}, {Date: 02-08-2007, Company1: 20, Company2: 30}] How can I determine programatically: 1. The number of companies. I dont't seem to

Re: [flexcoders] list of events really dispatched by a view

2007-02-28 Thread Clint Modien
http://livedocs.flexsearch.org/index.shtml?cx=017079146949617508304%3Amv4wpsyofxucof=FORID%3A9q=_listeners#243 On 2/27/07, Eric Guesdon [EMAIL PROTECTED] wrote: Hi to All, I'm looking to get the list of events really connected in a view. For example: mx:Canvas

[flexcoders] Re: ArrayCollection length

2007-02-28 Thread iilsley
--- In flexcoders@yahoogroups.com, Mehul Doshi [EMAIL PROTECTED] wrote: If I have my dataprovider in the following manner: var dataProvider = [{Date: 02-12-2007, Company1: 20, Company2: 30}, {Date: 02-09-2007, Company1: 20, Company2: 30}, {Date:

RE: [flexcoders] Flex not sending over SSL

2007-02-28 Thread Allen Riddle
We are using the Proxy Services, so those destinations are set up using http. We are using web and app server pairs. Apache is the web server serving up the swf on port 443. We route requests the the swf makes (rootContext/messagebroker/http requests) to the app server, which is our data services

Re: [flexcoders] assigning a value to a model value object

2007-02-28 Thread Webdevotion
Thanks Karl for this solution! On 2/28/07, Karl Johnson [EMAIL PROTECTED] wrote: What type of objects are in your grid's dataprovider? Are the items in the grid actual TrackVo objects (and were typed as such prior to being added to the dataprovider)? Karl Cynergy *From:*

[flexcoders] FDS port in biggest disadvantage in Flex?

2007-02-28 Thread marcel.panse
Because flex uses another port for FDS instead of 80... A lot of users have firewalls installed and cant use ports other than 80 or have to adjust there firewalls. I work at a company who just can't use other ports.. When using FDS you exclude a lot of users from your application (and thus

[flexcoders] Re: Fisheye component

2007-02-28 Thread softwarecat
Here try this - got it from a svn root from qs server that came up in a yahoo search. I had the same issue. I named this appropriately stored it my com folder, and voila - error fixed - but now I have others :( I'm such a noob! Good luck! --- package qs.controls { import

[flexcoders] How can I rotate a shape or sprite with mouse movement?

2007-02-28 Thread allenyoungsjtu
Hi all, In my project, I need to draw some shapes in a canvas and rotate them in any direction. I've found some topics related to rotating in the help content of flex builder 2, that I can enter a value of rotate degrees and then my shapes will be rotated. But I think a better way is to use mouse

Re: [flexcoders] changing states from within a component

2007-02-28 Thread John Wilker
What I do is set a global var in my model for state. then bind currentState to that variable. Then just update your model var. On 2/27/07, stephen50232 [EMAIL PROTECTED] wrote: Hi, I'm working on an application, which is component based. One of my components is a Login screen, in which the

[flexcoders] LocalConnection Bug?

2007-02-28 Thread zhongtie
I tried to send an XML object over LocalConnection, and noticed if this XML doesn't have any child node, the other side will only see an empty one. For example: lc.send(lc_id, fn, new XML(a b='1'/)) lc_id.fn() will see an . However if we send ab/b/a, things work well. Is this a LocalConnection

[flexcoders] Re:ui design question, ideas for showing the user to wait while a recor

2007-02-28 Thread Robi Ray
You can do the following: Within the remote call method, you can add the following as the first line : CursorManager.setBusyCursor(); Next, within the method's result handler, add the following line once you get resultstatus as true (I mean once data retreival is successful):

[flexcoders] Re: How do I prevent the user from selecting text in a text area component?

2007-02-28 Thread beecee1977
Yes, but that doesn't stop the user from selecting the text (dragging mouse over and highlighting)... Is there an easy way to prevent that? (Other than disabling the component) Bill --- In flexcoders@yahoogroups.com, Brian Holmes [EMAIL PROTECTED] wrote: editable=false

Re: [flexcoders] Re: Just curious, A big development team or individual developers

2007-02-28 Thread Tom Chiverton
On Tuesday 27 Feb 2007, Roger Gonzalez wrote: Would that have been preferable to you? Hell, no, and we've not even started using them yet :-) -- Tom Chiverton Helping to professionally implement 24/365 patterns On: http://thefalken.livejournal.com

RE: [flexcoders] Re: How do I prevent the user from selecting text in a text area component?

2007-02-28 Thread Karl Johnson
You could make them disabled, but change the disabled styles so it does not look quite so disabled. Or trap the click event and stop the user action at that point. Karl Cynergy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of beecee1977 Sent: Wednesday, February 28,

[flexcoders] GLOBAL Exception Handler?

2007-02-28 Thread Steve Kellogg
Hello, Does anyone happen to know: What's the BEST PRACTICE for catching any unhandled exceptions? I'm looking for the correct place to put a TOP LEVEL Try/Catch/Finally block to do any last-ditch cleanup/recovery in case my app is about to fail. Thanks in Advance, Steve

[flexcoders] JEE5 web application glassfish EJB Hibernate....how use it by fds and flex?

2007-02-28 Thread lruinelli
Hello, I have a JEE5 web application based on EJB and Hibernate. for each entity I have: - an Hibernate mapping - a java class - a controller of the java class (with method to create, modify, ecc the entity) - a controllerLocalInterface - a controllerRemoteInteface example for entity Year...i

[flexcoders] crossdomain? image dragging

2007-02-28 Thread Paul Hastings
we're getting some user complaints about some functionality based on drag drop of an image. for servers in domains local to them, works a treat. for servers in remote domains it appears the drag image can't be retrieved they're getting the broken image instead when dragging. what's puzzling us

Re: [flexcoders] Re: Just curious, A big development team or individual developers

2007-02-28 Thread Paul Hastings
On 2/27/07, Robert Chyko [EMAIL PROTECTED] wrote: I have found that Flex Builder has already paid for itself by having the debugger. The time I have saved using it versus trying to flesh out bugs in Flash has easily made it worthwhile (If this is what you do professionally). i agree,

[flexcoders] passing lists of DTO's, client-side AS class not getting compiled

2007-02-28 Thread sgrosven2
We are working on a set of data transfer objects where we have matching server-side java classes and client-side AS classes. Some of these DTO contain lists of other DTOs. As an example: A.java: public class A { ListB blist ... } In A.as we have... class

RE: [flexcoders] Basic inheritance question

2007-02-28 Thread Jamal Romero
Hi, Thanks for your reply. Yes that's what I wanted to say. The code will compile, I've tried it on www.flex.org online compiler and it did what expected without error. I think the compiler is not strict about type reference. But as has been said, it's better to type cast to the right ancestor or

[flexcoders] Flex and Java

2007-02-28 Thread thierrybertossa
Is it possible to embed swf in java application? And call method between them? http://www.javaworld.com/javaworld/jw-01-2003/jw-0117-flash.html if not with flex perhaps with flash 6 7 8 ?

[flexcoders] What's up with runtime errors silent failing.

2007-02-28 Thread Ralph Hauwert
Hi guys, If recently (since FB 2.0.1) been experiencing several cases where my code would fail silently at runtime, not coming up with a runtime error at all, and just stopping code execution, restarting at the next logical step. Is there something I have missed in the release notes of FB2.0.1 ?

[flexcoders] Getting a Third-Party Component into Builder 2?

2007-02-28 Thread Bruce H. Johnson
I downloaded a neat-looking speedometer chart component in a zip file. I can extract with the directory structure (GaugeComponent\Gauge... etc.) Now, how do I get Builder 2 to recognize the sucker is there? I've tried File Import..., pointing a Source Path at it, etc. I've spent a couple hours

RE: [flexcoders] Re: Flex choking while converting less than 2 MB of data

2007-02-28 Thread Karl Johnson
Hey Matt- I would never even try 10,000 objects in a strongly typed result set because of the performance. But I think the bigger key factor here is how deeply nested your strongly typed objects are. In the example I gave in my reply, it was a very complex nested object...and I gotta think

[flexcoders] Re: Flex choking while converting less than 2 MB of data

2007-02-28 Thread Paul DeCoursey
I'd say 10,000 objects is a lot to process in a single result, I'm of the opinion that this kind of thing should be paginated and processed in a queue, then Flash won't choke on it. It will take multiple requests but then you give the user the opportunity to know what is going on and cancel it if

[flexcoders] Customizing error messages

2007-02-28 Thread {reduxdj}
Is there a way to customize error messages: SeverityDescriptionResourceIn FolderLocationCreation TimeId 21013: The private attribute may be used only on class property definitions.CaptionMaker.asmeBucket/com/me/views/typesline 125February 28, 2007

RE: [flexcoders] Announcing FlexLib - open source flex component library

2007-02-28 Thread Merrill, Jason
Awesome! I hope this grows into something really great. Jason Merrill Bank of America Global Technology Operations Learning Leadership Development eTools Multimedia Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

Re: [flexcoders] Getting a Third-Party Component into Builder 2?

2007-02-28 Thread Nuno Morgadinho
Try adding the folder source path of the component under Project Properties ActionScript Build Path .

[flexcoders] Re: How do I prevent the user from selecting text in a text area component?

2007-02-28 Thread Paul DeCoursey
If you don't need any other mouseEvents you could try setting mouseEnabled to false. Haven't tried it so I don't know. Any reason you can't use Text verses TextArea?

RE: [flexcoders] Announcing FlexLib - open source flex component library

2007-02-28 Thread leds usop
Great work as always! --- Merrill, Jason [EMAIL PROTECTED] wrote: Awesome! I hope this grows into something really great. Jason Merrill Bank of America Global Technology Operations Learning Leadership Development eTools Multimedia Team

Re: [flexcoders] FDS port in biggest disadvantage in Flex?

2007-02-28 Thread Tom Chiverton
On Wednesday 28 Feb 2007, marcel.panse wrote: Because flex uses another port for FDS instead of 80... A lot of users have firewalls installed and cant use ports other than 80 or have to adjust there firewalls. I work at a company who just can't use other ports.. I belive there was a post from

Re: [flexcoders] Embedding FusionCharts in a Flex application

2007-02-28 Thread leds usop
not directly perhaps. try using flashinterface. --- Muzak [EMAIL PROTECTED] wrote: FusionCharts are AS2. You'll be able to load a FusionChart swf into a Flex app, but you won't be able to control it from Flex though. regards, Muzak - Original Message - From: Jon Rowland

[flexcoders] Re: Right Aligned Text in a UIComponent

2007-02-28 Thread Nate Pearson
Anyone have any ideas? --- In flexcoders@yahoogroups.com, Nate Pearson [EMAIL PROTECTED] wrote: I'm adding a label to a UIComponent at a dynamic x location. The text for that label is also dynamic. How can I make it so the x location is the right side of the label? Here is my code:

[flexcoders] Re: How can I access public members of custom MXML component using inline statemen ?

2007-02-28 Thread helihobby
Pefect. This solved the problem. private var _prog:String; public function set somPro(prog:String):void{ this._prog=prog; }

Re: [flexcoders] Embedding FusionCharts in a Flex application

2007-02-28 Thread Muzak
http://livedocs.macromedia.com/flex/2/docs/1955.html quote Cross-scripting is not supported between AVM1 SWF files and AVM2 SWF files. /quote The only way to have an AVM1 and AVM2 swf communicate is through a LocalConnection. No idea how large the FusionCharts API is, but if all you need

[flexcoders] Re: Filterfunction on a XMLListCollection is misbehaving

2007-02-28 Thread iko_knyphausen
Here is the relevant code...Without the filter function all edits are inplace without the updated record gets resorted... thanks. mx:Script ![CDATA[ . private function itemFilter (item : Object ) : Boolean { return true; } ]] /mx:Script mx:HTTPService id=xmlItems

RE: [flexcoders] Re: Right Aligned Text in a UIComponent

2007-02-28 Thread Karl Johnson
What do you mean by making the x location the right side? If this is a canvas, then just set right equal to 0 if you just want the text box to be as far to the right as possible in the container. You could also set the x to equal parent.width - 100. Does that solve what you are asking? Karl

[flexcoders] Re: How do I prevent the user from selecting text in a text area component?

2007-02-28 Thread Doug Lowder
You may find some helpful tips in this thread: http://tech.groups.yahoo.com/group/flexcoders/message/44779 Unfortunately, it looks like the sample code may not be available at the moment. --- In flexcoders@yahoogroups.com, beecee1977 [EMAIL PROTECTED] wrote: Yes, but that doesn't stop the

[flexcoders] Re: Filterfunction on a XMLListCollection is misbehaving

2007-02-28 Thread iko_knyphausen
Correction: WITHOUT the filter function all edits are inplace, WITH the filter function the updated record gets resorted... --- In flexcoders@yahoogroups.com, iko_knyphausen [EMAIL PROTECTED] wrote: Here is the relevant code...Without the filter function all edits are inplace without the

[flexcoders] Re: FDS with Java Question: Why is it grouping requests?

2007-02-28 Thread billy_d_white
I think I'm just not closing or committing something correctly because it looks like I'm supposed to do something else besides revertChanges to 'clear-out' the previous (failed) request. I've added this change and it did remove part of the problem. But now I'm in a sort of limbo. Take for

[flexcoders] Struggling with itemRenderer in DataGrid

2007-02-28 Thread Steve Gustafson
Help. I'm trying to use an itemRenderer to create a comboBox in a DataGrid that is being created with AS. I can create the comboBox, but I am struggling with being able to change the dataProvider for the rendered comboBox, and setting the selected index on the comboBox. The relevant code I am

[flexcoders] Save a BitmapData as a local file

2007-02-28 Thread ecpmaz
... and that without passing by the server :S I don't know if my question is stupid.. but all I've been able to do till now was to send as a POST var my bytes to my server to assemble them, and send them back to the user as a JPEG... It seems not to be an optimal solution, do you have any

[flexcoders] Does anyone know of ActionScript for Linux ? Just the basic AS3 will be fine ...

2007-02-28 Thread helihobby
Does anyone know of ActionScript for Linux ? Just the basic AS3 will be fine ... Don't need the full UI and Libs of Flex. Just basic AS3 Core Libs would be fine if they can run on Linux. As always, Thank you for all the help and support. Regards, Sean - http://www.HeliHobby.com P.S. You

[flexcoders] Re: any interest in an alternative to QTP to automate Flex apps?

2007-02-28 Thread brian.knorr
If you are interested we can collaborate on creating this...we are taking a similar tdd approach to automating flex apps. We too explored using the automation package and found some useful functionality, but we still intend to abstract this to a higher level api so one can write test scripts

[flexcoders] Re: Right Aligned Text in a UIComponent

2007-02-28 Thread Nate Pearson
Yes I mean aligned right. The x to equal parent.width - 100 doesn't work because the text is dynamic. Some times it will have a width of 10 and some times it will be 90. I just set it to 100 because I know it will never go over 100. Maybe there is a parameter that will make the label width

RE: [flexcoders] Re: Right Aligned Text in a UIComponent

2007-02-28 Thread Karl Johnson
You could grab the actual width of the label or you could put the label in a container like an HBox and set the horizontalAlign=right on the HBox. Set the width of the HBox to 100 if that is the max. Then set the x property or right style on the HBox as stated below. Karl Cynergy

[flexcoders] Custom Collection Sorting Challenge

2007-02-28 Thread iko_knyphausen
Hi all, more questions on custom collection sorting... I have a XMLListCollection dataprovider, which I am sorting using a sort object. The sorting works as expected, when I use the following syntax to define the array of SortFields: aSort.fields = [sfSortField, sfLevel]; However, I would like

[flexcoders] Announcing FlexLib - open source flex component library

2007-02-28 Thread Doug McCune
I'm pleased to announce FlexLib: a new open-source project for Flex 2 components. This project is a Google Code hosted project, released under the MIT license. I've been working with Darron Schall, Mike Chambers and Ted Patrick to get the project up and running. We're hoping to build a

[flexcoders] Message board

2007-02-28 Thread avincen4
hello.. Im some what new to flex and for my first project I'd like to make a message board using flex.. If there are any message boards that were made using flex 2, it would be great just to get an idea of how the structure of the application was done. Thanks

[flexcoders] Charting: Changing marker size for just one legend item

2007-02-28 Thread jeanette_stallons
Hi I have another charting question. Is there a way to change the marker size for just one legend item without having to make the entire legend from scratch using mx:LegendItem tags? If possible, I still want to use my chart as a dataProvider for the legend. Thanks! Jeanette

[flexcoders] Re: Right Aligned Text in a UIComponent

2007-02-28 Thread Paul DeCoursey
try endDate.setStyle(right, 0); paul --- In flexcoders@yahoogroups.com, Nate Pearson [EMAIL PROTECTED] wrote: I'm adding a label to a UIComponent at a dynamic x location. The text for that label is also dynamic. How can I make it so the x location is the right side of the label? Here

[flexcoders] Re: Custom Collection Sorting Challenge

2007-02-28 Thread iko_knyphausen
Duh, was not thinking...forgot creating a new array first...interesting though that it did not throw an exception... aSort.fields = new Array(); --- In flexcoders@yahoogroups.com, iko_knyphausen [EMAIL PROTECTED] wrote: Hi all, more questions on custom collection sorting... I have a

[flexcoders] Re: Custom Collection Sorting Challenge

2007-02-28 Thread Doug Lowder
Are you setting aSort.fields to an Array before calling push()? Try the following before you push the sort fields: aSort.fields = []; --- In flexcoders@yahoogroups.com, iko_knyphausen [EMAIL PROTECTED] wrote: Hi all, more questions on custom collection sorting... I have a

[flexcoders] Re: Charting: Selectively removing filters for one itemRenderer

2007-02-28 Thread jeanette_stallons
Anyone? Still wondering about this. Thanks! --- In flexcoders@yahoogroups.com, jeanette_stallons [EMAIL PROTECTED] wrote: Hi I want to keep all the default drop shadow filters except on the data points for one series on a LineChart. I can successfully remove all the filters (by either

[flexcoders] E4X not finding empty tags

2007-02-28 Thread thirtyfivemph
I've run into a curious problem with E4X (which is otherwise spectacular). Given this document: var document:XML = document id=1 object id=4 content id=3 node id=20 / /content

[flexcoders] Re: Flex2 - Bug with chart Legend and ScrollPolicy

2007-02-28 Thread mgrayfmr
Hey guys: Just an update to this problem. If you put the legend inside a VBox or HBox, and set a fixed width/height, scrollbars can be added. This assumes the scrollpolicy is set to either 'auto' or 'on'. I tried this out and it worked. The only drawback is you can't use percentages for width

[flexcoders] Serializing Object that contains IExternalizable properties

2007-02-28 Thread remygendron
Hello all, I'm looking for the easiest way to serialize a dynamic Object instance that contains object types that implement IExternalizable. In my root object writeExternal method, I sucessfully serializes simple types. Everything still works great when I serializes an Object instance that

  1   2   >