Re: [flexcoders] What functions do I need to override to return correct component size?

2007-06-01 Thread Michael Schmalle
client overlay you just add the selection as a child of the control? Thanks for your insight! Mark -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Michael Schmalle *Sent:* 31 May 2007 17:33 *To:* flexcoders@yahoogroups.com *Subje

Re: [flexcoders] Change Object Reference

2007-06-03 Thread Michael Schmalle
Hi, I would think that setting; vo = null; then vo = someNewObject would unlink the reference. OR vo = new Object(); then vo = someNewObject Peace, Mike On 6/3/07, Kevin <[EMAIL PROTECTED]> wrote: This may be a simple question, but it's stumping me. I have a component that contain

Re: [flexcoders] AS3 decorator pattern examples

2007-06-04 Thread Michael Schmalle
Hi, Look at all of the collection classes, IE ArrayCollection. Are you talking about decorating UIComponents? There are many uses for decorators but none at all. :) That is a pattern that sometimes is not needed with UIComponents. I would suggest getting familiar with creating tight public inte

Re: [flexcoders] CDATA and E4X

2007-06-04 Thread Michael Schmalle
Hey man, I just hacked this out. it's ugly but works. function cdata(string:String):XML{ return new XML('') } var username = "Jesse"; var lastname = "Warden"; var re:XML = {username} {cdata(lastname)} Peace, Mike On 6/4/07, Jesse Warden <[EMAIL PROTECTED]> wrote: How do

Re: [flexcoders] Adding custom styles to MXML component

2007-06-05 Thread Michael Schmalle
Hi, it's [Style(name="myStyle")] Peace, Mike On 6/5/07, borekbe <[EMAIL PROTECTED]> wrote: I'm trying to create a MXML component with custom [Style] defined is section. The compiler is complaining that "[Style] must annotate a class". I understand this message and I see where the pro

Re: [flexcoders] Mixing styles in a single component

2007-06-06 Thread Michael Schmalle
Hi, html text OR setting the text format object of the text field. Peace, Mike On 6/6/07, Guido <[EMAIL PROTECTED]> wrote: Hi, my question is a simple one, yet I can't seem to fancy a way of doing this. Basically, I want to know how possible it is to set a style to a "certain part" of the

Re: [flexcoders] nested layout containers - file size or other concerns

2007-06-06 Thread Michael Schmalle
Hi, File size is based on linked classes. So the answer is no on nested containers affecting SWF size. of course if it is an mxml file size, the more text the larger the file. ;-) The more containers you have the slower your app will be to resize. Although, Container is a very fast component and

Re: [flexcoders] nested layout containers - file size or other concerns

2007-06-06 Thread Michael Schmalle
I have to make one amendment to what I said; There would be a slight increase in the SWF size because of how the compiler creates component descriptors. But, the SWF will not keep linking in the classes. Peace, Mike On 6/6/07, Michael Schmalle <[EMAIL PROTECTED]> wrote: Hi, File s

Re: [flexcoders] Re: Event is Raised ONCE and Firing TWICE

2007-06-07 Thread Michael Schmalle
Hi, I think he is referring to the old AS2 event model that used a backdoor this['on' + funcName](eventObj) handler if a listener was not specified. This is not how EventDispatcher in AS3 works now. Could I see a bit more code? This has to be something really simple but, there is no answer in w

Re: [flexcoders] Metadata question

2007-06-08 Thread Michael Schmalle
Yes, use the xml reflection and there is a meta data node for the member it was defined on. Peace, Mike On 6/8/07, Paul deCoursey <[EMAIL PROTECTED]> wrote: Does anybody know if it's possible to define our own metadata and access that info at runtime? For example, I'm writing a XML-Object

Re: [flexcoders] Metadata question

2007-06-08 Thread Michael Schmalle
blic var activevideoangle:String; public var clip:com.decoursey.xmeml.Clip; public function Angle() { } } And then at runtime I'd like to inspect the metadata, or even have the compiler generate some extra code based on the metadata. How do I do that? Can I do that? Michael Schmalle wrot

Re: [flexcoders] Metadata question

2007-06-08 Thread Michael Schmalle
hoping for something more along the lines of Annotations like in Java 1.5. I think that I will probably try some other avenue since this appears to be a dead end. Paul Michael Schmalle wrote: > Well, don't have exactly what I wanted to say but, > > see > > Re: Flex 2 Co

Re: [flexcoders] Making a flex app pretty

2007-06-08 Thread Michael Schmalle
Imagination Peace, Mike On 6/8/07, Christopher Olsen <[EMAIL PROTECTED]> wrote: What tool would one use to make a flex apps interface pretty? -christopher -- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by so

Re: [flexcoders] Metadata question

2007-06-08 Thread Michael Schmalle
And here lies the trick -keep-as3-metadata=Bindable,Managed,ChangeEvent,NonCommittingChangeEvent You have to say what you want to show up.. Peace, Mike On 6/8/07, Gordon Smith <[EMAIL PROTECTED]> wrote: Yes, you can define your own metadata and access it at runtime using the describeType(

Re: [flexcoders] The future of Flex IDE's

2007-06-14 Thread Michael Schmalle
Eclipse can still be extended... I wish Adobe after this Flex 3 push would really focus some effort on letting people know how to extend their API's. I myself have written java, but really have no idea where to start if I wanted to add a plugin say, a code formater to flex builder right now. ...

Re: [flexcoders] The future of Flex IDE's

2007-06-14 Thread Michael Schmalle
Load up Flex Builder --> Help --> Help Contents Look at Platform Plug-in Developer Guide and Plug-in Development Environment guide. And/or google "Eclipse Plugin Tutorials". Ok, thanks for the gogo baba talk but, you missed what I am saying. So that is why they provide an API, I guess it's

[flexcoders] Flex3 :: ModuleManager :: not dispatching READY

2007-06-14 Thread Michael Schmalle
Hi, I have this simple setup; A module in ; /modules/HelloWorldModule.swf in creation complete in the main application; private function creatModule():void { var module:IModuleInfo = ModuleManager.getModule ("modules/HelloWorldModule.swf");

Re: [flexcoders] Flex3 :: ModuleManager :: not dispatching READY

2007-06-14 Thread Michael Schmalle
:IModuleInfo was your only handle but it is local so as soon as it goes out of scope it can go away. Move it to an instance variable and you'll be fine. -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Michael Schmalle *Sent:* Thurs

Re: [flexcoders] Flex3 :: ModuleManager :: not dispatching READY

2007-06-14 Thread Michael Schmalle
eace, Mike On 6/14/07, Michael Schmalle <[EMAIL PROTECTED]> wrote: Thanks you Alex. Now I really understand what is going on. I actually ran into this problem when I was using a ModuleOperation class that is in a service design pattern. The operation calls getModule(), and I actually

Re: [flexcoders] The future of Flex IDE's

2007-06-14 Thread Michael Schmalle
ipse. Why would Adobe devote time to that? I'm not sure what 'special' API you think that Adobe should provide or document. Michael Schmalle wrote: > > > > > Load up Flex Builder --> Help --> Help Contents > > > Look at Platform Plug-in Developer Gu

Re: [flexcoders] borderSkin is ignored if the backgroundColor is not set?

2007-06-15 Thread Michael Schmalle
Hi Brian, 2. ... If there is no backgroundColor defined it is NaN which will not render in the drawRoundRect() method. 3... Stupid question but, have you made sure all other vars are not null that are being passed to the drawRoundRect() method? That example has to work, can you paste all of y

Re: [flexcoders] Flex 3 and AIR 1 are now live!

2008-02-24 Thread Michael Wills
It's multiplatform now, too. Very much appreciated! Matt Chotin wrote: > > http://www.adobe.com/products/flex > http://www.adobe.com/products/air > > And best of all: http://opensource.adobe.com/flexsdk >

Re: [flexcoders] Flex Builder 3 Education?

2008-02-25 Thread Michael Wills
And since the flexregistration site is only for faculty and students, there is no education pricing anymore then, correct? Michael Matt Chotin wrote: > > Yes. Go to http://www.flexregistration.com. > <http://www.flexregistration.com.> The site will be updated > tomorrow,but

[flexcoders] Blur Area Question

2008-03-04 Thread Michael Wagner
Hello: I have a question about the Blur Effect Also, is there a way to specify blur area? Example: if I have a picture, and I just want to blur the 4 edges, can I control the blur area? Thanks, Michael.

[flexcoders] Re: getting authenticating error

2008-03-26 Thread Michael Labriola
Parag, Send me the code offline and I will help you debug. I am not sure I understand the issue currently. Mike --- In flexcoders@yahoogroups.com, "Parag Metha" <[EMAIL PROTECTED]> wrote: > > Hi All, > > I have written multiple login testcases using dpunit and using sequence as > per sampl

[flexcoders] Image centering

2008-03-29 Thread Michael Wagner
Bitmap(bitmappicturefrom); myBitmap.x = 100; myBitmap.y = 100; *area.draw(myBitmap);* Thanks, Michael.

Re: [flexcoders] Image centering

2008-03-31 Thread Michael Wagner
0.0) instead of (35,200) How it would be with mx:Image based on my example ? Thanks, Michael. On 3/30/08, Alex Harui <[EMAIL PROTECTED]> wrote: > >Use the mx:Image tag > > > -- > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL

Re: [flexcoders] Image centering

2008-03-31 Thread Michael Wagner
= LoaderInfo( event.target ).content; var bitmapData:BitmapData = new BitmapData( content.width, content.height ); bitmapData.draw( content ); and what I need is this bitmapData ( that contains an image ) to be centered in another bitmap Thanks Michael. On 3/31/08, Michael Wagner <[EMAIL PROTEC

Re: [flexcoders] Image centering

2008-04-01 Thread Michael Wagner
* sprite:Sprite = *new* Sprite(); bmp.x = 200, bmp.y = 50; *var* bitmapData2:BitmapData = *new* BitmapData( 500, 500 ); bitmapData2.draw(sprite,*new* Matrix()); Thanks, Michael. On 4/1/08, Vadim Alekseevski <[EMAIL PROTECTED]> wrote: > >You must set position from Matrix. > &g

[flexcoders] Irregular shape

2008-04-11 Thread Michael Wagner
(15,15) and so on This irregular area ends with the starting point Thanks, Michael.

[flexcoders] OLAPDataGrid Formatting

2008-04-17 Thread Michael Amban
Hi I need an advise. i have this code below. i want to put the date as the colQueryAxis my problem is i cant format the date into "MM/DD/". Is the OLAPDataGrid have a property that works like labelFunction? thanks in advance. data:Object = { customer:"AAA", product:"ColdFusion",

[flexcoders] Grayscale Mask

2008-04-24 Thread Michael Wagner
Hi: I would like to make a mask / effect in Flex to get from a.bmp using b.bmp as a mask to get c.bmp using bitmap operations probably. Do you know how it can be done? Thanks, Michael. <><><>

Re: [flexcoders] Converting Object To XML

2008-04-30 Thread Michael Wills
Here is an example that might be helpful: http://blog.flexexamples.com/2008/03/04/converting-objects-to-xml-packets-using-the-simplexmlencoder-class-in-flex/ Jim Hayes wrote: I guess you'd start with looking at SimpleXMLEncoder : from the help > "The SimpleXMLEncoder class take ActionScrip

Re: [flexcoders] Re: Need help finding and fixing SQL Error in AIR App

2008-04-30 Thread Michael Wills
Going back over this conversation, perhaps you could use a pastebin to post the code chunks? I have seen http://pastebin.org/ but I haven't used it before. I am curious about the invalid characters though because the only thing I have seen in the docs so far is that you have to use two single q

[flexcoders] Socket receive limit

2008-05-06 Thread Michael Baird
Working with the AS3 Socket class, I'm trying to connect to a .NET socket server. I can establish the connection and send and receive data successfully, but if the data from the server-side is greater than 1260 bytes, the packet gets severed. However, this isn't always the case... My packet is var

Re: [flexcoders] Socket receive limit

2008-05-07 Thread Michael Baird
ome other portions of the app. I don't intend to use packets full of XML forever, but it works for now. After buffering the data, it looks like Flash was splitting up the 4400-byte socket into three pieces, and now it's pulling it altogether successfully. Thanks very much for the advice!

[flexcoders] TileList Fluid Width Columns

2008-05-09 Thread Michael Trim
. Should I set the columnWidth through ActionScript onResize(or whatever) or is there a simpler solution I am missing, I'm fairly new to Flex (but not AS3). Any suggestions gratefully received. Michael

[flexcoders] ContextMenuEvent over a List

2008-05-15 Thread Michael Slinn
I want to detect if the user right-clicked over a list item. The following throws an error (mouseEventToItemRenderer wants a MouseEvent, not a ContextMenuEvent, and the cast to MouseEvent is illegal), but the following code shows what I mean: private function handleMenuSelect(event:ContextMenuEve

[flexcoders] Re: New to flex, wonder why one works and the other doesn't...

2008-06-01 Thread Michael Labriola
Guys, sorry, but that's not quite right. UIComponents can contain other UIComponents without being a container. It is a common use case. Take a look at the simple example Adobe includes with their docs: http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp.h tm?href=1742.html

[flexcoders] Re: Air App - Check connection

2008-06-01 Thread Michael Labriola
Indra, Look in the AIR help files for the presence API. I think this article also covers it, but not sure how up to date it is: http://www.adobe.com/devnet/air/flex/articles/flickr_floater_06.html HTH, Labriola --- In flexcoders@yahoogroups.com, Indra Prastha <[EMAIL PROTECTED]> wrote: > >

[flexcoders] Re: book errata

2008-06-02 Thread Michael Labriola
If you find anything specific and it is not yet on the peachpit site, feel free to email me directly off-list. --- In flexcoders@yahoogroups.com, Joseph Balderson <[EMAIL PROTECTED]> wrote: > > Check the peachpit website. > _

[flexcoders] Re: New to flex, wonder why one works and the other doesn't...

2008-06-02 Thread Michael Labriola
__ __ > > Joseph Balderson | http://joeflash.ca > Flex & Flash Platform Developer | Abobe Certified Developer & Trainer > Author, Professional Flex 3 (coming Winter 2008) > Staff Writer, Community MX | http://communitymx.com/author.cfm? cid=4674 > &g

Re: [flexcoders] Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-02 Thread Michael Schmalle
Hi, Have you tried; myMenu.dataDescriptor.setEnabled(myMenuData.menuDrill.menuDown[0],false); Mike On Mon, Jun 2, 2008 at 12:38 PM, Marty Pitt <[EMAIL PROTECTED]> wrote: > this is extremely close to what I'm trying to do. > (I posted here earlier today looking for a solution!) > > You can mo

[flexcoders] CreatePopUp encounters null nativeWindow error

2008-06-02 Thread Michael Slinn
The following short AIR application dies: http://www.adobe.com/2006/mxml";> The error is: [SWF] Main.swf - 902,561 bytes after decompression TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.core::Window/get v

Re: [flexcoders] CreatePopUp encounters null nativeWindow error

2008-06-02 Thread Michael Schmalle
Hi, Window is not meant to be a popUp, it actually wraps a NativeWindow. You need to use Panel. If you actually want to create a new window, you will need to create a new Window and call it's open() method. Mike On Mon, Jun 2, 2008 at 2:52 PM, Michael Slinn <[EMAIL PROTECTED

Re: [flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-02 Thread Michael Schmalle
- In flexcoders@yahoogroups.com , "Michael > Schmalle" > > <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > Have you tried; > > > > > myMenu.dataDescriptor.setEnabled(myMenuData.menuDrill.menuDown[0],false); > > > > Mike >

Re: [flexcoders] Using CSS with custom item renderers

2008-06-02 Thread Michael Schmalle
Hi, Why do you have backgroundAlpha:0 and you're setting a backgroundColor? There should be a background there but you are making it's alpha 0. Try setting the backgroundAlpha style higher than 0. Mike On Mon, Jun 2, 2008 at 5:47 PM, Amy <[EMAIL PROTECTED]> wrote: > Hi, all; > > I'm trying

Re: [flexcoders] What is the default itemRenderer for a List?

2008-06-02 Thread Michael Schmalle
Hi, mx.controls.listClasses.ListItemRenderer Mike On Mon, Jun 2, 2008 at 4:42 PM, Amy <[EMAIL PROTECTED]> wrote: > What is the default itemRenderer for a List? > > Thanks; > > Amy > > > -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Grahix Blog http://www.blog.teotigraphix.com

[flexcoders] Flex Kiosk Development

2008-06-03 Thread Michael Trim
long periods of time under heavy, sustained use. thanks, Michael

[flexcoders] Re: Flex Kiosk Development

2008-06-03 Thread Michael Trim
d to this specifically on flex? Thanks for the reply. Michael

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-03 Thread Michael Schmalle
Hi, The reason this is not working with TypeSelectors is because the styleName property of the item renderer is getting set to the LisContentHolder instance (it's parent). Mike On Tue, Jun 3, 2008 at 9:49 AM, Amy <[EMAIL PROTECTED]> wrote: > --- In flexcoders@yahoogroups.com , "Josh > McDonal

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-03 Thread Michael Schmalle
The solution http://www.adobe.com/2006/mxml"; width="200" height="50"> Mike On Tue, Jun 3, 2008 at 10:36 AM, Michael Schmalle <[EMAIL PROTECTED]> wrote: > Hi, > > The reason this is not working with TypeSelectors

Re: [flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread Michael Schmalle
Hi, Without looking at your exact dataProvider with a simple Application, I can't help much. I got this to work yesterday using @enabled = false on the node. But the ex4 implementation various on 'WHERE' you are trying to set the enabled of the node. Can you post a simple mxml Application? Mik

Re: RES: [flexcoders] Using CSS with custom item renderers

2008-06-03 Thread Michael Schmalle
your TypeSelector again. If that dosn't work, override updateDisplayList() and unset it after super(). Mike On Tue, Jun 3, 2008 at 11:48 AM, Amy <[EMAIL PROTECTED]> wrote: > --- In flexcoders@yahoogroups.com , > "Michael Schmalle" > <[EMAIL P

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

2008-06-04 Thread Michael Schmalle
I'll Chime in on this since.. I could call myself a professional component developer. I had the same worries about source and intellectual property (2 years ago). What I have found in the real component market, developers will buy your component without code IF you have a site and support backing

Re: [flexcoders] fixed sized VBox

2008-06-08 Thread Michael Schmalle
Hi, No, this is a design decision within the framework. This is a hard fast rule; Whenever you want scrollbars in a child container, set the parent container's minWidth or minHeight (whichever scrollbar yo want) to 0. This will force the layout manager to crunch the child within it's parent's vi

Re: [flexcoders] Flex Css & Html Css

2008-06-08 Thread Michael Schmalle
No, you can't do this. Flex CSS is not 'real' css and does not conform to WC3. Mike On Sun, Jun 8, 2008 at 12:19 AM, xaero <[EMAIL PROTECTED]> wrote: > In HTML, I can set my page's background like this: > > body { > background:url(bg.gif) repeat-x left bottom; > } > > > But in Flex,can I se

Re: [flexcoders] Re: Flex Css & Html Css

2008-06-09 Thread Michael Schmalle
2008 at 1:27 AM, xaero <[EMAIL PROTECTED]> wrote: > And then How can I set the page's background like in the HTML Css? > That is: > background-repeat: repeat-x; > background-PositionX: left; > background-PositionY: bottom; > > --- In flexcoders@yahoogroups.c

Re: [flexcoders] Cannot access a property or method of a null object reference?

2008-06-09 Thread Michael Schmalle
Hi, >From the look if it ;ComboBox(event.target).selectedItem seems to be where the null pointer is. Make sure you actually have a selectedItem in the list. I have actually done this myself when testing and actually forgot to 'select' an item before a service call. Mike On Mon, Jun 9, 2008 at

Re: [flexcoders] Howto Create Flex Builder Custom Component folders?

2008-06-09 Thread Michael Schmalle
Hi, Nope, component devs are out of luck with this. You could file an enhancement request for Flex Builder 4. :) Mike On Mon, Jun 9, 2008 at 11:26 AM, Mark Doberenz <[EMAIL PROTECTED]> wrote: > I'm creating a Flex library project for work and it's ending up being a > BUNCH of little custom c

Re: [flexcoders] Re: Cannot access a property or method of a null object reference?

2008-06-09 Thread Michael Schmalle
ass:Object = new Object(); > atClass.atcls = ComboBox(event.target).selectedItem.data; > Alert.show(atClass["atcls"],"ALERT"); > //gateway.call("cys.getStudents", new Responder(onResult, onFault), > atClass); //line 51 > > It can show the data of the item

Re: [flexcoders] Howto Create Flex Builder Custom Component folders?

2008-06-10 Thread Michael Schmalle
9, 2008 at 10:35 AM, Johannes Nel <[EMAIL PROTECTED]> >> wrote: >> >>> or you could create your own exlipse plugin to go with your components >>> to manage this. >>> >>> >>> On Mon, Jun 9, 2008 at 5:33 PM, Michael Schmalle

Re: [flexcoders] Footer for Panel

2008-06-10 Thread Michael Schmalle
Hi, I quickly tested this and I see the custom control bar in the view. Did you refresh it? Mike On Tue, Jun 10, 2008 at 10:20 AM, markgoldin_2000 <[EMAIL PROTECTED]> wrote: > I am trying to have a footer with text for my Panel. > Here is my panel: > borderThicknessLeft="0" > borderThicknes

Re: [flexcoders] How to change border around the defaultButton

2008-06-11 Thread Michael Schmalle
I don't think Flex 3 implemented this. I know there is some free button skins out there. Try googling 'flex button border skin'. Mike On Wed, Jun 11, 2008 at 9:02 AM, kenoveandersen <[EMAIL PROTECTED]> wrote: > I cant find a way to change the default thick blue border around the > button tha

Re: [flexcoders] Creating Custom Component

2007-08-29 Thread Michael Schmalle
Hi, Why are you creating a Label inside a Label? That will not work. package myComponents { import mx.controls.Label; public class SelectSchoolBuildingsLabel extends Label { private function SelectSchoolBuildingsLabel ():void { super(); text = "Select School Building";

Re: [flexcoders] AS3 Components?

2007-08-31 Thread Michael Schmalle
Doug, How can you use 'Flex 2 SDK ' in Flash CS3 ? Peace, Mike On 8/31/07, Doug McCune <[EMAIL PROTECTED]> wrote: > > FlexLib is Flex-framework dependent, I think Jesse was asking about AS3, > non-Flex libraries (ie you can use them in Flash proje

[flexcoders] TextInput control and long text

2007-09-04 Thread Michael Ritchie
the text to show the beginning of the text again, but nothing seems to stick. Any ideas? - Michael

Re: [flexcoders] How to add "click" to a Image when using AS / AddChild

2007-09-04 Thread Michael Schmalle
Hi, try newImage.data = //set here and you can access it in the click handler newImage.addEventListener(MouseEvent.CLICK, doStuff); Peace, Mike On 9/4/07, oneproofdk <[EMAIL PROTECTED]> wrote: > > Hi > > I'm adding images to a vbox using as and addchild. > Only thing is, that I cant figure out

[flexcoders] Re: TextInput control and long text

2007-09-04 Thread Michael Ritchie
Thanks for the suggestion Alex, but that doesn't seem to help. I set it using AS and not MXML, thought it might be related to this bug: http://bugs.adobe.com/jira/browse/SDK-387 and this one seems to be match for my issue: http://bugs.adobe.com/jira/browse/SDK-1057 --- In flexcoders@yahoogrou

[flexcoders] Re: TextInput control and long text

2007-09-05 Thread Michael Ritchie
me: > > > xmlns:mx="http://www.adobe.com/2006/mxml"; > > > > > > > > Focus into first textinput, type until it scrolls, tab out to next > textinput. > > ____ > > From: flexcoders@yahoogroups.com [mailto:[EMA

[flexcoders] Re: TextInput control and long text

2007-09-05 Thread Michael Ritchie
I got the horizontalScrollPosition to work from the protected function onFocusOut of my custom component (extending TextInput). I placed a callLater function inside the onFocusOut function to set the position, this seems to work fine for setting it from AS. -Michael --- In flexcoders

Re: [flexcoders] Re: NEW FLEX WEBSITE: ManureMail.com

2007-09-06 Thread Michael Schmalle
Yeah, That struggle was evident from the transition of MS DOS to Windows... Application centric internet/desktop IS the future, just depends on the road we take to get there. Peace, Mike On 9/6/07, Tony Alves <[EMAIL PROTECTED]> wrote: > > Randy, > > I second that sentiment! Flex kicks ass! >

[flexcoders] Best DataProvider for Combo Box

2007-09-06 Thread Michael Sumner
()? These functions in turn call service_ro.getMember etc. Thanks, Michael Sumner Nations Best Sports 817-788-0034 ext 244 817-788-8542 fax

[flexcoders] Why will Debug show all my datagrid results

2007-09-06 Thread Michael Sumner
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFun ction() at flash.events::EventDispatcher/dispatchEvent() at mx.messaging.channels::NetConnectionChannel/::defaultErrorHandler() at mx.messaging.channels::NetConnectionChannel/::securityErrorHandler

Re: [flexcoders] TitleWindow sozing help needed

2007-09-07 Thread Michael Schmalle
Hi, That is good ole mathematics. You need to calculate the popups new width and height, then use that to calc the x and y using the stage.screen dimensions. Peace, Mike On 9/7/07, Mark <[EMAIL PROTECTED]> wrote: > > I'm poping up a title window and would like the size to be a > percentage of

Re: [flexcoders] Changing the Custom ContextMenu Look and Feel

2007-09-07 Thread Michael Schmalle
Hi, You can change the look and feel of a native context menu. You can't even put icons in it. You could ask for a feature request. Peace, Mike On 9/7/07, sk_acura <[EMAIL PROTECTED]> wrote: > > Hi All, > > I am trying to have a Custom Context Menu on the Items i have in my > Canvas. > > I am

Re: [flexcoders] constructors in extended components: can they take arguments?

2007-09-07 Thread Michael Schmalle
Hi, responding to the first question; Why not use styles for that? We as developers need to understand there are 3 interfaces into a UIComponent. 1. Events 2. Styles 3. Class API With that said, dealing with your example class; public class LabeledRenderer2 extends UIComponent implements IDat

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, button.setActualSize(button.getExplicitOrMeasuredWidth(),

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 , > grimmwerks <[EMAIL PROTECTED]> wrote: > > > > Anyone have any tricks/settings for the Flex IDE on a dual

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

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 , > "candysmate" <[EMAIL PROTECTED]> wrote: > > > > --- In flexcoders@yahoogroups.com , > "Michael Schmalle"

[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 And I want to include more than one instance of this component in a single application:

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
purchase packages. > > Yours is excellent! I especially like the anchor indicators and > resize effect. > > --- In flexcoders@yahoogroups.com , "Michael > Schmalle" > <[EMAIL PROTECTED]> wrote: > > > > Doug, > > > > > You have solved a

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 se

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 AASDSD_32213

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

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

2007-09-11 Thread Michael Schmalle
l get 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

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. class JuiceMaster implemented IJuiceMaker { public

Re: [flexcoders] Decorator Pattern 101

2007-09-12 Thread Michael Schmalle
Oh yeah is supposed to be; On 9/12/07, Michael Schmalle <[EMAIL PROTECTED]> wrote: > > 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

Re: [flexcoders] Decorator Pattern 101

2007-09-12 Thread Michael Schmalle
re I > had read that the Decorator was what I needed :( > > I'll do it as you 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: > > >

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

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 st

Re: [flexcoders] Decorator Pattern 101

2007-09-13 Thread Michael Schmalle
ecorate the Button with JuiceMaster, 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 lo

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

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 Vid

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 pa

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 cust

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