Re: [flexcoders] Styling in Flex is officially ridiculous

2006-11-29 Thread Michael Schmalle
mean when you say the Button's border? Or, what do you want... Peace, Mike On 11/29/06, Michael Schmalle [EMAIL PROTECTED] wrote: Andy, It answers his question and it does work. If the label is present, you click on the label and the Button functions correctly. I don't know what he is aiming

Re: [flexcoders] Styling in Flex is officially ridiculous

2006-11-29 Thread Michael Schmalle
-- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Michael Schmalle *Sent:* Wednesday, November 29, 2006 11:05 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Styling in Flex is officially ridiculous Well, Before your

Re: [flexcoders] accordion, load ALL

2006-11-29 Thread Michael Schmalle
can you explain why you want to populate a child tab that the user can't yet see? Man, I knew you were going to say something! haha Gordon, you should have a filter on you email that can regexp creationPolicy=all and have it send out an auto email, something like when people go out on

Re: [flexcoders] Re: Styling in Flex is officially ridiculous

2006-11-29 Thread Michael Schmalle
: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On Behalf Of Michael Schmalle Sent: Wednesday, November 29, 2006 11:50 AM To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Subject: Re: [flexcoders] Styling in Flex

Re: [flexcoders] Looping creating objects, how do you do this: var myRadio[b+i]:RadioButton = new RadioButton();

2006-11-19 Thread Michael Schmalle
Another thing could be; myRadio[b+i]:RadioButton = new RadioButton(); if you are trying to name them var button:RadioButton = new RadioButton(); myRadio.name = b + i; then if you are trying to query the button by name; var button:RadioButton = RadioButton(myParent.getChildByName(b + i));

Re: [flexcoders] slider with 2 thumbs a 3 colors, how?

2006-11-06 Thread Michael Schmalle
Hi,Check the Flex exchange, there is an example and download there.Peace, MikeOn 11/6/06, shemeshkale [EMAIL PROTECTED] wrote: hello list, i have an HSlider with 2 thumbs: A-t1-t2-b now i want to have 3 colors: - A-t1 = red - t1-t2 = green - t2-b

Re: [flexcoders] Dynamically size a tile-list?

2006-11-06 Thread Michael Schmalle
Hi,Try using the measureWidthOfItems(index:int = -1, count:int = 0):Number and measureHeightOfItems(index:int = -1, count: int = 0):Number of the ListBase class.I have had good luck using these methods. The calculations are based off of the dataProvider. I think this is what you are looking

Re: [flexcoders] Realtime Panel position sync?

2006-11-06 Thread Michael Schmalle
Hi Even,I think what is happening is you are seeing the startDrag() method interacting with the player's x and y properties of the DisplayObject.Whereas the UIComponent is bound by xChanged event, the player does not dispatch an event. The only reason you are even getting the panel to move with

Re: [flexcoders] Re: Realtime Panel position sync?

2006-11-06 Thread Michael Schmalle
Hi Doug,I actually tested that and the bindings I have mentioned don't get fired from the player.These two methods are the devil in disguse when trying to make things work from the flexframework.BTW, when the x OR y of a UIComponent change, it's the move event that gets broadcast, so

Re: [flexcoders] Re: Shortcut for creating and dispatching events

2006-11-04 Thread Michael Schmalle
Hi,It needs to be;model.dispatchEvent( new TextEvent(SEARCH_MACHINES, false, false, String(dgItems.selectedItem.machine)));Peace, MikeOn 11/4/06, boy_trike [EMAIL PROTECTED] wrote: The signature for the TextEvent already HAS the text property. from

Re: [flexcoders] Draggable Panels

2006-11-03 Thread Michael Schmalle
Using the PopUpManager.addPopUp() or createPopUp() will make a TitleWindow draggable.Is this what you want?Peace, MikeOn 11/2/06, klethron [EMAIL PROTECTED] wrote: Hello All, I am just starting into Flex 2 and im loving it. Is there any way to make my Flex

Re: [flexcoders] Detect scrollbar showing/not showing

2006-11-03 Thread Michael Schmalle
Hi,Another way to do it is;if (myContainer.verticalScrollBar){ trace(we have v scoll);}else{ trace(no v scroll bars);}You can do the same with horizontalScrollBar. These are public properties, so it is not an event that is saying we are creating them but, you will always know through composite

Re: [flexcoders] Detect scrollbar showing/not showing

2006-11-03 Thread Michael Schmalle
On another note now that I thought about it;Use the Event.ADDED.Add an event listener to the container, then you really just could check the if() statement I gave earlier regarding the verticalScrolBar and horizontalScrollBar properties of the container. These properties WILL be assigned by the

Re: [flexcoders] Detect scrollbar showing/not showing

2006-11-03 Thread Michael Schmalle
way you could remove the logic from your layout.Peace, MikeOn 11/3/06, Daniel Cascais [EMAIL PROTECTED] wrote: Michael, Karl, Thanks for your inputs. I'm doing some dynamic tile layout and sizing which requires me to set different params depending

Re: [flexcoders] specifying measuredWidth/measuredHeight in a skin

2006-11-03 Thread Michael Schmalle
Hi Brian,This dosn't make sense...What are you subclassing for the skin class?I use ProgrammaticSkin and RectangularBorder all the time and have never specified measuredWidth or measuredHeight in a skin. I get none of the things you are talking about. Are you using an image or drawing API in

Re: [flexcoders] Custom Component Question - array collection

2006-11-03 Thread Michael Schmalle
Yes,So you are setting the dataProvider of the ComboBox in your custom component?If so, where are you setting it?Peace, MikeOn 11/3/06, Wally Randall [EMAIL PROTECTED] wrote: I have made a custom component from a standard combo box with an array collection

Re: [flexcoders] Re-importing projects?

2006-11-03 Thread Michael Schmalle
Hi,Can you remove the source file, clean the project, add the source file back and do another clean?Or how about just cleaning it? Where is your source file, is it a build path setting?Seems to me you could also edit the properties xml file, take it out, clean the project and then redo. I have

[flexcoders] Re: Adding rows to dataGrid programatically

2006-11-02 Thread Michael Labriola
I am not sure this is going to answer your question, but you could clone one of the other rows and just change the contents. That way you would not need to know specifically what the root tag of the particular node is.. --Mike --- In flexcoders@yahoogroups.com, iko_knyphausen [EMAIL PROTECTED]

[flexcoders] Re: TextArea in Grid - too big

2006-11-02 Thread Michael Labriola
Precia, Just need to ask the question, does it absolutely have to be a TextArea? The TextField class (and descendants) have an autoSize property and more control over some of these aspects. --Mike --- In flexcoders@yahoogroups.com, app.developer [EMAIL PROTECTED] wrote: When creating a

[flexcoders] Re: How do I expand a tree through Action Scripts

2006-11-02 Thread Michael Labriola
Hara, Take a look at the expandChildrenOf () method of the tree class. public function expandChildrenOf(item:Object, open:Boolean):void Opens or closes all the tree items below the specified item. Parameters item:Object — the starting item open:Boolean — toggles an open or close

Re: [flexcoders] MouseEvent.DOUBLE_CLICK am I missing something

2006-11-02 Thread Michael Schmalle
Hi,Did you set the property doubleClickEnabled to true ?Peace, MikeOn 11/2/06, Paul Evans [EMAIL PROTECTED] wrote: In my first week of ActionScript 3 development. Working on Mac OS X with Flex 2 Builder Beta and Flash 9 Alpha Preview, Player: 9,0,18,60.

Re: [flexcoders] Flex 2 - Extended Tree, now events aren't working : (

2006-11-02 Thread Michael Schmalle
Hi,Sounds like there is something messed up with the XML setting branches etc.When you subclass a Tree, everything will work as expected. Have you tried using the same XML source in a non subclassed Tree component? When you say you are accessing it through a descriptor, did your write a custom

Re: [flexcoders] Force redraw of component?

2006-11-02 Thread Michael Schmalle
Basically,What are you trying to do?There are things that you think you might be able to do but can't.Can you give solid examples of what 'skins' you are trying to change?styleName setter calls a complete styleChanged(null) call and will refresh all skins that are supposed to refresh. I doubt

[flexcoders] Re: Installing FDS As Win2003 WebService

2006-11-01 Thread Michael Labriola
Check out fireDaemon, it is handy for this type of situation: http://www.firedaemon.com/ It will let you run the command line integrated jrun fds as a service. --Mike --- In flexcoders@yahoogroups.com, Shannon Hicks [EMAIL PROTECTED] wrote: But there's no version of JRun that is free, and

Re: [flexcoders] doLater in Flex2? is it gone?

2006-11-01 Thread Michael Schmalle
Hi,It's named callLater() now.Peace, MikeOn 11/1/06, Mark Piller [EMAIL PROTECTED] wrote: Does anyone know what happened with doLater() in Flex2? I cannot seem to find any references to the function in the language reference

[flexcoders] Re: Tree not updating with correct XML

2006-11-01 Thread Michael Labriola
Aaron, Need to clarify something: When you say : The XML is changes, do you mean that the XML data retrieved from http://Path/To/XML.aspx changes or that you change the XMl after loading at the client? I don't want to answer the wrong question, but the mx:XML tag includes data at compile

[flexcoders] Re: using a linkbar with a viewstack... how can you indicate current selection

2006-11-01 Thread Michael Labriola
Hank, If you are setting the dataProvider of the linkBar to the viewStack, the LinkBar will indicate the selectedChild of the viewStack as a disabled button on the bar. The linkbar responds to the viewStack. When you say you are setting the selectedIndex to 0, do you mean you are setting it on

[flexcoders] What's the best place to report Flex framework bugs?

2006-11-01 Thread Michael Klishin
Hi, I have several bug requests and 2 patches for Flex framework. What's the best place to this? Is it Adobe's general bug request form? Regards, -- Michael, puts self.inspect # = { Flex, Red5, Java, Ruby, insomnia } -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders

[flexcoders] Re: Filtering a Datagrid

2006-10-31 Thread Michael Labriola
Rick, Check out the filter capabilities of the list collections. Basically, the dataProvider of the datagrid can be filtered as you requested. --Mike --- In flexcoders@yahoogroups.com, Rick Root [EMAIL PROTECTED] wrote: Let's say I've got a datagrid containing a persons gifts to the

[flexcoders] Re: filterFunction between ViewStack MXML components

2006-10-31 Thread Michael Labriola
/mx:VBox /mx:Canvas --- In flexcoders@yahoogroups.com, Michael Labriola labriola@ wrote: If I understand your question correctly (and I am not sure that I do), I would personally put your filter function in the file that currently calls the HTTPService and gets the result. Unless you

[flexcoders] Re: Custom datagridcolumns

2006-10-31 Thread Michael Labriola
Rick, Just one more comment on your labelFunction versus subclass of DataGridColumn. There are times to subclass, but, what you are doing here really seems like a good argument for a labelFunction. You don't have to build a function for every column, so, if you rewrote your labelFunction like

[flexcoders] Re: Training from the Source - Can't find my error

2006-10-31 Thread Michael Labriola
Glad you are enjoying it. We have occasionally seen the same thing. The flex compiler seems to get confused with the inline renderer and the valueObject. This line is the cause: outerDocument.removeItem(valueObjects.ShoppingCartItem(data)); You can literally go an modify this line by adding a

Re: [flexcoders] Why shadowDirection does not support flexible angles?

2006-10-31 Thread Michael Schmalle
Hi,In my opinion...The hack is clear, copy and paste into your own skin class, change the checks to straight angle input and problem solved.The plus side is, using the new borderSkin class style in your components, if you want to add anything in the futrue, it's easy. Peace, MikeOn 10/31/06,

[flexcoders] Re: filterFunction between ViewStack MXML components

2006-10-31 Thread Michael Labriola
and those two are located in MovieView.mxml --- In flexcoders@yahoogroups.com, Michael Labriola labriola@ wrote: In your result handler, call the refresh method after you set the filterFunction. --Mike --- In flexcoders@yahoogroups.com, pioplacz icep87@ wrote: Yes, i want

[flexcoders] Re: e4x expression passed as string

2006-10-31 Thread Michael Labriola
Oct 2006 16:47:11 +1300, Michael Labriola [EMAIL PROTECTED] wrote: Diego, Here is a starting point. There are probably bugs, it is bloated, and it is not completely tested, however, it is a starting point. A final version of this, along with some actual example code, error

[flexcoders] Re: Isn´t there any release of Adobe Apollo yet? Alpha maybe....

2006-10-31 Thread Michael Labriola
1) HTML as a DisplayObject 2) Getting rid of the browser where people believe the back button is there only source of navigation 3) Generating desktop apps with all of the framework we have written for flex :) --Mike Just wondering, since I'm working on it... what features of Apollo are

[flexcoders] Re: Use a Popup as itemEditor in Datagrids

2006-10-30 Thread Michael Labriola
My first thought: I would probably write a simple component that serves as an itemRenderer. From within that component I would be to launch a modal popup window from the itemEditBeginning event. Ensure that you pass the row and the dataGridColumn (much like a labelFunction) to the new popup.

[flexcoders] Re: Accordion initialization problem

2006-10-30 Thread Michael Labriola
In flex, children are generally not created until they are actually needed, which generally translates to: when they are displayed on the screen. This keeps startup time and memory use down as, on average, most users do not navigate to every corner of an app. As suggested, you could set the

[flexcoders] Re: JUST SAY NO to creationPolicy=all !

2006-10-30 Thread Michael Labriola
Thank you. Thank you. Thank you. --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: rant Several times a week someone complains that they can't seem to set data into controls on the second, third, etc. pane of a ViewStack, Accordion, or TabNavigator because

[flexcoders] Re: A web survey based on Flex

2006-10-30 Thread Michael Labriola
to help walk you through it. --Mike --- In flexcoders@yahoogroups.com, advantexllc [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Michael Labriola labriola@ wrote: Overall it is not a bad way to proceed. The only place I might direct you some place different is where

[flexcoders] Re: filterFunction between ViewStack MXML components

2006-10-30 Thread Michael Labriola
If I understand your question correctly (and I am not sure that I do), I would personally put your filter function in the file that currently calls the HTTPService and gets the result. Unless you are using one of the, or your own, common frameworks, most people seem to put this in their main

[flexcoders] Re: ViewStack.addChild() / createChild()

2006-10-30 Thread Michael Labriola
Libby, Like this: var newClass:DisplayObject = new MyClassToAdd(); var newChild:DisplayObject = viewStack.addChild(newClass); --Mike --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote: Hello In 1.5 I was adding complex components to a viewstack by doing

[flexcoders] Re: e4x expression passed as string

2006-10-30 Thread Michael Labriola
Diego, Here is a starting point. There are probably bugs, it is bloated, and it is not completely tested, however, it is a starting point. A final version of this, along with some actual example code, error handling and other dynamic tools will eventually be available in a devnet article.

[flexcoders] Re: Data in ViewStack Component

2006-10-29 Thread Michael Labriola
Can you explain more about what you are trying to do? I see that you have 3 arrayCollections. Only 1 of them seems to be used in the code, and, in that one, you are only using the length property. Please provide details about what you are trying to accomplish. Thanks, --Mike --- In

[flexcoders] Re: Data in ViewStack Component

2006-10-29 Thread Michael Labriola
the epCollection to be a dataprovider. With simpel words what i'm trying to do is to make epCollection result to work in a diffrent MXML file. Is is a better explenation? --- In flexcoders@yahoogroups.com, Michael Labriola labriola@ wrote: Can you explain more about what you are trying

[flexcoders] Re: Convert Object to a Value Object

2006-10-29 Thread Michael Labriola
nicely done --- In flexcoders@yahoogroups.com, Darron J. Schall [EMAIL PROTECTED] wrote: Interesting, Yahoo garbled most of the content of that message. Here's what I actually sent: For those having trouble converting generic objects into class instances (Value Objects), I've created

[flexcoders] Re: Changing mx:Application's width during runtime

2006-10-29 Thread Michael Labriola
I know this is not actually the answer to the question, however, is it necessary to specifically set the width and height to literals, or could they just be set to 100%? --Mike --- In flexcoders@yahoogroups.com, pilby1 [EMAIL PROTECTED] wrote: When I run my application where mx:Application's

Re: [flexcoders] Can form field values be remembered between forward/back button press?

2006-10-28 Thread Michael Bedar
Do you have a session variable that you could use to tell if data in the local shared object was current?  If not you could just use a timestamp...  On Oct 27, 2006, at 9:31 PM, andrewstuartblah wrote:Hello,We've designed our application to be many small flex apps embedded inHTML pages.If the

[flexcoders] Re: A web survey based on Flex

2006-10-28 Thread Michael Labriola
Overall it is not a bad way to proceed. The only place I might direct you some place different is where you save to the local drive if the server is unavailable. For this part, I would suggest you take a look at a concept called 'Local Shared Objects' Without knowing all of the details of your

[flexcoders] Re: Convert Object to a Value Object

2006-10-28 Thread Michael Labriola
2 more things to consider. Not sure of your particular setup, but, you may want to look at the [Managed] metadata tag. Setup dependent, it may be what you are looking for. Second, and more generally, casts fail when the system cannot convert one type to another. So, take a look at your objects.

[flexcoders] Re: datagrid and dataField

2006-10-28 Thread Michael Labriola
[EMAIL PROTECTED] wrote: Michael, i subclassed the datagrid and the datagridcolumn because i saw too much issues being resolved on this way. (unfortunately). i dont know much flex neither actionscript, but i read a lot on documentation and tried a lot of tests. Spent 4 hours

[flexcoders] Re: Undocumented AS2 - AS3 migration issues

2006-10-27 Thread Michael Labriola
Link just became LinkButton in 2.0 Best luck, Mike --- In flexcoders@yahoogroups.com, fuad_kamal [EMAIL PROTECTED] wrote: While I've been porting a huge application from Flex 1.5 to Flex 2.0, every now and then I come across things that just weren't mentioned anywhere in the migration

[flexcoders] Re: datagrid and dataField

2006-10-27 Thread Michael Labriola
You are correct. By default the dataField on DataGridColumn only goes to the root level of the structure you are passing. If you are feeling a little ambitious, you can subclass dataGridColumn and do something like this: protected function deriveComplexColumn( data:Object,

Re: [flexcoders] How can I Hide ZOOM IN and ZOOM OUT in the context menu

2006-10-26 Thread Michael Schmalle
Hi,You can't, it has to be there for user preferences and security.Peace, MikeOn 10/26/06, haravallabhan [EMAIL PROTECTED] wrote: HI, I want to hide the context menu in my flex application. How do I go about. Please help me in this regard. thanks Hara

Re: [flexcoders] truncateToFit does not work when percentWidth is defined for Label

2006-10-23 Thread Michael Schmalle
Hi,Add this; (minWidth)mx:Label width=100% minWidth=100 text=Peace, MikeOn 10/23/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: Hi All! I have a container and Label instance inside it. Unfortunately, truncateToFit does not work if Label instance width is

Re: [flexcoders] Am I missing something about ContextMenu?

2006-10-23 Thread Michael Schmalle
Ironically,I just wrote some classes that do this and I had noticed the same thing.I have a title bar in a window(my custom components) and I get the titlebar context menu.who knows. I have yet to put one in the window. Peace, MikeOn 10/23/06, Pan Troglodytes [EMAIL PROTECTED] wrote:

[flexcoders] Re: TextInput control (displaying CurrencyFormatted data) question

2006-10-20 Thread Michael Labriola
additional questions or need to see a code snippet, Mike --- In flexcoders@yahoogroups.com, Mike Anderson [EMAIL PROTECTED] wrote: Yes, Michael - that is PRECISELY what I am asking - In my App, I have a TextInput that is bound to a ValueObject (using the Curly Braces method

[flexcoders] Re: E4X Help

2006-10-20 Thread Michael Labriola
Tangent, Remove the {} from around selected : var counties:XMLList = _myXml.state.(@label=selected).county; Mike --- In flexcoders@yahoogroups.com, Tan [EMAIL PROTECTED] wrote: I try writing two comboboxes to facilitate selection of the following XML, data state label=Texas

Re: [flexcoders] balanced tree?

2006-10-20 Thread Michael Schmalle
Hi,Seems to me you could do this quite easy with itemRenderers, using indent calculations based off of measured or unscaled witdth.Peace, MikeOn 10/20/06, Douglas Knudsen [EMAIL PROTECTED] wrote: Ok, I'm starting to work on creating a 'balanced' tree

Re: [flexcoders] balanced tree?

2006-10-20 Thread Michael Schmalle
are trying to accomplish.Peace, MikeOn 10/20/06, Douglas Knudsen [EMAIL PROTECTED] wrote: ok, but extend which component in your idea? DKOn 10/20/06, Michael Schmalle [EMAIL PROTECTED] wrote: Hi,Seems to me you could do this quite easy with itemRenderers, using

Re: [flexcoders] balanced tree?

2006-10-20 Thread Michael Schmalle
=my.package.BalancedItemRenderer /Peace, MikeOn 10/20/06, Michael Schmalle [EMAIL PROTECTED] wrote:Hi,I would use the Tree. I think I understand what you are trying to accomplish. Basically you will look at the TreeItemRenderer. If you notice, the disclosureIcon, icon and label are all hard coded left align

[flexcoders] Re: TextInput control (displaying CurrencyFormatted data) question

2006-10-19 Thread Michael Labriola
Mike, I might need some more explanation, as I think I am missing something. I have a lot of textInputs that format on focus out. Is your concern that the data in the field is now 'formatted' so it will be useless for sending back to some server. Let me know and I will be glad to help more,

[flexcoders] Re: writing and using classes

2006-10-19 Thread Michael Labriola
@yahoogroups.com, Michael Labriola labriola@ wrote: Frank, I think you might be approaching this from the wrong perspective. In particular, if you don't have object oriented programming experience, you may want to take a few minutes and read some of the many tutorials available online

[flexcoders] Re: Validator Error Message Position

2006-10-19 Thread Michael Labriola
Not sure if this helps in your particular situation, however, the validation error messages are really nothing more than styled tooltips. You have some control over tips, such as their maximum width. Look in the Flex Help under Setting the width of ToolTips -Mike --- In

Re: [flexcoders] Items in VBox still take space even when visible=false, but I don't want them to

2006-10-18 Thread Michael Schmalle
You can useincludeInLayout = false;you could also bind this call to the show event of the box and it would automatically set it when you set the visible property of the box.Peace, Mike On 10/18/06, zzwi89 [EMAIL PROTECTED] wrote: Hello, I have several panels

Re: [flexcoders] Complex container sizing problem (100% height and measured maxHeight)

2006-10-17 Thread Michael Schmalle
Hi,I 'think' I just had the same issue as you although I don't quite understand what you wrote.Try setting your parent containers minWidth=100 and minHeight=100;See the long thread on the flexcomponents yahoo mailing list as it is to lengthy to describe what is happening.

Re: [flexcoders] Complex container sizing problem (100% height and measured maxHeight)

2006-10-17 Thread Michael Schmalle
it when there are too much children). On 10/17/06, Michael Schmalle [EMAIL PROTECTED] wrote: Hi,I 'think' I just had the same issue as you although I don't quite understand what you wrote.Try setting your parent containers minWidth=100 and minHeight=100;See the long thread on the flexcomponents yahoo

[flexcoders] Re: does FLEX2 support text direction right to left?

2006-10-17 Thread Michael Labriola
Unfortunately, no. This is an area where I have spent countless hours trying to work around. Flash player has absolutely no support for right to left natively. Further, while you can manually do *some* things to fix this, ultimately none of the text components (input, area, etc) allow editing in

[flexcoders] Re: writing and using classes

2006-10-17 Thread Michael Labriola
Frank, I think you might be approaching this from the wrong perspective. In particular, if you don't have object oriented programming experience, you may want to take a few minutes and read some of the many tutorials available online. As Flex is a pretty OO heavy environment, without this

[flexcoders] Re: Binding a List to an Array

2006-10-17 Thread Michael Labriola
Steve, Do me a favor and test something out. Make the items Array an ArrayCollection on your own. Here is the gist: When you pass an Array to either ComboBox or List it makes an ArrayCollection out of it for the purposes of binding. List does something slightly different in that it stops

Re: [flexcoders] Invalidating a control for IMMEDIATE redraw?

2006-10-16 Thread Michael Schmalle
Hi,The only way to use a progress bar in a single threaded environment is to break it.I don't know exactly what you are doing but, I had the same problem making a documenter in AS3. I was able to break up the process into a stack, run throught a Timer loop at the end of each action. The thing

Re: [flexcoders] addChild RemoveChild

2006-10-16 Thread Michael Schmalle
Hi,use; box:VBox = new VBox(); box.width = 100; box.height = 100; if(!Vboxid.contains(box)){ Vboxid.addChild ( box );} box.x = Vboxid.mouseX ; box.y = Vboxid.mouseY;You could use the name property of the box and do a more complicated check.'The above will only work if 'box' is not a local

Re: [flexcoders] Invalidating a control during a CPU intensive task.

2006-10-16 Thread Michael Schmalle
Hi,did you see my reply on your other post that asked the same thing?Peace, MikeOn 10/16/06, Steve Kellogg @ Project SOC [EMAIL PROTECTED] wrote: Thanks for your reply. The value of the progress bar is BOUND to a var. I also tried updating it

[flexcoders] Multiline ComboBox

2006-10-16 Thread Michael
)/ Thanks in advance, Michael __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS

[flexcoders] Re: ComboBox itemEditor example inside of DataGrid??

2006-10-16 Thread Michael Labriola
Mike, I apologize in advance if this is now what you are asking, but, have you looked at the editorDataField property? If this isn't what you are looking for, I can post an example of a ComboBox renderer in a DataGrid. --Mike --- In flexcoders@yahoogroups.com, Mike Anderson [EMAIL PROTECTED]

[flexcoders] Re: Multiline ComboBox

2006-10-16 Thread Michael Labriola
Michael, Problem is that ComboBase uses a textInput control to display the currently selected item. The TextInput is limited to displaying a single line of text. You could certianly change this, but, it seems as though it will require extending ComboBox, not just making an itemRenderer. --Mike

[flexcoders] Re: pop up a new window behind

2006-10-16 Thread Michael Labriola
The PopUpManager.createPopUp method calls addPopUp which, as part of the method seems to ensure that the new Popup is on top. After it is created, you could manually move it around using setChildIndex... a good place to look is at PopUpManager.bringToFront Hope that help a little, Mike

[flexcoders] Re: ComboBox itemEditor example inside of DataGrid??

2006-10-16 Thread Michael Labriola
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Labriola Sent: Monday, October 16, 2006 3:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox itemEditor example inside of DataGrid?? Mike, I apologize in advance if this is now what you are asking, but, have you

[flexcoders] Re: xml question

2006-10-16 Thread Michael Labriola
In your result handler, function that is called once the read is complete, you can access this data as follows: if ( event.result.record.category == 4 ){ } else{ } You can also include XML at compile time using the mx:XML tag, however, you should not do this if the contents of the XML may

[flexcoders] Re: load date for DateField from database in correct format

2006-10-16 Thread Michael Labriola
Frank, The problem is that the dateField is looking for a Flex Date object. Guessing from the conversion to XML, the x.result[0].arrivaldate[0] is an XML node which contains a String. This String needs to be made into a Flex Date Object. There are a few ways to do this: var myDate:Date = new

[flexcoders] Re: Is there a way to find an object if you know the name

2006-10-16 Thread Michael Labriola
..one more note.. You may want to also check out Referencing repeated child components in the help docs, which is specifically about components within a repeater. --Mike --- In flexcoders@yahoogroups.com, Marlon Moyer [EMAIL PROTECTED] wrote: sorry, I didn't phrase the question correctly. I

[flexcoders] Re: Is there a way to find an object if you know the name

2006-10-16 Thread Michael Labriola
Marlon, So long as you know the container where the child exists, you can say: container.getChildByName(name:String):DisplayObject or container.getChildIndex(child:DisplayObject):int Hope that helps, Mike --- In flexcoders@yahoogroups.com, Marlon Moyer [EMAIL PROTECTED] wrote: sorry,

[flexcoders] Re: ComboBox itemEditor example inside of DataGrid??

2006-10-16 Thread Michael Labriola
Mike, A custom class is the right way. It is just a lot harder to post. Best luck, Mike --- In flexcoders@yahoogroups.com, Mike Anderson [EMAIL PROTECTED] wrote: Thank You Michael!! It really didn't hit me, to oversimplify my original design like that... Since I am a pretty experienced

Re: [flexcoders] Code Hinting in Flex Builder 2

2006-10-14 Thread Michael Schmalle
Hi,THis is one suggestion just becasue it has happened to me, do you have any XML in your code?Well, I really mean is this a class or mxml file. If a class, I have noticed that FB2 does not parse some literal XML string correctly all the times. Which then forces FB2 to think it's internal and

Re: [flexcoders] Re: Binding scroll position to the selected index

2006-10-13 Thread Michael Schmalle
Hi,Have you tried the selectedItemChanged event from the list?Just write a handler and do what Tim said, maybe that would work.Peace, Mike On 10/12/06, Daniel Wabyick [EMAIL PROTECTED] wrote: Ah, that was a good idea, but it doesn't work in my case. The list

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

Re: [flexcoders] Multiple Inheritance

2006-10-10 Thread Michael Schmalle
in.thanks Micheal and Marcelo- DanOn 10/10/06, Michael Schmalle [EMAIL PROTECTED] wrote: 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

[flexcoders] Re: Can Flex play rtmp camera video?

2006-10-10 Thread Michael Ritchie
There are a few resources out there with Flex using FMS: http://thanksmister.com/?p=26 http://coenraets.com/viewarticle.jsp?articleId=98 http://flash-communications.net/technotes/fms2/flex2FMS/index.html http://www.adobe.com/devnet/flashmediaserver/articles/video_state_machine_as3_04.html Hope

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] 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: [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] 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] 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.

[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

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