[flexcoders] Re: Increasing the Panel scroll speed?

2009-04-13 Thread Michael Schmalle
Hi, You can use these two properties to control scroll speed; container.verticalLineScrollSize container.verticalPageScrollSize Mike --- In flexcoders@yahoogroups.com, "Sascha" wrote: > > In Flex if you wrap a component into a Panel (or Canvas) which is larger > than the Panel, by default the

[flexcoders] Re: Creating a SWc without the Flex classes?

2009-04-09 Thread Michael Schmalle
Hi, I use this in my build file; This uses those swcs to compile against but bot include the byte code in your swc. Mike --- In flexcoders@yahoogroups.com, "Sascha" wrote: > > Hi List, > > I'm trying to compile a SWC with compc (Flex 3.3) from my source code > library but the compiler al

[flexcoders] Re: Accessing the border of a container

2009-04-09 Thread Michael Schmalle
Hi, using mx_internal you could; import mx.core.mx_internal; myInstance.tk_internal::background or; rawChildren.getChildByName("border"); Mike --- In flexcoders@yahoogroups.com, "florian.salihovic" wrote: > > I don't know if i'm just blind atm or if it's indded hard to access the > borde

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

2008-10-30 Thread Michael Schmalle
22 PM, Amy <[EMAIL PROTECTED]> wrote: > --- In flexcoders@yahoogroups.com , > "Michael Schmalle" > <[EMAIL PROTECTED]> wrote: > > > > Note :: > > The IMXMLObject method signature is (d); > > > > > initialized<http://127.0.0.1:49

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

2008-10-30 Thread Michael Schmalle
lls but, it's impact is irrelevant 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

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 http://www.teotig

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); initialized (document:Object, id:String

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

2008-10-30 Thread Michael Schmalle
Thu, 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().

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

2008-10-30 Thread Michael Schmalle
nent, give 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

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

2008-10-30 Thread Michael Schmalle
values than ideally there should > be, things are > working in various scenarios. > > Thanks again, > -Eric > > > --- In flexcoders@yahoogroups.com , "Amy" > <[EMAIL PROTECTED]> wrote: > > > > --- In flexcoders@yahoogroups.com , > "Michael Sc

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

2008-10-29 Thread Michael Schmalle
ting properties. > But I am wondering if there is a faster way to do this. > > So, my question is does your approach address this by creating children in > commitProperties() and does this provide a work-around to the problem that > I am > experiencing. > > Thanks! > -Eric

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 resol

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
was wondering the same thing...looks to me like > > green circle == property > blue squares == style > lightning bolt == function > and no clue what the puffball-like icon is or what it's for > > Adrian > > Amy wrote: > > --- In flexcoder

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: 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: Finding out the size of a component when everything is relative?

2008-10-28 Thread Michael Schmalle
the wrapped canvas 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 , "Michael > Schmalle" > <[EMAIL PRO

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 o

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 u

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 c

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

2008-10-27 Thread Michael Schmalle
TECTED]> wrote: > > > > > > Hi Mike - sorry, you've lost me there... > > > > The few tests I've done show that "obj is cls" is what I need. Are you > > saying that does not work? > > > > > > Michael Schmalle wrote: > >

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, cls:Clas

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 fle

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

2008-10-27 Thread Michael Schmalle
t; > > Hi, > > > > > > > > No, it's automatic. > > > > > > > > Without an example I can't help. :) > > > > > > > > Mike > > > > > > > > > > > > On Tue, Oct 21, 2008 at 12:01 PM, fotis.chatzini

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 given

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

2008-10-22 Thread Michael Schmalle
erning. I'd have 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 , > "Michael Schmalle" > <[EMAIL PROT

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] 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] 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 Butto

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"); va

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

2008-10-21 Thread Michael Schmalle
to scroll via mouse > wheel? I thought it was automatically done... :-( > > --- In flexcoders@yahoogroups.com , "Michael > Schmalle" > > <[EMAIL PROTECTED]> wrote: > > > > Hi, > > Usually the reason for no mouse wheel events is a lack of background &g

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) ... then in the popup Mike On Tue, Oct 21, 2008 at 8:48 AM, Giro <

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 tr

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:

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 wi

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 o

Re: [flexcoders] Re: Resizing a class file

2008-10-20 Thread Michael Schmalle
plementation is, you eventually have to do > something like this. > > DisplayObject(displayIconObject).height = 10; > DisplayObject(displayIconObject).width = 10; > > --- In flexcoders@yahoogroups.com , "Michael > Schmalle" > <[EMAIL PROTECTED]> wrote: >

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

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(); instance.widt

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] 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] 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 commitProperties

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] 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

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

2008-10-17 Thread Michael Schmalle
Please let me know this in detail. > > > > I can extends Canvas and create a new class (like samrtcavas). > > > > I confuse how to use the class in mxml and how to set left/right > paddings > > > > Thanks for your help > > > > Mark > > > &g

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 availa

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, 20

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

2008-10-17 Thread Michael Schmalle
sing Flexsprite but throws errors about needing > to implementing IUIcomponent. Did I miss something and give up to early? > > --- In flexcoders@yahoogroups.com , "Michael > Schmalle" > > <[EMAIL PROTECTED]> wrote: > > > > Doug, Jason, > > Since I am a

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

2008-10-16 Thread Michael Schmalle
, Oct 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

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 o

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: Extending UIComponent memory issues.

2008-10-16 Thread Michael Schmalle
I can't imagine a scenario > > where you want 4,000 images all on the screen at the same time. > > > > And if you do really need to load 4,000 swfs all at the same time > then you > > probably want something that's lighter than custom UIComponent classes, >

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 ca

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 tha

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] 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 , > "Michael Schmalle" > <[EMAIL PROTECTED]> wrote: > > > > Amy, > > A flex

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 14,

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 e

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 answ

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 t

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, Michae

Re: [flexcoders] using callLater with setter?

2008-10-10 Thread Michael Schmalle
n, not > the "property." > > On Fri, Oct 10, 2008 at 11:30 AM, Michael Schmalle < > [EMAIL PROTECTED]> wrote: > >> Hi, >> This works, I tested it; >> >> callLater(function (stack:ViewStack, container:Container):void { >> stack.selectedChil

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 tha

Re: [flexcoders] Interfaces WHY?

2008-10-10 Thread Michael Schmalle
M, Richard Rodseth <[EMAIL PROTECTED]>wrote: >> >>> And sometimes you even have interfaces with no methods. In this case >>> it's a "marker" (often a parent of other interfaces) and when used in method >>> signatures you get type checking. >&

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 thi

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 complete

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@yahoogroup

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 metri

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 h

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

2008-10-09 Thread Michael Schmalle
tem { 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 , > "Michael Schmalle" > <[EMAI

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 t

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
osh > McDonald" <[EMAIL PROTECTED]> wrote: > > > > 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 > &g

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 at

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

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 This is the only way you will get it to show up as a 'book' in the FB help. I've done it and it works great, you can even create an update site, that can keep the docs fresh. You need the PDE plugin to create

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 , "Michael > Schmalle" > > <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > caus

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] 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-implem

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 y

Re: [flexcoders] component reuse

2008-10-02 Thread Michael Schmalle
wrote: > Hmm... 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

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

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 that

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 key,

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 directly

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] 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] Hi Alex

2008-09-26 Thread Michael Schmalle
AIL 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 t

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; flightToMarkAsRemoved.flightHasBeenClearedByUser=t

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, th

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 engin

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 i

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

2008-09-24 Thread Michael Schmalle
agable, so it > will always be in the back of my mind as well. > > I appreciate all the feedback and pointers... > Thanks much, > Jason > > > - Original Message - > *From:* Michael Schmalle <[EMAIL PROTECTED]> > *To:* flexcoders@yahoogroups.com > *Sent:* Tuesda

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] 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 situate

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

2008-09-23 Thread Michael Schmalle
> plus I have a grudge against vboxes now :P It's not the gun that kills but the finger that pulled the trigger... ;-) VBoxs serve their purposes and perform great when they are used 'correctly'. I know that sounds bad but I don't mean it like that. There are while(loops) in the layout code that

Re: [flexcoders] Re: scale9Grid: What am I missing?

2008-09-23 Thread Michael Schmalle
lexcoders@yahoogroups.com , "Amy" > <[EMAIL PROTECTED]> wrote: > > > > --- In flexcoders@yahoogroups.com , > "Michael Schmalle" > > wrote: > > > > > > Hi Amy, > > > I remember something weird about this, try loosing the a

Re: [flexcoders] Re: Scrolling screws up display

2008-09-23 Thread Michael Schmalle
Hi, I have had this happen before but I was messing around with the contentPane (low level stuff). Can you post something semi simple to reproduce this? Mike On Tue, Sep 23, 2008 at 11:12 AM, Randy Martin <[EMAIL PROTECTED]> wrote: > Anyone?? This is really driving me crazy! > > > --- In flex

Re: [flexcoders] scale9Grid: What am I missing?

2008-09-23 Thread Michael Schmalle
Hi Amy, I remember something weird about this, try loosing the apostrophe's around the numbers. [Embed(source='images/window.png', scaleGridTop=40, scaleGridBottom=185, scaleGridLeft=300, scaleGridRight=585)] Mike -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://

Re: [flexcoders] Questions on AIR and Flex Builder

2008-09-23 Thread Michael Schmalle
> I know that there's an Apollo list, but I don't want to subscribe for a couple of questions. That just sounds funny. ;-) 1. Do you have a semi-simple mxml/as setup that shows this or is application pretty large? 2. Give a procedure of what you do, I could see if it messes up in mine as well. F

Re: [flexcoders] systemManager & PopUpManager & Alert window

2008-09-22 Thread Michael Schmalle
Hi, This is because the popup manager puts the POPUP instances at a different space in the systemManager IChildList (above all parent popups). When you create your popups, can't you create a map of them and store it in some central model class, then just loop through them and call removePopUp()?

  1   2   3   4   5   6   7   8   9   10   >