Re: [flexcoders] Changing the color of a textinput

2008-07-22 Thread Maciek Sakrejda
Styles, not properties, are used to change attributes such as color: http://livedocs.adobe.com/flex/201/langref/mx/controls/TextInput.html#styleSummary Use the setStyle() method to change color. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: timgerr

Re: [flexcoders] Help with ActionScript class in Flex 3

2008-07-17 Thread Maciek Sakrejda
their children to IUIComponent instances) is to create a FlexSprite, add your component as a child of the FlexSprite, and add the FlexSprite as a child of Application.application. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: brucewhealton [EMAIL PROTECTED

RE: [flexcoders] Array reference vs values

2008-07-17 Thread Maciek Sakrejda
not aware of any language that actually does things this way. You could even achieve this in your own code, by providing a wrapper class for Dates that exposes the functions setDate(), getDate(), but Josh's suggestions is a better solution. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com

Re: [flexcoders] Re: Anyone have a good resource on singletons?

2008-07-16 Thread Maciek Sakrejda
right: opinions on Singletons in general are mixed at best. Check out, say, http://steve.yegge.googlepages.com/singleton-considered-stupid -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Josh McDonald [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com

RE: [flexcoders] as3 class libraries

2008-07-15 Thread Maciek Sakrejda
flexlib is also pretty handy: http://code.google.com/p/flexlib/ -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Tracy Spratt [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] as3 class

Re: [flexcoders] Add ActionScript created items to flex

2008-07-15 Thread Maciek Sakrejda
this interface. TextField is a Flash (and not Flex) component, so it does not implement IUIComponent. You can use a TextInput instead. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: timgerr [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders

Re: [flexcoders] Re: Converting String to hiberarchy path ?

2008-07-10 Thread Maciek Sakrejda
usually hard to debug, hard to follow when reading the code, and prone to subtle errors (e.g., if you rename one of the components but neglect to change the String). -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: flexawesome [EMAIL PROTECTED] Reply

Re: [flexcoders] How to validate several emails in the same text box

2008-06-19 Thread Maciek Sakrejda
to reject valid addresses. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Gosalia, Nirav [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] How to validate several emails in the same text box Date: Thu

Re: [flexcoders] imports in super and sub class

2008-06-19 Thread Maciek Sakrejda
Yes, you need to import it again. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: learner [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] imports in super and sub class Date: Thu, 19 Jun 2008 17

Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-18 Thread Maciek Sakrejda
Doug's opinion. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Doug McCune [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups Date: Wed, 18 Jun

Re: [flexcoders] Generating AS3 code from Java

2008-06-18 Thread Maciek
Indeed. Granite Data Services includes gas3 in recent versions, which does exactly what you want. We've used it at Truviso on a small set of objects, and it works quite well. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com On Thu, 2008-06-19 at 02:06 +, andrew. wrote: Hi, I

Re: [flexcoders] DateFormatter Bug

2008-06-17 Thread Maciek Sakrejda
Welcome to yet another set of format strings. What you want is JJ (0-23) instead of HH (1-24). -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: George [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject

Re: [flexcoders] SQLite and AIR

2008-06-17 Thread Maciek Sakrejda
(that is, even if SQLite itself has no issues, AIR might not like that much data for whatever silly reason--you should probably try this out with dummy data before deciding on architecture). -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: LazerWonder [EMAIL

Re: [flexcoders] Re: SQLite and AIR

2008-06-17 Thread Maciek Sakrejda
the same thing: http://code.google.com/p/sqlite-manager/ (disclaimer: never used this, don't know how well it works). -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: LazerWonder [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders

Re: [flexcoders] i need answer plzzzzzzzzzzzzzzzzzz

2008-06-16 Thread Maciek Sakrejda
And use a better subject. Yours is ridiculous. -Original Message- From: Tom Chiverton [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] i need answer plzz Date: Mon, 16 Jun 2008 16:27:34 +0100 On Monday 16 Jun

[flexcoders] Escaping HTML markup in strings?

2008-06-12 Thread Maciek Sakrejda
What's the best way to escape HTML markup in strings? My data tips are partially constructed from user input, and when that user input is something like foo, I would like them encoded to lt;foogt;. Thanks, -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com

Re: [flexcoders] Seeking Advice regarding saving changes

2008-06-10 Thread Maciek Sakrejda
optimization is the root of all evil, and (2) will give you a simpler design. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: bredwards358 [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Seeking Advice

Re: [flexcoders] remove link between to variables

2008-06-10 Thread Maciek Sakrejda
and endIndex. The first defaults to 0, the last to the // end of the array, so calling it without arguments gives you a // copy of the entire source array myTest.source = myArr.source.slice(); -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: mariovandeneynde

Re: [flexcoders] flash player out of memory issue - seeking suggestions

2008-06-10 Thread Maciek Sakrejda
Is it feasible to consider Air for your situation? That's one way to get around browser issues ;) -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: vijay95052 [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject

Re: [flexcoders] Re: A problem in the Adobe PHP RIA SDK

2008-06-09 Thread Maciek Sakrejda
article as a start: http://en.wikipedia.org/wiki/SQL_injection -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: xaero [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: A problem in the Adobe PHP RIA

Re: [flexcoders] Re: Single and Double Quotes and Tokens and SQLite

2008-06-09 Thread Maciek Sakrejda
first. It's a basic courtesy. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Josh McDonald [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Single and Double Quotes and Tokens and SQLite Date

[flexcoders] addChild() (not addChildAt) throws RangeError: Error #2006: The supplied index is out of bounds

2008-06-02 Thread Maciek Sakrejda
The stack trace follows. I'm curious as to how addChild() can be throwing a range error, when it's clearly determining the range itself. Is it that the component is somehow not ready to accept children or something? Thanks, Maciek Sakrejda Stacktrace:RangeError: Error #2006: The supplied

Re: [flexcoders] Passing an email *subject* when opening email client?

2008-06-01 Thread Maciek
http://www.google.com/search?btnI=Iq=mailto+syntax On Sun, 2008-06-01 at 00:01 -0700, JRBower wrote: The function below works great for passing the email address but I'd like to also pass the subject also. Any ideas how to include the subject in this function? private function

Re: [flexcoders] Re: DataGrid CheckBox Renderer

2008-05-29 Thread Maciek Sakrejda
; } (obviously with more logic in the real check function) and where where [ ] denotes a checkbox and \ \ denotes a disabled checkbox. Is this doable? -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: David C. Moody [EMAIL PROTECTED] Reply-To: flexcoders

[flexcoders] UIComponents as Object keys and Re-parenting

2008-05-28 Thread Maciek Sakrejda
looking for? What's the reasoning behind this behavior. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com

RE: [flexcoders] UIComponents as Object keys and Re-parenting

2008-05-28 Thread Maciek Sakrejda
Ah, that makes perfect sense. That's exactly the explanation I was looking for. Thanks, Alex. -Maciek -Original Message- From: Gordon Smith [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] UIComponents as Object keys and Re

Re: [flexcoders] Re: UIComponents as Object keys and Re-parenting

2008-05-28 Thread Maciek Sakrejda
Heh heh, so it does. Long week. I think I read Gordon Smith *A*dobe F*lex* SDK Team As Alex. Thanks you, Gordon--please excuse my brain fatigue. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Tim Hoff [EMAIL PROTECTED] Reply-To: flexcoders

Re: [flexcoders] parsing complex xml

2008-05-27 Thread Maciek Sakrejda
XML.ignoreComments = false; -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: dfalling [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] parsing complex xml Date: Tue, 27 May 2008 22:09:41 - I'm

Re: [flexcoders] Re: NativeWindow Error

2008-05-27 Thread Maciek
Actually, it's fairly common to leave out import statements in programming book examples to save space. Just FYI, since you'll probably run into this again. -Maciek On Wed, 2008-05-28 at 01:50 +, ibdwalrus wrote: --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: wtf

Re: [flexcoders] JAXB for actionscript

2008-05-27 Thread Maciek
I'm not aware of anything, but you could try JAXB for XSD - Java, and then something like Granite Data Services' gas3 to go from Java - ActionScript. We've recently done someting similar (although, granted, we actually wanted the Java code as well), and it worked reasonably well... -- Maciek

[flexcoders] Trees backed by ListCollectionView with single node

2008-05-22 Thread Maciek Sakrejda
. How can I make my tree behave consistently here? That is with collection Users [ user1 , user2 ] tree is: user1 -- role1 -- role2 user2 -- role1 -- role2 -- role3 with collection Users [ user1 ] tree is: role1 role2 tree should be user1 -- role1 -- role2 -- Maciek

RE: [flexcoders] Trees backed by ListCollectionView with single node

2008-05-22 Thread Maciek Sakrejda
way to turn off this behavior? Or do I need to manually work around it if !(event.result is ListCollectionView)? -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Alex Harui [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: Problem with RTMP

2008-05-15 Thread Maciek Sakrejda
Hmm, that's interesting. Can one do that for the application context root as well? -Original Message- From: Seth Hodgson [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Problem with RTMP Date: Thu, 15 May 2008 15:53:57

[flexcoders] layout question

2008-05-14 Thread Maciek
/mx:Form mx:Button label=Log in click=handleLogin(event) bottom=10 right=10/ /mx:Panel This does what I expect for the form, (it has a margin of 10px), but the button is clinging to the bottom left of the panel. I think I'm missing something. Any suggestions? -Maciek

Re: [flexcoders] layout question

2008-05-14 Thread Maciek Sakrejda
the right (unless, of course, other constraints come into play). -Maciek -Original Message- From: Allan Pichler [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] layout question Date: Wed, 14 May 2008 00:48:20 -0700 verticalAlign

Re: [flexcoders] Re: layout question

2008-05-14 Thread Maciek Sakrejda
Thanks, that seems reasonable. Is the issue then that constraint-based layout is intended for containers, and not all components? -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: valdhor [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com

Re: [flexcoders] Re: layout question

2008-05-14 Thread Maciek Sakrejda
Actually, it looks like that didn't solve this either: the button is now flush against the lower-right corner, instead of offset by 10px... -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: valdhor [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com

Re: [flexcoders] Re: layout question

2008-05-14 Thread Maciek Sakrejda
Nevermind--I mistead your padding{Right,Bottom} as just the right and bottom attributes that I was using originally. This does work nicely. I'd still like to know why the Form is positioned correctly by setting constraints, but not this HBox. Thanks, Maciek -Original Message- From

[flexcoders] object in components

2008-05-14 Thread Maciek Sakrejda
be using a wrapper class around Users and Roles (so that I can clone the RoleWrapper but keep a reference to the same Role)? -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com

Re: [flexcoders] Refactoring a complete package ( renaming com.a.Foo to com.b.Foo )

2008-05-12 Thread Maciek Sakrejda
something similar, or check out cygwin or msys/mingw. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Aldo Bucchi [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Refactoring a complete package

Re: [flexcoders] Creating Pie chart Dynamically in Flex 3

2008-05-09 Thread Maciek Sakrejda
You need to add a PieSeries to the PieChart.series array, and set the dataProvider on that. We use Pies dynamically through AS--it works great. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: fflexhelp [EMAIL PROTECTED] Reply-To: flexcoders

Re: [flexcoders] Where can i find flex 2 installable?

2008-05-05 Thread Maciek Sakrejda
nightly builds). -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: baztheman [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Where can i find flex 2 installable? Date: Sun, 04 May 2008 21:37:33 -

Re: [flexcoders] ListCollectionView.contains()

2008-05-02 Thread Maciek Sakrejda
interface of some kind. On Thu, May 1, 2008 at 2:29 PM, Maciek Sakrejda [EMAIL PROTECTED] wrote: Does ListCollectionView.contains() use reference equality to check if the collection contains a given object? Is there a simple way of using value equality (besides

Re: [flexcoders] Extending Alert

2008-05-01 Thread Maciek Sakrejda
Why do you need to prevent usage through MXML? MXML is compiled down to ActionScript, so it's essentially just syntactic sugar. That is, by preventing using your components through MXML, you are just removing a convenient interface, and not restricting functionality. -- Maciek Sakrejda Truviso

Re: [flexcoders] online docs seem to be unavailable

2008-05-01 Thread Maciek Sakrejda
I'm seeing the same thing. Fortunately, the offline docs are available: http://livedocs.adobe.com/flex/3/flex3_documentation.zip (warning: ~70MB download). -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: ivo [EMAIL PROTECTED] Reply-To: flexcoders

Re: [flexcoders] DataGrid and exporting values

2008-05-01 Thread Maciek Sakrejda
Well, that ExternalInterface performs really poorly with moderate-sized data sets is a known issue: http://codinginparadise.org/weblog/2006/02/how-to-speed-up-flash-8s.html -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Dominic Pazula [EMAIL PROTECTED

[flexcoders] ListCollectionView.contains()

2008-05-01 Thread Maciek Sakrejda
Does ListCollectionView.contains() use reference equality to check if the collection contains a given object? Is there a simple way of using value equality (besides the obvious iteration)? -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com

Re: [flexcoders] How to choose data generating conflict with LiveCycle Data Services ?

2008-04-29 Thread Maciek Sakrejda
Well, the immediate thing that comes to mind is track a hash of first name + last name, and update this if either changes. Not the cleanest solution, but it should solve your problem (assuming you have control over the schema of the persisted employee objects). -- Maciek Sakrejda Truviso, Inc

RE: [flexcoders] Re: compc and manifest file

2008-04-29 Thread Maciek Sakrejda
I don't think that this is a compc issue: if memory serves (from a couple of months ago when I looked at the source), the compc ant task just calls out to the command line compc compiler. The limits are in the OS's command line length... -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com

Re: [flexcoders] Setting properties of UIComponents with actionscript

2008-04-28 Thread Maciek Sakrejda
And to set width (or height) to a percentage value, use hBox.percentWidth (or hBox.percentHeight). -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Josh Millstein [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com

Re: [flexcoders] Re: Default Background Color for Preloader

2008-04-15 Thread Maciek Sakrejda
That should do it. The # is a comment character, so if you leave it unquoted (and unescaped), everything after it (including the pound sign itself) is considered a comment. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: maximecowez [EMAIL PROTECTED

Re: [flexcoders] dateFormatter in Action Script

2008-04-14 Thread Maciek Sakrejda
- JJ:NN:SS -- Maciek Sakrejda Software Engineer Truviso, Inc. http://www.truviso.com [W]: (650) 242-3516 [C]: (510) 717-5398 -Original Message- From: nehavyas13 [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] dateFormatter

Re: [flexcoders] Weird stacktrace in Console panel

2008-04-11 Thread Maciek Sakrejda
an explicit keyword to fall through to the next case). It would be nice to at least get a warning from the compiler, though, since you falling through accidentally is probably more common than falling through on purpose... -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original

Re: [flexcoders] FlexBuilder Linux

2008-03-27 Thread Maciek Sakrejda
Of course. We're just too principled for that kind of thing. ;) -Original Message- From: Matt Chotin [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Subject: Re: [flexcoders] FlexBuilder Linux Date: Thu, 27 Mar 2008

[flexcoders] FlexBuilder Linux

2008-03-26 Thread Maciek
There are five days remaining on my FlexBuilder alpha 2 trial. From what I can see, there is still no version I can purchase. Will there be another alpha or a beta (or a GA release) soon? If not, what can I do when my trial expires? -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com

Re: [flexcoders] mx:HTML tag in Flex Projects!

2008-03-14 Thread Maciek Sakrejda
This came up on the list last than 24 hours ago: http://tech.groups.yahoo.com/group/flexcoders/message/106221 -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: bornaeon [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com

Re: [flexcoders] Why are my embedded TrueType Fonts looking so horrible in Flex App

2008-03-13 Thread Maciek Sakrejda
. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Todd [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Why are my embedded TrueType Fonts looking so horrible in Flex App Date: Thu, 13 Mar 2008 16:44:35

[flexcoders] Change context root post-compilation?

2008-03-05 Thread Maciek Sakrejda
Is there any way to change the Flex context root after compiling a SWF? -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com

Re: [flexcoders] Newbie Question - Random position in an array

2008-03-03 Thread Maciek Sakrejda
element out of a sparse array. If you want something unscientific, I suppose you can just increment the randomly chosen index until you find something. Or randomly pick again (although with *really* sparse arrays, this could theoretically be a perf problem). -- Maciek Sakrejda Truviso, Inc. http

Re: [flexcoders] Re: Testing for Enclosure Tag in XML - Kludge Poodle

2008-03-03 Thread Maciek Sakrejda
(enclosure).length() 0) { trace([EMAIL PROTECTED]); } else { trace(no enclosure); } } -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: yangguothecat [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders

Re: [flexcoders] Using EventListeners with Functions

2008-02-27 Thread Maciek Sakrejda
Why not have the first call the second on completion? -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Eric Cobb [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Using EventListeners with Functions

Re: [flexcoders] Flex SWF Size

2008-02-27 Thread Maciek Sakrejda
/06/flex-3-thursday-dramatically-smaller.php -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: uriel_tru [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex SWF Size Date: Wed, 27 Feb 2008 17:49:46

RE: [flexcoders] Be the tree, Bob

2008-02-26 Thread Maciek Sakrejda
(and collapsed the combobox), and clicking others expanded the tree. I understand the intent of the navigation, but it feels a little off. The windowshade may be a slicker way to accomplish the same requirements you stated originally. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original

[flexcoders] TextArea and line endings

2008-02-26 Thread Maciek Sakrejda
a file uses \n or \r\n, and act accordingly). Any suggestions? Thanks, -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com

Re: [flexcoders] A Weird DataGrid

2008-02-26 Thread Maciek Sakrejda
impact of such a component: it's an intriguing approach to the problem and it could certainly work, but it's easy to create a usability train wreck when getting too adventurous in UI design. Make sure to test it with real users as much as possible. -- Maciek Sakrejda Truviso, Inc. http

Re: [flexcoders] With statement in Pascal what is it in AS3

2008-02-25 Thread Maciek Sakrejda
= _sim.addParticle(mass(d), d.x, d.y)); p.fixed = d.fixed; } else { with (p) { x = d.x; y = d.y; fixed = d.fixed; } } p.tag = _gen; return true; } (from the flare[1] library) [1] http://flare.prefuse.org -- Maciek Sakrejda Truviso, Inc

Re: [flexcoders] Re: application exit event?

2008-02-24 Thread Maciek
properly. I'll try Sherif's Javascript suggestion, although I was hoping there would be something cleaner. --- Maciek Sakrejda Truviso, Inc. http://www.truviso.com On Sat, 2008-02-23 at 09:04 +, andrii_olefirenko wrote: as there are no finalizers nor destructors, the same goes for finishing

RE: [flexcoders] Re: What is the best way to compare two arrays element by element ignoring the o

2008-02-24 Thread Maciek
to compare two arrays you've been handed out of the blue), this may be a useful trick. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com On Sun, 2008-02-24 at 10:42 -0800, Gordon Smith wrote: Of course, modifying an array would become more expensive operation, but it's still O(1) operation

Re: [flexcoders] flex version of html float?

2008-02-22 Thread Maciek Sakrejda
sizes. It does have some quirks, but it works reasonably well. A friend also suggested Eric Cancil's FlowContainer: http://blog.3r1c.net/?p=89 I have not tried it yet, but have been meaning to. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Jerry DuVal

Re: [flexcoders] What is the best way to compare two arrays element by element ignoring the order?

2008-02-22 Thread Maciek Sakrejda
solution nor mine handles the case where the same item is in one array twice (yours fails for dupes in a and mine for dupes in b). -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Sergey Kovalyov [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com

Re: [flexcoders] flex version of html float?

2008-02-22 Thread Maciek Sakrejda
that support, would you accept a patch (I can't guarantee I'll have time to actually implement this, but my company is certainly interested in a better flow container)? Thanks, -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Eric Cancil [EMAIL PROTECTED] Reply

[flexcoders] Re: What is the best way to compare two arrays element by element ignoring the o

2008-02-22 Thread Maciek Sakrejda
I don't believe that will do it, since the arrays aren't actually equal: I believe Arrays (for the purposes of object comparison) are only equal if they contain the same elements in the same order. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Scot

[flexcoders] application exit event?

2008-02-22 Thread Maciek Sakrejda
application object. Any ideas? -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com

Re: [flexcoders] Am I the only one who trace like this?

2008-02-21 Thread Maciek Sakrejda
meaning to look into it. Our project does use log4j, a similar framework for Java, pretty extensively. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: cmalartre [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject

[flexcoders] flex 2 charts: multiple axes

2008-02-21 Thread Maciek Sakrejda
and the secondVerticalAxis. Is this always the case? Is there any way to control this behavior? I know that Flex 3 makes multi-axis work easier, but I need to figure out Flex 2 behavior right now. Thanks, -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com

Re: [flexcoders] Supporting both double and single click events for TileList

2008-02-20 Thread Maciek Sakrejda
keep this under 300-500 ms, it should be barely noticeable for your application. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Greg [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Supporting both

Re: [flexcoders] Question reg. flex + webservices

2008-02-20 Thread Maciek Sakrejda
Yes, you'll need an event listener to handle the result of the web service call (unless, of course, the web service call does not return any data but merely has some effect on the server). If you can post the code you're having trouble with, perhaps we can help. -- Maciek Sakrejda Truviso, Inc

Re: [flexcoders] Help with RegEx

2008-02-14 Thread Maciek Sakrejda
the thought of having to worry about further levels of nesting is frightening. Sometimes, you just have to use other, non-regex methods. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: marty.pitt [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com

Re: [flexcoders] Eclipse Crashes in Flex Development perspective

2008-02-14 Thread Maciek Sakrejda
Give Eclipse more memory: edit eclipse.ini and up the limits. Mine is currently -vmargs -Xms128m -Xmx512m -XX:PermSize=128M -XX:MaxPermSize=256M I can't tell you exactly what these mean (or if they're all necessary) since I forgot the meanings of the various options since I changed them, but a

Re: [flexcoders] Adobe People, Save me from Silverlight! (Microsoft's Legal Record)

2008-02-13 Thread Maciek Sakrejda
Exactly (even if the term 'FUD' has become a little diluted). Jon attacked Robert's comments on Microsoft's past as irrelevant to the discussion of the technology, but they certainly are relevant. Even if almost every software company is guilty of that in some manner or another, Microsoft is in a

Re: [flexcoders] Moving Screen Control back and forth between components

2008-02-13 Thread Maciek Sakrejda
Have you considered the ViewStack component? It's hard to say without knowing more about your setup, but it sounds like the right approach for your problem. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Brad Bueche [EMAIL PROTECTED] Reply

Re: [flexcoders] Re: private constructor in action script

2008-02-07 Thread Maciek Sakrejda
Determined users can still pass null to the constructor, no? We're currently throwing an exception if the singleton exists and its constructor is invoked, but I suppose this approach is a little cleaner. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From

RE: [flexcoders] Flex Builder 3 matching identifier highlighting

2008-02-06 Thread Maciek Sakrejda
It's probably on by default since otherwise most users probably would not have found it. I happen to think it's a very useful feature, and my machine is fast enough (or my project small enough) that performance is not a problem. -Original Message- From: Jim Hayes [EMAIL PROTECTED]

Re: [flexcoders] Differences between MXML and ActionScript in setting event listeners?

2008-02-06 Thread Maciek Sakrejda
().selectedExpTimeSeriesViews} viewChanged=viewSelectedHandler(event);/ instead of timeSeriesPlots:PlotControls id=plotControls plotViews={AppData.getInstance().selectedExpTimeSeriesViews} VIEW_CHANGED=viewSelectedHandler(event);/ -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message

Re: [flexcoders]

2008-02-01 Thread Maciek Sakrejda
to ProgressEvent.PROGRESS events fired by the stream as data comes in. This is no small undertaking, though, and runs into a couple of ugly issues. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Guilherme Defreitas Juraszek [EMAIL PROTECTED] Reply

Re: [flexcoders] Embedding String Variable in dataprovider name

2008-02-01 Thread Maciek Sakrejda
I'm no e4xpert, but dataProvider={chartXML2.lastResult.[month].day} should do it. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: brad.bueche [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders

Re: RES: [flexcoders]

2008-02-01 Thread Maciek Sakrejda
, and that has worked fine for us. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Guilherme Defreitas Juraszek [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: RES: [flexcoders] Date: Fri, 1 Feb 2008 16:02:47 -0200 Thanks

Re: [flexcoders] resizing the whole movie or just the browser window in flex

2008-01-24 Thread Maciek
Best to get it straight from the source: http://livedocs.adobe.com/flex/2/langref/flash/external/ExternalInterface.html On Thu, 2008-01-24 at 12:53 -0500, Gustavo Duenas wrote: would you please explain me this external interface more in detail? Regards Gustavo On Jan 24, 2008,

Re: [flexcoders] mxml loader

2008-01-24 Thread Maciek
I don't think this is possible, since MXML is actually compiled down to ActionScript. I believe the closest you can come to this is have a web service that will invoke the compiler and build mini-swfs (same mxml that you were thinking of sending around, plus just enough skeleton code to get it to

Re: [flexcoders] WrapPanel?

2008-01-23 Thread Maciek Sakrejda
Josh, check out the FlowBox from FlexLib: http://flexlib.googlecode.com/svn/trunk/examples/FlowBox/FlowBox_Sample.swf -Original Message- From: Josh Santangelo [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] WrapPanel? Date:

Re: [flexcoders] flex profiling

2008-01-21 Thread Maciek Sakrejda
This sounds normal, yes. Some more memory will be used for each new DisplayObject (each new Object of any kind, for that matter). It won't be reclaimed until all the references to that object are gone, and the GC sees fit to do a collection. It could be that you have stranded event listeners or

Re: [flexcoders] Custom components toolbox - organise into subfolders

2008-01-21 Thread Maciek Sakrejda
, and it's a pretty standard practice, so it's probably a good idea to stick with it. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: hmmmbeer3 [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders

Re: [flexcoders] Flare For Flex

2008-01-18 Thread Maciek Sakrejda
because it doesn't implement IUIComponent. I believe Jeff plans to add (some) more Flex support, but looking at svn, he's focusing on the data package right now. -Maciek -Original Message- From: Kevin Aebig [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com

Re: [flexcoders] Re: E4X Namespace Issues...

2008-01-17 Thread Maciek Sakrejda
ns:Namespace = xml.namespace(); default xml namespace = ns; Although since you're talking about the default namespace, this shouldn't be necessary... -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Todd [EMAIL PROTECTED] Reply-To: flexcoders

Re: [flexcoders] Error: Could not resolve mx:TextField to a component implementation.

2008-01-17 Thread Maciek Sakrejda
Try AnimateProperty (make sure to set its isStyle to true): http://livedocs.adobe.com/labs/flex3/langref/mx/effects/AnimateProperty.html#includeExamplesSummary -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] Reply

Re: [flexcoders] Error: Could not resolve mx:TextField to a component implementation.

2008-01-17 Thread Maciek Sakrejda
Ah, never mind: TextSprite is from a library I've been working with. But a cursory glance at livedocs shows TextField, FlexTextField, UITextField, Label, and Text. Wee! -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Maciek Sakrejda [EMAIL PROTECTED

Re: [flexcoders] Error: Could not resolve mx:TextField to a component implementation.

2008-01-17 Thread Maciek Sakrejda
Try mx:Label. -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Error: Could not resolve mx:TextField to a component implementation. Date: Thu, 17 Jan 2008 12:18:08 -0500 Is there no

Re: [flexcoders] Re: Date field with time

2008-01-17 Thread Maciek Sakrejda
The whole component is kind of broken. Can you be a little more specific? -Original Message- From: gur_sukh [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Date field with time Date: Thu, 17 Jan 2008 15:56:46 - Thanks

Re: [flexcoders] Error: Could not resolve mx:TextField to a component implementation.

2008-01-17 Thread Maciek Sakrejda
-by-side is a little confusing. There's three different text-field-like classes just off the top of my head: TextSprite, TextField, and Label... -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] Reply-To: flexcoders

Re: [flexcoders] Flex Charting chart updated event?

2008-01-17 Thread Maciek Sakrejda
this? By the way, my hat's off to Adobe for releasing the Flex Charting source to those who buy a charting license. Being able to look through the actual charting code was invaluable while trying to figure out a solution. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message

<    1   2   3   4   >