[flexcoders] Drawing letters -- sprites?

2008-05-12 Thread Matt Maher
I have a project where I am drawing circles and line and such directly onto a component extending a UIComponent (all actionscript) I've had problems finding examples of drawing letters (or font characters). The best I've been able to come up with is to use IUITextField objects and place those on

[flexcoders] horizontal rule background

2008-01-13 Thread Matt Maher
I have written a pinstriped background class that extends HaloBorder. It works great... (as the plainest example) basically I just overrode updateDiplayList.. You basically end up with a rectangle with a light pinstripe effect. Nice. But what I want to do is follow any rounded corners that

[flexcoders] removing component height

2007-12-28 Thread Matt Maher
I have a thing I bump into from time to time and I know there justMUST be a solution for: Sometimes I want to leave a visual component on the screen but set its height to 0 explicitly, so that it takes up no space. Then later I want to say disregard my '0' and measure yourself. How do I (in

[flexcoders] Re: ItemRenderer in TileList not redrawing?

2007-12-28 Thread Matt Maher
-created. More info on my blog (blogs.adobe.com/aharui) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Maher Sent: Wednesday, December 26, 2007 11:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ItemRenderer in TileList

[flexcoders] Re: removing component height

2007-12-28 Thread Matt Maher
height to 0 instead of setting visible to false? - Dan Freiman On Dec 28, 2007 12:46 PM, Matt Maher [EMAIL PROTECTED] wrote: I have a thing I bump into from time to time and I know there justMUST be a solution for: Sometimes I want to leave a visual component on the screen

[flexcoders] Re: removing component height

2007-12-28 Thread Matt Maher
:49 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] removing component height component.explicitHeight = NaN; is there a reason why you're setting height to 0 instead of setting visible to false? - Dan Freiman On Dec 28, 2007 12:46 PM, Matt Maher matt

[flexcoders] ItemRenderer in TileList not redrawing?

2007-12-26 Thread Matt Maher
Setup: I have a tilelist with a customer item renderer and an array collection dataprovider. The array collection has 100 items. The list can show 10 renerers on the screen. Problem: When I change (filter) the underlying array collection to 5 items the list redraws correctly in that there are

[flexcoders] AIR Window and Mouse management

2007-11-29 Thread Matt Maher
Is there a class or object out there that I can get reference to the mouse no matter where it is? I can't seem to find anything. I have an AIR app with multiple native windows. I want to show things in those windows while the mouse is over them, but not show them when the mouse is elsewhere.

[flexcoders] Re: AIR Window and Mouse management

2007-11-29 Thread Matt Maher
?? --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: Maybe checking the Array from getObjectsUnderPoint could help you, inside a MouseEvent.MOUSE_MOVE event. -- Keith H -- Matt Maher [EMAIL PROTECTED] wrote: Is there a class or object out there that I can get reference

[flexcoders] Re: coordiates of items in a datagrid (really need help!!)

2007-06-14 Thread Matt Maher
Of Matt Maher Sent: Thursday, June 07, 2007 2:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: coordiates of items in a datagrid Alex, thanks so much! Can you tell me a bit more? I have looked through the debugger and seen the listItems but I cannot seem to figure out

[flexcoders] Re: coordiates of items in a datagrid

2007-06-07 Thread Matt Maher
it's even POSSIBLE though. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: You'll have to subclass and then snoop through the listItems array From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Maher

[flexcoders] coordiates of items in a datagrid

2007-06-06 Thread Matt Maher
I have a datagrid and want the user to be able to draw a selection box over the elements in it... When the user lets go of the mouse button I want to look through the items of the grid to ask each if they fall within the coordinates of the box. This sounds so simple and I've gotten to the

[flexcoders] Re: OpenType Fonts in Flex 2?

2007-05-09 Thread Matt Maher
I'm very happy to finally find this answer. Wow that threw me for a while Alright then, I have a Type 1 font (pfm/pfb) that I converted to OTF. Since OTF cannot be used, how about the PFM? /me prays --- In flexcoders@yahoogroups.com, nesleinob [EMAIL PROTECTED] wrote: Thanks, Matt -

[flexcoders] Update Progress Bar during processing

2007-05-08 Thread Matt Maher
This seems like a simple thing, but I have a progress bar that works just fine. The problem is the loop I'm working through is taking all of the resources for the flash container while it works. Put another way: I am processing 1000 records It takes 45 seconds to complete and is invisible to

[flexcoders] xml FROM arraycollection?

2007-04-21 Thread Matt Maher
If I have an arrayCollection, is there an easy way to get an XML object created from it? arrayCollection.toXML() you know, something like that! Thanks

[flexcoders] Creating an object from a class name

2007-04-16 Thread Matt Maher
I bet this is easy. I have MainView as a string and I need to create an object of that type... for example var myObject:Object = new GetObjectFromString(MainView); I know, that line of code is a mess. Got any help for me?! Thanks!!

[flexcoders] Flex Caching Data?

2007-03-20 Thread Matt Maher
I have a component which downloads a list of credit card numbers for the customer to work through. This file is delivered to the container as a CSV then turned into a collection of DTO objects. Is there a way to MAKE SURE that flash does not leave this on the disk after the container closes

[flexcoders] Re: Flex Caching Data?

2007-03-20 Thread Matt Maher
written I am concerned about (cache) are temporary internet files and normal swap-like disk caching. Thanks again --- In flexcoders@yahoogroups.com, Matt Maher [EMAIL PROTECTED] wrote: I have a component which downloads a list of credit card numbers for the customer to work through

[flexcoders] Re: Top and Bottom padding on DataGrid

2007-03-05 Thread Matt Maher
@ --- In flexcoders@yahoogroups.com, Douglas Knudsen [EMAIL PROTECTED] wrote: ever have any luck with this? DK On 1/22/07, Matt Maher [EMAIL PROTECTED] wrote: Is there a simple way to change the forced padding on the top and bottom of datagrid rows? If I make font-size=6 I would

[flexcoders] Re: Test for Network Connection

2007-02-27 Thread Matt Maher
Good lord Jim, you have saved me TONS of work! Thank you so very much! --- In flexcoders@yahoogroups.com, Jim Cheng [EMAIL PROTECTED] wrote: Matt Maher wrote: I'm writing an on-line/off-line application that will sync your data once you return to an on-line status. Instead of calling

[flexcoders] Test for Network Connection

2007-02-23 Thread Matt Maher
I have a few probing questions that will ultimately force my final design. I'm writing an on-line/off-line application that will sync your data once you return to an on-line status. Instead of calling an http service every 15 seconds to test for connection status, is there some way I can see

[flexcoders] Re: Can't deploy .swf

2007-02-08 Thread Matt Maher
John, I'm not certain I can help you here but I can tell you what I know. Maybe something will be useful: source files: I use the Flex Builder environment, so this may not pertain to you: Upon build Flex creates a bin directory where all executable files are located. This is helpful in at least

[flexcoders] Host Name? How do I get my current host name?

2007-01-31 Thread Matt Maher
I need to know what box and what domain I am running the flash movie from. Is there any way I can get this information

[flexcoders] Top and Bottom padding on DataGrid

2007-01-22 Thread Matt Maher
Is there a simple way to change the forced padding on the top and bottom of datagrid rows? If I make font-size=6 I would expect the row to shrink to a tiny size, but there seems to be a forced top and bottom margin that keeps the row at a certain height. ItemRenderers are possible, but that

[flexcoders] Flying Boxes

2007-01-19 Thread Matt Maher
Someone please fast-track me... I have a complex and very component-ized interface. I'd love to create some elements that know how to float around the screen... For example how a combobox works. It takes up x and y space, but when activated the resulting drop box flies over everything. How do I

[flexcoders] Re: User Authentication

2007-01-19 Thread Matt Maher
You will, no doubt, get much better answers from others as I am working on the same things over here. But Flex plays in your browser's session management like anything else. In other words, it sends the same headers the browser would send when requesting something from the server. If you already

[flexcoders] Re: Making a Hover menu with Flex

2007-01-19 Thread Matt Maher
Genius! This helped me tremendously. I was wondering the same thing. It may be interesting to the Flex designers that this is, by no mean, an obvious solution to the problem. Perhaps it's the name PopUp. Somehow that relates directly to things like dialogs and alerts. Certainly my own mistake,

[flexcoders] DataGrid cell renderers and tiny text

2007-01-19 Thread Matt Maher
Okay, this should be a no-brainer I want my datagrid rows packed together very tightly which means getting rid of the paddingTop or verticalGap that is the default of the datagrid cell. I can create my own item renderer mx:itemRenderer mx:Component

[flexcoders] Array Inefficiencies??

2007-01-03 Thread Matt Maher
I sure as heck hope someone out there has an answer for me on this one... Has anyone else seen inefficiencies with arrays? I have a file with 1000 rows that looks this,that,other,etc,etc again,this,is,another,row I load that into an Array called values splitting on ,. That all works

[flexcoders] Percentage based width in ActionScript

2006-12-28 Thread Matt Maher
Yikes, I am creating a component in ActionScript and adding an HBOX to it as a child. I want that hbox to fill 90% of the width of this. I see on this page http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0518.html a comment about

[flexcoders] Determining VDividedBox heights

2006-12-27 Thread Matt Maher
I'm trying to remember the height at which someone sets a vertically divided section. I am using a VDividedBox and have set a listener to the dividerRelease event. When I get in there I can trace out the height of the top component within the VDividedBox but it gives me the pre-resized value.

[flexcoders] Re: ItemRenderers and Events

2006-12-23 Thread Matt Maher
. The visual elements, including the checkboxes cease to exist when they are scrolled. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Maher Sent: Friday, December 22, 2006 4:07 PM To: flexcoders@yahoogroups.com

[flexcoders] Re: Question on TabNavigator

2006-12-22 Thread Matt Maher
Malik, have I got the resource for you... here's something fun to play with to learn a lot about the interface elements: http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.html There is an item at the top for tabs -M@ --- In flexcoders@yahoogroups.com, malik_robinson [EMAIL PROTECTED]

[flexcoders] ItemRenderers and Events

2006-12-22 Thread Matt Maher
I'm having troubles with capturing events from an item in a List which uses an itemRenderer. Basically I'm overriding a multi-select List to have a checkbox in it with a simple itemRenderer. The item renderer is handling the clicks and managing the checkbox just fine. It also dispatches an event

[flexcoders] AS Help

2006-12-15 Thread Matt Maher
I have a hard question to ask as I don't know the terms to use for it. Basically, I want to use a string variable to set what member variable to pull from another object How can I make something like the following work: function fun(inString:String):String { return

[flexcoders] Re: AS Help

2006-12-15 Thread Matt Maher
, Doug Lowder [EMAIL PROTECTED] wrote: That would be equivalent to return preExistingObject[inString]; For the current object, use this[inString]. --- In flexcoders@yahoogroups.com, Matt Maher matt@ wrote: I have a hard question to ask as I don't know the terms to use for it. Basically

[flexcoders] Content Clipping, how is it supposed to work?

2006-12-09 Thread Matt Maher
I am trying to make a canvas (with rounded corners) clip the content inside of itself. It flat doesn't work. The clipping occurs, but the rounded corners are not taken into account, so the content inside is clipped to the square canvas. I have source below. Copy and paste that into the Flex Online

[flexcoders] backgroundGradientColors on something other than Application

2006-12-08 Thread Matt Maher
I was wondering if there were other elements (canvas, hbox, panel, etc) that can suport the backgroundGradientColors gradient properties? I see that there seems to be no support by default, is this simple to change?