[flexcoders] Extending ComboBox loses part of the skin?

2006-07-13 Thread tddclare
I'm still using Beta 3 (stupid slow procurement department)... I'm working on extending framework components, and am playing with the combobox. When I run my version, it functions as expected, but the arrow on the combo box (what you click to deop it down) does not display. I put a generic

[flexcoders] concise explanation of sizing (measured, explicit, preferred) custom components

2006-07-20 Thread tddclare
Does anyone know of a good (reasonably plain language) writeup of how (and why and when) to use the various sizing properties when extending UIComponent? I've read the documentation in Help, but it hasn't fully sunk through my thick head yet. I'd like to understand enough to know not only WHAT

[flexcoders] Easy way to publish flex app as standalone EXE?

2006-07-26 Thread tddclare
Hey, In Flash you used to be able to publish a Projector (exe) file for Windows. I know there are a bunch of SWF to EXE apps out there (Zinc, etc), but I don't need any of the filesystem APIs, etc, I just need to put my app on a workstation with no internet access and no flash player install

[flexcoders] custom component: how to tap into resize?

2006-08-23 Thread tddclare
I'm creating a custom component extending UIComponent. Much of the component is drawn by the Drawing API during the updateDisplayList using settings calculated during the commitProperties. Works great. The problem arises when the end developer USING the component changes the size of it

[flexcoders] Re: Functionality Between Components and the Main Application

2006-08-23 Thread tddclare
i completely agree with Jeff - using the events is the best way to go. If, for some reason that doesn't work for you, you can always reference the application using mx.core.Application.application, which is a reference to the top top Application (even if your swf is loaded inside another

[flexcoders] changing state of all itemrenderer instances?

2006-08-24 Thread tddclare
I have a list using a custom MXML item renderer: mx:List id=personList itemRenderer=PersonRenderer dataProvider={people}/ I'd like the user to have a checkbox in the main application to decide if they want to see the people's pictures in the list or not. On change of the checkbox, I'd like to

[flexcoders] add additional data to list-based drag and drop?

2006-08-24 Thread tddclare
I have a few lists whose items I want to drag and drop to another component. I can roll my own and code the entire drag/drop operation, but I'm lazy. I looked at the list-based drag and drop features, which look cool: mx:List id=personList dragEnabled=true / mx:List id=eventList dragEnabled=true

[flexcoders] approach question: how to handle lookup table data?

2006-08-29 Thread tddclare
I'm working to architect an app using Flex Data Services. As a simple example, let's consider the office management application. I have a Person class, who has all the normal properties, one of which is Level indicating the code for their level of seniority (A 1 2 ... 5 P -- for partner). These

[flexcoders] Re: Flex Builder 2, getting slower as code grows

2006-08-29 Thread tddclare
I've seen similar things with much smaller file sizes that are developed continuously or run over and over again (a.k.a. developed). Shutting down Builder and the browser that the app has been launched in repeatedly (we're using the Eclipse plugin and firefox, but whatever) seems to help out.

[flexcoders] webservice wsdl parsing error? help?

2006-12-05 Thread tddclare
Hi, I haven't worked with webservices much, but am needing to test out a service that was produced by a software package my company is evaluating. I'm building the flex front end to show the results. When I run what I have, I get errors when the application launches:

[flexcoders] Re: The complete component communication solution for Flex. ALON DP.

2007-02-27 Thread tddclare
Hey Sean, This is cool. Thanks for putting it out there. A question: In this part of the writeup: For example, the following line of code will show ( trace ) the instance name of the dispatching orangeBall object from within the scope of the whiteBall listening component. public method

[flexcoders] E4X descendent operator return type?

2007-03-19 Thread tddclare
I'm trying a simple test, and either it's monday or my brain is broken... maybe both... I'm writing a login component, and fire off a HTTP service that returns XML as E4X. The response XML is a response tag with either a user tag or a fault tag inside of it. All I want to do is test if there is

[flexcoders] Re: using itemRenderer with List, how can I set the icon?

2007-03-19 Thread tddclare
I think by using an itemrenderer you are taking away the default ability for the list's default renderer to show the icons. How about taking your icon function code and move it into your item renderer. You can do conditionals inside the item renderer code based on the data parameter, which is

[flexcoders] null pointer exception when creating DragProxy and assigning value?

2007-03-22 Thread tddclare
I'm trying to create a custom DragProxy and assign a property of it that controls its appearance, but am getting a null pointer exception... ugh! I have a list that is driven by an arraycollection of Document objects. I want the items on the list to be draggable, and when they are dragged, to

[flexcoders] constructor like arguments in MXML components?

2007-03-23 Thread tddclare
I'm working on an app that has the need for several popup item editor kind of windows. Example: there are people in a list, and when you double click one of them, you get a popup (TitleWindow) with a form with fields for (and populated with the selected person's) FirstName, LastName, ... and

[flexcoders] Re: constructor like arguments in MXML components?

2007-03-23 Thread tddclare
I talk to myself all the time, so why not do it on FlexCoders? I was thinking more about my problem: I had tried to do something like this: //code here to create new popup of my TitleWindow form, then... myTitleWindow.person = myPerson; But I was getting errors and/or nothing because

[flexcoders] Upload file along with other associatred data?

2007-04-03 Thread tddclare
I'm in the process of making a small form to upload a file to my PHP server. I'm using a FileReference and was following the examples in the AS3 documentation. It's working well. But I'd like to send additional information along with it (basically equivalent to hidden fields in an HTML form)

[flexcoders] upload multiple FileReferences without FileReferenceList?

2007-04-03 Thread tddclare
I have an area of my app where the user can make a new Thing and can upload 2 files against it (1 is an image, the other is a text file). I'd like to have the user interface show a TextInput for the title of the Thing, and then have 2 Browse buttons, one for the image and another for the text

[flexcoders] player and debug player produce different results!!

2007-04-19 Thread tddclare
I have written what I thought was a simple function which produces different results when I RUN the code versus when I DEBUG the code (with no breakpoints). Here's the code: private var songs:ArrayCollection; private function getSongIDs():String { var songStr:String = ; for each(var song:Song

[flexcoders] Re: player and debug player produce different results!!

2007-04-19 Thread tddclare
with running the Eclipse plugin (or Builder) for extended times and producing nonsense errors? -- Todd --- In flexcoders@yahoogroups.com, tddclare [EMAIL PROTECTED] wrote: I have written what I thought was a simple function which produces different results when I RUN the code versus when I

[flexcoders] custom drag events for List -- how NOT to have scrollbar drag an item?

2007-04-20 Thread tddclare
I have a list showing a variety of items. I use a custom ItemRederer to diplay the list items, which I want to be able to drag from the list as well. When the user drags an item, I want the DragProxy to be a different look than the ItemRenderer. I couldn't figure out how to override the built

[flexcoders] list itemrenderer rollover without backgroundColor / alpha?

2007-05-15 Thread tddclare
I have an component (HBox) that I'm using for a List's itemRenderer. I added handlers for rollOver and rollOut to try to make a delete this item button appear and disappear for each item as you roll over / out of it. The button was fizzling on and off until I set the background color and alpha

[flexcoders] How to put MXML example into ASDOC?

2007-06-05 Thread tddclare
I'm trying to be a good boy and AsDoc my new class that I wrote. I wanted to put in an example of using it, embedding a complete MXML document in the @example tag. My MXML document has a CDATA tag in it (for the script tag) which generated an error from the AsDoc executable until I removed it:

[flexcoders] Re: embed image assets in a Source Path folder?

2007-06-06 Thread tddclare
I think my issue is much more fundamental. I read about linking to common resource folders here: http://livedocs.adobe.com/flex/2/docs/0228.html http://livedocs.adobe.com/flex/2/docs/0228.html I created a linked folder in my project to a folder called TEST that has one .png file in it.

[flexcoders] Re: embed image assets in a Source Path folder?

2007-06-07 Thread tddclare
What kind of hackery is needed? It seems silly to not be able to use common resources across projects -- what's the point of all this great OOP practice if I can't reuse my items across projects? By the in windows I assume you mean that if I were (say) on a Mac [I WISH!] and tried this it would

[flexcoders] Container backgroundImage aligned to top left?

2007-10-22 Thread tddclare
Hey everyone, I'm trying to set a backgroundImage for a Container (well, a Canvas, but it looks like the BGimage stuff is handled in Container). I'd like the image to align itself to the top left, not the center which is the framework default. Has anyone come up with a good way to do this?

[flexcoders] Object oriented / design pattern / application design books?

2006-08-31 Thread tddclare
I've seen the light and am sold on the object oriented world. I'm smart enough about it to sound smart and do some good things, but still dumb enough not to know the right way to do things or the best way to apprach the problem. I'm confortable working with Flex, controls, data, components, etc.

[flexcoders] Re: e4x with XMLListCollections?

2006-10-04 Thread tddclare
Thanks for the reply. I'm wondering why I can't? According to the docs, myCollection.source gived an XMLList, and the XMLList docs say that This class (along with the XML, Namespace, and QName classes) implements powerful XML-handling standards defined in ECMAScript for XML (E4X) specification

[flexcoders] Help?: Fill not working in AreaSeries?

2006-06-30 Thread tddclare
I'm making an AreaChart with 3 AreaSeries and a ColumnSeries to show my data.I didn't like the nasty orange,green,blue,tan color scheme, so have set offf to customize it.Here's what I have:mx:AreaChart dataProvider="{todd}" mx:series mx:Arraymx:AreaSeries name="total" displayName="Total"

[flexcoders] Re: Help?: Fill not working in AreaSeries?

2006-06-30 Thread tddclare
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tddclare Sent: Friday, June 30, 2006 8:15 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Help?: Fill not working in AreaSeries? I'm making an AreaChart with 3 AreaSeries and a ColumnSeries to show my data

[flexcoders] strategery help: how to make crosshair on AreaChart

2006-07-11 Thread tddclare
I have an area chart. As the user mouses around over it, I'd like a hirzontal and vertical crosshair (one horiz, one vert gridline, sort of) to track the mouse pointer. I see the annotationelements, and am already using it for my gridlines. I'm wondering if anyone has ideas of how to implement

[flexcoders] help with using Matrix() to skew an Image -- not skewing the right amount

2007-10-31 Thread tddclare
I'm trying to skew an Image object to a varying amount, right down the center. I'm using the example math that I found in the help and in examples online, but for some reason the math doesn't seem to be working out. A cookie for anyone who can help me figure it out. I published the sample of my