[flexcoders] UIComponent.graphics not respecting a grandparent's clipContent

2007-11-26 Thread Erik Price
Hi, I'm observing some strange behavior regarding the clipContent of a Canvas as applied to some lines that are programatically drawn via one of its grandchildren's Sprite.graphics object. What I am seeing is that the clipContent property is not respected by its grandchildren (kids these days

Re: [flexcoders] UIComponent.graphics not respecting a grandparent's clipContent

2007-11-26 Thread Erik Price
On Nov 26, 2007 2:29 PM, Daniel Freiman [EMAIL PROTECTED] wrote: This is by design. Flex clipping is expensive (at least relative to not clipping), so Flex Containers don't clip unless measurement says they should. Drawing isn't included in measurement. You can use

Re: [flexcoders] Parameter passing !! I am shocked

2007-06-07 Thread Erik Price
On 6/7/07, Guido [EMAIL PROTECTED] wrote: I'm not really familiar with technical specifications on how AS manages argument references. However, I believe this has more to do with OO Paradigm than with AS. This is unrelated to the issue at hand. On 6/7/07, Jeffry Houser [EMAIL PROTECTED]

[flexcoders] how to eliminate the grey background of a disabled TileList

2007-06-05 Thread Erik Price
Hi, Caveat: this question is for a Flex 1.5 app. Question: How do I prevent the TileList from creating a grey background color when I set enabled=false ? backgroundDisabledColor doesn't seem to apply to the selected item. What I have done so far: In my app I have a TileList component, whose

Re: [flexcoders] Re: Error: default arguments may not be interspersed with other options

2007-04-30 Thread Erik Price
On 4/30/07, Shailesh Mangal [EMAIL PROTECTED] wrote: Thanks Bjorn, It certainly worked, So you keep two copies of SDK or is there a way to point FlexBuilder to this new version of FlexSDK and delete from its original location (/Applications/Adobe Flex Builder 2 Plug-in/Flex SDK 2/) I

Re: [flexcoders] Dynamic UI requires view-aware Commands, no?

2007-04-30 Thread Erik Price
On 4/30/07, ben.clinkinbeard [EMAIL PROTECTED] wrote: Basically, when the user selects a certain task, I need to attach a set of screens to the stage and allow them to begin working. If they later choose a different option, I need to remove the existing stack and attach the new one. I don't

Re: [flexcoders] Games in Flex / Apollo?

2007-04-27 Thread Erik Price
On 4/27/07, André Rodrigues Pena [EMAIL PROTECTED] wrote: I was also considering to develop something for flex-based games. But I think that, the only reason that could lead someone to do this would be the AS3 capabilities but now Flash CS3 has come up with this technology, and it has a bunch

Re: [flexcoders] Find and replace wih regex?

2007-04-27 Thread Erik Price
On 4/26/07, b_alen [EMAIL PROTECTED] wrote: I have a huge XML file with complex DTD. Now I have to parse this into something more usable by stripping the redundant tags and modifying some of them. I see two options: 1. Recursivly visit all the nodes and handle them with if statements. 2. Use

Re: [flexcoders] Re: Module GC question

2007-04-26 Thread Erik Price
On 4/26/07, kyle.vanvranken [EMAIL PROTECTED] wrote: UPDATE: So it would seem the hack method of forcing garbage collection for my test was actually causing the trouble. - try { new LocalConnection().connect('foo'); new

Re: [flexcoders] Re: Inserting data from Flex: FDS vs. HTTPService vs. RemoteObject

2007-04-25 Thread Erik Price
On 4/25/07, Scott Hoff [EMAIL PROTECTED] wrote: C or perl. When people say CGI, do they refer to server side scripting in general or do they refer to a specific programming language? Technically, CGI is a language-agnostic protocol to allow a web server to communicate with another application

Re: [flexcoders] Re: Inserting data from Flex: FDS vs. HTTPService vs. RemoteObject

2007-04-25 Thread Erik Price
On 4/25/07, Erik Price [EMAIL PROTECTED] wrote: script or a C binary, for example). But in my experience, when most people say CGI, they're simply using as a shorthand way of saying server side programming in general. I should add to that, server side programming in general, using HTTP

Re: [flexcoders] Re: Inserting data from Flex: FDS vs. HTTPService vs. RemoteObject

2007-04-25 Thread Erik Price
On 4/25/07, Scott Hoff [EMAIL PROTECTED] wrote: What makes AMFPHP much more advanced? Is that something I should just google? Always google. But in a nutshell, AMFPHP provides remoting facilities. This means it attempts to abstract some of the details of the transport of data between your

Re: [flexcoders] A big newbie flex question.

2007-04-25 Thread Erik Price
On 4/25/07, Ian Skinner [EMAIL PROTECTED] wrote: So, one has managed to wade through all that exposition, what is a good way to do this? Where do I put the data access logic. I presume in my You might want to read up on MVC: http://en.wikipedia.org/wiki/Model_view_controller root

Re: [flexcoders] How do you Scroll programmatically in a Panel

2007-04-25 Thread Erik Price
On 4/25/07, jensen.axel [EMAIL PROTECTED] wrote: but all of that i can eventually figure out... I just need some direction on how to scoll in the panel, programmatically... Set the panel's 'verticalScrollPosition' property when you need to change the scroll position. e

Re: [flexcoders] Datagrid scrollbar lag

2007-04-24 Thread Erik Price
On 4/24/07, Austin Kottke [EMAIL PROTECTED] wrote: Hi. I've got a datagrid with about 60 rows and 30 columns. Each has a custom item renderer that extends a Canvas component. The scrollbar that appears is lagging majorly with this set. I've tried cacheasBitmap, Implementing different

Re: [flexcoders] Root sprite not responding to MouseEvent ?

2007-04-19 Thread Erik Price
On 4/19/07, Ronnie Liew [EMAIL PROTECTED] wrote: the main app is a sprite, it should respond to mouse move right? and it does have a child and that is the visible pixel. How come it doesn't trace out? Did you forget to add your Sprite to the Stage? e

Re: [flexcoders] REPOST - Checkboxes in a DataGrid

2007-04-16 Thread Erik Price
On 4/16/07, zzberthod [EMAIL PROTECTED] wrote: I just need to insert graphical elements (ex: MXML checkbox) into the list. Example: - The first column is a checkbox (for selection of the line) - The second is the `name' column - Third is `date'

Re: [flexcoders] passing variables to Timer handler routine

2007-04-10 Thread Erik Price
On 4/10/07, dougco2000 [EMAIL PROTECTED] wrote: But since Timer calls a new function, how to best pass along any objects or strings that it will need, other than have these as global vars? Excellent question. It's answered here: http://flexblog.faratasystems.com/?p=125 e

Re: [flexcoders] dynamic creation of class

2007-04-09 Thread Erik Price
On 4/8/07, Toby Tremayne [EMAIL PROTECTED] wrote: Hi all, I have a method which retrieves an actionscript object, and depending on the value of one of the keys, converts it into an actionscript class. The issue I have is I don't know how to instantiate a class whose name I can't hard code -