Re: [flexcoders] Re: UI component, a set function creationComplete

2008-10-30 Thread Michael Schmalle
, -Eric --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle teoti.graphix@ wrote: Hi Eric, So, my question is does your approach address this by creating

Re: [flexcoders] Re: UI component, a set function creationComplete

2008-10-30 Thread Michael Schmalle
me a break. I was under the impression from Eric's post that his issue was more than just create the children in create children, why the hell would I tell him to circumvent a template method!? Sorry, your post felt a little personal. Mike On Thu, Oct 30, 2008 at 6:40 AM, Michael Schmalle [EMAIL

Re: [flexcoders] Re: UI component, a set function creationComplete

2008-10-30 Thread Michael Schmalle
, Oct 30, 2008 at 6:50 AM, Michael Schmalle [EMAIL PROTECTED]wrote: well big mouth has to say one more thing, Imagine commitProperties() committing property states :) , all of your properties have been committed. Children can be created at any time AFTER super(). What you fail to see

Re: [flexcoders] Re: How do arguments to an AS3 class translate to MXML?

2008-10-30 Thread Michael Schmalle
Note :: The IMXMLObject method signature is (d); initializedhttp://127.0.0.1:49487/help/topic/com.adobe.flexbuilder.help/langref/mx/core/IMXMLObject.html#initialized() (document:Objecthttp://127.0.0.1:49487/help/topic/com.adobe.flexbuilder.help/langref/Object.html,

Re: [flexcoders] Re: How do arguments to an AS3 class translate to MXML?

2008-10-30 Thread Michael Schmalle
Regarding The AS3 class takes an argument. For future reference, IMXMLObject implemented as3 classes cannot have arguments in their constructors. As josh said, just shift your constructor logic to a setter and treat it as if it were an argument. Mike -- Teoti Graphix, LLC

Re: [flexcoders] Re: UI component, a set function creationComplete

2008-10-30 Thread Michael Schmalle
since these calls are not 100 every minute. I also use this template for other properties that are not processor intensive or called to frequently. Mike On Thu, Oct 30, 2008 at 11:44 AM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael

Re: [flexcoders] Re: How do arguments to an AS3 class translate to MXML?

2008-10-30 Thread Michael Schmalle
[EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Note :: The IMXMLObject method signature is (d); initializedhttp://127.0.0.1:49487/help/topic/com.adobe.flexbuilder.he lp/langref/mx/core

Re: [flexcoders] Daily WTF... Property top not found on mx.containers.HBox and there is no default value.

2008-10-29 Thread Michael Schmalle
Hi, Whenever in doubt always look at the asdoc's before hitting critical mass. :) Also, Flex Builder uses icons next to code completion that give you the type of member as well (event, effect, style or property). Mike On Tue, Oct 28, 2008 at 6:05 PM, Ralf Bokelberg [EMAIL PROTECTED]wrote:

Re: [flexcoders] Re: Daily WTF... Property top not found on mx.containers.HBox and there is no default value.

2008-10-29 Thread Michael Schmalle
lightning bolt == function and no clue what the puffball-like icon is or what it's for Adrian Amy wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Whenever in doubt always look at the asdoc's before hitting

Re: [flexcoders] Flex builder annoyance - library projects

2008-10-29 Thread Michael Schmalle
Hi, I can say ANT is your answer, build the SWC using it. I have very complex libraries, and all I maintain is a simple ant xml included file (that is imported from the master build file, this includes multiple project library builds at once) that lists the front end class clients, the linker

Re: [flexcoders] Re: UI component, a set function creationComplete

2008-10-29 Thread Michael Schmalle
this by creating children in commitProperties() and does this provide a work-around to the problem that I am experiencing. Thanks! -Eric --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Well, Basically, if you subclass a UIComponent

Re: [flexcoders] Finding out the size of a component when everything is relative?

2008-10-28 Thread Michael Schmalle
Hi, The properties with $ signs mean they are wrapped and mx_internal. The $height and $width are the actual Flash Player version of height and width. At what point are you trying to get the height and width? Do you know for sure the canvas has children and has been measured and updated? If you

Re: [flexcoders] Re: Gosh what a state to be in..

2008-10-28 Thread Michael Schmalle
So are you talking about a state machine table implementation with push - pop based on the tables setup? IE you can only push if the context is this and you can only pop if the context is that This would definitely allow sub-sub states very easily and allow restriction in these sub states. I use

Re: [flexcoders] Flex 3 Style Explorer is available

2008-10-28 Thread Michael Schmalle
I get a bunch of weirdness in google chrome fp10. Seems like this history manager is buggy with the accordion. Clicking on some other controls the application jumps to different views. I do see the have Beta at the top, nothing like the beta trend. It's ok to have buggy software, just stick beta

Re: [flexcoders] Re: Finding out the size of a component when everything is relative?

2008-10-28 Thread Michael Schmalle
is occupying. So far I can'r find any evidence internally that it is wrapped. I need to know the actual x,y of the lowest corner of it I guess. But how? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, The properties

Re: [flexcoders] Re: Programatically skinning a container, but what to do about the nested children?

2008-10-28 Thread Michael Schmalle
Hi, Try subclassing RectangularBorder instead, then you can override the borderMetrics property and set it based on how much right offset you need. Mike On Tue, Oct 28, 2008 at 4:28 PM, Todd [EMAIL PROTECTED] wrote: Crap, the email messed up my beautifully renditioned ASCII art of what I

Re: [flexcoders] Re: mouse wheel behaviour mxml and actionscript based components

2008-10-27 Thread Michael Schmalle
t.addEventListener(ListEvent.CHANGE,categoryChanged) ;//works t.addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelTreeListener) ;//noluck c.addChild(t); categoriesAccordionID.addChild(c); On Tue, Oct 21, 2008 at 7:33 PM, Michael Schmalle teoti.graphix@wrote: Hi, No, it's

Re: [flexcoders] flex builder interface

2008-10-27 Thread Michael Schmalle
Hi, That is the Flex Builder Plugin that gets installed into the Eclipse version. You are using the stand alone version of Flex Builder which uses Adobe's look and feel. Mike On Mon, Oct 27, 2008 at 4:58 AM, elliotwilliams77 [EMAIL PROTECTED] wrote: does anyone know how to change the flex

Re: [flexcoders] Re: Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-27 Thread Michael Schmalle
Adding to the insight, if you wanted to use the 'is' operator with those two arguments, you need to create an instance of the Class and then use the 'is' operator. This would let you know if it is an instance of the object passed. public static function isObjectInstanceOfClass(obj:Object,

Re: [flexcoders] Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-27 Thread Michael Schmalle
saying that does not work? Michael Schmalle wrote: Adding to the insight, if you wanted to use the 'is' operator with those two arguments, you need to create an instance of the Class and then use the 'is' operator. This would let you know if it is an instance

Re: [flexcoders] Re: Do you use a Mac?

2008-10-24 Thread Michael Schmalle
While computer mfg/OS affiliations are akin to a religion, computers are tools nothing more. I have no comment on the issue since this comes up on flexcoders about every other month but this statement is what I was telling myself when reading some of these posts, this has been the only fact

Re: [flexcoders] Re: Stage to Bitmap

2008-10-24 Thread Michael Wagner
Hi: Thanks! Regards, Michael. On Thu, Oct 23, 2008 at 7:55 PM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Wagner [EMAIL PROTECTED] wrote: Hi: I have a question. I would like to get a portion of the Flex Stage/Screen

[flexcoders] Re: Can anyone help me?

2008-10-24 Thread Michael VanDaniker
very much for your response.But i am not aware of this dataFunction.Can you provide me with an example.The link you sent is just showing the signature of the method. Thanks in Advance, Poornima From: Michael VanDaniker [EMAIL PROTECTED] To: flexcoders

[flexcoders] Stage to Bitmap

2008-10-23 Thread Michael Wagner
/method I need to do ? Thanks in advance, Michael. attachment: areafromstagetobitmap.JPG

[flexcoders] Re: Cairngorm and AyncToken Error

2008-10-23 Thread Michael VanDaniker
I would guess that something is wrong with the line of code where you actually make the call to the RemoteObject. Maybe you're doing something like var token:AsyncToken = remoteObject.call; instead of var token:AsyncToken = remoteObject.call(); Can you post some of the code around your call?

[flexcoders] Re: Can anyone help me?

2008-10-23 Thread Michael VanDaniker
Since you're plotting dates you'll want to use a DateTimeAxis, but you need to make sure that your chart is actually getting Dates. In your current setup DateTimeAxis is trying to create Dates using the Date.parse method, but the format isn't one that the method can handle. That's why you're

Re: [flexcoders] Re: Still no one knows ? Please help.

2008-10-22 Thread Michael Schmalle
Hi, Use a ProgramaticSkin subclass. Then use the method drawCircle() to draw the circle based on the value of getStyle(color), which is your text color of the parent. Pseudo; override protected function updateDisplayList(w:Number, h:Number):void { var color:unit = getStyle(color); var

Re: [flexcoders] createChildren(): adding 20 identical buttons to panel?

2008-10-22 Thread Michael Schmalle
class to a layout). Because b1 cannot be reused for another addChild(), how would you add the other buttons? TIA, It can't be ? Yes, of course it can be reused, the type can't change. Which this is not the case since you are suing Button for all 20 instances. You can do; b1 = new Button()

Re: [flexcoders] dividerSkin problem

2008-10-22 Thread Michael Schmalle
Hi Guy, There is no logic in the divider container that checks the minimum width or height of the dividers relative to the size of their container. I don't think this is to weird on Adobe's part since they usually have a policy (unwritten) that chrome is not part of the measurement algorithm. The

Re: [flexcoders] Re: Still no one knows ? Please help.

2008-10-22 Thread Michael Schmalle
Hi, Since you are using an itemRenderer, this could be tricky. You need to find out where the parent is (MenuItem instance) and cast that reference to IStyleClient. IE var color = IStyleClient(parent.parent).getStyle(color); Mike On Wed, Oct 22, 2008 at 9:40 AM, itdanny2002 [EMAIL PROTECTED]

Re: [flexcoders] Re: Still no one knows ? Please help.

2008-10-22 Thread Michael Schmalle
to look at the Menu - MenuItem code to see what is really going on when the menu item is created. Mike On Wed, Oct 22, 2008 at 11:46 AM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Since you

Re: [flexcoders] Are my eyes painted on, or is FormItem not available in design mode?

2008-10-21 Thread Michael Schmalle
Hi Josh, It's hard coded into the Flex Builder java code. They figured since they thought it only needed to be in a form that they would remove it from the components panel (hard coded) and add it majikly when a designer dropped a control into a form (container). Seems like this is creating your

Re: [flexcoders] mouse wheel behaviour mxml and actionscript based components

2008-10-21 Thread Michael Schmalle
Hi, Usually the reason for no mouse wheel events is a lack of background color. Can you give some examples (mxml/as) of what 'doesn't' work for you? Anyway, you need a background color for the control to broadcast mouse wheel events. Other than that it's just a guess what the problem could be

Re: [flexcoders] Re: Still no one knows ? Please help.

2008-10-21 Thread Michael Schmalle
Hi, I see what you r problem is now, You need to change these icons (styles); radioIcon, radioDisabledIcon, checkIcon, checkDisabledIcon. You see the default.css is; radioIcon: Embed(source=Assets.swf,symbol=MenuRadioEnabled); That will solve your problem. Mike On Tue, Oct 21, 2008 at 5:58

Re: [flexcoders] actionscript made canvas scrollpolicy problems-similar to previous vbox problem

2008-10-21 Thread Michael Schmalle
Hi, Consult the ASDoc (API), you are trying to set properties with styles. This won't work. The correct implementation is; myContainer.verticalScrollPolicy = ScrollPolicy.OFF; Mike On Tue, Oct 21, 2008 at 6:19 AM, fotis.chatzinikos [EMAIL PROTECTED] wrote: Hello again, this time i am

Re: [flexcoders] Bindable popupmanager

2008-10-21 Thread Michael Schmalle
Hi, You can create a bindable model class, the bind this classes popupText to each of your TextInput.text properties. Mike class Model { [Bindable] public var sharedText:String = ; } ... your control (not popup) mx:TextInput id=controlInput text={Model.getInstance().sharedText}/ ...

Re: [flexcoders] Re: mouse wheel behaviour mxml and actionscript based components

2008-10-21 Thread Michael Schmalle
Hi, No, it's automatic. Without an example I can't help. :) Mike On Tue, Oct 21, 2008 at 12:01 PM, fotis.chatzinikos [EMAIL PROTECTED] wrote: Hello Michael, i just tried your suggestion and i still do not get the mouse wheel to scroll the tree. I also did a quick test to see

[flexcoders] Re: using components

2008-10-21 Thread Michael VanDaniker
You can access your top-level application anywhere in your code via Application.application. To call the method named myMethod, you would use the statement Application.application.myMethod(). You can easily add event listeners on sub-components if you give the components id's. Taking your

Re: [flexcoders] Still no one knows ? Please help.

2008-10-20 Thread Michael Schmalle
I answered; Which style name control the color No need to post twice, it was the weekend. :) PS The title of this thread could have be a bit more descriptive since there are hundreds of posts a day. Mike On Mon, Oct 20, 2008 at 4:14 AM, itdanny2002 [EMAIL PROTECTED] wrote: Does anyone

Re: [flexcoders] Which style name control the color

2008-10-20 Thread Michael Schmalle
Hi, It's the 'iconColor' style. These are available for the checkbox; borderColor, iconColor, fillAlphas, fillColors, highlightAlphas and themeColor. Mike On Sun, Oct 19, 2008 at 7:20 AM, itdanny2002 [EMAIL PROTECTED] wrote: Which style name control the color of bullet / checkmark in

Re: [flexcoders] Creating custom components in flex using actionscript 3.0

2008-10-20 Thread Michael Schmalle
Hi, I see two things that need to be changed in your code; 1. When setting setStyle() you need to use the correct style type. You are using strings for numbers IE 2, this is not correct and could cause weird behavior, change this and see if you still have your issue. 2. In your

Re: [flexcoders] Re: Resizing a class file

2008-10-20 Thread Michael Schmalle
Hi, It's more like you have to create an instance. The Class is an actionscript type like Boolean or String. This is like asking can you write Boolean.value = true; Try; override protected function createChildren():void { super.createChildren(); instance = new myIcon();

Re: [flexcoders] programmatic vbox serious bug?

2008-10-20 Thread Michael Schmalle
Hi, extraTagsSelectionVBox.setStyle(cornerRadius,10) ; extraTagsSelectionVBox.setStyle(backgroundColor,#00FF00) ; Set your styles with correct as3 Types; extraTagsSelectionVBox.setStyle(cornerRadius,10) ; extraTagsSelectionVBox.setStyle(backgroundColor, 0x00FF00) ; Mike On Mon, Oct 20, 2008 at

Re: [flexcoders] Re: Resizing a class file

2008-10-20 Thread Michael Schmalle
(displayIconObject).height = 10; DisplayObject(displayIconObject).width = 10; --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, It's more like you have to create an instance. The Class is an actionscript type like Boolean or String

Re: [flexcoders] Re: Extending UIComponent memory issues.

2008-10-17 Thread Michael Schmalle
management. The reason I say this is I have no idea how you are laying out those instances with reflection etc. How are you laying them out (with what layout algorithm) ? Mike On Fri, Oct 17, 2008 at 10:21 AM, flexaustin [EMAIL PROTECTED] wrote: Michael, I have tried using Flexsprite but throws

Re: [flexcoders] how to add internal padding in canvas?

2008-10-17 Thread Michael Schmalle
A hack that can be done if you really want Canvas is; Create a subclass of Canvas and override the usePadding property. override mx_internal get usePadding():Boolean { return true; } This will turn the padding back on when the layout calculates viewMetricsAndPadding. Mike On Fri, Oct 17,

Re: [flexcoders] web compiler

2008-10-17 Thread Michael Schmalle
Matt, They're only meant for dev-time, not production, What do you mean by that? I thought you could use them to compile are you saying they are buggy or not completely implemented? Mike On Fri, Oct 17, 2008 at 12:26 PM, Matt Chotin [EMAIL PROTECTED] wrote: We have a web compiler available

Re: [flexcoders] Re: how to add internal padding in canvas?

2008-10-17 Thread Michael Schmalle
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle teoti.graphix@ wrote: A hack that can be done if you really want Canvas is; Create a subclass of Canvas and override the usePadding property. override mx_internal get usePadding():Boolean

Re: [flexcoders] web compiler

2008-10-17 Thread Michael Schmalle
Andrews [EMAIL PROTECTED] wrote: If there isn't a mechanism for caching the compilation result (user requests mxml, but actually gets html/swf), performance in a production environment would be appaling. That wouldn't matter for development. - Original Message - *From:* Michael Schmalle

Re: [flexcoders] Re: how to add internal padding in canvas?

2008-10-17 Thread Michael Schmalle
The irony to all this over analyzation is; We never heard the OP say WHY he even wanted to do this (padding in Canvas) let alone if he even needed a canvas to do what he needed to do! I just need to stay out of these application questions. ;-) Tim, It is really exciting to see the future of flex

Re: [flexcoders] Re: Extending UIComponent memory issues.

2008-10-16 Thread Michael Schmalle
at the same time then you probably want something that's lighter than custom UIComponent classes, which would keep those 4,000 objects out of the normal invalidation/validation cycles of the display list. Doug On Wed, Oct 15, 2008 at 1:34 PM, Michael Schmalle [EMAIL PROTECTED]wrote

Re: [flexcoders] Override mx:Window close function

2008-10-16 Thread Michael Schmalle
Hi, If I remeber correctly, you need to listen for window closing event and call event.preventDefault(). This will stop the default behavior and then allow you to hide the window, setting the visible or whatever implementation you have. Mike On Thu, Oct 16, 2008 at 12:11 PM, Nick Collins [EMAIL

Re: [flexcoders] Re: Efficiency and objects in the display list

2008-10-16 Thread Michael Schmalle
And to put the icing on the cake... The deal is the LayoutManager loves the IUIComponent interface which has another buddy called IFlexDisplayObject. IFlexDisplayObject is instrumental in coupling measurements plus nesting levels that the layout manager needs to do it's queue sorting when laying

Re: [flexcoders] Re: Efficiency and objects in the display list

2008-10-16 Thread Michael Schmalle
16, 2008 at 2:11 PM, Michael Schmalle [EMAIL PROTECTED]wrote: And to put the icing on the cake... The deal is the LayoutManager loves the IUIComponent interface which has another buddy called IFlexDisplayObject. IFlexDisplayObject is instrumental in coupling measurements plus nesting levels

Re: [flexcoders] Interfaces with Styles

2008-10-15 Thread Michael Schmalle
Hi Amy, No, the metadata is what instructs the compiler to add style definitions and [Style()] meta is not allowed in an interface. Needs to be done in the class package definition. Mike On Wed, Oct 15, 2008 at 2:33 PM, Amy [EMAIL PROTECTED] wrote: Is it possible to write an interface that

Re: [flexcoders] Extending UIComponent memory issues.

2008-10-15 Thread Michael Schmalle
A side note, You are doing some very expensive leg work in the 'content' setter. You need to break that out into commitProperties() and updateDisplayList(). You would get a huge performance increase for sure. As far as the memory, doesn't look to weird, event listeners without weak references

Re: [flexcoders] Where is Alex Ahauri??

2008-10-14 Thread Michael Schmalle
Hi, He was on vacation for over a month. If I was him, after that long of vacation not doing anything job related, I would be enjoying programming in flex again. I bet that is what he is doing... enjoying his work again. :) I'm sure you will see him around. Personally, I can't see how he can

Re: [flexcoders] component resize on registration point revisit?

2008-10-14 Thread Michael Schmalle
IEEE floats aren't very nice. I second that! They make you become creative... add scale and rotation together, the IEEE floats start to float away. Mike On Tue, Oct 14, 2008 at 6:50 PM, Josh McDonald [EMAIL PROTECTED] wrote: Without looking at your code, it's probably just a rounding

Re: [flexcoders] Re: Flex themes

2008-10-14 Thread Michael Schmalle
Amy, A flex theme is just a SWC file. Use the -theme compiler flag and add it to the options. Why would this be silly? Probably would take me the time it took you to write that paragraph. ;-) But I don't have the theme.swc sitting in my test project, so add 1 more minute. :) Mike On Tue, Oct

Re: [flexcoders] Re: Flex themes

2008-10-14 Thread Michael Schmalle
I was just seeing if you were actually reading my posts. :) Mike On Tue, Oct 14, 2008 at 7:07 PM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Amy, A flex theme is just a SWC file. Use

Re: [flexcoders] Re: Create Help System in Flex - how to display html in a canvas or component?

2008-10-14 Thread Michael Schmalle
I'm writing a component that will integrate help in applications using the DocBook xml format and an as3 parser - ui converter. This is coupled with an asdoc generator application. Patterns are based of of Eclipse's help system framework. I think I might release this open source some day. Screw

Re: [flexcoders] Custom itemRenderer for Tree

2008-10-13 Thread Michael Schmalle
I am using the following code: Did you use fontColor = white; ;-) Can't see the following code. Mike On Mon, Oct 13, 2008 at 9:15 AM, Weyert de Boer [EMAIL PROTECTED] wrote: Hello, I am currently trying to work on a itemRenderer for the Flex Tree component. Only I am having some trouble

[flexcoders] Re: drawing a rectangle with a cutout

2008-10-11 Thread Michael VanDaniker
You could create separate sprites for each rectangle and apply the smaller one as a mask to whatever content is meant to show through the window. --- In flexcoders@yahoogroups.com, Christoph Leva [EMAIL PROTECTED] wrote: Hi all, I am trying to cut a smaller rectangle (name: cutout) out of a

Re: [flexcoders] Real canvas height and width

2008-10-10 Thread Michael Schmalle
Hi, When you explicitly set the width OR height of a component, the measure() method will not be called since you have already locked in the dimensions of the component canvas. Use this method instead v1.getExplicitOrMeasuredHeight() You will see it traces your set height. Now, take out the

Re: [flexcoders] Re: set height of a Container back to default? (resize to content)

2008-10-10 Thread Michael Schmalle
Hi, This is not right... throwing an error. Can you post the error? The hack your co-worker gave you is definitely unnecessary. Can you post some code that will reproduce what you are trying to achieve? Setting the container's height = NaN will force the container to ditch the last height

Re: [flexcoders] Flex Builder 4?

2008-10-10 Thread Michael Schmalle
Adobe loves releasing things at the end of summer into fall. I would guess that. Mike 2008/10/10 Battershall, Jeff [EMAIL PROTECTED] I believe I saw H2 2009 somewhere for Flex 4, which I'm assuming means second-half of 2009. -Original Message- *From:* flexcoders@yahoogroups.com

Re: [flexcoders] Screen freezes when running code in result callback function of HTTPService

2008-10-10 Thread Michael Schmalle
Hi, This is a single thread problem. The problem is you are parsing data that is taking that single thread the Flash Player uses to do all of it's work. The solution is to batch your xml parsing into a timer queue of sorts, dispatch an event to the progress bar updating the batch total to

Re: [flexcoders] Interfaces WHY?

2008-10-10 Thread Michael Schmalle
Hi, It's ICommand. The reason is you can stack interfaces on top of each other allowing more decoupling to the implementing concrete classes. This interface is obvious. Any class that implements it needs eval() and only eval. It's like a singleton declaration of implementation. If you jammed

Re: [flexcoders] Interfaces WHY?

2008-10-10 Thread Michael Schmalle
) and when used in method signatures you get type checking. On Fri, Oct 10, 2008 at 6:26 AM, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, It's ICommand. The reason is you can stack interfaces on top of each other allowing more decoupling to the implementing concrete classes. This interface

Re: [flexcoders] using callLater with setter?

2008-10-10 Thread Michael Schmalle
Hi, This works, I tested it; callLater(function (stack:ViewStack, container:Container):void { stack.selectedChild = container; }, [viewStack, someBox]); Mike On Fri, Oct 10, 2008 at 12:10 PM, Pan Troglodytes [EMAIL PROTECTED]wrote: Is there some way to use callLater to set a property that

Re: [flexcoders] using callLater with setter?

2008-10-10 Thread Michael Schmalle
, 2008 at 11:30 AM, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, This works, I tested it; callLater(function (stack:ViewStack, container:Container):void { stack.selectedChild = container; }, [viewStack, someBox]); Mike On Fri, Oct 10, 2008 at 12:10 PM, Pan Troglodytes [EMAIL PROTECTED

Re: [flexcoders] using callLater with setter?

2008-10-10 Thread Michael Schmalle
Ah never mind about the generated, just checked. I thought I saw somewhere, where a dev actually accessed the real method that the compiler creates. Mike PS The anonymous function isn't that bad since it doesn't pollute your classes api. On Fri, Oct 10, 2008 at 12:52 PM, Michael Schmalle [EMAIL

Re: [flexcoders] Re: How to make a Docking Window Framework/component like Eclipse/InfoDock/JDock

2008-10-09 Thread Michael Schmalle
Yeah, I forgot about that. There are probably 20 different ways you could implement something like this. From my experience you want to start out thinking abstraction and not program to much into your views. Mike On Thu, Oct 9, 2008 at 7:16 AM, nathanleewei [EMAIL PROTECTED] wrote: maybe I

Re: [flexcoders] Re: How to make a Docking Window Framework/component like Eclipse/InfoDock/JDocking

2008-10-09 Thread Michael Schmalle
: Mike, I'm very interested in this. Will it be for-pay, or OSS? If it's OSS, need any help? -Josh On Wed, Oct 8, 2008 at 11:37 PM, Michael Schmalle [EMAIL PROTECTED]: Ironically, I am releasing a framework like this in 2 months. Truth be told, I have spent 1 1/2 years

Re: [flexcoders] Error 1150 when overriding protected function

2008-10-09 Thread Michael Schmalle
Hi, You have a brace mismatch in your class/package. :) Mike On Thu, Oct 9, 2008 at 4:59 PM, Amy [EMAIL PROTECTED] wrote: I'm trying to do a quick and dirty extension of LegendItem to fix the fact that, since the UITextFields don't wordwrap, they don't respect the 100% width given to them

Re: [flexcoders] Re: Error 1150 when overriding protected function

2008-10-09 Thread Michael Schmalle
{ public function WrappingLegendItem() { super(); } override protected function createChildren():void{ } } } Mike On Thu, Oct 9, 2008 at 5:37 PM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED

[flexcoders] Create Application from Database (CAD)

2008-10-08 Thread Michael Oliver
I have installed Java and WTP on Flexbuilder 3 and have setup a MySql database, and created a database user and created tables using the DataSource Explorer and Sql Editors. Way cool. Then I used Data-Create Application from Database to create a CRUD Application for a Table and that too worked

Re: [flexcoders] How to make a Docking Window Framework/component like Eclipse/InfoDock/JDocking

2008-10-08 Thread Michael Schmalle
Hi, No need to cross post from flexcomponents to flexcoders most of us read both. This is a bit of engineering on your part. This is like asking where do I start to make a space ship. There are so many details, you will need to design this from your knowledge of flex components. You might look

Re: [flexcoders] Refresh Flex Navigator's Projects in Flex Builder

2008-10-07 Thread Michael Schmalle
You can also hit F5 when the project is selected and it will re-sync the disk drive directories and content. Mike On Tue, Oct 7, 2008 at 10:51 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 06 Oct 2008, itdanny2002 wrote: How to refresh all projects in flex builder ? Close and reopen

Re: [flexcoders] any way to integrate 3rd-party help into FB?

2008-10-06 Thread Michael Schmalle
Hi Jason, Eclipse plugin project with a plugin.xml like ?xml version=1.0 encoding=UTF-8? ?eclipse version=3.2? plugin extension point=org.eclipse.help.toc toc file=toc.xml primary=true /toc /extension /plugin This is the only way you will get it to show

Re: [flexcoders] Base component Sprite vs. UIComponent.

2008-10-03 Thread Michael Schmalle
It's the container layouts that kill performance anyway! EDIT :: It's the [WAY WE USE] container layouts that kill performance anyway! Mike On Fri, Oct 3, 2008 at 10:04 AM, Gregor Kiddie [EMAIL PROTECTED] wrote: We had literally the same discussion this morning! We've just

Re: [flexcoders] Base component Sprite vs. UIComponent.

2008-10-03 Thread Michael Schmalle
Hi, caused by a UIComponent that contains several children and it has a dropshadow (C level says we need to have dropshadow so can't remove it). I can't believe a UIComponent is killing your performance that bad, I would be willing to bet there is something else going on here but without code,

Re: [flexcoders] Re: Base component Sprite vs. UIComponent.

2008-10-03 Thread Michael Schmalle
: There are upto 200 UIComponents with reflections and dropshadows that scale as you move something like a carousel. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, caused by a UIComponent that contains several children and it has

[flexcoders] Re: Accordion control question

2008-10-03 Thread Michael VanDaniker
You'll want to check out the WindowShade component in flexlib --- In flexcoders@yahoogroups.com, burttram [EMAIL PROTECTED] wrote: Is there any way to prevent and accordion control item from opening, so that the header will just act as a button? I'm currently trying to use an accordion

Re: [flexcoders] component reuse

2008-10-02 Thread Michael Schmalle
Is it possible to lazy load a SWC? No, SWC have to be compiled with the mxmlc compiler into the app. RSLs can lazy load component libraries though. Mike On Thu, Oct 2, 2008 at 3:39 AM, Sefi Ninio [EMAIL PROTECTED] wrote: Hey Scott, I actually thought of creating a SWC as well, but I

Re: [flexcoders] component reuse

2008-10-02 Thread Michael Schmalle
... I thought that for SWC to be lazy loaded as RSLs, they need to be SWZ (which only Adobe can create)... On Thu, Oct 2, 2008 at 1:53 PM, Michael Schmalle [EMAIL PROTECTED]wrote: Is it possible to lazy load a SWC? No, SWC have to be compiled with the mxmlc compiler into the app. RSLs can

Re: [flexcoders] Re: [ANN] Announcing Smartypants IOC, a dependency-injection library for Flex.

2008-10-02 Thread Michael Schmalle
Hey FO Smartypants I'm reporting you to YAHOO POLICE Tim! This is un exceptable list protocol! Expect a summons in the mail next week. ... the bitter one On Thu, Oct 2, 2008 at 4:47 PM, Josh McDonald [EMAIL PROTECTED] wrote: Aw jeeze, I'm getting tired of fixing that! What browser are you

Re: [flexcoders] Dimensions of a UIComponent are allways 0, 0?!

2008-10-01 Thread Michael Schmalle
Hi, Search the archives for this, I know I have explained it quite a bit. :) If you can't find it there read up on Creating Custom Components. You problem has to do with the fact you have not overridden measure() and set measuredWidth and measuredHeight of you component. If you don't do this,

Re: [flexcoders] Module vs Application

2008-10-01 Thread Michael Schmalle
I'm no expert on this but, I would say memory/design principles. A module extends LayoutContainer, where as Application is the whole shabang. Loading multiple Application instances into another Application using SWFLoader is bound to take a lot more memory. I think compilation of modules

Re: [flexcoders] The Tree component sux but .... I need help :)

2008-10-01 Thread Michael Schmalle
Matthew, The Tree component doesn't suck that bad, try a different title. I'll answer your question though, openItems uses references(unique id's), it's not majik man. You have to understand instance references, then you can say the Tree doesn't suck, I just didn't understand it. This is the

Re: [flexcoders] old internal package mx.core.ext.UIObjectExtensions

2008-10-01 Thread Michael Schmalle
Hi, If I remember right, that class mixed in styles and other prototype functions. I might be wrong, the version 2 framework seems like such a long time ago now. :) That class no longer exists. Are you going to use the HaloBorder in Flex 3? You really shouldn't have a problem. Post some code

Re: [flexcoders] your 3d engine

2008-09-26 Thread Michael Schmalle
Might want to make sure that you are sending to the actual private email before you hit send or it's all public, Mike On Fri, Sep 26, 2008 at 3:35 AM, Samuel Colak [EMAIL PROTECTED]wrote: Jon, Lets talk over IM or gtalk or something. will be better and ill send you a copy of the engine.

Re: [flexcoders] Hi Alex

2008-09-26 Thread Michael Schmalle
Deepa, This is a professional list, the title Hi Alex just doesn't work here, please try a more descriptive title for your next post. Mike On Fri, Sep 26, 2008 at 2:31 AM, Manu Dhanda [EMAIL PROTECTED]wrote: First of all, you should be talking about an application (not an swf). Now, the SIX

Re: [flexcoders] getItemAt *removes* item from ArrayCollection?

2008-09-26 Thread Michael Schmalle
Hi, Sounds like you need to check your bindings. I don't think there is any way possible that the ArrayCollection can become intelligent and start deleting items without being told to by some outside force. ;-) Sounds like it has to do with the;

Re: [flexcoders] Hi Alex

2008-09-26 Thread Michael Schmalle
PROTECTED] wrote: Mike!! I did not notice the title at all. Just saw her query. Thats it ;) .kr On Fri, Sep 26, 2008 at 4:50 PM, Michael Schmalle [EMAIL PROTECTED] wrote: Deepa, This is a professional list, the title Hi Alex just doesn't work here, please try a more descriptive

Re: [flexcoders] Error when PopupManager hides a popup in the middle of an effect

2008-09-26 Thread Michael Schmalle
Hi, That is an interesting error. Basically it's telling you that the tween for the actual effect got de-referenced somehow. two places that could happen; end() and onTweenEnd() Can you get a simple example to reproduce this in mxml? ... Quick little application. Mike On Fri, Sep 26, 2008 at

Re: [flexcoders] Re: Getting multiple addedToStage events

2008-09-24 Thread Michael Schmalle
Event.REMOVED Containers cannot use this since their child list is not updated. UIComponent listens to the Event.REMOVED and stops propagation of it so there is no way to listen for it. The component will then dispatch FlexEvent.REMOVE at the correct time after child lists are correctly

Re: [flexcoders] Any other alternative to find the type of an object (object is oftype)

2008-09-24 Thread Michael Schmalle
Naaga, Try posting a new thread (with new title), your answer will never get heard here other than adding a question that is irrelevant to this current thread. Mike On Wed, Sep 24, 2008 at 6:08 AM, Naaga Maniccam [EMAIL PROTECTED]wrote: Hi Guys, sorry for interrupting u , i need help ,

Re: [flexcoders] Speeding up draw time with nested VBoxes

2008-09-24 Thread Michael Schmalle
- *From:* Michael Schmalle [EMAIL PROTECTED] *To:* flexcoders@yahoogroups.com *Sent:* Tuesday, September 23, 2008 6:26 PM *Subject:* Re: [flexcoders] Speeding up draw time with nested VBoxes plus I have a grudge against vboxes now :P It's not the gun that kills but the finger that pulled

Re: [flexcoders] Re: Retry: Question for Doug McCune on Drag-drop component?

2008-09-24 Thread Michael Schmalle
Hi, The reason it simple, with 3 event handlers you can control everything about your custom dragging and/or dropping you need. The drag manager has flaws, trust me I made a docking component and almost ditched the manager but I had to use it since I didn't have the time to rewrite it. Think of

<    1   2   3   4   5   6   7   8   9   10   >