Re: [flexcoders] Re: Styling AdvancedDataGridItemRenderer

2008-06-26 Thread Doug McCune
As a very general word of warning, I'd advise you to be more careful and expect more pain when working with the following classes (and all associated base classes, etc): AdvancedDataGrid, OLAPDataGrid, GroupingCollection. I'll try to be extremely politically correct here, but I assume you'll

Re: [flexcoders] Re: itemRender Debug Warnings

2008-06-26 Thread Doug McCune
The issue is that you are creating Objects and adding these Objects to your dataprovider. Objects are not bindable. For a quick fix just do this: var objDG:Object = {itemID: myID, index: myAC[myID].id, display: gridDisplay, toolTip: tipText}; myList.dataProvider.addItem( new ObjectProxy(objDG)

Re: [flexcoders] Looking for the right loop

2008-06-24 Thread Doug McCune
There's nothing wrong with your code. You can also use a for each loop instead, which might be a bit faster, but doesn't give you elements in any kind of order. But you could try this for each loop: for each(var thing:Object in things) { if(thing.selected == false) { //whatever } } Just note

Re: [flexcoders] Re: Some interesting flexcoders stats

2008-06-23 Thread Doug McCune
would the tables look like (model)? --- In flexcoders@yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote: I'm planning on letting people download the sqlite database file. That's a single file (with the .db extension I think) that you can load into any air app and access. I could also do

Re: [flexcoders] Here's a great idea for flex 4 - simple color pallette utility

2008-06-23 Thread Doug McCune
I'd vote for this too, especially if it was something that came up in the IDE as part of the code hinting for color style tags. On Mon, Jun 23, 2008 at 11:51 AM, Paddy Keane [EMAIL PROTECTED] wrote: great idea ;) From: flexcoders@yahoogroups.com

Re: [flexcoders] Re: Some interesting flexcoders stats

2008-06-22 Thread Doug McCune
Within then next week I hope to have a fairly complete dataset of date, subject, and name of who posted for close to all the messages ever posted to flexcoders. I might also do a second pass to get full text of each message too. I say close to all because I'm scraping the mail archive website and

Re: [flexcoders] Re: Some interesting flexcoders stats

2008-06-22 Thread Doug McCune
, arieljake [EMAIL PROTECTED] wrote: What will the data format be so we can plan ahead? --- In flexcoders@yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote: Within then next week I hope to have a fairly complete dataset of date, subject, and name of who posted for close to all the messages

Re: [flexcoders] Flex Efficiency

2008-06-21 Thread Doug McCune
The first step here is to verify that it's really the SWFs that are causing the problem. Can you replace the animated SWFS with static assets (like very simple non-animated SWFs, or even just blank Sprite objects)? Then test and see if the performance is better. If not then it's a Flex problem. If

Re: [flexcoders] Need Source code for Character Limit for TextArea....

2008-06-20 Thread Doug McCune
Posting twice, demanding source code for a solution, and telling us you need it ASAP isn't going to do much besides piss people off. We're not here to do your work. If you're in over your head and are going to miss your deadline because you committed to developing with a technology you haven't

Re: [flexcoders] Re: Return data to FileReference

2008-06-20 Thread Doug McCune
I'm guessing then that Event.COMPLETE and DataEvent.UPLOAD_COMPLETE_DATA both are the string complete and you just happened to get lucky with a bad naming convention. But that's just a guess. Doug On Fri, Jun 20, 2008 at 4:19 PM, Tracy Spratt [EMAIL PROTECTED] wrote: Are you saying, complete

Re: [flexcoders] Re: way way OT: another flex?

2008-06-19 Thread Doug McCune
It's Flash, I decompiled it. It's got scripts all over movieclips. w. Doug On Thu, Jun 19, 2008 at 1:06 PM, Tim Hoff [EMAIL PROTECTED] wrote: 16 city / 22 highway; oh yeah. It's funny, when this site first came out it was touted as being written in Flex. Looks more like a Flash site

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

2008-06-18 Thread Doug McCune
Out of the last 100 threads on flexcomponents 22 were cross posted to flexcoders. Almost every one (I think with one exception) was cross-posted by the original author immediately to both lists (sometimes as many as 5 lists! flexcoders, flex_india, flexcomponents, ria-india). One of them was

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

2008-06-18 Thread Doug McCune
I'd just like to point out that we've just had a 108-message thread among 20 different Flex developers in 2 days. Somehow among the stagnation and overwhelming traffic we've all had a fantastic discussion :) I think this thread is an argument that this list is alive and very healthy. Doug On

Re: [flexcoders] Diagonal (hatched) fill

2008-06-18 Thread Doug McCune
I did something like this with degrafa... I used the CSSSkin they have in there and applied a small hatch graphic as the background fill (I made a tiny one-liner diagonal image in photoshop). Worked really well and was completely controlled by CSS. Doug On Wed, Jun 18, 2008 at 5:54 PM, Josh

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

2008-06-17 Thread Doug McCune
How about an agreed list of acronyms that we use to prepend the Subject line with: NEWB, MXML, AS3, DESIGN, HTTP, ALL, etc., and we do the sorting ourselves with the mail rules? You can't force people to add keywords to their subjects (I'd also argues that any categories you come up with are

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

2008-06-17 Thread Doug McCune
Actually, this is worth going back to, because your initial email said that the group was stagnant and has plateaued with the number of new users and questions. Except your reason for bringing it up is that the traffic has gotten too much for you to read every message. So clearly the level of

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

2008-06-17 Thread Doug McCune
, Doug McCune [EMAIL PROTECTED] wrote: Actually, this is worth going back to, because your initial email said that the group was stagnant and has plateaued with the number of new users and questions. Except your reason for bringing it up is that the traffic has gotten too much for you to read

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

2008-06-17 Thread Doug McCune
On Tue, Jun 17, 2008 at 5:35 PM, Doug McCune [EMAIL PROTECTED] wrote: Actually, this is worth going back to, because your initial email said that the group was stagnant and has plateaued with the number of new users and questions. Except your reason for bringing it up is that the traffic has

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

2008-06-17 Thread Doug McCune
Out of morbid curiosity, am I the only one who has multiple email lists all being filtered into the same mega-list? I have flexcoders, flexcomponents, apollocoders, papervision, degrafa, flexlib, and flexjobs all dropped into a mondo folder in gmail. I color code each list accordingly so I can at

Re: [flexcoders] Re: OOP and Work for Hire

2008-06-12 Thread Doug McCune
I'm bowing out of this discussion. Things have gotten far too polarized and nit-picky. However, I still feel it is worthwhile to at least chime in one more time because I think some of the points raised here leave developers with wrong and dangerous information. The overall opinion that you don't

Re: [flexcoders] Re: Any best-practice for labelField=field.innerField on things like DataGridC

2008-06-11 Thread Doug McCune
I've done something like this before, where fullField is the String representation of the field (like field1.field2.field3) and item is the top-level data object: var split:Array = fullField.split(.); var valueObj:Object = item; for(var i:int=0; isplit.length; i++) { valueObj =

Re: [flexcoders] Conditional Statement Problem

2008-06-11 Thread Doug McCune
or just do: f ( disabledDates[a] == stayLength[i] ) { Alert.show(Date Overbooked!, Sorry, Alert.OK);} break; } Doug On Wed, Jun 11, 2008 at 9:55 AM, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, This might help; var i:int = 0; var overbooked:Boolean = false; while (

Re: [flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread Doug McCune
Typed code is what you are paid to deliver. That is what the client is buying. When the client pays you you are selling those digital lines of code. I just wrote a book for wiley. I cannot copy and paste any of the prose that I wrote and post it on my blog. It belongs to wiley. I sold it to them

Re: [flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread Doug McCune
the code and change all the variable names but the heart of the algorithm will stay the same. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote: Typed code is what you are paid to deliver. That is what the client is buying. When the client

Re: [flexcoders] Re: OOP and Work for Hire

2008-06-11 Thread Doug McCune
What if you spin it as a PR opportunity for the company, and ask to be able to use the code you write as the basis for explanatory tutorials, without giving away any company-specific trade secrets, and give credit to the company for contributing the code? Could be a win-win for everyone involved.

Re: [flexcoders] Re: OOP and Work for Hire

2008-06-10 Thread Doug McCune
The company is buying the code that you write. They are not buying your time. They might pay you based on how long it takes you to write the code, but in the end all they care about is owning that code. If they pay you $10,000 to write code, and then you turn around to another company and bid on a

Re: [flexcoders] Re: SWC Encrypt 2.0 - Does it work?

2008-06-04 Thread Doug McCune
Just to clarify, Andrew is in fact talking about encryption, not obfuscation. The NitroLM product (which I have not used) actually does raw byte encryption on your swf, which then gets loaded by a wrapper swf and decrypted at runtime based on a secret key that gets sent over a secure connection

Re: [flexcoders] Accordion, How to show it vertically like xx|yy|zz

2008-06-03 Thread Doug McCune
oh hai! Did u check out flexlib?? http://code.google.com/p/flexlib/ http://flexlib.googlecode.com/svn/trunk/examples/HAccordion/HAccordion_Sample.swf zomgz! u can haz HAccordion! kthnxbye, Doug On Tue, Jun 3, 2008 at 10:03 AM, Tracy Spratt [EMAIL PROTECTED] wrote: Someone has created one

Re: [flexcoders] Re: SWC Encrypt 2.0 - Does it work?

2008-06-03 Thread Doug McCune
That last comment isn't true. The Sothink decompiler works just fine on Flex swfs. Here's my experience with SWF Encrypt and SWC Encrypt: - We ran SWCEncrypt on a Flex SWC and then tried decompiling a Flex app created with the encrypted SWC versus the unencrypted SWC. I could not tell

Re: [flexcoders] Casting Problem.. Type Coercion Failed

2008-06-01 Thread Doug McCune
ALL_USERS isn't a collection of UserVO objects it seems. Looks like it's a collection of generic Objects. How did you create the collection? Did you use AMF? Did you load from XML? Somehow the objects that got created did not get created as the proper UserVO objects. So check the collection when

Re: [flexcoders] Performance issues while creating several instances of DisplayObject at the same

2008-05-30 Thread Doug McCune
A few suggestions: - don't set explicitWidth in updateDisplayList, use setActualSize() - like Alex said, Container does extra processing, so use UIComponent as the base of both ParentView and ChildView. SInce you are managing the layout of the children manually and you don't require

Re: [flexcoders] Trial Flex Builder 3 has expired

2008-05-28 Thread Doug McCune
ha! I love it. You brought a smile to my face this morning. Thanks Rick. I've often thought of making little lolcat images to reply to many of the messages on this list. Oh noes!!1 The trial iz expire! Help plz. kthnxbye On Wed, May 28, 2008 at 5:25 AM, Rick Winscot [EMAIL PROTECTED] wrote:

Re: [flexcoders] 5,000 record dataset needs love

2008-05-21 Thread Doug McCune
Figure out where the real bottleneck is. I just did a demo app that loads over 35,000 records from an uncompressed CSV file (over 2 meg). It's all doable, you just have to figure out which part is slow. You basically have these possibilities in terms of what's taking the most time: 1. Loading

Re: [flexcoders] How big does a SWF get before IE starts to worry?

2008-05-08 Thread Doug McCune
:) I've thoroughly enjoyed this thread so far... Doug On Thu, May 8, 2008 at 10:20 PM, Josh McDonald [EMAIL PROTECTED] wrote: Apologies to the list, I meant to address that off-list! -J On Fri, May 9, 2008 at 3:20 PM, Josh McDonald [EMAIL PROTECTED] wrote: Say what? The only point I

Re: [flexcoders] Re: Extending Alert

2008-05-02 Thread Doug McCune
BTW, if you want to add an Alert via MXML just do this: mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:controls=mx.controls.* controls:Alert / /mx:Application Alert isn't included in the manifest XML file so the compiler doesn't know that it's in the

Re: [flexcoders] Re: Large application strategy - Flex or Flash?

2008-04-28 Thread Doug McCune
No current requirement for Flex components That seems like a relevant factor in the decision.. I'd argue that the lack of a need for any Flex controls is an argument for not using the Flex framework, but not necessarily for not using Flex Builder as the development tool. Even if you are

Re: [flexcoders] Re: Collapsible controls

2008-04-24 Thread Doug McCune
btw, I'm hoping to roll that component together with the existing WindowShade one in flexlib and get the combined component in the flexlib project. One I find a free minute... Doug On Thu, Apr 24, 2008 at 10:58 AM, Richard Rodseth [EMAIL PROTECTED] wrote: This looks quite promising:

Re: [flexcoders] binding problems

2008-04-20 Thread Doug McCune
You're creating a bindable Array that is full of non-bindable Objects. Since your Array is bindable you would be able to bind to the Array itself, and bindings would get fired when the Array changes (ir you do something like objs = new Array()). But inside that Array are simple Objects that are

Re: [flexcoders] binding problems

2008-04-20 Thread Doug McCune
. Same problem as above it seems. So you think creating a new Circle class and binding the buttons to each circle in an array, when changing the array(circle1.percent) (yeah, fake) -- should be enough. By the way, love the blog. 2 thumbs up. On Apr 20, 2008, at 11:45 PM, Doug McCune wrote

Re: [flexcoders] Re: What would cause a Canvas subclass to not clip its content?

2008-04-15 Thread Doug McCune
PROTECTED] wrote: Let's make sure that the clipContent property is deprecated when that enhancement is added ;) --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote: But then what would I do with these arcane bits of framework knowledge I

Re: [flexcoders] What would cause a Canvas subclass to not clip its content?

2008-04-14 Thread Doug McCune
Every once in a while I'll drop a dummy UIComponent child into a canvas and set it to have an x position of -1. That will force the canvas to clip it's children. A canvas only applies the clipping mask if it checks its children and thinks that one of them extends beyond the bounds. If you have a

Re: [flexcoders] What would cause a Canvas subclass to not clip its content?

2008-04-14 Thread Doug McCune
an enhancement request. Ben On Mon, Apr 14, 2008 at 12:36 PM, Ben Clinkinbeard [EMAIL PROTECTED] wrote: Holy hell Batman, that worked like a charm. Thanks! On Mon, Apr 14, 2008 at 12:29 PM, Doug McCune [EMAIL PROTECTED] wrote: Every once in a while I'll drop

Re: [flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-13 Thread Doug McCune
BTW, the EventGenerator class in the UM extensions is specifically for sequencing events. You can wrap a bunch of events in the EventGenerator and tell the generator whether the events should run in sequence or in parallel. Then you fire off the generator and it will queue up all the events and

Re: [flexcoders] How the hell do you debug a 1009 error from SOAP?

2008-04-13 Thread Doug McCune
Here is a recent IM conversation I had with someone who shall remain nameless. I apologize for the language, but it wasn't even me this time. 4:43:38 PM [EMAIL PROTECTED]: fucking new flashplayer broke [my app] and i have no idea why 4:43:49 PM [EMAIL PROTECTED]: i didn't think any of that

Re: [flexcoders] some one must know this!!! Please tell me!!!

2008-04-12 Thread Doug McCune
There is too much traffic on this list to read everything, and we choose what to read based on whether we think we can help with the problem expressed in the subject. * except for Tracy, who obviously reads every message, especially the ones with the most exclamation points in the subject.

Re: [flexcoders] how do I know when a component is invisible

2008-04-12 Thread Doug McCune
Ugly way #1: Try adding a listener to SystemManager for the FlexEvent.SHOW and FlexEvent.HIDE event using the capture phase. Then when that comes in loop over all the children of the component that is being shown and do whatever it is you need to do when you find a certain component is being shown

Re: [flexcoders] how do I know when a component is invisible

2008-04-12 Thread Doug McCune
, Apr 12, 2008 at 7:52 PM, Doug McCune [EMAIL PROTECTED] wrote: Ugly way #1: Try adding a listener to SystemManager for the FlexEvent.SHOW and FlexEvent.HIDE event using the capture phase. Then when that comes in loop over all the children of the component that is being shown and do

Re: [flexcoders] how do I know when a component is invisible

2008-04-12 Thread Doug McCune
Of Doug McCune Sent: Saturday, April 12, 2008 8:00 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] how do I know when a component is invisible or if its parent's parent is not the current view in a viewstack I think when the selected child changes in a ViewStack

Re: [flexcoders] Re: Selecting item in comboBox drop down.

2008-04-12 Thread Doug McCune
Just to play devil's advocate, is there any reason you're not just using one of the auto complete components out there? There's an auto-complete text component in Yahoo's astra flex component set. There's also another auto-complete text box done by some adobe peeps (the link I found to adobe

Re: [flexcoders] Writing text directly to Graphics object.

2008-04-11 Thread Doug McCune
You can draw a TextField to a BitmapData object (using the draw() method) and then use graphics.beginBitmapFill and pass in that BitmapData (make sure to specify the right matrix for where to start the fill). But no, as far as I know there is not way to do it directly, I often use BitmapData as an

Re: [flexcoders] How is a checkbox check, but not check

2008-04-05 Thread Doug McCune
Hey Tracy, you ever realize that you're posted 150 messages on flexcoders about itemRenderers? http://tech.groups.yahoo.com/group/flexcoders/msearch?query=itemRenderer/group/flexcoders/msearch?query=itemRenderersn=Tracy+Spratt :) On Sat, Apr 5, 2008 at 1:39 PM, Tracy Spratt [EMAIL PROTECTED]

Re: [flexcoders] Chart Styling | BarChart -- Controlling How Total Width Is Allocated Between Data Area (e.g. Bars) vs Labels

2008-04-05 Thread Doug McCune
Try using the gutterLeft, gutterRight, gutterTop, and gutterBottom styles on the chart itself. If you set those you can control how many pixels are used for the axes. You can also play with the font size and rotation of the labels on the axis renderers you use. Doug On Sat, Apr 5, 2008 at 4:53

Re: [flexcoders] Re: Announcement: Join us in a Flex-Related Focus Group

2008-03-31 Thread Doug McCune
I like all designs that give me $50. On Mon, Mar 31, 2008 at 3:20 PM, Jeffry Houser [EMAIL PROTECTED] wrote: I just wanted to thank Cutter and The Saj for the kind words. ;) For the record, I don't like the design all that much either. Cutter (Flex Related) wrote: For those

Re: [flexcoders] TabNavigator Question

2008-03-23 Thread Doug McCune
try this example ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Canvas height=100% mx:TabNavigator horizontalAlign=right height=100% mx:HBox width=800 label=Tab 1 / mx:HBox width=800 label=Tab 2 / mx:HBox

Re: [flexcoders] Error message is unclear: 1020: Method marked override must override another method.

2008-03-23 Thread Doug McCune
$10 says either 1, 2, or 3 aren't quite true ;) paste some code of the method and tell us which class you're extending. Doug On Sun, Mar 23, 2008 at 5:57 PM, justSteve [EMAIL PROTECTED] wrote: Im attempting to override a function where I've verified that: 1) I'm importing the correct

Re: [flexcoders] Flex 3 trial version says it expaired

2008-03-02 Thread Doug McCune
Try wiping out the license.properties file on your machine (or just rename it in case you want to go back to using beta 3 without the charting watermark). I had this issue with an old serial # for the last FB3 beta. Doug On 3/2/08, hworke [EMAIL PROTECTED] wrote: Hi I just downloaded flex 3

Re: [flexcoders] Flex Builder 3.0 Serial No. Need

2008-03-01 Thread Doug McCune
Heh, I was about to comment about what a funny request this is to this group considering the number of Adobe employees who read this list. But then I realized that this dude is an expert in Special Kicks, Foot-Works, Flips, Combining various Martial Arts like Karate-Do, Tae Kwon-Do, Wu-Shu,

Re: [flexcoders] Re: Flex Builder 3.0 Serial No. Need

2008-03-01 Thread Doug McCune
Oooh, that's right, the dude is the owner of Magic Legs Martial Arts Academy. You think that academy qualifies for the education discount? http://www.linkedin.com/in/dangeoruskicker On 3/1/08, Sherif Abdou [EMAIL PROTECTED] wrote: and then there is always the education version too -

Re: [flexcoders] Pros and cons of bindable versus dispatching one's own events?

2008-02-29 Thread Doug McCune
You can make read-only properties bindable. In your case your age property is a read-only property since it only has a getter. The normal bindable stuff doesn't work on that because bindable properties require both a getter and a setter to work. But if you define only a getter you can still use

Re: [flexcoders] Re: Am I the only one who wishes EventDispatcher exposed its listeners?

2008-02-21 Thread Doug McCune
Just FYI, I posted an example of monkey patching FlexSprite to get this functionality: http://dougmccune.com/blog/2008/02/21/monkey-patching-flexsprite-to-list-all-event-listeners-on-any-flex-component/ Doug On 11/28/07, ben.clinkinbeard [EMAIL PROTECTED] wrote: Gotcha. Maybe you should try

Re: [flexcoders] Re: Am I the only one who wishes EventDispatcher exposed its listeners?

2008-02-21 Thread Doug McCune
this sort of feature for a long time... If I knew about it before ( assuming it's not a bug ) I would have done this a long time ago... along with implementing other things like deconstruct etc etc monkey patching eh... never heard of it thanks Doug On Thu, Feb 21, 2008 at 7:19 PM, Doug

Re: [flexcoders] do you need CS Degree to get a job?

2008-02-19 Thread Doug McCune
I don't think I've ever been asked about my education when discussing potential work. When I was first getting into Flex consulting I didn't even give out resumes with that information before getting hired. If you have solid samples that's all anybody cares about. Start a blog and post like hell.

Re: [flexcoders] Transparent=true on BitmapData not working

2008-02-19 Thread Doug McCune
add in a fill color for the initial BitmapData that is a full argb hex string. If you don't do this the transparency won't work as far as I know. So try changing the line to: var bmd : BitmapData = new BitmapData(dragInitiator.width, dragInitiator.height, true, 0x); Doug On 2/19/08,

Re: [flexcoders] Re: Sort of OT: RSS Feeds

2008-02-19 Thread Doug McCune
a lot of browsers nowadays format RSS feeds to look nice, since they figure humans might want to actually read the content, but it can be a little confusing since you're expecting to look at raw XML. Doug On 2/19/08, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com

Re: [flexcoders] Hide Track in HSlider Component.

2008-01-21 Thread Doug McCune
When I want to remove the skin of various components like this I often set the skin class to ProgrammaticSkin, which is the base skin class but doesn't actually render anything. So if you set trackSkin to ProgrammaticSkin it should hopefully do what you want. Doug On 1/20/08, Sherif Abdou [EMAIL

Re: [flexcoders] Error: Call to a possibly undefined method setTextFormat

2008-01-17 Thread Doug McCune
setTextFormat is not a method of TextArea. setTextFormat is a method of TextField. TextArea is not the same as TextField. TextArea is a Flex control. TextField is a base Flash player control. TextArea uses a TextField control internally. If you were to subclass TextArea you could access the

Re: [flexcoders] Imports being lost

2008-01-13 Thread Doug McCune
I also remember seeing this, but I don't think it has happened since the latest beta. If I remember correctly the issue seems to occur when organize imports would get run (possibly automatically) before I had edited the file (ie if it was just opened). I think I noticed that if I just hit ctrl-Z

Re: [flexcoders] Imports being lost

2008-01-13 Thread Doug McCune
://www.adobe.com/2006/mxml; mx:Script ![CDATA[ import mx.core.Container.commitProperties; override protected function commitProperties():void { } ]] /mx:Script /mx:HBox On 14/01/2008, at 4:10 PM, Doug McCune wrote: I also remember seeing this, but I don't think it has happened since the latest beta

Re: [flexcoders] Setting custom component properties in MXML

2008-01-13 Thread Doug McCune
To go back to your original example, it does seem a bit kludgy to me too. In this case I would use databinding like so: mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=500 height=800 mx:Script ![CDATA[ [Bindable] public var imageSource:String; ]] /mx:Script mx:Panel x=100 y=100 mx:Image

Re: [flexcoders] Flex 3 AdvancedDataGrid sources

2008-01-09 Thread Doug McCune
A valid flex builder 3 license will unlock the ADG sources. But the classes in the Data Visualization package (ADG, charting, OLAP, etc) are not going to be open-sourced like the rest of the Flex SDK. So once the Flex SDK is open sourced that still won't include the Advanced Data Grid. Doug On

Re: [flexcoders] Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread Doug McCune
I can see this functionality being useful for various reasons. Ben, are you thinking you want to track down any listeners that are left over that are preventing garbage collection? Doug On 11/28/07, ben.clinkinbeard [EMAIL PROTECTED] wrote: Sometimes it would be really nice be able to access

Re: [flexcoders] Aha... did someone say C/C++ to AS3???

2007-11-03 Thread Doug McCune
Yes, the player is fantastic. But how will adobe make money out of it if... their business model ( with regards to the flash platform ) now revolves around development tools and data/media infrastructure, not the player itself which, licensed as you say it is, didn't cost me or anyone I know

Re: [flexcoders] Carousel component

2007-10-29 Thread Doug McCune
For 3D: http://theflashblog.com/?p=293 For 2D: http://blogs.digitalprimates.net/codeSlinger/index.cfm/2007/10/28/Max-Presentation Doug On 10/29/07, Anzer [EMAIL PROTECTED] wrote: Where can I get a good implementation of Carousel component in Flex 2 ?

Re: [flexcoders] Tween Motion along a path

2007-10-28 Thread Doug McCune
For starters, the presentation you're referring from Michael Labriola to was just posted online: http://blogs.digitalpri mates.net/codeSlinger/index.cfm/2007/10/28/Max-Presentation The basic idea that I think makes sense for you to approach the problem with is that you want a function that lays

Re: [flexcoders] Re: iterating across an object

2007-10-28 Thread Doug McCune
BTW, check out Josh Tynjala's writeup of some of the new stuff that's going to be in ECMAScript: http://www.zeuslabs.us/2007/10/28/discover-ecmascript-4-the-future-of-actionscript/ Included is Map :) You can read the document outlining some of the new stuff in ECMAScript 4 here:

Re: [flexcoders] accordion with more than one item open at the same time

2007-10-26 Thread Doug McCune
Yup, here it is: http://weblogs.macromedia.com/pent/archives/2007/04/the_stack_compo.cfm

Re: [flexcoders] nested viewstack does not initialize in time

2007-10-21 Thread Doug McCune
creationPolicy=all I'll let someone else reply telling you why that's a bad idea. On 10/20/07, Thomas Spellman [EMAIL PROTECTED] wrote: I have a simple navigation interface with a navbar on the left, and a content section on the right. The navbar is composed of several main sections

Re: [flexcoders] Re: Import Statement keeps disappearing

2007-10-13 Thread Doug McCune
I noticed this prior to Beta 2 as well, basically organize imports removes a few things that you don't want removed. mx_internal is one, and getTimer is another I know has issues. I think this has been a problem and might have become noticeable with beta 2 because like Jeff said, organize imports

Re: [flexcoders] Any non-attendee access to Adobe Max presentations?

2007-09-25 Thread Doug McCune
Just FYI, Ted Patrick wrote this on his blog: I think you will be pleasently suprized by what we have planned. This year MAX is going to reach a lot more people than who attend. MAX + AMP = ??? See: http://www.onflex.org/ted/2007/09/adobe-max-flex-top-11-biased-list-of.php#comments So I

Re: [flexcoders] possible solution for RTL (right to left) text input

2007-09-24 Thread Doug McCune
let me save you a bajillion hours of work: give up on this one. RTL is too hard. Wait for player 10, which will support bi-di text. I normally don't try to shoot down people's ideas, but seriously, you're not going to solve this one. It's really damn hard. That said I'll be pretty damn impressed

Re: [flexcoders] JPGEncoder with progress support?

2007-09-22 Thread Doug McCune
This is doable, but requires a little more work than you probably think. To do this you would modify JPEGEncoder, if you're using Moxie take a look at the JPEGEncoder class around line 121. You'll see this double for loop: for (var ypos:int = 0; ypos height; ypos += 8) { for

Re: [flexcoders] Re: Eeeeek! Development grinds to a halt due to stupid syntax problem

2007-09-22 Thread Doug McCune
Multiple people have already said this on both of the threads you posted with the same question: use square brackets to reference your properties. Try: selectedItem[ADDRESS_LINE#2] And if that doesn't work tell us that it doesn't and what happens if you try. On 9/22/07, candysmate [EMAIL

Re: [flexcoders] Re: Anyone seen this effect as Flex module - Accordion Menu

2007-09-22 Thread Doug McCune
, That is off the board. Do you think it will be possible to get rid of the history tracking on it. For some reason that always bothers me about the accordion, so I turn it off usually. Still, nice job! You rock dude. Tony Doug McCune wrote: holla http://dougmccune.com/flex

Re: [flexcoders] Re: Anyone seen this effect as Flex module - Accordion Menu

2007-09-20 Thread Doug McCune
holla http://dougmccune.com/flex/apple_accordion source will be coming soon, gotta do a little cleanup and write up a blog post. It uses a slightly modified Accordion component and some flexlib components. Doug On 9/20/07, Mike Krotscheck [EMAIL PROTECTED] wrote: We did something very

Re: [flexcoders] Adding buttons to an Accordion header

2007-09-18 Thread Doug McCune
I might try to do a full post about this soon, but you can try checking out the CanvasButton component in FlexLib. Basically this is a subclass of Button that works like Canvas, so you can easily add whatever children to it that you want. So you would use that to create your header renderer, which

Re: [flexcoders] Adding buttons to an Accordion header

2007-09-18 Thread Doug McCune
Aight, check this out: http://dougmccune.com/blog/2007/09/18/using-complex-headers-with-the-flex-accordion/ Doug On 9/17/07, Doug McCune [EMAIL PROTECTED] wrote: I might try to do a full post about this soon, but you can try checking out the CanvasButton component in FlexLib. Basically

Re: [flexcoders] Re: Adding buttons to an Accordion header

2007-09-18 Thread Doug McCune
flexcoders%40yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote: I might try to do a full post about this soon, but you can try checking out the CanvasButton component in FlexLib. Basically this is a subclass of Button that works like Canvas, so you can easily add whatever children

Re: [flexcoders] Adding buttons to an Accordion header

2007-09-18 Thread Doug McCune
? utmost thx --steve... On 9/18/07, Doug McCune [EMAIL PROTECTED] doug%40dougmccune.com wrote: Aight, check this out: http://dougmccune.com/blog/2007/09/18/using-complex-headers-with-the-flex-accordion/ Doug On 9/17/07, Doug McCune [EMAIL PROTECTED] doug

Re: [flexcoders] Request for statistics/statements that demonstrate the growing interest on Flex

2007-09-15 Thread Doug McCune
Mike Potter has a few posts about the number of flex job postings. Check out the most recent one here: http://www.riapedia.com/2007/09/14/flex_jobs_continue_amazing_growth On 9/15/07, João [EMAIL PROTECTED] wrote: Hey guys, I'm writing a document to prove that there is more and more

Re: [flexcoders] TitleWindow icon

2007-09-14 Thread Doug McCune
titleIcon is a different property. Why I'll never know. On 9/14/07, candysmate [EMAIL PROTECTED] wrote: Is this correct for inserting an icon into a TitleWindow? icon=@Embed(source='../images/dissectionicon.png') Try as I might, I cannot get the icon to appear. My TitleWindow is being

Re: [flexcoders] How can I get the Accordion headerRender instances

2007-09-14 Thread Doug McCune
To not answering your question and instead ask another one: Why do you need access to the header renderer? If you want to alter the label, or blank out the label, you can use a custom extension of Button and set that as your header renderer (ie if you wanted header renderers that always converted

Re: [flexcoders] Re: Breakpoint jumps away

2007-09-11 Thread Doug McCune
I've seen this mostly when you're debugging code that was compiled, then you altered the code and are still debugging the old one. So if you're debugging and then you add in 2 whitespace lines to the code, the debugger gets thrown off by two lines. I've also seen this when I try to debug a module

Re: [flexcoders] Re: Flex eye candy source

2007-09-10 Thread Doug McCune
Here's that app stepped up a notch: http://dougmccune.com/blog/2007/03/27/updated-mxna-rss-reader-flex-app-now-with-source/ I posted the code for that one. Doug On 9/10/07, Abyss Knight [EMAIL PROTECTED] wrote: Most likely its from here, the cube effect that is:

Re: [flexcoders] AS3 Components?

2007-08-31 Thread Doug McCune
FlexLib is Flex-framework dependent, I think Jesse was asking about AS3, non-Flex libraries (ie you can use them in Flash projects). Doug On 8/31/07, greg h [EMAIL PROTECTED] wrote: flexlib.net now redirecting to: http://code.google.com/p/flexlib/ and also now including: Flex

Re: [flexcoders] AS3 Components?

2007-08-31 Thread Doug McCune
touche On 8/31/07, Michael Schmalle [EMAIL PROTECTED] wrote: Doug, How can you use 'Flex 2 SDKhttp://www.adobe.com/products/flex/downloads/' in Flash CS3 ? Peace, Mike On 8/31/07, Doug McCune [EMAIL PROTECTED] wrote: FlexLib is Flex-framework dependent, I think Jesse was asking

Re: [flexcoders] Where to learn intermediate/advanced Flex?

2007-08-30 Thread Doug McCune
Dive into the Framework source. IMO that's the best thing to study. Figure out how Adobe made all the components in the Framework. Pick something that you don't like about one of the framework components and try to change it. Subclass the framework class you want to alter and hack away. If you

Re: [flexcoders] Re: Using [Event...] in Custom Classes

2007-08-25 Thread Doug McCune
Yeah, here's the way I think it works in the current FB 3 release anyway (which is the way ben described too): You put metadata in your class, something like: [Event(name=myEvent, type=com.me.MyEvent)] So then you type: myClass.addEventListener( and then the auto events come up in the list that

Re: [flexcoders]Can't convert XML to ArrayCollection in AS3

2007-06-08 Thread Doug McCune
XMLListCollection has a toArray() method. So maybe: var ac:ArrayCollection = new ArrayCollection(new XMLListCollection(xml.menuas XMLList).toArray()); it might be a bit nicer written on more than one line, but you get the idea. Doug On 6/8/07, dorkie dork from dorktown [EMAIL PROTECTED]

Re: [flexcoders] Trouble skinning HSlider

2007-06-05 Thread Doug McCune
Extend mx.controls.sliderClasses.SliderThumb override the measure() function with something like this: override protected function measure():void { super.measure(); measuredWidth = THE_WIDTH_YOU_WANT; measuredHeight = THE_HEIGHT_YOU_WANT; } Then set the

Re: [flexcoders] Chart snapshots

2007-06-03 Thread Doug McCune
This doesn't get you a 100% solution, but maybe it's good enough for you: http://dougmccune.com/blog/2007/06/03/save-a-snapshot-image-of-a-flex-app-without-a-server/ It opens a popup window with a snapshot image of whatever Flex component you specify. The user can then right click and copy or

<    1   2   3   >