[flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-04 Thread Michael VanDaniker
You'll want to listen for the change event on the slider. In the event handler you can do something like this... collection.filterFunction = filterByPriceRange; collection.refresh(); Then you'll want your filterByPriceRange function to return true if the price of the given object is between the

[flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-04 Thread Michael VanDaniker
flexexamples is a great site for fully functioning code snippets. In the example here http://blog.flexexamples.com/2008/03/12/using-a-combobox-to-filter-items-in-a-datagrid-in-flex/ you'll want to swap out the CheckBox for a HSlider, obviously. Then you can call toggleFilter() when the slider

Re: [flexcoders] Flex class inherritance problem

2008-08-04 Thread Michael Schmalle
Yes, Just remember private static const or var do not inherit. Other than that you should post your code if that is not the problem. Mike On Mon, Aug 4, 2008 at 6:05 PM, whatabrain [EMAIL PROTECTED] wrote: I create ClassA that extended Object. Inside, I declared some static variables. No

Re: [flexcoders] Re: problem adding images to UIComponents using AS3

2008-08-02 Thread Michael Schmalle
NEVER. Alex, All I meant was it was never going to happen 'automajically' like component children placed inside a container. As, you just said, of course if you call setActualSize(). :) Mike On Fri, Aug 1, 2008 at 1:48 PM, Alex Harui [EMAIL PROTECTED] wrote: Well, I wouldn't say NEVER.

Re: [flexcoders] Re: problem adding images to UIComponents using AS3

2008-08-01 Thread Michael Schmalle
Hi, The original question of this long thread was 'Why can't I get the mx.controls.Image component to display correct in a UIComponent wrapper. The easy answer to this all is, UIComponent's updateDislayList() method does NO sizing of it's children. This is what containers do, using whatever

Re: {Disarmed} RE: [flexcoders] mxml components

2008-07-29 Thread Michael VanDaniker
Are these the same instance or unique instances with in each of the class instances themselves (mainclass/class3)? MainClass.mxml: mx:script ![CDATA{ Import com.myapp.models.LoginClass; ... .. And Class3.mxml mx:script ![CDATA{

[flexcoders] Re: mxml components

2008-07-29 Thread Michael VanDaniker
] wrote: The import class; is what creates the instance? So in other words, if I use the import thisfile.mxml in each of my other files, each one is creating another instance of the thisfile.mxml? From: flexcoders@yahoogroups.com on behalf of Michael

[flexcoders] Re: Flex localization

2008-07-28 Thread Michael VanDaniker
You can use Capabilities.language to get the local language. You don't have to bundle your resources directly into the application. You can use resource modules to externalize the bundles into separate swfs and load the required one at runtime based on the user's language. The documentation on

Re: [flexcoders] Re: Flex Builder Speed-ups?

2008-07-28 Thread Michael Schmalle
Hi, How many projects do you have open at one time in your workspace? If you close them all and open one, do you still get performance issues? Mike -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com You can find more by solving the

[flexcoders] Re: Flex Inspiration and ideas

2008-07-28 Thread Michael VanDaniker
For full applications, the showcase on Flex.org http://flex.org/showcase http://flex.org/showcase is worth a look. On a lower level, the custom components in the flexbox http://flexbox.mrinalwadhwa.com/ could serve for some inspiration as well. Happy coding, -Michael --- In flexcoders

[flexcoders] Re: Timer memory leak

2008-07-25 Thread Michael VanDaniker
Have you tried using setTimeout instead of listening on Timer events? --- In flexcoders@yahoogroups.com, steve.baney [EMAIL PROTECTED] wrote: Howdy all! I've got a memory leak issue with my problem. I just added a third party countdown timer component to my project. I've narrowed down the

[flexcoders] Re: Problem With type checking...

2008-07-23 Thread Michael Ritchie
Is the ArrayCollection FamilyMember and FriendMember located in the Cairngorm Model or are you passing these into the Module through an Interface? - Mr --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] Uttarwar [EMAIL PROTECTED] wrote: Hi Everybody, I am using cairngorm and modules in

[flexcoders] Re: parallel coordinates component with Flex3

2008-07-23 Thread Michael VanDaniker
I recently worked on a project for an info viz course, and one of my group mates built a parallel coordinates plot. I've been blogging about the different visualizations we developed, and I was about to write up the pcp. It'll be a while until I get around to it though. One word of warning:

[flexcoders] Re: parallel coordinates component with Flex3

2008-07-23 Thread Michael VanDaniker
, brian.staats [EMAIL PROTECTED] wrote: Thanks Michael, Can you share your info viz blog? Id be interested in the other visualizations. --- In flexcoders@yahoogroups.com, Michael VanDaniker michael@ wrote: I recently worked on a project for an info viz course, and one of my group mates built

[flexcoders] Re: Getting error when trying to get id of label when adding evt listener

2008-07-23 Thread Michael VanDaniker
You want to look at the event's currentTarget instead of target. From the documentation for MouseEvent: target = The InteractiveObject instance under the pointing device. The target is not always the object in the display list that registered the event listener. Use the currentTarget property to

Re: [flexcoders] Trigger updateDisplayList

2008-07-22 Thread Michael Schmalle
Hi, updateDisplayList() is a method. You would call invalidateDisplayList() and the next frame, updateDisplayList() will be called AFTER measure() if invalidateSize() was called OR measurements became invalid for some other reason. Mike On Tue, Jul 22, 2008 at 8:25 AM, markgoldin_2000 [EMAIL

Re: [flexcoders] Gumbo

2008-07-21 Thread Michael Schmalle
Nice to see the recipe being altered to taste. This shows some good cooks in the kitchen. Peace, Mike On Mon, Jul 21, 2008 at 6:06 PM, Gordon Smith [EMAIL PROTECTED] wrote: No breath-holding, please... Gumbo isn't even alpha yet and we haven't announced any ship date! But you'll be able

[flexcoders] Re: Invisible elements taking up space

2008-07-15 Thread Michael VanDaniker
You want to set includeInLayout to false --- In flexcoders@yahoogroups.com, whatabrain [EMAIL PROTECTED] wrote: When I hide an object using the visibility attribute, it still takes up space in the document. I know that in css, you can use the display style to fix this. How do you do it in

[flexcoders] Re: Faster: Canvas Object move VS Graphics clear/redraw

2008-07-15 Thread Michael VanDaniker
This feels like comparing apple and oranges. Can you provide a bit more information about the complexity of your graphics calls and how you're able to consider them as replacements to move operations? The little test I just ran seems to show that graphics operations are faster than calls to

[flexcoders] Re: Animati a HSlider

2008-07-14 Thread Michael VanDaniker
You can tween the value property between your start and end values. For a tweening engine I recommend Tweener or TweenLite. --- In flexcoders@yahoogroups.com, Andreas Santoro [EMAIL PROTECTED] wrote: Hi, i try to animate a mx:HSlider. I wannt the slider to move smoothly to his new value.

[flexcoders] Re: Passing objects to components

2008-07-13 Thread Michael VanDaniker
You've declared that the instance obj should be bindable, but that doesn't make the properties on the class Object bindable. What you can do is create a class for the object you want to pass your custom component and add the bindable metadata tag to the properties you want to bind on. You can

[flexcoders] Re: How would you make a heat map?

2008-07-13 Thread Michael VanDaniker
I realize this is a fairly old thread, but it ended without much resolution. If there is anyone out there still interested in drawing heat maps, I have an implementation that might be worth checking out. http://michaelvandaniker.com/blog/2008/07/06/how-to-make-heat-maps-in-flex/ --- In

[flexcoders] Re: PopUpMenu Button item click....

2008-07-13 Thread Michael VanDaniker
PopUpMenuButton forwards event from it's internal Menu object. Menu only dispatches an itemClick event when the user clicks on a leaf node. You can monkey patch Menu to fire off events when an internal node is clicked by changing the mouseUpHander. By removing the check on isBranch from the line

[flexcoders] Re: XML is NULL immediatelly following service call, but does appear valid in textarea

2008-07-13 Thread Michael VanDaniker
You're on the right track. Remoting calls are done asynchronously, so code that depends on the result of an HTTPService can't be placed immediately after the remoting call. The data will not have loaded before those lines are executed. The HTTPService's result attribute defines an event handler

[flexcoders] Re: One custom component referring to another

2008-06-27 Thread Michael Labriola
Jason, In an ideal world, component A would throw events up. Those events would be caught in the application (in this case) and call corresponding methods in component B. You really, really don't want to start coupling these components together by calling the internals of one from the other

Re: [flexcoders] scrollbar in HBox wont go away

2008-06-26 Thread Michael Schmalle
Hi, I have seen this before, your styles need to be of the correct type value IE Number, unit This is correct; hbs.setStyle(backgroundColor,0xEE); hbs.setStyle(paddingBottom,10); hbs.setStyle(paddingTop,10); You were using strings, only use string with string type styles. Mike --

Re: [flexcoders] .visability = true, but is it viewable?

2008-06-26 Thread Michael Schmalle
Hi bjron, This is just a guess but how bout adding a 'change' listener to the viewstack and use the old index to get the last selected child, then get it's timer and stop it with that. ... just a thought Mike -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog

Re: [flexcoders] .visability = true, but is it viewable?

2008-06-26 Thread Michael Schmalle
about it :-) 2008/6/26 Michael Schmalle [EMAIL PROTECTED]: Hi bjron, This is just a guess but how bout adding a 'change' listener to the viewstack and use the old index to get the last selected child, then get it's timer and stop it with that. ... just a thought Mike -- Teoti

Re: [flexcoders] SWF library asset base class problem

2008-06-26 Thread Michael Schmalle
Hi, Are you trying to use 'is' to test a Class definition OR class instance? You can't use is with a class definition. I for get the right way to do this but for a test, you could instantiate the; var test:Object = new assetClass() if (test is BitmapData) { ... Mike -- Teoti Graphix,

Re: [flexcoders] width via style/css

2008-06-25 Thread Michael Schmalle
Hi, No, width is a property of UIComponent not a style. You can try using constraints IE top,left,bottom,right. Mike On Wed, Jun 25, 2008 at 12:03 PM, Ingo Stoecker [EMAIL PROTECTED] wrote: hello, just a newbie question ;-) is it possible to define the width of any components (like

Re: [flexcoders] uint unset value

2008-06-25 Thread Michael Schmalle
Hi, try using isNaN() if (isNaN(_myColor)){ //do something when NaN }else{ //do another thing when is a color } PS ...Post trimmed. ;-) Mike -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com You can find more by solving the problem then

Re: [flexcoders] Dynamically creating instances of custom components

2008-06-25 Thread Michael Schmalle
Hi, If I am understanding you correctly, an MXML component is a class in itself. So if you have a mxml component named MyCustomComponent.mxml, you would do this when create the dynamic UI; var child:MyCustomComponent = new MyCustomComponent(); .. initialize container.addChild(child); You can

Re: [flexcoders] Dynamically creating instances of custom components

2008-06-25 Thread Michael Schmalle
Hi, I was just answering quick but Tracy had a point about repeaters. There all valid, I come more from a framework component development standpoint, repeaters are from the design aspect. As far as your current code; singleConfig:SingleConfig = new SingleConfig(); The above is incorrect as

Re: [flexcoders] Dynamically creating instances of custom components

2008-06-25 Thread Michael Schmalle
Hi Tom, Thanks for pointing out the error. It's interesting that a duplicated type declaration like that would throw an error, even though the types match correctly. It's just a violation of the compiler's rules. What you were doing is 'against' the language specs. Mike -- Teoti Graphix, LLC

Re: [flexcoders] php plugin with flexbuilder

2008-06-18 Thread Michael Schmalle
Hi, I am using PDT, JDT, Subclipse, JSEclipse, Plugin-dev tools. All of this is running in Flex Builder standalone fine. Note, there are bugs in the php dev, but it has mainly to do with code formating. My work flow in php has increased 100% using the dev tool for it. Mike On Wed, Jun 18,

Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-17 Thread Michael Schmalle
Wow, This sounds like deja vu. Months ago I got off this list becasue that was exactly what was happening (ridiculous posts, repeats). But I got back on a month ago just to get back into the community. When you have put your time in a list(which I have, this one and flexcomponents), it starts

Re: [flexcoders] Splitting FlexCoders in smaller, focused groups

2008-06-17 Thread Michael Schmalle
no matter how hopeless rudely the question is put. Subject :: NED helllp plzz I didn't even talk to my mom like that. ;-) I know there are hundreds of cultures out there but common, isn't this about simple and respectful language protocol? Mike On Tue, Jun 17, 2008 at

Re: [flexcoders] Splitting FlexCoders in smaller, focused groups

2008-06-17 Thread Michael Schmalle
:59 AM, Josh McDonald [EMAIL PROTECTED] wrote: Sure there are people who are probably 16year olds who don't think before they post, but there's nothing we can do about that, splitting lists up won't help that :) -Josh On Tue, Jun 17, 2008 at 8:57 PM, Michael Schmalle [EMAIL PROTECTED

Re: [flexcoders] Splitting FlexCoders in smaller, focused groups

2008-06-17 Thread Michael Schmalle
an answer. Splitting this group will just increase cross posting and decrease quality. Not everybody cares about the right thing, they care about getting passed what is holding them up. Mike On Tue, Jun 17, 2008 at 7:28 AM, Michael Schmalle [EMAIL PROTECTED] wrote: Josh, Threads that get

Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-17 Thread Michael Schmalle
How bout people starting to trim their messages...? heh, yeah well that one has been asked before, I'm guilty due to trying to get other things done in the day. Gmail doesn't make it easy since the 'hide quoted text' is always collapsed. But really, I could care less about trimmed messages,

Re: [flexcoders] Re: Splitting FlexCoders in smaller, focused groups

2008-06-17 Thread Michael Schmalle
about netiquette, new word for me. Mike On Tue, Jun 17, 2008 at 1:05 PM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: How bout people starting to trim their messages...? heh, yeah well that one

Re: [flexcoders] string to actual actionscript code?

2008-06-16 Thread Michael Schmalle
Hi, There is no eval() in actionscript if that is what you are wondering. Mike On Mon, Jun 16, 2008 at 5:33 AM, mariovandeneynde [EMAIL PROTECTED] wrote: Greetings, I was wondering if the following situation would be possible: imagine having a string like var query:String =

Re: [flexcoders] Re: string to actual actionscript code?

2008-06-16 Thread Michael Schmalle
%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, There is no eval() in actionscript if that is what you are wondering. Mike On Mon, Jun 16, 2008 at 5:33 AM, mariovandeneynde [EMAIL PROTECTED] wrote: Greetings, I was wondering if the following situation

Re: [flexcoders] Understanding Custom Event Creation

2008-06-15 Thread Michael Schmalle
On 6/12/08, Michael Schmalle [EMAIL PROTECTED] wrote: Hi package my.event.package { public class MyEvent extends Event { public static const IS_GREATER_CHANGED:String = isGreaterChanged; public var isGreater:Boolean; public function MyEvent(type:String, isGreater:Boolean

Re: [flexcoders] Understanding Custom Event Creation

2008-06-15 Thread Michael Schmalle
and business code. But then again if you're listening for a NewUserCreated event, your function should be expecting a NewUserCreatedEvent, not an Event. -Josh On Sun, Jun 15, 2008 at 9:03 PM, Michael Schmalle [EMAIL PROTECTED] wrote: Right Eric, this was a quick and dirty example. Another thing

Re: [flexcoders] not sure why COLLECTION_CHANGE listener is not firing.

2008-06-12 Thread Michael Schmalle
and my listener is back, thanks! d. On Wed, Jun 11, 2008 at 10:07 AM, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Your wiping the reference to the original collection looks like. When you receive your data, try using removeAll(), addItem() or ICollectionView. OR set the 'source

Re: [flexcoders] Understanding Custom Event Creation

2008-06-12 Thread Michael Schmalle
Hi package my.event.package { public class MyEvent extends Event { public static const IS_GREATER_CHANGED:String = isGreaterChanged; public var isGreater:Boolean; public function MyEvent(type:String, isGreater:Boolean) { super(type); this.isGreater = isGreater;

Re: [flexcoders] Understanding Custom Event Creation

2008-06-12 Thread Michael Schmalle
at the parent's event handler method. thx again On Thu, Jun 12, 2008 at 9:17 AM, Michael Schmalle [EMAIL PROTECTED] teoti.graphix%40gmail.com wrote: Hi package my.event.package { public class MyEvent extends Event { public static const IS_GREATER_CHANGED:String = isGreaterChanged

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 that

Re: [flexcoders] not sure why COLLECTION_CHANGE listener is not firing.

2008-06-11 Thread Michael Schmalle
Hi, Your wiping the reference to the original collection looks like. When you receive your data, try using removeAll(), addItem() or ICollectionView. OR set the 'source' property on the collection you added the listener to. Mike On Wed, Jun 11, 2008 at 9:56 AM, Derrick Anderson [EMAIL

Re: [flexcoders] Conditional Statement Problem

2008-06-11 Thread Michael Schmalle
Hi, This might help; var i:int = 0; var overbooked:Boolean = false; while ( startDate = endDate ){ for (var a:int = 0; a = disabledDates.length; a++) { stayLength[i] = year.toString() + , + month.toString() + , + startDate.toString(); if ( disabledDates[a] ==

Re: [flexcoders] Conditional Statement Problem

2008-06-11 Thread Michael Schmalle
; } Doug On Wed, Jun 11, 2008 at 9:55 AM, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, This might help; var i:int = 0; var overbooked:Boolean = false; while ( startDate = endDate ){ for (var a:int = 0; a = disabledDates.length; a++) { stayLength[i] = year.toString

Re: [flexcoders] Eclipse lost flex!

2008-06-11 Thread Michael Wills
Hi Nate, Any luck so far? The Flex development view is one of the perspectives used, debugging being another. You can try to go Window Open Perspective Flex Development, or if it's not listed there then choose Other... and you can pick it out of that list. Hoping it helps, Michael Nate

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

2008-06-10 Thread Michael Schmalle
, Jun 9, 2008 at 5:33 PM, Michael Schmalle [EMAIL PROTECTED] wrote: 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

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: mx:Panel height=100% backgroundColor=#D2CEB2

Re: [flexcoders] Re: Flex Css Html Css

2008-06-09 Thread Michael Schmalle
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.com flexcoders%40yahoogroups.com, Michael Schmalle

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

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

2008-06-09 Thread Michael Schmalle
= 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 I selected! --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle

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

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: style body { background:url(bg.gif) repeat-x left bottom; } /style But in

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

[flexcoders] Flex Kiosk Development

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

[flexcoders] Re: Flex Kiosk Development

2008-06-03 Thread Michael Trim
? 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

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

2008-06-03 Thread Michael Schmalle
, data.itemColor); } } ]] /mx:Script mx:Label x=10 y=10 text={data.label}/ /mx:Canvas Mike On Tue, Jun 3, 2008 at 10:36 AM, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, The reason this is not working with TypeSelectors is because the styleName property

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?

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

2008-06-03 Thread Michael Schmalle
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 flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: The solution ?xml

[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
Trainer Author, Professional Flex 3 (coming Winter 2008) Staff Writer, Community MX | http://communitymx.com/author.cfm? cid=4674 Michael Labriola wrote: Guys, sorry, but that's not quite right. UIComponents can contain other UIComponents without being a container. It is a common use

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 modify

[flexcoders] CreatePopUp encounters null nativeWindow error

2008-06-02 Thread Michael Slinn
The following short AIR application dies: ?xml version=1.0 encoding=utf-8? mx:WindowedApplication applicationComplete=PopUpManager.createPopUp(this, Window, false); layout=absolute xmlns:mx=http://www.adobe.com/2006/mxml; http://www.adobe.com/2006/mxml%22%3E mx:Script ![CDATA[ import

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

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

2008-06-02 Thread Michael Schmalle
@yahoogroups.com flexcoders%40yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: 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

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 to

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 You can

[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: Hi

[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

[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

Re: [flexcoders] Socket receive limit

2008-05-07 Thread Michael Baird
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! -Michael On Wed, May 7, 2008 at 11

[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

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 ActionScript

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

[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. attachment: a.bmpattachment: b.bmpattachment: c.bmp

[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] Irregular shape

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

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. area:BitmapData = *new

Re: [flexcoders] Image centering

2008-03-31 Thread Michael Wagner
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 PROTECTED] *On Behalf Of *Michael Wagner *Sent

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 PROTECTED

[flexcoders] Image centering

2008-03-29 Thread Michael Wagner
Bitmap(bitmappicturefrom); myBitmap.x = 100; myBitmap.y = 100; *area.draw(myBitmap);* 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 sample

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

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 submissions today should

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/flex http://www.adobe.com/products/air http://www.adobe.com/products/air And best of all: http://opensource.adobe.com/flexsdk

[flexcoders] Exciting Flash/Flex architect opportunity at Wikinvest (San Francisco Investing start-up)

2008-01-21 Thread Michael Sha
Hi,I'm one of the founders of Wikinvest and we're looking for some Flex/Flash superstars. We've got some pretty cool stuff that we're building -- see below for some more info. Email me if you're interested in exploring further (also, if you're not interested but know of some folks who might be,

Re: [flexcoders] drag and drop images and remove the dragged image

2007-12-14 Thread Michael Wills
=dragdrop_081_12.html http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0966.html Hope that helps, Michael leonpidgeon wrote: hi i have 9 images in a horizontallist and am dragging them to a tilelist. i want it to act as if the images

Re: [flexcoders] Two way manual drop between two containers

2007-12-14 Thread Michael Wills
Hi there, Have you seen this? http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0960.html The example at the bottom is about dragging and dropping canvases. Michael Fah Queue wrote: Hello so I used the code I found http

Re: [flexcoders] Box on top of other Box or Component

2007-12-13 Thread Michael Wills
items. HTH, Michael alex wrote: Hi , If I have some big component like a Chart and I want to position a small Box with Text somewhere in the corner of the Chart but on top of it - meaning a layer above the Chart and obscuring it. Is it possible in Flex? Thanks guys.

[flexcoders] Undo/Redo not available in fresh install of Windows FB 3 Beta 3

2007-12-13 Thread Michael Wills
2. Any others? Thanks, Michael

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