Re: [flexcoders] TabNavigator/ToggleButtonBar Style conflict

2007-05-31 Thread Michael Schmalle
Hi, The reason it doesn't work is because TypeSelectors order in inheritance. Tab { cornerRadius: 20; } Solves your Problem. This is not a bug. Since you are setting a firstButtonStyleName on an actual selector, TabNavigator will not pick it up since it is undefined to begin with and now

Re: [flexcoders] Re: Accessing the illusive stage Object through sprite (a near impossible feat)

2007-05-31 Thread Michael Schmalle
; this.stage.addEventListener(KeyboardEvent.KEY_DOWN,keyHandler); this.stage.addEventListener(KeyboardEvent.KEY_UP,keyHandler); --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, The stage object does not get defined until right at the end of the players init

Re: [flexcoders] How to check click didn't come from scroll bar?

2007-05-30 Thread Michael Schmalle
Hi, private function mouseDownHandler(event:MouseEvent):void { if (event.currentTarget == canvas.verticalScrollBar || event.currentTarget == canvas.horizontalScrollBar) { return; } // do drag stuff } Peace, Mike On 5/30/07, Mark Ingram [EMAIL PROTECTED] wrote: Hi, I

Re: [flexcoders] Re: Container refresh

2007-05-28 Thread Michael Schmalle
fyi, content added from updateDisplay You may know this or you may not but, you do not addChild() in updateDisplayList(). You would do that in commitProperties(), then update displayList() will be called to size you new children. Peace, Mike On 5/28/07, Janis Radins [EMAIL PROTECTED]

Re: [flexcoders] ActionScript-only UI components in Flex Builder design view

2007-05-25 Thread Michael Schmalle
compile to swc and load the sec in the applications build path. Peace, Mike On 5/24/07, shawn allen [EMAIL PROTECTED] wrote: Hi there, I've been working on some ActionScript-only, UIComponent-derived classes, and haven't been able to figure out how to make them visible in Flex Builder's

Re: [flexcoders] Fluid layout? Refresh container / component size?

2007-05-25 Thread Michael Schmalle
Hi, Question, why do you have a Panel inside a canvas inside a popup? I could probably answer your question if you showed some pseudo code. Which component is not sizing? The canvas? that holds all of the controls? Is the popup a canvas or panel? Somwhere a measurement is not getting

Re: [flexcoders] passing values to FilterFunctions?

2007-05-24 Thread Michael Schmalle
Hi, I find sometimes just subclassing ArrayCollection works. This way your are defining certain types of collections that do different things. You can then add functionality to the class with methods or whatever. This works well for me. Then I define the different filter functions based on that

Re: [flexcoders] AS3: dispatchEvent from within event handler?

2007-05-23 Thread Michael Schmalle
Hi, This; _view.addEventListener(xmlLoaded, doSomething); _service = new MyService(); needs to be _service = new MyService(); _service .addEventListener(xmlLoaded, doSomething); Peace, Mike On 5/23/07, Alex Harui [EMAIL PROTECTED] wrote: I don't think you're listening to the service

Re: [flexcoders] Re: Flex is Broken

2007-05-18 Thread Michael Schmalle
Maybe things like trying to shift into another gear without the clutch in factors into this equation as well. You didn't show any code, so I don't know if you are trying to brute force something that in the design of the framework was not a bug to begin with but an implementation. Peace, Mike

Re: [flexcoders] Changing alpha for modal window?

2007-05-16 Thread Michael Schmalle
Hi, var global:CSSStyleDeclaration = StyleManager.getStyleDeclaration(global); global.setStyle(modalTransparency, 50); Peace, Mike On 5/15/07, candysmate [EMAIL PROTECTED] wrote: I've used _global.style.modalTransparency = 50; to change the alpha of a modal window in Flash in the past.

Re: [flexcoders] Alpha not fading lable.

2007-05-08 Thread Michael Schmalle
Did you embed the font? Non embedded fonts will not respond to alphas. The only work around is using a dissolve with the parents background color. Peace, Mike On 5/8/07, Ian Skinner [EMAIL PROTECTED] wrote: Am I attempting to use the alpha property incorrectly? mx:Label alpha=.1

Re: [flexcoders] Tree/Accordion Type Component?

2007-05-07 Thread Michael Schmalle
Hi, You could check out; http://www.teotigraphix.com/components/containers/taskpanefx I you were interested, I could implement the task pane with indentation of the task list components. Mike On 5/7/07, Jon Bradley [EMAIL PROTECTED] wrote: Hey all, Looking to see if anyone has

Re: [flexcoders] Re: Tree/Accordion Type Component?

2007-05-07 Thread Michael Schmalle
style panels. :o) ... that's quite a darn useful component you got there. I guess I might just have to reinvent the wheel (at least for this specific instance). cheers, jon On May 7, 2007, at 12:08 PM, Michael Schmalle wrote: Hi, You could check out; http://www.teotigraphix.com

Re: [flexcoders] Pin a single child element to the bottom of a parent VBox?

2007-05-07 Thread Michael Schmalle
Hi, As it is the Box disregaurds x and y. My advice as a component developer is, subclass the Box and create a bottomRenderer property that is IFactory. Create a method that overrides layoutChrome() and layout the renderer based on your required dimensions. This instance would be added to

Re: [flexcoders] Re: Pin a single child element to the bottom of a parent VBox?

2007-05-07 Thread Michael Schmalle
One way you could do this is with a Spacer before the last child box to push it to the bottom. Nice 'n' easy in static mxml. That is an easy way also if you do not have flexible children. When I was answering his question I was seeing in my head a layout independent of the view children.

Re: [flexcoders] Re: Pin a single child element to the bottom of a parent VBox?

2007-05-07 Thread Michael Schmalle
Ian, Let me ask, what are your intentions? What is the purpose of the pinned instance? Then I could explain why I over engineered what Doug put so simply :) Peace, Mike On 5/7/07, Michael Schmalle [EMAIL PROTECTED] wrote: One way you could do this is with a Spacer before the last child box

Re: [flexcoders] Actionscript - copy constructor/ assignment operator question

2007-05-04 Thread Michael Schmalle
Opps, if (stringid is StringId) This should have been if (stringid is Id) I guess. :) Peace, Mike On 5/4/07, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, var sid2 :StringId = ID_101-102-103; There is no way you can do that. AS3 uses typing and that is all you are doing

Re: [flexcoders] Actionscript - copy constructor/ assignment operator question

2007-05-04 Thread Michael Schmalle
Hi, var sid2 :StringId = ID_101-102-103; There is no way you can do that. AS3 uses typing and that is all you are doing. The is the string constructor and there is no way to change that. If I understand what you are asking there is something you can use so you don't have to use toString().

Re: [flexcoders] Re: Actionscript - copy constructor/ assignment operator question

2007-05-04 Thread Michael Schmalle
.. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Opps, if (stringid is StringId) This should have been if (stringid is Id) I guess. :) Peace, Mike On 5/4/07, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, var sid2 :StringId = ID_101

[flexcoders] Component release :: TaskPaneFX drawer component set

2007-05-04 Thread Michael Schmalle
Hi, I would just like to announce the TaskPaneFX, TaskListFX and TitleBarControl set. These components are jam packed with functionality. Product page; http://www.teotigraphix.com/components/containers/taskpanefx SWF Explorer

Re: [flexcoders] Is it possible for a TitleWindow to open another TitleWindow?

2007-05-02 Thread Michael Schmalle
Hi, Well, if I understand what you are saying, just create a creationComplete handler on the parent window. In that handler call PopUpManager.addPopUp() for the child window. Peace, Mike On 5/2/07, bruce1976 [EMAIL PROTECTED] wrote: Hi, I haven't taken the time to try this out yet, but I

Re: [flexcoders] Dynamic icons for LinkButton?

2007-05-01 Thread Michael Schmalle
Hi, One way is to create an AssetsLibrary. [Embed(source=images/IExtendLogo.png)] public var IExtendLogo:Class; public static function getIcon(name:String):Class { return Class(this[name]); } Create a public static getInstance() method that returns a single instance of the library.

Re: [flexcoders] Remove Row from XMLList

2007-05-01 Thread Michael Schmalle
Try; menuOptionsData[1] = null; Or delete menuOptionsData[1]; Peace, Mike On 5/1/07, boy_trike [EMAIL PROTECTED] wrote: I have an XMLList that controls the options a user can get to. It looks like the following: mx:XMLList id=menuOptionsData menu label=Sales data=S url=/lumber/Sales /

Re: [flexcoders] Re: Remove Row from XMLList Good news / Bad news

2007-05-01 Thread Michael Schmalle
there in the list when I click on the button. Should I be removing the data from the popupMenuButton directly? or is there a way to refresh the button display? thanks Bruce --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Try; menuOptionsData[1

Re: [flexcoders] Conor Marnane

2007-05-01 Thread Michael Schmalle
Word, I second it and the email needs to be taken off by a moderator. If two people are getting hassled by these crap emails. Time to go. :) Mike On 5/1/07, Weyert de Boer [EMAIL PROTECTED] wrote: Can someone delete Conor Marnane from this list? I am keep getting: This is an

Re: [flexcoders] creating instances, addChild question

2007-04-30 Thread Michael Schmalle
Hi, Don't quote me but, I think it has to do that you do not have a parent on your main VBox instance. I don't think createComponentsFromDescriptors() is called until parentChanged() or something is called (IE the parent VBox actually has a parent). This shouldn't be a problem, the timing of

Re: [flexcoders] creating instances, addChild question

2007-04-30 Thread Michael Schmalle
the flow, new VBox() I was wrong about the constructor calling initialize() :) addChild() - addChildAt() - childAdded() - initialize() - createChildren() Peace, Mike On 4/30/07, Michael Schmalle [EMAIL PROTECTED] wrote: Ha it's the morning and just waking up

Re: [flexcoders] creating instances, addChild question

2007-04-30 Thread Michael Schmalle
(). Peace, Mike On 4/30/07, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Don't quote me but, I think it has to do that you do not have a parent on your main VBox instance. I don't think createComponentsFromDescriptors() is called until parentChanged() or something is called (IE the parent VBox

Re: [flexcoders] Re: creating instances, addChild question

2007-04-30 Thread Michael Schmalle
PROTECTED] wrote: Thanks Mike If i want to create a new instance of an mxml component, how can i ensure its children get created as well. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: the flow, new VBox() I was wrong about

Re: [flexcoders] creating instances, addChild question

2007-04-30 Thread Michael Schmalle
Yeah Gordon, you can say it with 2 sentences. Peace, Mike On 4/30/07, Gordon Smith [EMAIL PROTECTED] wrote: when i create an instance of MyPrintView, its children are not created. why is that? if you addChild() to the Applicationthey are created. why is that? The reason that

Re: [flexcoders] Re: creating instances, addChild question

2007-04-30 Thread Michael Schmalle
Gordon, I must say when you look at it(instantiation), it's a very strong algorithm at that :) It's also nice to know that the impact of calling new before the display list cares is really important for some component's performance. Peace, Mike On 4/30/07, Gordon Smith [EMAIL PROTECTED]

Re: [flexcoders] Re: Programatic Icon

2007-04-28 Thread Michael Schmalle
to improve the logic in the part where it gets the style. Paul Michael Schmalle wrote: Ok, I got it; MXML APP -- ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA

Re: [flexcoders] Programatic Icon

2007-04-27 Thread Michael Schmalle
Hi, The simple answer is no. Why? The titleIcon class is of type Class. This class cannot be subclassed. My advice to you is create a subclass of TitleWindow and create the method you are talking about there. Since you cannot load icons at runtime, you could create a simple iconLibraryModule

Re: [flexcoders] Programatic Icon

2007-04-27 Thread Michael Schmalle
Wow, I messed up. I need to rethink this, I was thinking about something else. IFlexDisplayObject is right. :) Peace, Mike On 4/27/07, Manish Jethani [EMAIL PROTECTED] wrote: From what I understand, you want to be able to change the icon based on the state of your window. You can do this

Re: [flexcoders] Re: Programatic Icon

2007-04-27 Thread Michael Schmalle
to even know how it's supposed to work. It should work, because everything is a class, but it might not know what to do with it. Paul Michael Schmalle wrote: Hi, The simple answer is no. Why? The titleIcon class is of type Class. This class cannot be subclassed. My advice to you

Re: [flexcoders] Re: Programatic Icon

2007-04-27 Thread Michael Schmalle
color property, call validateDisplayList(); that will do the trick. Peace, Mike On 4/27/07, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, For one I see you are missing; graphics.clear(); Try that, I don't think you are erasing the old color. Peace, Mike PS hehe I was thinking about

Re: [flexcoders] Re: Programatic Icon

2007-04-27 Thread Michael Schmalle
now becomes, how do I call a function of my Icon class? Thanks for any suggestions! Paul --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Ah, I know why you are not seeing updateDisplayList() called. Since this is ProgrammaticSkin

Re: [flexcoders] Re: Programatic Icon

2007-04-27 Thread Michael Schmalle
PROTECTED] to Namespace. Are you sure it's not Friday the 13th? Paul --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: HAHA, Man, it must be Friday. Ok, the problem is this; titleIcon is the setter for the reference to the class

Re: [flexcoders] Re: Programatic Icon

2007-04-27 Thread Michael Schmalle
(); graphics.beginFill(_color, 1); graphics.drawRect(0, 0, unscaledWidth, unscaledHeight); graphics.endFill(); } } } Peace, Mike On 4/27/07, Michael Schmalle [EMAIL PROTECTED] wrote: ok, I have wasted enough time here, listening to music, I will go make it work. Will post the class

Re: [flexcoders] Re: Programatic Icon

2007-04-27 Thread Michael Schmalle
%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Ok, I got it; MXML APP -- ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import mx.core.mx_internal

Re: [flexcoders] Sprite.graphics: read-only or not?

2007-04-25 Thread Michael Schmalle
Hi, A read-only property means that you can read it but not set it. You cannot do; mySprite.graphics = myOtherSprite.graphics or mySprite.graphics = new Graphics(); It means that you a 'calling' methods and properties and not setting the actual property explicitly. Peace, Mike On 4/25/07,

Re: [flexcoders] Canvas scrollbars not appearing

2007-04-23 Thread Michael Schmalle
Hi, Sounds to me from what you have explained, you have not called setActualSize() on the canvas instance in your custom component;s updateDisplayList() method. Did you ? IE canvas.setActualSize(canvas.getExplicitOrMeasuredWidth(), canvas.getExplicitOrMeasuredHeight()) Peace, Mike On

Re: [flexcoders] Percentage Sizing Issues

2007-04-23 Thread Michael Schmalle
Hi, try; panel.minHeight = 0; You are telling the layoutManager to disregard the measured sizes for the actual panel and use unscaledWidth and height that has been set from it's parent. Peace, Mike On 4/23/07, Matt [EMAIL PROTECTED] wrote: I'm trying to lay out a relatively complex site

Re: [flexcoders] Testing if a datatyped variable is not set yet

2007-04-23 Thread Michael Schmalle
Hi, another lazy way; function selectPlayer() { if(Player Player.LAST_SELECTED == null){ Player.LAST_SELECTED = this; } } Peace, Mike On 4/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have a class, Player that with a selectPlayer method. I want selectPlayer to

Re: [flexcoders] Testing if a datatyped variable is not set yet

2007-04-23 Thread Michael Schmalle
Read the post wrong, disregard. :) didn't realize that was a class. why can't you write; if (Player.LAST_SELECTED) { // reset last player // set new last player } Mike On 4/23/07, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, another lazy way; function selectPlayer() { if(Player

Re: [flexcoders] createPopUp constrained inside a panel ( not systemmanager )

2007-04-19 Thread Michael Schmalle
Hi, var window:TitleWindow = new TitleWindow(); window.title = Hi inside Container; myPanel.rawChildren.addChild(window); Peace, Mike PS, you will have to manage z order your self, just use setChildIndex(). On 19 Apr 2007 10:29:51 -0700, Aldo Bucchi [EMAIL PROTECTED] wrote: Hi all,

Re: [flexcoders] Re: Will Microsoft's new Silverlight Player Kill our beloved Flex ?

2007-04-19 Thread Michael Schmalle
I have to put my 2 cents down for prosperity sake. All you people that live in cities and constantly sicken yourselves by your own pollution, need to live on a mountain for a couple years, look back at what you say and see how hilarious it all is. How many times can the battle of north and

Re: [flexcoders] createPopUp constrained inside a panel ( not systemmanager )

2007-04-19 Thread Michael Schmalle
Hi, No, if I am not mistaken, all you need to do is set; window.isPopUp = true; and you will have your dragging. Peace, Mike On 4/19/07, Aldo Bucchi [EMAIL PROTECTED] wrote: and dragging... On 19 Apr 2007 11:04:57 -0700, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, var

Re: [flexcoders] Tree component label scroll bug ?

2007-04-19 Thread Michael Schmalle
This was a bug in the Tree. I thought the killed it in 2.0.1. It has to do with the tween not blocking the scrolling. You can hack a tree and fix it also. I think I overrode the scrollHandler method and returned if the tween instance was not null. Peace, Mike On 18 Apr 2007 16:42:48 -0700,

Re: [flexcoders] Image as Button background

2007-04-19 Thread Michael Schmalle
Hi, You would need to create a custom skin class that inherits UIComponent(child management). If you are talking about keeping the border AND having a button. If not, just use an image as the upSkin etc.. Peace, Mike On 4/19/07, tkacyndra [EMAIL PROTECTED] wrote: does anyone know if

Re: [flexcoders] Re: [Announce]AsWing A2 1.0, AsWing A3 0.8 and SkinBuilderLAF released!!

2007-04-16 Thread Michael Schmalle
The interface... I'm sure this is aimed at Java developers that know java and want a running start (I guess). Peace, Mike On 16 Apr 2007 05:12:44 -0700, Stefan Schmalhaus [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, iiley [EMAIL PROTECTED] wrote:

Re: [flexcoders] Re: Tree labelField and hiding leaf nodes

2007-04-16 Thread Michael Schmalle
Hi, I answered a question like this last week, try looking into the dataDescriptor property. You can do a whole bunch of nice stuff creating your own dataDescriptor. To get you started, subclass DefaultDataDescriptor and override the getChildren() method. Only return the nodes you want

Re: [flexcoders] change Panel.titleIcon via actionscript

2007-04-15 Thread Michael Schmalle
Hi, It works; You need to do this in your class; [Embed(source=myOtherIcon.png)] private var helpIcon:Class; ... (somewhere in AS) myPanel.titleIcon = helpIcon; This has to be embedded at sometime when you compile. The catch is setting the titleIcon with a type Class property. Peace, Mike

Re: [flexcoders] open source plug-in AS frame work ?

2007-04-14 Thread Michael Schmalle
I bet he means 'plugins' like some web apps are starting to have. I think your answer is; You need to create a framework that has a public interface API. Once this api is set you can load any component/module at runtime and share within the specified ApplicationDomain. I am working on something

Re: [flexcoders] Re: Tree component that doesn't display all nodes?

2007-04-13 Thread Michael Schmalle
Hi, You could also write a custom dataDescriptor that subclasses DefaultDataDescriptor. In that class override the getChildren() method and only return the children you want based on the nodes you want filtered. Peace, Mike On 12 Apr 2007 22:22:04 -0700, dorkie dork from dorktown [EMAIL

Re: [flexcoders] simple question backgroundColor

2007-04-13 Thread Michael Schmalle
backgroundGradientColors=[#53A1DE,#A2CCEE] backgroundColor=#FF Peace, Mike On 13 Apr 2007 13:16:29 -0700, Patrick Lemiuex [EMAIL PROTECTED] wrote: I am trying to change the backGroundColor of my app... how do i put in an array for a gradient, i simply forget the syntax? Sorry for

Re: [flexcoders] 360Flex vs. Adobe MAX - which would you attend?

2007-04-10 Thread Michael Schmalle
And for those who live in BFE New Hampshire(grew up in Seattle though), I will kiss the granite and look for after thoughts. :) Peace, Mike On 10 Apr 2007 06:12:11 -0700, Jeffry Houser [EMAIL PROTECTED] wrote: At 08:39 AM 4/10/2007, David Mendels wrote: Hi, MAX will go deep in the

Re: [flexcoders] Would you like to debug? No causes browser to crash.

2007-04-04 Thread Michael Schmalle
Hi, I'm having the same problem except it happens intermitendtly when pressing F11. Both FF2 and IE7. It says I need to reinstall Flash Player. After I kill the browser, wait a second I can run again. This happens about every 10 debug run. This all started happening after I installed the

Re: [flexcoders] Re: Would you like to debug? No causes browser to crash.

2007-04-04 Thread Michael Schmalle
BTW, The popup dialog says; The installed Flash Player is the wrong version. Reinstall Flex Builder or a debug version of Flash Player 9. This all started happening AFTER I installed the Apollo plugin. Peace, Mike On 04 Apr 2007 10:24:39 -0700, ben.clinkinbeard [EMAIL PROTECTED] wrote:

Re: [flexcoders] getChildren

2007-04-03 Thread Michael Schmalle
Hi, You could do this; try { children = obj.getChildren(); } catch (e:Error) { trace(e, obj did not have getChildren()); } Peace, Mike On 03 Apr 2007 11:41:25 -0700, blc187 [EMAIL PROTECTED] wrote: is there a way to tell if an object has a getChildren method before calling it? I'm

Re: [flexcoders] invalidateSize() in tandem with invalidateDisplayList()

2007-04-02 Thread Michael Schmalle
There are weird times you might want your component remeasured but not have updateDisplayList() run. Here we are talking about special cases. I agree, most of the time you want the component to redraw after measure() is called. Peace, Mike On 4/2/07, Bjorn Schultheiss [EMAIL PROTECTED] wrote:

Re: [flexcoders] Relative paths in CSS embeds?

2007-03-29 Thread Michael Schmalle
. Peace, Mike On 28 Mar 2007 06:02:31 -0700, Brett Levine [EMAIL PROTECTED] wrote: Still haven't been able to figure this one out. Do you think it would be worth trying to make the theme a dynamically loaded stylesheet? On Mar 22, 2007, at 1:01 PM, Michael Schmalle wrote: Ah, You are using

Re: [flexcoders] Re: New Adobe Products and Flex

2007-03-28 Thread Michael Schmalle
Blaze and 8 Ball. Somehow a product release date of 4/20 That made me laugh. Really, sometimes when you put things together, it's like Freudian slip. Yeah, All those past Macormedia people blazing those trees, opps I mean trails! got for it! Peace, Mike On 3/28/07, Bjorn Schultheiss [EMAIL

Re: [flexcoders] Is anybody else getting duplicate messages?

2007-03-28 Thread Michael Schmalle
seems like gmail just swallows and gulps... none here. On 3/28/07, Ben Marchbanks [EMAIL PROTECTED] wrote: Yes Yes Yes Doug McCune wrote: I've been getting 2 sometimes 3 copies of many messages. It's quite annoying and this is on top of an already high volume list. On 3/28/07, Cutter

Re: [flexcoders] Relative paths in CSS embeds?

2007-03-23 Thread Michael Schmalle
if I follow your example mine will work too. brett On Mar 22, 2007, at 11:25 AM, Michael Schmalle wrote: Hi, Use a url like; source = ../../MyThemProject/images/bg_main.gif)'. I do this for css outside of my current project and works fine. Peace, Mike On 3/22/07, Brett Levine [EMAIL

Re: [flexcoders] Can't add objects to a new Apollo window

2007-03-23 Thread Michael Schmalle
Hi, If you read the docs, they say you cannot do this in the Alpha version of Apollo. It will be in a beta or for sure the final. Peace, Mike On 23 Mar 2007 08:50:22 -0700, Mark Doberenz [EMAIL PROTECTED] wrote: I have an Apollo app that I want to make open another window and load a

Re: [flexcoders] Relative paths in CSS embeds?

2007-03-22 Thread Michael Schmalle
Hi, Use a url like; source = ../../MyThemProject/images/bg_main.gif)'. I do this for css outside of my current project and works fine. Peace, Mike On 3/22/07, Brett Levine [EMAIL PROTECTED] wrote: Yes, of course. If the .css file and the .mxml file using it are in the same project that

Re: [flexcoders] Apollo - multi-window communication

2007-03-22 Thread Michael Schmalle
I would go out on a limb and say yes. Not in alpha but, if we are going to be able to addChild() on a newly created window, I don't see why you could communicate with a window that you created from the main app. Peace, Mike On 22 Mar 2007 14:32:13 -0700, Mark Doberenz [EMAIL PROTECTED] wrote:

Re: [flexcoders] Re: Apollo (Should Adobe Keep the Name)

2007-03-18 Thread Michael Schmalle
What do I care what they name the product. Your missing the point, how many people play with their cell phones and are amused with that? :) Peace, Mike On 17 Mar 2007 08:55:39 -0700, Paul DeCoursey [EMAIL PROTECTED] wrote: You are missing the I don't care option. What do I care what they

Re: [flexcoders] set percent value to a Panel's width ?

2007-03-17 Thread Michael Schmalle
Hi, panelID.percentWidth = 17; Peace, Mike On 16 Mar 2007 18:27:12 -0700, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: how do i set percent values to a Panel's width and height in ActionScript? this is what I want : panelID.setActualSize(17%,100%); // this returns an error OR

Re: [flexcoders] Flex 2.0 Primitive Explorer

2007-03-14 Thread Michael Schmalle
Great work Jason, surprises every month! Peace, Mike On 3/14/07, Brendan Meutzner [EMAIL PROTECTED] wrote: This is going to be incredibly useful... thanks Jason! -- Brendan Meutzner Stretch Media - RIA Adobe Flex Development [EMAIL PROTECTED] http://www.stretchmedia.ca On 3/14/07, Bruce

Re: [flexcoders] Chrome behind content?

2007-03-11 Thread Michael Schmalle
Well man, this is a hack and it works though :) I had the same issue and so far this hasn't blown up in my face. Try this on for size... the backgroundInstance is what is going behind the content but infront of the border. override mx_internal function createContentPane():void {

Re: [flexcoders] Re: Chrome behind content?

2007-03-11 Thread Michael Schmalle
Paul I'm not really sure what that is all about, Background isn't chrome it is background. Children need to be in front of background. I have a spec where I need another background behind the view children and in front of the border. Trust me, I have 1000's of hours of investigation into this.

Re: [flexcoders] Overlaping tabs - is it possible ?

2007-03-07 Thread Michael Schmalle
Have fun, One thing I think Tom is forgetting is that those tabs are arranged by index. This also means that you have to accept that the order they appear is the order of z index also. The only way is to maintain a proxy array and completely re implement the layout part of the tab bar. This

Re: [flexcoders] Set Button Icon at Runtime !!

2007-03-07 Thread Michael Schmalle
Hi, You could use setStyle() at runtime and load a module that holds your assets library. Peace, Mike On 3/7/07, bobrene07 [EMAIL PROTECTED] wrote: Hello, i don't want to embed my image in my SWF, I want to set my button Icon image at Runtime. Do you know how i could possibly do that ??

Re: [flexcoders] Re: Set Button Icon at Runtime !!

2007-03-07 Thread Michael Schmalle
with an image in it ? anyone ?? thx 4 ur help bor --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, You could use setStyle() at runtime and load a module that holds your assets library. Peace, Mike On 3/7/07, bobrene07 [EMAIL

Re: [flexcoders] File Exploer and Java + JRun4

2007-03-06 Thread Michael Schmalle
Hi as a moderator, could you please only post questions pertaining to component development on flexcomponents, the question belongs on flexcoders. Also, please do not cross post on the two lists. Thanks, Mike On 06 Mar 2007 00:48:59 -0800, Cato Paus [EMAIL PROTECTED] wrote: Hi All :) I'm

Re: [flexcoders] Basic inheritance question

2007-03-01 Thread Michael Schmalle
BTW, You could put an else statement on that to throw() an error if you really cared about the currentTarget not setting the style correctly. I think this is the most elegantly decoupled way to attack the problem. Peace, Mike On 2/28/07, Michael Schmalle [EMAIL PROTECTED] wrote

Re: [flexcoders] Getting a Third-Party Component into Builder 2?

2007-03-01 Thread Michael Schmalle
Hi, Is it an SWC file? If so, you need to go CurrentProject - right click, Properties - Flex Build Path - Library Path Tab; Then either choose, Add SWC Folder or Add swc. From there you should be good to go. Peace, Mike On 2/28/07, Bruce H. Johnson [EMAIL PROTECTED] wrote: I

Re: [flexcoders] Basic inheritance question

2007-03-01 Thread Michael Schmalle
Or... If you want to get really crazy and say what is the way you should do it in perfection world, it would be; if (event.currentTarget is IStyleClient) IStyleClient(e.currentTarget).setStyle(color, red); Peace, Mike On 2/28/07, Jamal Romero [EMAIL PROTECTED] wrote: Hi, Thanks for your

Re: [flexcoders] Can Flex really compete with AJAX?

2007-03-01 Thread Michael Schmalle
Heh, And why is he 'comparing' Ajax to Flex. Bottom line is, 'truly dynamic content' depends on what you are talking about. If you are trying to take javascript and pigeon hole it into as3, have fun, you can't. The design patterns of the Flex framework are roots. A crafty developer can spin

Re: [flexcoders] ButtonBar's child enabling

2007-02-26 Thread Michael Schmalle
Hi, Try; var searchIndex:int = 2; var button:Button = getChildAt(searchIndex) as Button; button.enable = false; or use the other DisplayObjectContainer methods for getting a child instance; - getChildByName() etc Peace, Mike On 2/24/07, metalbeard [EMAIL PROTECTED] wrote: Hi, Is there

Re: [flexcoders] Finding out when an arraycollection in my model is set

2007-02-26 Thread Michael Schmalle
Hi, Why not just make it a get, set bindable property in your ModelLocator? Then you could dispatch and event or really whatever you want to do. Peace, Mike On 2/24/07, Webdevotion [EMAIL PROTECTED] wrote: Hello, How can I now when my arraycollection in my modellocator is filled with

Re: [flexcoders] ButtonBar's child enabling

2007-02-26 Thread Michael Schmalle
Oh, supposed to be var button:Button = buttonBar.getChildAt(searchIndex) as Button; Mike On 2/24/07, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Try; var searchIndex:int = 2; var button:Button = getChildAt(searchIndex) as Button; button.enable = false; or use the other

Re: [flexcoders] This would make me very happy, a datagrid on STERIODS!

2007-02-19 Thread Michael Schmalle
I have been experimenting with styleNames in itemRenderers. Which like he said would be; styleNameField would access the correct formating in the model. It does work. There are a couple of options, still in the labs. ;-) Peace, Mike On 2/19/07, Ralf Bokelberg [EMAIL PROTECTED] wrote: How

Re: [flexcoders] backgroundImage on Canvas, Not working in Skinned app?

2007-02-18 Thread Michael Schmalle
Code you post your code and css? Can't really help without that. Peace, Mike On 2/18/07, lostinrecursion [EMAIL PROTECTED] wrote: Could someone help me with this? I am going bananas. I have a skinned app that I am developing (custom skinned based on the Obsidian theme, if you know what

Re: [flexcoders] Continuations support? or smart sleep()?

2007-02-14 Thread Michael Schmalle
Hi, yeah he timer class does it but; function example { trace(before); sleep(2000); trace(after 2 seconds); } Will not work. The Flash player exectues in order of the stack. So, you can't have a sleep method inside a method block and halt the method block. Although something like this might

Re: [flexcoders] Continuations support? or smart sleep()?

2007-02-14 Thread Michael Schmalle
to the function and not the single parameters contained within the rest Array. Dirk. -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Michael Schmalle *Sent:* Wednesday, February 14, 2007 4:32 PM *To:* flexcoders@yahoogroups.com *Subject:* Re

Re: [flexcoders] Re: Want the SWEETEST Flex theme(s) ever? Contest!

2007-02-11 Thread Michael Schmalle
Haha, How can you even take this seriously? This has 'infomercial' written all over it! Peace, Mike On 2/11/07, superstella_uk [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED] wrote: I agree. If it was a serious

Re: [flexcoders] Re: Flex Coding Guidelines

2007-02-11 Thread Michael Schmalle
Hi, I was expecting to get ready and fight over this stuff, but hey, you are sticking with Adobe's conventions. I don't think there is really anything I disagree with. Although I do use in my component classes, dragButton_mouseDownHandler(event:MouseEvent):void When you start getting the

Re: [flexcoders] Re: Flex Coding Guidelines

2007-02-11 Thread Michael Schmalle
I think it makes code less readable and Oh lets all agree to disagree on this one. Which side do you butter your bread? On the top or bottom, what??? On the sides!!! ? I can't stand curly braces on the method line, doesn't allow a space from the method signature to fully read and seems

Re: [flexcoders] Override owner in TreeItemRenderer

2007-02-10 Thread Michael Schmalle
Hi, you need to; ExtendedTree(owner).setPath([EMAIL PROTECTED]); You have to cast. Peace, Mike On 2/10/07, syabro [EMAIL PROTECTED] wrote: I need a send [EMAIL PROTECTED] to an owner (tree). I've extend Tree class and write function Tree.setPath(); But when I tried to use this function

Re: [flexcoders] Re: Putting a Rectangle around a selected line in a List component

2007-02-08 Thread Michael Schmalle
Hi, Do us a favor and try not to cross post with flexcoders and flexcomponents. All the people that can answer your question, read both lists. Don't waste Alex's valuable time. He is an asset. I found the solution. Alex gave you an answer yesterday on the flexcomponentst list. This just

Re: [flexcoders] Scoping Issue

2007-02-08 Thread Michael Schmalle
Same issue here, As a moderator of the flexcomponent mailing list, PLEASE do not cross post on flexcoders and flexcomponents. I guarantee you half your questions will not be answered when you do this. If it is a component question dealing with the framework ask on flex components, if it is

Re: [flexcoders] Re: Object.addEventListener vs.. adding them inline via MXML

2007-02-08 Thread Michael Schmalle
Ralf, That is an interesting approach. I just have never had the need for something like that.. yet. Didn't I read somewhere that the order you add listeners is the order they get dispatched in as3 now? Plus you can use priorities. PS From an OOP standpoint, I wouldn't do it , I would just

Re: [flexcoders] tree of extended components? possible?

2007-02-08 Thread Michael Schmalle
Yes, Look at the itemRenderer property of the Tree. It's exactly what you want. You might also check out dataDescriptiors if your model is complicated and you want to extend the tree using your custom component children(itemRenderer) and model. Peace, Mike On 2/8/07, tinkiknit [EMAIL

Re: [flexcoders] Re: Object.addEventListener vs.. adding them inline via MXML

2007-02-07 Thread Michael Schmalle
Object.addEventListener( click, [funct1, funct2, funct3] ); No, 1. as3 is strongly typed which means the method expects a function when it is getting an array. 2. addEventListener wouldn't even know what to do with an array. You could, if you had your own subclass override addEventListener to

Re: [flexcoders] Re: Object.addEventListener vs.. adding them inline via MXML

2007-02-07 Thread Michael Schmalle
could be renamed in a future release to something like mouseClick and then your code wouldn't work. Or even worse, you write cllck, and then for days even months, you think your app isn't working or 'works' a certain way. Come to find out the event wasn't even getting captured. :) This is

Re: [flexcoders] WARNING: css type selectors are not supported in components?

2007-02-07 Thread Michael Schmalle
Hi, In a custom component you cannot have; Button { ... } You have to specify them in the Application. Peace, Mike On 2/7/07, Brian Holmes [EMAIL PROTECTED] wrote: I'm getting this warning message since I upgrade to FB 2.01 and i can't seem to get rid of it. I don't have any inline css,

Re: [flexcoders] Re: Serious Bug in HistoryManager (introduced in latest release?)

2007-02-07 Thread Michael Schmalle
decouples the dependency of ManagerA in the last version. may be wrong here but it makes sense to me. Peace, Mike On 2/7/07, Michael Schmalle [EMAIL PROTECTED] wrote: Hey, Don't get me wrong here but, what happens when you use getClassDefinition() and you didn't link in your class as a static

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