[flexcoders] Using ClassReference in nested CSS file - possible?

2008-01-18 Thread ben.clinkinbeard
I can't seem to get my ClassReference directive to work unless the CSS file is at the root of my project. When the CSS file is assets/css/someStyles.css for instance, I get a "definition could not be found" error. If the file is top-level it works fine. Is there some kind of syntax I am unaware of

[flexcoders] Re: SWC compiled against Flex 2 SDK only usable in Flex 3 projects

2008-01-17 Thread ben.clinkinbeard
bump --- In flexcoders@yahoogroups.com, "ben.clinkinbeard" <[EMAIL PROTECTED]> wrote: > > Hi Alex, > > No, I didn't because I had no idea I was supposed to. I don't see any > info in the docs mentioning the need to create a global selector. I > have

[flexcoders] Re: Drawn objects acting as children to components?

2008-01-17 Thread ben.clinkinbeard
Where are you making your calls to the drawing API? It should be in updateDisplayList(), but that would require subclassing. If you don't want to subclass you could probably hook up a listener to networkBrowser's updateComplete event and clear and then redraw the graphics in the handler. HTH, Ben

[flexcoders] Re: DataGridColumn headerRenderer instance

2008-01-17 Thread ben.clinkinbeard
Can you get dimensions via dgColumn.width and dg.headerHieght? --- In flexcoders@yahoogroups.com, Mark Bradley <[EMAIL PROTECTED]> wrote: > > Thanks for the reply, but no. > > headerRenderer on DataGridColumn is a class factory object, and in > cases where I am not specifically setting it, it

[flexcoders] Re: Passing additional information into renderer

2008-01-17 Thread ben.clinkinbeard
Its generally more about giving your renderer enough info that it can retrieve the information it needs. This is my take on using ClassFactory with renderers. http://www.returnundefined.com/2006/11/creating-truly-reusable-renderers-with-classfactory HTH, Ben --- In flexcoders@yahoogroups.com,

[flexcoders] Re: SWC compiled against Flex 2 SDK only usable in Flex 3 projects

2008-01-17 Thread ben.clinkinbeard
Hi Alex, No, I didn't because I had no idea I was supposed to. I don't see any info in the docs mentioning the need to create a global selector. I have now created one, but that causes a different error. No matter what I put in the selector I get an error in the createBorder() method of Container

[flexcoders] Re: Generate XML Schema

2008-01-16 Thread ben.clinkinbeard
Huh? --- In flexcoders@yahoogroups.com, "markgoldin_2000" <[EMAIL PROTECTED]> wrote: > > Is it possible to generate an XML Schema to send to the server alone > with an XML data? > > Thanks >

[flexcoders] SWC compiled against Flex 2 SDK only usable in Flex 3 projects

2008-01-16 Thread ben.clinkinbeard
I have compiled my SWC against 2.0.1 HF 1 (from FB 3) with no errors. When trying to use this SWC in any Flex 2 project however, I receive a RTE as soon as the app starts. This happens for projects using 2.0.1 with Hotfix 1, 2 or 3. The error maps to the initProtoChainRoots() method of the StyleMan

[flexcoders] Previous Flex SDKs available anywhere?

2008-01-15 Thread ben.clinkinbeard
Is Adobe making these available anywhere or do we have to piecemeal them together ourselves? I would like to test my library against all the flavors of Flex 2.0.1 (original and each HF) and then compile it for the lowest supported version but I would like to avoid spending an hour or two configurin

[flexcoders] Re: How can I add a toolTip to the titleIcon of a Panel?

2008-01-15 Thread ben.clinkinbeard
Did this in my Panel subclass just the other day: public function getTitleIconObject():DisplayObject { use namespace mx_internal; return titleIconObject as DisplayObject; } HTH, Ben --- In flexcoders@yahoogroups.com, "adamacosta16" <[EMAIL PROTECTED]> wrote: > > I'm guessing som

[flexcoders] Re: a checkbox in mx:DataGrid

2008-01-11 Thread ben.clinkinbeard
This has been discussed at length on this list and the internet. Do a search here and/or on Google. Ben --- In flexcoders@yahoogroups.com, coder3 <[EMAIL PROTECTED]> wrote: > > > Hi All, > > i am using mx:DataGrid to display a list of results. but i would like to add > a checkbox in front of e

[flexcoders] Re: Problems compiling defaults.css into SWC - F3B3 - SOLVED

2008-01-11 Thread ben.clinkinbeard
The leading slash is apparently a no-no. Changing from Embed('/flexmdi/assets/img/closeButton.png') to Embed('flexmdi/assets/img/closeButton.png') seems to have fixed it. Along with a nice project Clean of course. Ben --- In flexcoders@yahoogroups.com, "ben.clinki

[flexcoders] Re: Problems compiling defaults.css into SWC - F3B3

2008-01-11 Thread ben.clinkinbeard
xmdi/assets/img/closeButton.png")'. I have made sure all the images are selected in the Assets tab of the library project but it doesn't seem to help. Do I really have to do include-file compiler args for every image I want compiled in? Thanks, Ben --- In flexcoders@yahoogroups.com, "

[flexcoders] Re: Problems compiling defaults.css into SWC - F3B3

2008-01-11 Thread ben.clinkinbeard
oject. it's done automatically. > > > > > --- In flexcoders@yahoogroups.com, "ben.clinkinbeard" > wrote: > > > > I am trying to include the default styles in my SWC but am getting > > errors when setting the compiler options. defaults.css is

[flexcoders] Problems compiling defaults.css into SWC - F3B3

2008-01-11 Thread ben.clinkinbeard
I am trying to include the default styles in my SWC but am getting errors when setting the compiler options. defaults.css is in the top level of my library project. If I use -include-stylesheet defaults.css defaults.css the error displayed is "unknown configuration variable 'include-stylesheet'"

[flexcoders] Re: How to use flexmdi framework in flex builder 2.0.1

2008-01-11 Thread ben.clinkinbeard
I have been pestering Brian Holmes to create a Flex 2 SWC for a while now since he was the one who screwed up and made the original Flex 3. :) Feel free to harass him until he does it: http://brianjoseph31.typepad.com/smashedapples/2007/09/moxie-killed-th.html As mentioned below, you can point to

[flexcoders] Re: Placing the label in a Panel

2008-01-06 Thread ben.clinkinbeard
If I remember correctly you have to get access to and move the titleTextField, which is private, so you'd have to do it from within SuperPanel (or your subclass of it). I should also mention that the FlexMDI project (http://code.google.com/p/flexmdi/) used Wietse's work as a starting point and add

[flexcoders] Changing skin alpha via CSS- possible?

2008-01-03 Thread ben.clinkinbeard
Pretty sure this cannot be done but wanted to confirm. This syntax doesn't work but is anything similar possible? .killerStyle { alpha: .5; upSkin: Embed('../img/menuArrow.png'); } Thanks, Ben

[flexcoders] Re: Close MDIWindow

2008-01-03 Thread ben.clinkinbeard
myWindow.close(); :) --- In flexcoders@yahoogroups.com, "Bit" <[EMAIL PROTECTED]> wrote: > > Hi people! > How to do call event close of MDIWindow? > > thx > > Bit >

[flexcoders] Re: What event to catch

2007-12-31 Thread ben.clinkinbeard
high-level view, such as a screen/page/form. HTH, Ben --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: > > On Sat, Dec 29, 2007 at 02:29:18PM -, ben.clinkinbeard wrote: > > > An example of this approach can be seen here: > > http://www.returnundefined.c

[flexcoders] Re: What event to catch

2007-12-29 Thread ben.clinkinbeard
Events that bubble don't need to be passed up. That is what bubbling is: an event that bubbles will move from the component that dispatches it to that component's parent, and then to that component's parent, and so on and so on all the way up to the root of your app. So you can listen for the event

[flexcoders] Re: Getting all XML child elements ...

2007-12-21 Thread ben.clinkinbeard
http://livedocs.adobe.com/labs/flex3/langref/XML.html#child() http://livedocs.adobe.com/labs/flex3/langref/XML.html#descendants() HTH, Ben --- In flexcoders@yahoogroups.com, "dan_of_philly" <[EMAIL PROTECTED]> wrote: > > Hey, > > I'm trying to get all the child nodes for an element in an XML t

[flexcoders] Re: Binding - from Item renderer back to datasource

2007-12-21 Thread ben.clinkinbeard
http://www.returnundefined.com/2007/11/efficient-reusable-and-centered-checkbox-renderers-for-datagrids --- In flexcoders@yahoogroups.com, mark goldin <[EMAIL PROTECTED]> wrote: > > What exactly do I need to update in order to store new data from a custom item renderer editing DataGrid? > Do

[flexcoders] IGNORE - rawChildren's children not interacting with mouse- is this new?

2007-12-21 Thread ben.clinkinbeard
Sorry, disregard this. Depth issue with another item. --- In flexcoders@yahoogroups.com, "ben.clinkinbeard" <[EMAIL PROTECTED]> wrote: > > Something odd is going on with code that worked an hour ago. I have > some buttons I am adding into a container and then am add

[flexcoders] rawChildren's children not interacting with mouse- is this new?

2007-12-21 Thread ben.clinkinbeard
Something odd is going on with code that worked an hour ago. I have some buttons I am adding into a container and then am adding that to rawChildren. The buttons have buttonMode set to true. They are behaving as if mouseEnabled is set to false. If I add the buttons' parent via addChild() rather tha

[flexcoders] Re: Accordion, the FlexEvent.SHOW isn't fired the first time a panel is shown

2007-12-21 Thread ben.clinkinbeard
I would listen for the change event of the parent component (TN has one, I assume Accordian is the same) and just track if its the first time a component has become active. You could also listen for the creationComplete event of each child, though I am not sure of the specifics off the top of my he

[flexcoders] Re: DataGrid question

2007-12-21 Thread ben.clinkinbeard
Subclass DataGrid and override selectItem, drawHighlightIndicator and drawSelectionIndicator so that they do nothing. --- In flexcoders@yahoogroups.com, "djhatrick" <[EMAIL PROTECTED]> wrote: > > I asked a while back and didn't see an example of how to override the > method that selects an ite

[flexcoders] Re: FlexMDI How to get DRAG_END event to fire

2007-12-20 Thread ben.clinkinbeard
Strange indeed :) I know the code I pointed you to used a canvas, I just wanted to see if that made a difference. Maybe try converting that file to use the global instance and see if that works? Ben --- In flexcoders@yahoogroups.com, "valdhor" <[EMAIL PROTECTED]> wrote: > > Well, color me totall

[flexcoders] Re: FlexMDI How to get DRAG_END event to fire

2007-12-20 Thread ben.clinkinbeard
Just noticed that your code doesn't define any drag listeners on the window, so thats why you're not seeing those. I would also check to see what version of the player you have in each browser. Ben

[flexcoders] Re: FlexMDI How to get DRAG_END event to fire

2007-12-20 Thread ben.clinkinbeard
What happens if you use the code found here? http://www.returnundefined.com/flexmdi/explorer/srcview/index.html Ben --- In flexcoders@yahoogroups.com, "valdhor" <[EMAIL PROTECTED]> wrote: > > Further testing...This time I tried it in IE6 (Have been using Firefox > 2.0.0.11). This gives the foll

[flexcoders] Re: FlexMDI How to get DRAG_END event to fire

2007-12-20 Thread ben.clinkinbeard
Hmmm, thats pretty odd. I don't have Beta 2 available to test with but that shouldn't be causing any issues because the code was written against Flex 2. Are you able to capture other events from MDIManager? What about events directly from the window? Ben

[flexcoders] Re: Center an MDIWindow of FlexMDI

2007-12-20 Thread ben.clinkinbeard
Do you just mean center it in relation to its parent container? If so, you treat it just like any other component as its really just a subclassed Panel with some extra stuff added on. win.x = (win.parent.width - win.width) / 2; win.y = (win.parent.height - win.height) / 2; HTH, Ben --- In flex

[flexcoders] Re: FlexMDI How to get DRAG_END event to fire

2007-12-19 Thread ben.clinkinbeard
Hi Steve, I think something else must be interfering with your code. If you paste the following code (pretty identical to yours) into a Script block in a new Flex project you should see "windowDragEnd" traced out to the console. (init() is called in creationComplete) import flexmdi.events.MDIMana

[flexcoders] Re: DataGrid ItemRenderes HEADERS?

2007-12-19 Thread ben.clinkinbeard
http://www.returnundefined.com/2006/11/creating-truly-reusable-renderers-with-classfactory/ HTH, Ben --- In flexcoders@yahoogroups.com, Sajid Hussain <[EMAIL PROTECTED]> wrote: > > Thanks . > Scot, actuly I m working on select all checkbox at header have u sn any example of tht ? right now I

[flexcoders] Re: Why are the Layout classes excluded/hidden?

2007-12-18 Thread ben.clinkinbeard
Seems extending LayoutContainer is the intended way to accomplish what I want. Still curious as to why the other classes are hidden though. Ben --- In flexcoders@yahoogroups.com, "ben.clinkinbeard" <[EMAIL PROTECTED]> wrote: > > I would like to create a container clas

[flexcoders] Why are the Layout classes excluded/hidden?

2007-12-18 Thread ben.clinkinbeard
I would like to create a container class that provides layout flexibility like the Panel does, allowing the user to choose between BoxLayout and CanvasLayout behavior. In investigating I see that those two classes as well as the marker class of Layout are marked with [ExcludeClass] and "for interna

[flexcoders] Re: TitleWindow activation

2007-12-18 Thread ben.clinkinbeard
FlexMDI dispatches focus events like the ones you're describing. http://code.google.com/p/flexmdi/ HTH, Ben --- In flexcoders@yahoogroups.com, "reflexactions" <[EMAIL PROTECTED]> wrote: > > Thanks, thats exactly what we have done now. > > The slight downside/peformance is that having to captur

[flexcoders] Re: Force DataGrid item to update style

2007-12-17 Thread ben.clinkinbeard
Its because you're calling your compute function from the change event. Try calling it from itemFocusIn or itemClick or something. HTH, Ben --- In flexcoders@yahoogroups.com, "m.frigge" <[EMAIL PROTECTED]> wrote: > > Hey there, > > i found some nice examples for an itemRenderer here >

[flexcoders] Re: How to copy display objects?

2007-12-17 Thread ben.clinkinbeard
99% sure its not possible to duplicate display objects --- In flexcoders@yahoogroups.com, "aceoohay" <[EMAIL PROTECTED]> wrote: > > I have a couple of display objects such as a panel and an HBox which > have a number of children. I would like to make a copy of them into > another container such

[flexcoders] Re: How to use mx.modules.Module class in ActionScript Project

2007-12-15 Thread ben.clinkinbeard
He just means that you can manually set a ref to the parent app. So when you load a module do something like this: newModule.parentApp = this; --- In flexcoders@yahoogroups.com, "cksachdev" <[EMAIL PROTECTED]> wrote: > > Hi Alex, > Please describe it more clearly. So that all ActionScript Proje

[flexcoders] Re: How do I turn off the funky occurrence highlighting in FB3 Beta 3?

2007-12-13 Thread ben.clinkinbeard
> > > > > > > ____ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of ben.clinkinbeard > Sent: Thursday, December 13, 2007 11:16 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] How do I turn o

[flexcoders] How do I turn off the funky occurrence highlighting in FB3 Beta 3?

2007-12-13 Thread ben.clinkinbeard
So in Beta 3 it seems to highlight all occurrences of whatever type/method/var your cursor is in. How do I turn that off? Its quite distracting. Thanks, Ben

[flexcoders] Re: DataTipFunction doesn't seem to make sense?

2007-12-13 Thread ben.clinkinbeard
Not the same but related: https://bugs.adobe.com/jira/browse/SDK-11290 --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Dang, I never noticed that before. Please file a bug. It probably > won't get in Flex 3 though. > > > > >

[flexcoders] Re: Playing Audio on Showing a Differenct Canvas Within A TabNavigator

2007-12-13 Thread ben.clinkinbeard
Listen for the change event of your TN. --- In flexcoders@yahoogroups.com, "John" <[EMAIL PROTECTED]> wrote: > > Hi there, > > I am wanting to play a different audio event on entry into each of my > Tabs > within a Viewstack. Has anyone got any good pointers to assist with > this? > > Thanks

[flexcoders] Re: How to send Arrays in WebService request???

2007-12-13 Thread ben.clinkinbeard
Use e4x as your resultFormat and create a factory and/or constructors that accept xml and populate themselves. HTH, Ben --- In flexcoders@yahoogroups.com, "Peter Connolly" <[EMAIL PROTECTED]> wrote: > > I just discovered what looks like another, related bug. > > A web service response containi

[flexcoders] Re: Event meta data in Interfaces

2007-12-12 Thread ben.clinkinbeard
Hey Tom, Don't have any solutions for you (sorry) but wanted to let you know I feel your pain. I've been struggling with the same thing lately as I wanted to create an interface, but want any implementors to also be containers. There is really no good way to enforce that because creating a base cl

[flexcoders] Re: Auto-sizing a Container that lives in rawChildren - how?

2007-12-11 Thread ben.clinkinbeard
> Since children are sized by their parents, you size and layout yourself, > which you should do in updateDisplayList. > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of ben.clinkinbeard > S

[flexcoders] Re: DataGridColumn bound to ArrayCollection, how to make it update?

2007-12-10 Thread ben.clinkinbeard
Try adding people[0].transferList.refresh() after you add the name. You need send out some sort of notification so that the DG knows to re-render, since the inner AC isn't bound. HTH, Ben --- In flexcoders@yahoogroups.com, "sam_apa" <[EMAIL PROTECTED]> wrote: > > Hi, I'm trying to get a DataGrid

[flexcoders] Re: Reading XML attributes using Cairngorm framework.

2007-12-10 Thread ben.clinkinbeard
Not that its affected by Cairngorm in any way but to access attribute values you need to use the @ symbol. [EMAIL PROTECTED] HTH, Ben --- In flexcoders@yahoogroups.com, bhaskar <[EMAIL PROTECTED]> wrote: > > Hello, > > I am new to flex world. I am trying to read xml attributes in Cairngorm

[flexcoders] Re: Using DateField as itemEditor for DataGrid column

2007-12-09 Thread ben.clinkinbeard
> Flex 3 Beta 2 and Flex 2.0.1 HotFix2 (which are the only versions you should be using) Why is that? We're still using HF1 at work because we've not had time to do regression testing on all of our WebService operations. I suppose its a good thing too, considering all the changes in Flex 3 would

[flexcoders] Re: TitleWindow and Open/Close Effect

2007-12-07 Thread ben.clinkinbeard
pManager.addPopup and close as in > PopUpManager.removePopup. > > I assumed that when I did addPopup and the window appeared it would > fire a "show" and that when I removed it it would fire the hide > before it was destroyed. > tks > > --- In flexcoders@yahoogroups.com, "be

[flexcoders] Re: TitleWindow and Open/Close Effect

2007-12-07 Thread ben.clinkinbeard
What are you doing to the TitleWindow when you refer to "open" and "close"? showEffect/hideEffect correspond to FlexEvent.SHOW and FlexEvent.HIDE, which are triggered by a change in the visible property. So calling someTitleWindow.visible = false should trigger the hideEffect assuming you've assign

[flexcoders] Re: Change textInput text colour when value negative in AS3?

2007-12-07 Thread ben.clinkinbeard
stkFirmLevel.setStyle("color", "#ff"); --- In flexcoders@yahoogroups.com, "candysmate" <[EMAIL PROTECTED]> wrote: > > How can I access the text color of a textInput with AS3? I want to > make the text colour red for negative number display. > > I tried: > > if(int(stkFirmLevel.text) < 0) >

[flexcoders] Auto-sizing a Container that lives in rawChildren - how?

2007-12-06 Thread ben.clinkinbeard
It seems that Containers that are added to rawChildren do not get measured and laid out automatically like they normally would. For instance, if I don't give my HBox an explicit width and height it will not show up when I call someCanvas.rawChildren.addChild(myHBox), no matter how many children I p

[flexcoders] Re: How to do releaseOutside event in Flex2?

2007-12-04 Thread ben.clinkinbeard
Hi Jonathan, This is how I've done it/seen it done: systemManager.addEventListener(MouseEvent.MOUSE_UP, onTitleBarRelease); You add the mouseUp handler to the systemManager, but you don't add it until the drag begins. When the drag ends you clear the listener from systemManager. HTH, Ben ---

[flexcoders] Re: Flex 2.0.1: How to detect internet connectivity in Flex?

2007-12-03 Thread ben.clinkinbeard
Easiest way is probably to just use HTTPService to try loading a URL. Something fast and minimal like google.com would probably be ideal. If your fault handler executes you can reasonably assume you have no connectivity, if your result handler executes you do. HTH, Ben --- In flexcoders@yahoogro

[flexcoders] Re: Actionscript: Copy an Object or Dictionary

2007-11-30 Thread ben.clinkinbeard
> it only copies over object values, not exact values. Huh? --- In flexcoders@yahoogroups.com, "polestar11" <[EMAIL PROTECTED]> wrote: > > Hi there > > Does anyone know how to iterate through an Object / Dictionary & copy > child items. > > I've tried ObjectUtil, but it only copies over object

[flexcoders] Re: Simple String.Replace() function

2007-11-28 Thread ben.clinkinbeard
I know there are newer "proper" ways to do this in AS3 (StringUtils class or something) but the old AS2 way still works as well. myString = myString.split(strToMatch).join(strToReplace); HTH, Ben --- In flexcoders@yahoogroups.com, "marty.pitt" <[EMAIL PROTECTED]> wrote: > > Admission of guilt:

[flexcoders] Re: Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread ben.clinkinbeard
t; EventDispatcher is a Player class. The Flex team can lobby the Player > team for new features, but we don't get everything we ask for. > > Gordon Smith > Adobe Flex SDK Team > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL P

[flexcoders] Re: Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread ben.clinkinbeard
est at http://bugs.adobe.com/flex. > > Gordon Smith > Adobe Flex SDK Team > > ____ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of ben.clinkinbeard > Sent: Wednesday, November 28, 2007 6:04 AM > To: flexcoders@yahoogroups.com > Subject: [fle

[flexcoders] Re: Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread ben.clinkinbeard
SDK Team > > ____ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of ben.clinkinbeard > Sent: Wednesday, November 28, 2007 6:04 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Am I the only one who wishes Ev

[flexcoders] Re: Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread ben.clinkinbeard
> I suppose we could monkey-patch a listeners collection... dare me? :) Ugh, I guess we can't since the source isn't available.

[flexcoders] Re: Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread ben.clinkinbeard
steners that are left over that are > preventing garbage collection? > > Doug > > On 11/28/07, ben.clinkinbeard <[EMAIL PROTECTED]> wrote: > > > > Sometimes it would be really nice be able to access a list of > > currently attached listeners by doing something li

[flexcoders] Am I the only one who wishes EventDispatcher exposed its listeners?

2007-11-28 Thread ben.clinkinbeard
Sometimes it would be really nice be able to access a list of currently attached listeners by doing something like myButton.listeners. Having that return a collection of objects that expose the event type and handler method would be nice and it doesn't seem like it would be that hard to implement s

[flexcoders] Re: interesting error:one event listerner can receive "different" event?

2007-11-27 Thread ben.clinkinbeard
Please do not double post, if someone can help you they will answer. The reason you're seeing that behavior is because event listeners are solely based on the string that your event type evaluates to. So the following 3 lines are equivalent: addEventListener(AnswerController.SEARCH_ANSWER_ON_QUES

[flexcoders] Re: Dynamically Changing Easing Function Again

2007-11-26 Thread ben.clinkinbeard
FYI, in case you haven't seen this one: http://www.madeinflex.com/img/entries/2007/05/customeasingexplorer.html --- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote: > > I am trying to create an easing function explorer to be able to compare > the existing easing functions. Howeve

[flexcoders] Re: Setting multiple custom styles

2007-11-24 Thread ben.clinkinbeard
Here is the item I opened: https://bugs.adobe.com/jira/browse/FLEXDOCS-149 --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > So the answer is pretty much what I expected. You can't assume when > your class will be initialized. It appears in this case that binding >

[flexcoders] Re: radioButton label colour via AS3?

2007-11-22 Thread ben.clinkinbeard
Color is actually a style so its idname.setStyle("color", 0xFF); HTH, Ben --- In flexcoders@yahoogroups.com, "candysmate" <[EMAIL PROTECTED]> wrote: > > I can set the colour of a radioButton's label with color = "#ff" > in mxml, but when I try to use the idname.color = "#ff"; in AS3

[flexcoders] Re: DataGrid.itemToItemRenderer()- what about columns besides the first?

2007-11-21 Thread ben.clinkinbeard
nal approach because in the > external approach you also will have to disable/enable the correct > renderers when they are recycled from a scroll, resize, sort, etc. > > > > ____ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

[flexcoders] Re: DataGrid.itemToItemRenderer()- what about columns besides the first?

2007-11-21 Thread ben.clinkinbeard
erer is > there to handle some internal stuff and as a convenience for a few > scenarios where you can get away with using it, but doesn't generalize > well to datagrid because we don't have function overloading. > > > > ____ > > F

[flexcoders] Re: DataGrid.itemToItemRenderer()- what about columns besides the first?

2007-11-21 Thread ben.clinkinbeard
t; to work from events and the renderers? > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of ben.clinkinbeard > Sent: Tuesday, November 20, 2007 8:19 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] DataGrid.itemToItemRenderer()- what about

[flexcoders] DataGrid.itemToItemRenderer()- what about columns besides the first?

2007-11-20 Thread ben.clinkinbeard
Title pretty much sums it up, but what if I wanted to access an itemRenderer that is not in the first column? Is there any way to do that starting with nothing but the corresponding data item? Thanks, Ben

[flexcoders] Re: How to dynamically create the Object attribute names at run time?

2007-11-20 Thread ben.clinkinbeard
o["field1"] = "abc"; --- In flexcoders@yahoogroups.com, "joseph_freemaker" <[EMAIL PROTECTED]> wrote: > > Want to create a new Object() and dynamically define the object > attribute names at run time. > > This can be done statically using something such as the following: > var o : Object = new O

[flexcoders] Re: Real world usage of Flex

2007-11-20 Thread ben.clinkinbeard
http://flex.org/showcase/ --- In flexcoders@yahoogroups.com, "real_yoni" <[EMAIL PROTECTED]> wrote: > > Hi All, > > I'm looking for real world usage of Flex (other than maps.yahoo.com > and harley-davidson)? can publish links? > > Thanks, > > p.s. > I'm not entirely sure that this is the rig

[flexcoders] Re: Drag by panel header [DragPanel, createPopUp(), addPopUp() ]

2007-11-18 Thread ben.clinkinbeard
Maybe this could meet your needs? http://www.returnundefined.com/2007/09/announcing-flexmdi-robust-extensible-mdi-framework-for-adobe-flex/ HTH, Ben --- In flexcoders@yahoogroups.com, "keszeli" <[EMAIL PROTECTED]> wrote: > > Hey ya all! [:D] > > First of all check out http://metroklub.sk/Main/

[flexcoders] Re: Check if class implements interface at runtime

2007-11-18 Thread ben.clinkinbeard
Pretty sure this has been answered before so search the archives to confirm, but I think you have to use describeType(). HTH, Ben --- In flexcoders@yahoogroups.com, Hrundik <[EMAIL PROTECTED]> wrote: > > Hello! > > There is a way to check if object is an instance of some class and > implements

[flexcoders] Re: List Filter Problem driving me crazy!

2007-11-16 Thread ben.clinkinbeard
Maybe call invalidateList() when the filter changes? Just a guess. --- In flexcoders@yahoogroups.com, "Rick Root" <[EMAIL PROTECTED]> wrote: > > So I'm building an application which contains lists of items that I > want users to be able to filter, select some items, filter again, > select some mo

[flexcoders] Re: Accessing dataField from within a Custom Item Renderer

2007-11-14 Thread ben.clinkinbeard
Yes, you'll want to look into the listData property. Flex automatically populates it for drop-in editors and renderers, so if your renderer implements IDropInListItemRenderer or inherits from a class that does (Button, Label, ComboBox, plus 11 more) then you will be able to access listData. When yo

[flexcoders] Re: excetion bubbling to application level?

2007-11-13 Thread ben.clinkinbeard
Nope. --- In flexcoders@yahoogroups.com, "aaron smith" <[EMAIL PROTECTED]> wrote: > > Is there a way to get all exceptions to bubble to the Application > level so I can catch all for logging? thanks yo. >

[flexcoders] Re: DataGrid not populating from XMLListCollection - namespace issue?

2007-11-13 Thread ben.clinkinbeard
defaulted to Object. So then how do you construct your > dataProvider? I'm confused because on one hand we're talking about > handling XML/namespace data, but then you talk about leaving it as an > Object. Do you still use a result Handler to parse your Object data > into a dif

[flexcoders] Re: Custom DataGrid

2007-11-12 Thread ben.clinkinbeard
I don't get why you've created 2 grids to begin with- the headers don't scroll with the content and the resizing of columns keeps the headers and content aligned as well. What are you trying to do that DataGrid doesn't do out of the box? Ben --- In flexcoders@yahoogroups.com, "Matt" <[EMAIL PROT

[flexcoders] Re: DataGrid not populating from XMLListCollection - namespace issue?

2007-11-12 Thread ben.clinkinbeard
This might help, hope it does. http://www.returnundefined.com/2006/07/datagrid-labelfunction-and-namespaces/ --- In flexcoders@yahoogroups.com, "Brian" <[EMAIL PROTECTED]> wrote: > > I've been trying to get a DataGrid populated from a WebService and > having much trouble. I'm wondering if the is

[flexcoders] Re: Casting in flex

2007-11-10 Thread ben.clinkinbeard
mailto:flexcoders@yahoogroups.com> > [mailto:flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> ] > On Behalf Of ben.clinkinbeard > Sent: Friday, November 09, 2007 6:03 PM > To: flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> > Subject: [flexcoders] Re:

[flexcoders] Re: Cairngorm getInstance()

2007-11-09 Thread ben.clinkinbeard
Hi Adolfo, ModelLocator is an example of the Singleton pattern http://en.wikipedia.org/wiki/Singleton_pattern Singleton is a pattern used in programming to ensure there is only one copy of an object, which is definitely what you want when dealing with your model. Note that its just your model as

[flexcoders] Re: Casting in flex

2007-11-09 Thread ben.clinkinbeard
verted to Position > objects automatically if you got set up correctly. I'm not an expert in > that area, but RegisterClassAlias should be part of the solution. > > > > ____ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL P

[flexcoders] Re: Casting in flex

2007-11-09 Thread ben.clinkinbeard
ecessary to convert the query rows into Position objects > immediately when they come back from ColdFusion rather than casting > them after we get them out of the ArrayCollection? How would this be > done exactly? > > Adam > > --- In flexcoders@yahoogroups.com, "ben.clinki

[flexcoders] Re: Why is drawHighlightIndicator() called multiple times?

2007-11-09 Thread ben.clinkinbeard
bump --- In flexcoders@yahoogroups.com, "ben.clinkinbeard" <[EMAIL PROTECTED]> wrote: > > 2.0.1 HF1 > > > --- In flexcoders@yahoogroups.com, "Alex Harui" wrote: > > > > Which version? > > > > > > > >

[flexcoders] Re: Casting in flex

2007-11-08 Thread ben.clinkinbeard
I assume your dataProvider is a collection of Position objects? Is it an ArrayCollection? Try changing this line selectedItem = event.currentTarget.dataProvider[selectedRow]; to this selectedItem = event.currentTarget.dataProvider.getItemAt(selectedRow); HTH, Ben --- In flexcoders@yahoogroup

[flexcoders] Re: Why is drawHighlightIndicator() called multiple times?

2007-11-08 Thread ben.clinkinbeard
2.0.1 HF1 --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Which version? > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of ben.clinkinbeard >

[flexcoders] Why is drawHighlightIndicator() called multiple times?

2007-11-08 Thread ben.clinkinbeard
When rolling over a DataGrid, drawHighlightIndicator() seems to get called several times (6 or 7 usually) if the mouse is over any column but the first. This is a problem when trying to animate the highlight. Any explanation of why this happens and/or workarounds would be appreciated. Thanks, Ben

[flexcoders] Re: Setting multiple custom styles

2007-11-06 Thread ben.clinkinbeard
Hi Tom, I've not thoroughly examined your code but a few things you might want to investigate. I went around in circles for a long time getting style hierarchies to work correctly in flexmdi. The first thing is that rather than using newStyleDeclaration.setStyle() to set defaults, I would suggest

[flexcoders] Re: using itemrenderer?

2007-11-06 Thread ben.clinkinbeard
Use can use labelFunction to format values. http://livedocs.adobe.com/flex/201/langref/mx/controls/dataGridClasses/DataGridColumn.html#labelFunction HTH, Ben --- In flexcoders@yahoogroups.com, "captnjay_mobile" <[EMAIL PROTECTED]> wrote: > > I'm still rather new to flex.. so forgive me if I'm no

[flexcoders] Re: application/container scrolling

2007-11-05 Thread ben.clinkinbeard
Set minHeight="0" on your VBox. More info: http://tech.groups.yahoo.com/group/flexcoders/message/77204?threaded=1&p=1 HTH, Ben --- In flexcoders@yahoogroups.com, "arieljake" <[EMAIL PROTECTED]> wrote: > > When i compile this app, I get no scrollbars. I expect the Form > container to add scrollba

[flexcoders] Re: Item Renderer Question ...

2007-11-05 Thread ben.clinkinbeard
IDataRenderer defines the data property, which is nothing more than the piece of data the control is representing. Most often this is an element from a collection/data provider. So it might be an instance of a Person class, for instance. IDropInListItemRenderer defines the listData property, which

[flexcoders] Re: filtering datagrid with out filterfunction

2007-11-05 Thread ben.clinkinbeard
Why don't you want to use filterFunction? --- In flexcoders@yahoogroups.com, "suresh17_kakumanu" <[EMAIL PROTECTED]> wrote: > > how can we filter the data grid with out using filter function is > there any other way to filter the data. >

[flexcoders] Re: Aha... did someone say C/C++ to AS3???

2007-11-02 Thread ben.clinkinbeard
http://blog.digitalbackcountry.com/?p=1095

[flexcoders] Re: Why can't I dispatch a different event from an event handler?

2007-11-01 Thread ben.clinkinbeard
Does UploadDialogEvent.SELECT_FILES evaluate to a string that has a MouseEvent listener assigned to it? Ben --- In flexcoders@yahoogroups.com, "Mark Ingram" <[EMAIL PROTECTED]> wrote: > > I have the following code: > > > > private function browseButton_clickHandler(event:MouseEvent):void >

[flexcoders] Re: SequenceCommand

2007-10-31 Thread ben.clinkinbeard
Without thoroughly digesting your issue description, SequenceCommand has proven buggy in the past. Just FYI. Ben --- In flexcoders@yahoogroups.com, "Giles Roadnight" <[EMAIL PROTECTED]> wrote: > > Actually, I stand corrected. > > Each call is sent from a different Command object, the results ar

[flexcoders] Re: Using custom checkBox in datagrid

2007-10-31 Thread ben.clinkinbeard
You don't need a custom event as MouseEvent.CLICK already bubbles. Simply listen for that event and then check if(event.target is CenteredCheckBox). HTH, Ben --- In flexcoders@yahoogroups.com, "candysmate" <[EMAIL PROTECTED]> wrote: > > I'm using a custom itemRenderer (centered checkBox), based

[flexcoders] Re: "transient" properties of an object using RemoteClass

2007-10-29 Thread ben.clinkinbeard
3, I am on 2... > > I can't find a reference to this in Flex 2, is it a new feature of 3? > > --- In flexcoders@yahoogroups.com, "ben.clinkinbeard" > wrote: > > > > > http://livedocs.adobe.com/labs/flex/3/html/wwhelp/wwhimpl/common/ht

<    1   2   3   4   5   6   7   8   >