Re: [flexcoders] Circumstances for Button sized by default

2007-09-10 Thread Michael Schmalle
Hi Ben, The reason is in any Container subclass IE Box, Canavs etc, the Layout class actually calls setActualSize() on the button child. Since you are using a custom component that does not have or implement a Layout class, you must call,

Re: [flexcoders] Re: dumb: eclipse on dual monitor?

2007-09-11 Thread Michael Schmalle
Same here, I am running multiple monitors and the main panel I want detached won't, the code view. Mike On 9/11/07, mitch [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, grimmwerks [EMAIL PROTECTED] wrote: Anyone have any tricks/settings for the

Re: [flexcoders] Re: dumb: eclipse on dual monitor?

2007-09-11 Thread Michael Schmalle
No, Seems like the mxml code/design module is one piece. Although you could open notepad. hahah ;-) Peace, Mike On 9/11/07, candysmate [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Same here, I am

Re: [flexcoders] Re: dumb: eclipse on dual monitor?

2007-09-11 Thread Michael Schmalle
Wow, just learned something... Peace, Mike On 9/11/07, mitch [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, candysmate [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle teoti.graphix

[flexcoders] automationName in Components

2007-09-11 Thread Michael Herron
Hi, I was wondering if it is possible to dynamically set the automationName property of a control at runtime? For example, if I have a component that contains a label: MyComponent.mxml mx:HBox mx:Label id=label automationName=componentLabel / /mx:HBox And I want to

Re: [flexcoders] Re: Announcing flexmdi: Robust, extensible MDI framework for Flex

2007-09-11 Thread Michael Schmalle
Doug, You have solved a problem I've seen in pretty much every resize manager I've come across so far: Did you see mine? :) You have to create a cleanUp method that will fire on mouseUp and mouse leave, the mouse leave can't execute the same code as mouseUp since the operation becomes invalid.

Re: [flexcoders] Re: Announcing flexmdi: Robust, extensible MDI framework for Flex

2007-09-11 Thread Michael Schmalle
indicators and resize effect. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Doug, You have solved a problem I've seen in pretty much every resize manager I've come across so far: Did you see mine? :) You have to create

Re: [flexcoders] Communicating with modules

2007-09-11 Thread Michael Schmalle
Hi, use an interface that you module and application know about. IE public interface ITalk { function get welcomMessage():String; } public class MyModule extends Module implements ITalk { public function welcomeMessage():String { return Hello Application;

Re: [flexcoders] Re: Breakpoint jumps away

2007-09-11 Thread Michael Schmalle
I have had this problem also, seems sporadic. You double click on a executing line and it jumps to a weird line 3-8 lines down out of the method. Peace, Mike On 9/11/07, Tracy Spratt [EMAIL PROTECTED] wrote: Check the project settings to be sure you still have generate html wrapper

Re: [flexcoders] How to dispatch event from ItemRenderer?

2007-09-11 Thread Michael Schmalle
I was thinking that I could listen for the click event on the radio buttons, capture the event, and dispatch a new custom event. Troy, Do this. I don't recommend bubbling events especially in itemRenderers. You are just asking for trouble down the road. Unless your event is called

Re: [flexcoders] How to dispatch event from ItemRenderer?

2007-09-11 Thread Michael Schmalle
Troy, I meant to quote this... have the event bubble from the itemRenderer, and that is about it. And listen for it Don't do that, your idea is right. Peace, Mike On 9/11/07, Michael Schmalle [EMAIL PROTECTED] wrote: I was thinking that I could listen for the click event on the radio

Re: [flexcoders] How to dispatch event from ItemRenderer?

2007-09-11 Thread Michael Schmalle
messed up. Peace, Mike On 9/11/07, Michael Schmalle [EMAIL PROTECTED] wrote: I was thinking that I could listen for the click event on the radio buttons, capture the event, and dispatch a new custom event. Troy, Do this. I don't recommend bubbling events especially in itemRenderers. You

Re: [flexcoders] Decorator Pattern 101

2007-09-12 Thread Michael Schmalle
Hi, You can't decorate a UIComponent since it is a DisplayObject and needs to be added to the display list. You have to either us composition or subclass Button and use an interface and pass the class to decorate the Button with. JuiceMaker id=myJuiceMaker decorator={JuiceMaster} click=

Re: [flexcoders] Decorator Pattern 101

2007-09-12 Thread Michael Schmalle
Oh yeah JuiceMaker id=myJuiceMaker decorator={JuiceMaster} click= myJuiceMaker.makeJuice('orange') / is supposed to be; JuiceMaker id=myJuiceMaker makerClass={JuiceMaster} click= myJuiceMaker.makeJuice('orange') / On 9/12/07, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, You can't decorate

Re: [flexcoders] Decorator Pattern 101

2007-09-12 Thread Michael Schmalle
mentioned, but I would still love to hear about the Concrete class that you mention :) Thanks Michael! On 9/12/07, Michael Schmalle [EMAIL PROTECTED] wrote: Oh yeah JuiceMaker id=myJuiceMaker decorator={JuiceMaster} click= myJuiceMaker.makeJuice('orange') / is supposed

Re: [flexcoders] Decorator Pattern 101

2007-09-12 Thread Michael Schmalle
arrg, I'm doing to many things today.. in the construct that would be makerImpl = new JuiceMaster(); instead of; makerImpl = new JuiceMaker(); I'm sure you knew that but, I'm just a perfectionist even with irrelevant emails. :) Mike On 9/12/07, Michael Schmalle [EMAIL PROTECTED] wrote

Re: [flexcoders] here's a fun one: addEventListener to componet's titleWindow....

2007-09-12 Thread Michael Schmalle
How then can I get that the TitleWindow - held by the component - is being closed? Can you restate that sentence ? Mike On 9/12/07, grimmwerks [EMAIL PROTECTED] wrote: Ok, here's the setup: MAIN APP State=reg Component=login TitleWindow At the main app's start, the state is NOT

Re: [flexcoders] Decorator Pattern 101

2007-09-13 Thread Michael Schmalle
, even thought it would implement the same type, juiceMaker is no longer a DisplayObject and thus, you cannot do this; myBox.addChild(juiceMaker); Does that make sense? Peace, Mike On 9/13/07, Claudia Barnal [EMAIL PROTECTED] wrote: Thanks a lot Michael! One never stops learning. I'll

Re: [flexcoders] removeChild vs destroyChild

2007-09-13 Thread Michael Schmalle
Hi, set the reference to them to null; child = removeChild(child); child = null; Peace, Mike On 9/13/07, donvoltz [EMAIL PROTECTED] wrote: Hello, I have created a custom component that dynamically adds another custom component(based on a Panel class) depending on the results from a

Re: [flexcoders] Re: Expected FLEX 3 Release Date and Cost ?

2007-09-13 Thread Michael Schmalle
I will be blunt, if you are doing Flex development, it would be a mistake not to be at MAX this year. Nice, I guess I am making a mistake unless you have that free teleporter you are working on and a babysitter. Peace, Mike On 9/13/07, Sheriff [EMAIL PROTECTED] wrote: Will there be Vids of

Re: [flexcoders] callLater syntax

2007-09-14 Thread Michael Schmalle
Hi, it's callLater(nominalLocatePopup, [nominalArray.getItemAt(nominalGrid.selectedIndex).nominalCode]); The function must resize in 'this' scope of the callLater() call. Peace, Mike On 9/14/07, candysmate [EMAIL PROTECTED] wrote: I have a function nominalLocatePopup which I wish to pass

Re: [flexcoders] Currently selected tab in TabNavigator?

2007-09-15 Thread Michael Schmalle
Hi, use selectedIndex or selectedChild. When using selectedChild you can use; selectedChild.label to get the label of the tab that is selected. When using selectedIndex you can use; var tab:Tab = Tab(tabNavigator.getTabAt(tabNavigator.selectedIndex)); tab.label tab.icon tab.data Peace, Mike

Re: [flexcoders] Flex Developer Center example

2007-09-17 Thread Michael Schmalle
Hi, I think they used mx states. We have a commercial component that does exactly that and more. It is also a container with custom title bars, effects and tile layout class, preview pane etc. This component was modeled after the the one you are looking at to show how powerful and extensible

Re: [flexcoders] Changing styleName at run-time

2007-09-17 Thread Michael Schmalle
Hi, .playSkins { upSkin:bla; overSkin:blah; etc... } .pauseSkins { upSkin:bla; overSkin:blah; etc... } playPauseButton.styleName = (isPlaying) ? playStyles : pauseStyles; Peace, Mike On 9/17/07, williamkusumo [EMAIL PROTECTED] wrote: Hi! I have a skinned play button

[flexcoders] Alignment of SWF in HTML output

2007-09-18 Thread Michael Baird
I have a Flex app with a defined size of 1024x768. I'd like to be able to center this in the HTML page that it gets embedded in. I've tried editing the FlexBuilder-generated html index page to include a div, table, etc to try to get the SWF centered, but nothing seems to have any effect. What am I

Re: [flexcoders] Panel with transparent content area

2007-09-18 Thread Michael Schmalle
Hi, Set the border thicknesses to 0 and the border will dissapear. Peace, Mike On 9/18/07, kramus0 [EMAIL PROTECTED] wrote: Hi, I am struggle a bit with a really simple panel that I what to use as container for other components. This panel should have rounded corners and it should look

Re: [flexcoders] How to see if method is implemented in class

2007-09-18 Thread Michael Schmalle
Hi, Put your calling code in a try{} catch{} block, then you will not get the RTE. try { someObject.validate(); } catche (e:Error) { trace(someObject.className, Has no validate() method); } There are a couple other ways but, this is pretty clean and gets the job done. Peace, Mike On

Re: [flexcoders] Can't style a cursor with CSS, can you?

2007-09-18 Thread Michael Schmalle
Thats why for all of my custom components and managers I created a new CursorManager that wraps the mx one. In each of the managers or components I have; /* * The move cursor skin for the MoveManagerFX. */ moveCursorSkin:Embed(source=moveCursor.png); /* * The move

Re: [flexcoders] Re: Can't style a cursor with CSS, can you?

2007-09-18 Thread Michael Schmalle
(cursorSkinName + Skin); if (cls) { CursorManager.setCursor(cls, 0, offsetX, offsetY); } Peace, Mike On 9/18/07, ben.clinkinbeard [EMAIL PROTECTED] wrote: Not sure I follow you. How do you glean a class from those styles? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael

Re: [flexcoders] Alignment of SWF in HTML output

2007-09-18 Thread Michael Baird
. The object/embed tags are not used by most browsers. Also make sure your app appears centered at that size. -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Michael Baird *Sent:* Sunday, September 16, 2007 11:56 PM *To:* flexcoders

Re: [flexcoders] Alignment of SWF in HTML output

2007-09-18 Thread Michael Baird
writing the document to writing to something else. -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Michael Baird *Sent:* Tuesday, September 18, 2007 10:14 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Alignment

Re: [flexcoders] Reply Please !!!

2007-09-19 Thread Michael Schmalle
Hi, Guaranteed you will NOT get an answer to your question talking like this and having a subject line that YELLS Reply Please!!! What makes you any different from those that never get their questions answered either? Remember that this is a public forum which means it's all free information

Re: [flexcoders] Could people watch their subject lines ?

2007-09-19 Thread Michael Schmalle
It sounds like your email program is doing it. Most 90% of the posts don't. Peace, Mike On 9/19/07, Paul Steven [EMAIL PROTECTED] wrote: Sorry - I think I am a culprit! Is it just me or does the flexcoders emails always have [SPAM] in front of the subject? -Original Message-

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

2007-09-20 Thread Michael Schmalle
Hi, We offer what you are looking for, for an affordable price with lots of features, support and good documentation. It's called the TaskPaneFX. This product set contains the TaskListFX and that component stacked can do what you need. Check out...

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

2007-09-20 Thread Michael Schmalle
the example is of. The TaskPaneFX component set on my commercial site. So really the source code is just slightly extending my commercial pane component. Peace, Mike On 9/20/07, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, I also found another workaround for the rollover. I added a timer

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

2007-09-20 Thread Michael Schmalle
Hi, I also found another workaround for the rollover. I added a timer to the dispatch method and it will wait the determined amount of milliseconds before firing the open event. This improves usability greatly. Peace, Mike On 9/20/07, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, I slapped

[flexcoders] Re: Flex Library Project crashing Eclipse with a StackOverflow

2007-10-05 Thread Michael Ritchie
Try adding the entire library folder (where the library swc lives) to your project under Library Path as opposed to the individual SWC file, see if that does the trick. - michael --- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED] wrote: Just encountered this one myself

[flexcoders] Re: Flex Library Project crashing Eclipse with a StackOverflow

2007-10-05 Thread Michael Ritchie
This usually happens when adding multiple SWC files to your application, its a real bear to track down :\ - michael --- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED] wrote: Just encountered this one myself... I deleted the project for now, and am about to try and recreate

Re: [flexcoders] How do I call a POJO from Flex ?

2007-10-16 Thread michael . corbridge
trouble (write me if you want an easy tutorial to get started - POJO's included) Michael Corbridge Distributed Computing Sun Life Financial Ltd. One Sun Life Executive Park Wellesley Hills, MA 02481 --- This e-mail message

[flexcoders] Re: Buffer progress bar for streaming FLV

2006-08-30 Thread Michael Ritchie
Abdul is correct, you need to get the netstream time, use the following code for your enterframe function: private function onEnterFrame(event:Event):void { if(stream == null) return; var loadpct:Number = stream.bytesLoaded /

Re: [flexcoders] The supplied index is out of bounds error is thrown when binding LinkBar dataProvider and selectedIndex properties simultaneously

2006-08-30 Thread Michael Klishin
event and check whether dataProvider size is greater than 0. That is, do not use MXML tag property but set it from AS. -- Michael 'Antares' Klishin novemberain.com | osflash.org/red5 | rubyonrails.ru | flex.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files

[flexcoders] Save image @ server side with ColdFusion 5

2006-09-01 Thread Michael Klishin
Hi, What would you recommend to use to encode ByteArray as Base64 and send to ColdFusion 5 script to save it? I've never dealt with CF before as I'm the Rails guy so I'm pretty stuck... You can just point me to the class I need to investigate ;) Thanks in advance! -- Michael 'Antares' Klishin

Re: [flexcoders] Re: Order of drawing/rendering in a custom AS component

2006-09-01 Thread Michael Schmalle
err.. fridaysetChildIndex()Peace, MikeOn 9/1/06, Michael Schmalle [EMAIL PROTECTED] wrote:Hi,getChildAt()getChildByName()getChildIndex() all IDisplayObjectContainer interface methods and properties. setChildAt() work great for setting depth along with the property numChildren [0

Re: [flexcoders] Re: Order of drawing/rendering in a custom AS component

2006-09-01 Thread Michael Schmalle
Hi,getChildAt()getChildByName()getChildIndex()all IDisplayObjectContainer interface methods and properties. setChildAt() work great for setting depth along with the property numChildren [0] == topnumChildren - 1 == bottomPeace, MikeOn 9/1/06, jeremyrichman [EMAIL PROTECTED] wrote:

Re: [flexcoders] UIComponent.width is always 0

2006-09-01 Thread Michael Schmalle
Hi,Not to step on toes here but...The reason is not that a 'width' is not getting set but explicitWidth has not been set by YOU.If you call text.getExplicitOrMeasuredWidth(), this will return the correct measurement. Now, if you set text.width OR text.explicitWidth, you will get text.width. ;-)

Re: [flexcoders] UIComponent.width is always 0

2006-09-01 Thread Michael Schmalle
- From: Michael Schmalle [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, September 02, 2006 5:27 AM Subject: Re: [flexcoders] UIComponent.width is always 0 Hi, Not to step on toes here but... The reason is not that a 'width' is not getting set but explicitWidth has not been set

Re: [flexcoders] UIComponent.width is always 0

2006-09-02 Thread Michael Schmalle
to the display list through actionscript. regards, Muzak - Original Message - From: Michael Schmalle [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, September 02, 2006 6:54 AM Subject: Re: [flexcoders] UIComponent.width is always 0 Nope, it doesn't. It returns 0. If you

Re: [flexcoders] UIComponent.width is always 0

2006-09-02 Thread Michael Schmalle
measuredWidth, explicitWidth for a capable component to have itself perform the needed calculations for proper display in a Container, not Sprite. I have written a lot about this and a huge book is coming on my web site talking about all this.Peace, MikeOn 9/2/06, Michael Schmalle [EMAIL PROTECTED] wrote

Re: [flexcoders] UIComponent.width is always 0

2006-09-02 Thread Michael Schmalle
Haha, just adding fuel to the fire but,To make things even more crazy;-) When you set percentWidth to anything above 0, the witdth property of a UIComponent then becomes NaN. I think this proves the theory of what I am saying. Peace, MikeOn 9/2/06, Michael Schmalle [EMAIL PROTECTED] wrote: If I

Re: [flexcoders] UIComponent.width is always 0

2006-09-03 Thread Michael Schmalle
: - Original Message - From: Michael Schmalle [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, September 02, 2006 2:35 PM Subject: Re: [flexcoders] UIComponent.width is always 0 Hi, I don't know where this is going but, Really there is no issue here. He wanted width, he got

[flexcoders] Save image at server-side with ColdFusion

2006-09-05 Thread Michael Klishin
Hi, Is there a well-known way to save an image from bitmap data into the file on server with ColdFusion? I never worked with it and struggle to find an example... Thanks! -- Michael 'Antares' Klishin novemberain.com | flexwiki.novemberain.com | osflash.org/red5 | rubyonrails.ru

Re: [flexcoders] Overlays

2006-09-05 Thread Michael Schmalle
Hey,check out Sho's blog, he has a Drawer component that does exactly what you want.Peace, MikeOn 9/5/06, Benjamin Dobler [EMAIL PROTECTED] wrote: Hi, i`m looking for a good way to implement overlays. Something like a sidebar that hides outside the

Re: [flexcoders] Re: flex2 final - TextInput focusRoundedCorners

2006-09-06 Thread Michael Schmalle
I think there is a bug which prevents the TextField from having roundedCorners.There is no bug, the HaloBorder specifications do not allow a TextInput to have rounded corners.The only styles it allows are none, solid, inset. And in those render methods, it only callsdraw3dBorder() which does

Re: [flexcoders] Re: flex2 final - TextInput focusRoundedCorners

2006-09-06 Thread Michael Schmalle
. --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: I think there is a bug which prevents the TextField from having roundedCorners. There is no bug, the HaloBorder specifications do not allow a TextInput to have rounded corners. The only styles it allows are none, solid

Re: [flexcoders] What comes after FlexEvent.INITIALIZE and FlexEvent.CREATION_COMPLETE?

2006-09-06 Thread Michael Schmalle
Hi Ben,Why don't you do this? // SuperCheckBox.as *** package { import mx.controls.CheckBox; import mx.events.FlexEvent; import flash.text.TextFieldAutoSize; import flash.events.Event; public class SuperCheckBox extends CheckBox { public function SuperCheckBox() { super();}

Re: [flexcoders] Re: What comes after FlexEvent.INITIALIZE and FlexEvent.CREATION_COMPLETE?

2006-09-06 Thread Michael Schmalle
Hey,I will look at this and come up with an answer. :)I just guessed. ;-)Peace, MikeOn 9/6/06, ben.clinkinbeard [EMAIL PROTECTED] wrote: Hi Michael, Unfortunately, that code didn't help :( They still end up on top of each other. I am dispatching

Re: [flexcoders] Re: What comes after FlexEvent.INITIALIZE and FlexEvent.CREATION_COMPLETE?

2006-09-06 Thread Michael Schmalle
You know,I replied with the same exact post saying to migrate everything into createChildren();IMHO, you should never call callLater() on a protected method. There is just something seriously wrong with that path. I don't know but, I tried it with the create children and set the width (to get

Re: [flexcoders] Re: What comes after FlexEvent.INITIALIZE and FlexEvent.CREATION_COMPLETE?

2006-09-06 Thread Michael Schmalle
this class into the framework it is definitely not right. Sorry I don't have enough time to give you my take on it from a framework point of view. :)Peace, MikeOn 9/6/06, Michael Schmalle [EMAIL PROTECTED] wrote:You know, I replied with the same exact post saying to migrate everything

Re: [flexcoders] pop-up window x and y settings

2006-09-06 Thread Michael Schmalle
Hi, basics(PopUpManager.createPopUp(this, basics, false));What is 'this' refering to?That is probably the problem. Are you loading into an Application from another Application?Just for a test you can also comment out the x and y setting calls and try;

Re: [flexcoders] Re: flex2 final - TextInput focusRoundedCorners

2006-09-07 Thread Michael Schmalle
corners try this. mx:TextInput cornerRadius=10 borderStyle=solid/ without the borderStyle set to solid it doesn't work. .but i'll still need to use your (Mike) 'quick/right fix' for my issue. thanks bod --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: BTW

Re: [flexcoders] Public getter, private setter?

2006-09-07 Thread Michael Schmalle
Hi,Ironically, I just ran into this same issue the other day.I had a post I didn't finish yesterday and what you just wrote about Java style was what I was going to say I did. :)This is just a guess but, I would be willing to bet this is a Player bug. If you think about the error, it is the

Re: [flexcoders] Public getter, private setter?

2006-09-07 Thread Michael Schmalle
opps,I meantprivate var height:Number;Peace, MikeOn 9/7/06, Michael Schmalle [EMAIL PROTECTED] wrote:Hi,Ironically, I just ran into this same issue the other day. I had a post I didn't finish yesterday and what you just wrote about Java style was what I was going to say I did. :)This is just

Re: [flexcoders] using application.callLater from a non-UI component?

2006-09-07 Thread Michael Schmalle
Hey,Try this;import mx.core.UIComponent;public class nonUIClass{ private var callLaterObject:UIComponent; public function invalidate(func:Function):void { if (!callLaterObject) { callLaterObject = new UIComponent(); } engine.callLater(func); } public function

Re: [flexcoders] using application.callLater from a non-UI component?

2006-09-07 Thread Michael Schmalle
sent it to soon;import mx.core.UIComponent;public class nonUIClass{ private var callLaterObject:UIComponent; public function invalidate(func:Function):void { if (!callLaterObject) { callLaterObject = new UIComponent(); } callLaterObject.callLater(func); } public function

Re: [flexcoders] using application.callLater from a non-UI component?

2006-09-07 Thread Michael Schmalle
function invalidateSomething():void { invalidate(updateSomething); } public function updateSomething():void { }}Peace, MikeOn 9/7/06, Michael Schmalle [EMAIL PROTECTED] wrote: sent it to soon;import mx.core.UIComponent;public class nonUIClass{ private var callLaterObject:UIComponent; public

Re: [flexcoders] Re: What comes after FlexEvent.INITIALIZE and FlexEvent.CREATION_COMPLETE?

2006-09-07 Thread Michael Schmalle
don't think SuperCheckBox is an accurate name :) Michael, I would be interested in hearing your rationale, because so far it seems like a perfectly valid way of dealing with the underlying processes of Flash/Flex. Thanks all, Ben --- In flexcoders@yahoogroups.com, Darron J. Schall [EMAIL PROTECTED

Re: [flexcoders] Re: using application.callLater from a non-UI component?

2006-09-07 Thread Michael Schmalle
is private? I'm kinda at a loss. Thunder --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hmm.. my post didn't seem to send... import mx.core.UIComponent; public class nonUIClass { private var callLaterObject:UIComponent; public function invalidate

Re: [flexcoders] Re: What comes after FlexEvent.INITIALIZE and FlexEvent.CREATION_COMPLETE?

2006-09-07 Thread Michael Schmalle
it is that we are just faking a rollOver :) Ben --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi Ben, Well you know what, people have called me extreme, can you believe that?! ;-) Anyway, I am totally an advocate of callLater(), just not using callLater

Re: [flexcoders] File Download: Can scriptTimeLimit only be set globally?

2006-09-07 Thread Michael Schmalle
Hi,There is a work around with using the timer in a queue to give back cpu cycles to the cpu and trick the flash player that it is not locking up.I have a documenter that can easily do the flex framework, that takes 5 minutes from loading files, analyzing and rendering to server. Nothing locks

Re: [flexcoders] File Download: Can scriptTimeLimit only be set globally?

2006-09-08 Thread Michael Schmalle
[EMAIL PROTECTED] wrote: Hi Michael, I'm not sure I follow …any chance you could provide some additional detail? I was thinking of trying a setInterval function while the client awaits download …not sure yet if that would fool the player into thinking its

Re: [flexcoders] File Download: Can scriptTimeLimit only be set globally?

2006-09-08 Thread Michael Schmalle
an exception that a script timeout has occurred Process is terminated -Stace From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] On Behalf Of Michael Schmalle Sent: Friday, September 08, 2006 10:48 AM To: [EMAIL PROTECTED]ups.com Subject: Re: [flexcoders

Re: [flexcoders] Public getter, private setter?

2006-09-09 Thread Michael Schmalle
Hah!So in my post a couple days ago... This is just a guess but, I would be willing to bet this is a Player bug. I was right. hehePeace, MikeOn 9/8/06, Matt Chotin [EMAIL PROTECTED] wrote: So actually we investigated further and it turns out this is

[flexcoders] Re: Flex with FMS (something like Breeze...)

2006-09-12 Thread Michael Ritchie
I recently updated Adobe's FCS Text Chat example to work with Flex 2 and FMS, you can find my post and example here: http://thanksmister.com/?p=26 The problem with the Adobe examples are that they are outdated and some of the code to update them is not easy to find. I wanted an updated and

Re: [flexcoders] alpha value of a text field...

2006-09-14 Thread Michael Schmalle
Yeah, embed the font.You cannot change the alpha of system fonts or any font for that matter that does not have it's paths embeded into the application.Peace, Mike On 9/14/06, oktay nba [EMAIL PROTECTED] wrote: why can't we change alpha valueof a text field?

Re: [flexcoders] Re: Tree Component closing and opening item

2006-09-18 Thread Michael Schmalle
Hi,Actually, 'I think'... Having looked at the Tree code quite extensively, it is NOT possible.The reason being is the way the tween logic works in the Tree. When a tween is currently running, there cannot be any other tween going because there is only 1 instance of the tween in the whole tree.

Re: [flexcoders] call function (how-to)

2006-09-19 Thread Michael Schmalle
Hi,You could use;mx:Application ... creationComplete=drawer() .../mx:ApplicationPeace, MikeOn 9/19/06, caruso_canepari [EMAIL PROTECTED] wrote: Hi, I'm trying to use and understand Flex Builder. I made up this test function but I don't understand how it can

Re: [flexcoders] call function (how-to)

2006-09-19 Thread Michael Schmalle
BTW,Looking at your code, you cannot do this; mySprite.addChild(lab); addChild(mySprite);You need at least; mySprite.addChild(lab);var wrapper:UIComponent = new UIComponent();wrapper.addChild(mySprite); addChild(wrapper);Peace, MikeOn 9/19/06, Michael Schmalle

Re: [flexcoders] Converting Flash components to use in Flex

2006-09-20 Thread Michael Schmalle
Hi,Not a chance. The validation algorithm shares similar patterns but, on a whole what you will have to do is 'abstract' what you know about your Flash 8 component and transfer logic into the flex framework. 1. Flash 8 is AS2, there is a huge difference, interfaces, formatting, namespace

Re: [flexcoders] What is the most proper place to add event listeners to component's children?

2006-09-21 Thread Michael Schmalle
I would have to agree on the createChildren() override.There is no reason to get any more complicated than that. I have made a lot of the things called flex components and have had no need to put addEventListener() in any other spot EXCEPT commitProperties() [or some method that knows what it

Re: [flexcoders] Alpha setting of 0 doesn't work with controls' text

2006-09-21 Thread Michael Schmalle
Hi,The Label cannot have alpha applied to it unless you embed the font.TextField objects do not support alpha.Peace, MikeOn 9/21/06, tombaggett [EMAIL PROTECTED] wrote: Hi all, Shouldn't this code result in all the controls being invisible? ?xml version=1.0

Re: [flexcoders] Outline view in FB2 does not work with classes from mx.* package?

2006-09-22 Thread Michael Schmalle
Hi, For hacks sake, my temporary work around was just to link a folder that is mx in the project.Once you open the folder from a dir in your project regardless if it is linked or not, you get the outline view. It's a hack, but works for someone with no other options.Peace, MikeOn 9/22/06, Tom

Re: [flexcoders] Re: Where can I find the source code of Flex2 framework?

2006-09-22 Thread Michael Schmalle
They are (most likely) like the rpc sources not included.No, they are included. If you have a registered version of the charting components for FB2, you will find them here;C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\frameworks\source\mx\charts At least that is where they are on my

Re: [flexcoders] Re: UI Advise

2006-09-22 Thread Michael Schmalle
I read it to today also and man you have some good seeds there waiting to sprout ;-)Peace, MikeOn 9/22/06, Andrew Trice [EMAIL PROTECTED] wrote: No problem. Thanks for reading it! _ Andrew Trice Cynergy

Re: [flexcoders] Re: Resizable components

2006-09-27 Thread Michael Schmalle
ResizeManagerFX | Designed to be a rectangular mouse resizer | teotigraphics / Michael Schmalle |By the way,I have a transform manager that is coming out within a week that rotates and snaps. It does everything you would expect a Q(transform) key to do in a graphics program. looks exactly like

[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Michael Ritchie
I have a similar issue, I have the arraycollection of VO's returned from the CFC. I assign those to a datagrid, then on datagrid change event, assign the selected item to a VO to pass between my tiers. I always get error trying to access a null object. I can't seem to convert my arraycollection

[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Michael Ritchie
putting a small example together to demonstrate the issue, I will post it when I have it online. Thanks! - mr --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 28 September 2006 16:03, Michael Ritchie wrote: always get error trying to access a null object. I

[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Michael Ritchie
Thanks, I will try that and post my example so maybe some others can comment or find what they need if the solution works. --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi Michael, Alternatively, you could define the selectedItem in the ModelLocator. On the Change

[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Michael Ritchie
to the quick development of Cairngorm ;). I could not get some parts of the Cairngorm example to work, mainly the part that TH fixed. Maybe someone has a better solution or can locate where I messed up. Michael Ritchie --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi

Re: [flexcoders] Stats on flash player 9 penetration.

2006-10-01 Thread Michael Schmalle
Could it be that Flex 2 was in alpha back in Jan and it just is more wlecome because a lot of people were 'experiementing'.Just a thought,Peace, MikeOn 10/1/06, Matt Chotin [EMAIL PROTECTED] wrote: Some very popular sites require Player 9 because it

Re: [flexcoders] Bugs in Panel Component

2006-10-01 Thread Michael Schmalle
Hi,The 'bugs' you listed for the borders are not bugs. If you look into the HaloBorders class, you will find that roundedBottomCorners is only rendered with the 'default' and 'alert' borderStyle.As far as inset and outset, those are not rendered with corner radii either, so that is not a bug.

Re: [flexcoders] can NOT call method in component

2006-10-03 Thread Michael Schmalle
Hi,Since you are instantiating the component in an Application, the scope is off, comp:TimeText id=tt change=processTime (event) /needs to be comp:TimeText id=tt change=tt.processTime (event) /I know that isnt what you wanted to here but the scope always refers to the application everywhere

Re: [flexcoders] Re: can NOT call method in component

2006-10-03 Thread Michael Schmalle
function. where the heck do I learn that info? would going to MAXX help ?? any books you want to recomend? (wanna consult for $$$ ??? ) Bruce --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Since you are instantiating the component in an Application

Re: [flexcoders] Re: Alpha setting of 0 doesn't work with controls' text

2006-10-05 Thread Michael Schmalle
Hi,If I get what you are talking about, it's an optical illusion.They take the backgroundColor of the container and create a fill overlay 'over' the text. Then call an alpha tween on the overlay itself. That is why it looks like the dissolve tweens the text but, in actuality it doesn't.

Re: [flexcoders] Background behind the background is flashes grey. Want it white and nerdy

2006-10-06 Thread Michael Schmalle
Hi,I have had the same problem, I think it has something to do with how you are initializing the Application tag.Judah, why don't you post the top part of your app's code so we can see.Peace, Mike On 10/6/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 05 October 2006 22:27, dorkie dork

Re: [flexcoders] Logical place for data?

2006-10-06 Thread Michael Schmalle
Hi,You don't neccessarily 'have' to use 'C' ;-)All you need to do is understand what a 'singleton' pattern means and what bindable means.The principle of a model locator is simple. Create one object, create a public API for the one instance and store your data in the one instance while using

Re: [flexcoders] Problem with Action Script

2006-10-06 Thread Michael Schmalle
Hi,simply mx:Script source="file name"/ mx:Script source="file name2"/Peace, MikeOn 10/6/06, akash [EMAIL PROTECTED] wrote: Hi, Can anybody tell me how to include two actionScript files in an application? Actually I am using the following

Re: [flexcoders] Background behind the background is flashes grey. Want it white and nerdy

2006-10-06 Thread Michael Schmalle
until after the application is initialized. On a related note, if you actually want a backgroundColor of solid white, and not the gradient that is "divined" from the color you pick, be sure to set backgroundGradientColors to [0xFF, 0xFF]. -Peter On 10/6/06 7:25 AM, Michae

RE: **SPAM** [flexcoders] Bookmarks?

2006-10-07 Thread Michael Hýža
Hello You must use click on left side place where is holding icon shown. Kind regards Mike From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Kellogg @ Project SOC Sent: Saturday, October 07, 2006 1:55 PM To: flexcoders@yahoogroups.com

Re: [flexcoders] Multiple Inheritance

2006-10-10 Thread Michael Schmalle
lack of multiple inheritanceNot to start anything but, thankfully there is not multiple inheritence. Composition is an option but, from what you explain it sounds like the old, addEventListener() will do the trick. AS is event based, so that is the strong point. You can add a listener to

Re: [flexcoders] Multiple Inheritance

2006-10-10 Thread Michael Schmalle
I don't mean to ramble but, I shouldn't have even written the previous post becasue I am not looking at your problem.Peace, MikeOn 10/10/06, Michael Schmalle [EMAIL PROTECTED] wrote: Trust me, I use composition most of the time but for what you had described, events seemed like a viable

<    3   4   5   6   7   8   9   10   11   12   >