[flexcoders] Re: Custom ComboBox Class issue

2010-01-22 Thread Amy
BoxSuper constructor -- that may fix that > problem but I don't know what other defaults I'm missing because I can't > extend the ComboBox. > > Anyone have a suggestion? I think it's called globals.css. HTH; Amy

[flexcoders] Re: Public Arrays

2010-01-22 Thread Amy
tion http://tv.adobe.com/watch/360flex-conference/diving-in-the-data-binding-waters-by-michael-labriola/ HTH; Amy

[flexcoders] Re: Item renderer in dynamically generated DataGrid columns

2010-01-21 Thread Amy
the DataGrid_withStyle at flexdiary.blogspot.com, then have your styleFunction pass back an object with properties that you'll then use to populate your strings in commitProperties (see the example itemRenderer for how you can handle grabbing the style information and use it). HTH; Amy

[flexcoders] Re: Flex, SOAP and Process Flow

2010-01-19 Thread Amy
--- In flexcoders@yahoogroups.com, "trefalgar" wrote: > > --- In flexcoders@yahoogroups.com, "trefalgar" wrote: > > > > --- In flexcoders@yahoogroups.com, "Amy" wrote: > > > I always use mx.rpc.Responder instead of AsyncResponder (is th

[flexcoders] Re: Image Size

2010-01-19 Thread Amy
ar imgParts:Array = imgSrc.split('.'); imgParts = String(imgParts[0]).split('_'); var width:int = imgParts[1] as int; var height:int = imgParts[2] as int; if (width==0 || height==0) { throw new Error('Improperly named image source'); } HTH; Amy

[flexcoders] Re: Flex, SOAP and Process Flow

2010-01-19 Thread Amy
t a custom class?). There's a working example of using AsyncToken with AMFPHP here http://flexdiary.blogspot.com/2009/01/lazy-loading-tree-example-file-posted.html . Maybe that will help you see something the docs aren't showing you. HTH; Amy

[flexcoders] Re: if (foo)

2010-01-19 Thread Amy
--- In flexcoders@yahoogroups.com, "ag_rcuren" wrote: > > I once ran some tests to test this. What I found is that checking against > null is much faster. Sorry I do not have the test code around anymore but it > would be very simple to build again. > > My guess as to why is that if (foo) is

[flexcoders] Re: apply style in newly created component

2010-01-15 Thread Amy
tener for initialized or creationcomplete. Be aware that neither of these events will fire until the component has already been added to the Canvas and the Canvas has been added to the display list. HTH; Amy

[flexcoders] Re: Issue with packages and folders - ui

2010-01-13 Thread Amy
line with the file's new location. Have you considered building a library project and just linking to it, or making a swc and dropping it into your libs folder? HTH; Amy

[flexcoders] Re: Flashbuilder

2010-01-11 Thread Amy
dy using this in a serious development effort now? Is it advisable? Somebody made a comment at a recent conference I attended that implied that there might be an announcement at or around Flex360. HTH; Amy

Re: [SPAM] [flexcoders] How to get all tree node parents upon select

2010-01-11 Thread Amy
n XMLListCollection is XML, and will have all the properties, methods, and data available to that data type. HTH; Amy

[flexcoders] Re: Updating renderer properties

2010-01-08 Thread Amy
download the source from the DataGrid_withStyle or TileList_withStyle and just pop either in your project and use the styleFunction just like you would with an AdvancedDataGrid. But my dad used to tell a great joke about "you can lead a horse to the daughter, but you can't make him wink." So whatever ;) -Amy

[flexcoders] Re: Updating renderer properties

2010-01-07 Thread Amy
o override the styleChanged() > method the itemRenderer, to handle the update. Also, depending on what your renderer is _in_, you could use the TileList_withStyle or DataGrid_withStyle, which are List based components that have an implementation of styleFunction based on the AdvancedDataGrid code. HTH; Amy

[Spam] [Spam] [Spam] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-07 Thread Amy
--- In flexcoders@yahoogroups.com, "valdhor" wrote: > > Copy and paste the XML to a file and then try opening the file in a browser. That might not show problems like <, since those may well be masked by toString() or toXMLString(). Just sayin... Amy

[Spam] [Spam] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-07 Thread Amy
--- In flexcoders@yahoogroups.com, Nick Middleweek wrote: > > Hi Amy, > > Mm... What is a way of verifying the returned data is valid XML? > > It 'looks' ok, but are there tools to check it, I mean it's valid in terms > that it looks formatted correctl

[Spam] [flexcoders] Re: Expressions panel in FB3 Mmmmmm

2010-01-07 Thread Amy
--- In flexcoders@yahoogroups.com, Nick Middleweek wrote: > > Hi, > > Thanks for the replies... Amy - I've tried wrapping my e4x in a trace > statement inside the Expression panel but that didn't seem to help me :( Let me try to clarify. The expressions panel cannot

[Spam] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-07 Thread Amy
bjects. I'm guessing this is a bug in the Flex framework... Have you verified that the deeply nested data is actually properly formatted XML? For instance, when you're having SQL Server make XML for you, you sometimes need to cast the results of subqueries to XML. HTH; Amy

[flexcoders] Re: Preloading TabNavigator tabs

2010-01-07 Thread Amy
--- In flexcoders@yahoogroups.com, "artgrater" wrote: > > My app has a light weight start screen that is the first tab in a > TabNavigator. > > One of the tabs takes longer than I would like to appear when it is first > clicked. > I think you can manually call createComponentsFromDescriptors

[flexcoders] Re: Expressions panel in FB3 Mmmmmm

2010-01-06 Thread Amy
--- In flexcoders@yahoogroups.com, Nick Middleweek wrote: > > Hi, > > Has anyone managed to get this "what seems to 'could' be a wonderfull tool" > working? > > i just get a message in red saying something like "Cant evaluate" > > > Thanks for any pointers... > Nick > Maybe this will help..

[flexcoders] Re: Creation Complete flag?

2009-12-31 Thread Amy
--- In flexcoders@yahoogroups.com, "dfalling" wrote: > > Is there a publicly-exposed property on components that can be inspected to > determine if they have finished creation yet? I know I can listen for > creationComplete, but what can I do if it may have already been fired? > Check out ht

[flexcoders] Re: Lazy loading of data with HierarchicalCollectionView

2009-12-23 Thread Amy
--- In flexcoders@yahoogroups.com, "xiaoming_w...@..." wrote: > > Hi Alex, > > Thank you. I got some ideas from one of your blog posts. > > http://blogs.adobe.com/aharui/2008/12/tree_and_lazy_or_paged_data_1.html > > However, here comes one more question: > > Shall I need to re-define a col

[flexcoders] Re: Flash CS4 component to Flex builder 3

2009-12-21 Thread Amy
--- In flexcoders@yahoogroups.com, "Sergio Alvarez Real" wrote: > > Hello guys, I have an issue with developing a flash component I'm planning to > use in Flex...the thing is that it looks like there's a component kit for > flash CS4, but I can't seem to find that for CS4. > > Here's my trou

[flexcoders] Re: How to open a new browser window from a MySpace widget?

2009-12-19 Thread Amy
="internal" so navigateToUrl from inside > flex can't be used. Can you explain why you think ExternalInterface can't be used to make JavaScript calls? Is this something specific to the MySpace environment? -Amy

[flexcoders] Re: possible to derive rowIndex from DataGrid's rightClick event?

2009-12-15 Thread Amy
--- In flexcoders@yahoogroups.com, Tim Romano wrote: > > In an AIR app, I'd like to be able to know what row of a DataGrid the > user has right-clicked on.* The rightClick event of the DataGrid is a > MouseEvent and does not expose rowIndex (unlike the rowClick event which > is of type ListEv

[flexcoders] DataGrid adds extra row unexpectedly

2009-12-02 Thread Amy
() on that event. Does anyone know what event I should be looking at for this, or whether there's a property that equates to "don't allow wonky extra invisible row to be clickable and add data to my dataprovider"? Thanks; Amy

[flexcoders] Re: << DateTimeAxis parseFunction issue >>

2009-12-01 Thread Amy
look for something like a labelFunction. HTH; Amy

[flexcoders] Re: List in second tab of TabNavigator has GIANT itemRenderer

2009-11-25 Thread Amy
--- In flexcoders@yahoogroups.com, Chris wrote: > > You can bind the width of the text field to the dimensions of its parent: > > > > > > > This way you don't have to use a 'hard' width. Kind of a hack, I know. Thanks for the suggestion, but this becomes problematic in

[flexcoders] Re: List in second tab of TabNavigator has GIANT itemRenderer

2009-11-24 Thread Amy
--- In flexcoders@yahoogroups.com, Chris wrote: > > Could this be related to resizeToContent on TabNavigator? Alternatively, it > may be an issue with your dataprovider. Source would be helpful... Here's what the issue was: My renderer had a Repeater in it that had Text components that had a p

[flexcoders] List in second tab of TabNavigator has GIANT itemRenderer

2009-11-24 Thread Amy
vas and the List at various times (creationComplete, show, change) None of this has worked. I am trying to avoid taking extra time to strip this down to make runnable code (it's already eaten over an hour), so if anyone has any ideas with the information I've provided, I'd appreciate hearing them. Thanks; Amy

[flexcoders] Re: Is thereany way using a Image Renderer ,I can change the widtth or height of an image?

2009-11-24 Thread Amy
--- In flexcoders@yahoogroups.com, Thomas Silvester wrote: > > How can i do that ? any sample code . In the Help files, there's something like "creating a style property," which will give you the outlines of what you need to do. HTH; Amy

[flexcoders] Re: Syntax Question

2009-11-22 Thread Amy
--- In flexcoders@yahoogroups.com, Dan Pride wrote: > > Actually that didn't work either. > It returned a value if the var was untyped > The var would not type > I could not use it as an input where I need it. > Centerscrip.as initApp() line 50 or so > Eight suggestions from four developers

[flexcoders] Re: Syntax Question

2009-11-22 Thread Amy
the situation. > Comments or suggestions would be appreciated again > thanks > Dan Try var crapola:* = squaresGrid.selectedItem; Then look and see what variable type you have. var crapola types it as Object. HTH; Amy

[flexcoders] Re: Syntax Question

2009-11-21 Thread Amy
t hard to know the difference between XML and XMLList is to set a variable to selectedItem that has type of *. Then I put in a break point in the debugger and _look_ at what the type of that variable is. HTH; Amy

[flexcoders] Re: custom scrollbar behavior

2009-11-21 Thread Amy
--- In flexcoders@yahoogroups.com, "skwasha" wrote: > > I have a custom scrollbar that seems to work in some components but not > others. Is there something simple I'm missing? Shouldn't the same assets with > the same css look the same? It looks like the arrows are being shrunk and the > thu

[flexcoders] Re: HorizontalList itemRenderer size does not resize on refresh

2009-11-21 Thread Amy
, but it seems to me no one is smart enough to calculate the optimal best height for the items, taking all possible scenarios into account, in a way that won't perform really slowly. Try using a Repeater instead. HTH; Amy

[flexcoders] Re: Is thereany way using a Image Renderer ,I can change the widtth or height of an image?

2009-11-21 Thread Amy
--- In flexcoders@yahoogroups.com, "mitchgrrt" wrote: > > 3. Width and height are properties of Image, not styles, so setStyle() > won't work. You can add code to accept them as styles...

[flexcoders] Re: ASDoc & MXML

2009-11-19 Thread Amy
--- In flexcoders@yahoogroups.com, "turbo_vb" wrote: > > Three dashes for the comment: > > http://www.adobe.com/2006/mxml";>-TH--- In > flexcoders@yahoogroups.com, "Amy" wrote: > > > > When you give a component defined in MXML an

[flexcoders] Re: Copy or enumerate a CSSStyleDeclaration? (Flex 3.4)

2009-11-19 Thread Amy
stance defined in MXML in the faux attributes that point to style properties. BUT...I think I ultimately concluded that the inheritance I was trying to force basically just happens automagically, because the code I worked out isn't in the project anymore :) HTH; Amy

[flexcoders] ASDoc & MXML

2009-11-19 Thread Amy
When you give a component defined in MXML an ID, you essentially make it a public property of your component, so I want to document all of these properties. Unfortunatley, I'm not sure how to "inline" ASDOC comments on them. Has anyone done this before? TIA; Amy

[flexcoders] Re: Subclassed DataGridColumn does not render in FB3 design view mode

2009-11-19 Thread Amy
--- In flexcoders@yahoogroups.com, "fourctv" wrote: > > Amy, > > it is already in a swc library. > > what do you mean by 'program for the design time view'? > all my DGC subclass does is add a couple extra properties. no changes or > o

[flexcoders] Re: Wonky alignment in mx:htmlText property (Flex 3)

2009-11-19 Thread Amy
with that. I ask again: does anyone know why this happens? Thanks; Amy

[flexcoders] Re: This mailing list vs the forum.

2009-08-17 Thread Amy
--- In flexcoders@yahoogroups.com, Ian Thomas wrote: > > On Thu, Aug 13, 2009 at 10:26 AM, Andriy Panas wrote: > > > Forums in general are way superior to mailing lists to exchange the > > knowledge on the Internet. > > My main issue with that is: > Mailing lists are push. Forums are pull. >

[flexcoders] Re: This mailing list vs the forum.

2009-08-17 Thread Amy
t; outdated 2.5.7 to 2.5.16. > > > mangled subject lines > > Fixed. > > > the lack of correct headers to allow threading. > > Will be fixed when hell freezes over: > http://www.jivesoftware.com/jivespace/thread/50602 I know I'm jumping into this late (been completely slammed), but what's the status of NNTP support on the forums? Thanks; Amy

[flexcoders] Re: Sideways text

2009-07-25 Thread Amy
their text, and > you'd have to require Flash Player 10. Looking at how Flex 4 implements its > new text components would probably be useful if you're going to do this. I think an easier way is to just set the blendMode on the text component to "layer." -Amy

[flexcoders] Re: Flash component play in flex issue

2009-07-11 Thread Amy
--- In flexcoders@yahoogroups.com, j2me_soul wrote: > > I use this code to jump to each frame. But the component didn't play as same > as playing in flash. > > All the transition effect disappear. It just jump one frame to another > directly without transition. > > How to make the component pl

[flexcoders] Re: "undefined" in stack trace (Console), stack overflow

2009-07-09 Thread Amy
collection, so you just get one event at the end (when you call enableAutoUpdate). If that doesn't help, I'm not sure what else to suggest without looking at your code. HTH; Amy

[flexcoders] Re: addChild using actionscript

2009-06-29 Thread Amy
lready existed. Consider using a repeater to handle this for you. HTH; Amy

[flexcoders] Re: Embed AIR app to MS Word

2009-06-25 Thread Amy
which it actually is). HTH; Amy

[flexcoders] Re: tilelist rowCount not working...

2009-06-25 Thread Amy
--- In flexcoders@yahoogroups.com, grimmwerks wrote: > > Ugh. It appears it's something inherent with Flex 3, was abandoned and > fixed in F4. > > http://bugs.adobe.com/jira/browse/SDK-15335 I don't think it's a bug, just counterintuitive: http://tech.groups.yahoo.com/group/flexcoders/message

[flexcoders] Re: Performance improvement recommendation

2009-06-23 Thread Amy
hen add to the collection after > > those are drawn. > > Amy, thank you for your suggestion. I have one question which is related to > UI design based on your suggestion. Let's say I have 50 posts to display. I > only display first 5 and add rest of the posts after the first 5 ar

[flexcoders] Re: Set the height of a custom itemRenderer to its children

2009-06-22 Thread Amy
--- In flexcoders@yahoogroups.com, "lambovell" wrote: > > The class below is being used as a custom itemRenderer, and I want to set the > height of the VBox to that of its contents (children). > > public class MyDynamicLayout extends VBox > { > // .. code removed for brevity > > overrid

[flexcoders] Re: Charting questions

2009-06-22 Thread Amy
--- In flexcoders@yahoogroups.com, "inevative" wrote: > > Thanks for that. I had not embeded the font which seemed to be the issue. > Any ideas on the other ones? especially getting the color being used in the > legend. > This might help http://blogs.adobe.com/flexdoc/2008/07/customized_lege

[flexcoders] Re: Performance improvement recommendation

2009-06-20 Thread Amy
ut by just loading 5 (or however many are visible without scrolling), and then add to the collection after those are drawn. -Amy

[flexcoders] Re: Binding two elements in a single datagrid column

2009-06-18 Thread Amy
--- In flexcoders@yahoogroups.com, "Tim Hoff" wrote: > > > No response huh? Ok, you're welcome valdhor (Steve). One thing to > point out is that all flex controls, containers and components extend > UIComponent. AdvancedDataGridItemRenderer doesn't. I suspect there are others as well.

[flexcoders] Re: Piechart in ItemRenderer

2009-06-17 Thread Amy
on charts. I believe they did it this way so that you could use them as itemRenderers in ADG's and set them up with the styleFunction. HTH; Amy

[flexcoders] Re: Dynamically Naming Objects

2009-06-14 Thread Amy
--- In flexcoders@yahoogroups.com, Gordon Smith wrote: > > 1. If accessing the ComboBoxes you'll create by an index number is > sufficient, declare an instance var of type Array: > > private var comboBoxes:Array = []; > > When you dynamically create a new ComboBox, simply add the reference

[flexcoders] Re: Charting dataFunction issues

2009-06-11 Thread Amy
--- In flexcoders@yahoogroups.com, "Jake Churchill" wrote: > > Charting people, please help! take a look at this example and seeif it helps. http://flexdiary.blogspot.com/2008/08/charting-example.html

[flexcoders] Re: how to fix poor performance in this example (AdvancedDataGrid and Binding)

2009-06-10 Thread Amy
--- In flexcoders@yahoogroups.com, Pan Troglodytes wrote: > > Yes, a mushroom indeed - well put! By the way, I found your posts about > your fun with the various ADG item renderers quite informative. Though you > did leave me wishing for some source code of the working examples. > > The problem

[flexcoders] Re: Itemrenderers style?

2009-06-10 Thread Amy
--- In flexcoders@yahoogroups.com, Alex Harui wrote: > > Not sure what is going on, but the renderers get their styleNames set by the > List class. I see you trying to set it in two other places as well. Not > sure who's going to win in that case. http://flexdiary.blogspot.com/2008/06/using-c

[flexcoders] Re: how to fix poor performance in this example (AdvancedDataGrid and Binding)

2009-06-10 Thread Amy
. I wouldn't be trying to change the data itself in respons to a ui change, since it's almost inevitably going to trigger another ui change. HTH; Amy

[flexcoders] Re: how to fix poor performance in this example (AdvancedDataGrid and Binding)

2009-06-09 Thread Amy
d object changes. HTH; Amy

[flexcoders] Re: Create a naming convention to define multi-level list

2009-06-08 Thread Amy
re would be the 4th level. It defines a subclass of "Foo Three" > > Class ID = 1_2_1_1 > Class Name = Foo Four. > > Am I approaching this the wrong way? Can anyone show me a better way to do > this? Any tips are very much appreciated. http://www.adobe.com/livedocs/flex/3/langref/mx/collections/HierarchicalCollectionView.html getNodeDepth HTH; Amy

[flexcoders] Re: reference xml using variable dynamically

2009-06-06 Thread Amy
--- In flexcoders@yahoogroups.com, "Jason B" wrote: > > > Actually this works > nutritionXML.child(carousel).itemdata > > NOT THIS > nutritionXML.child(carousel).child("itemdata") > > the second one seems to give me back the first itemdata node not all of them > for the foreach, just an FYI

[flexcoders] Re: reference xml using variable dynamically

2009-06-05 Thread Amy
--- In flexcoders@yahoogroups.com, "Tracy Spratt" wrote: > > Yeah, that really is better. I just have used the bracket notation for so > much longer than e4x that I forget. except it should be nutritionXML.child(carousel).child('itemdata') oops :o)

[flexcoders] Re: sorting XMLListCollection

2009-06-05 Thread Amy
--- In flexcoders@yahoogroups.com, Cordova Aaron wrote: > > > I've looked at several examples using google. All the examples sort on an XML > attribute, but I want to sort on a value of a particular tag. http://tech.groups.yahoo.com/group/flexcoders/message/121808

[flexcoders] Re: Is this list declining?

2009-06-05 Thread Amy
--- In flexcoders@yahoogroups.com, Gordon Smith wrote: > > Sorry, I don't have an update on that, Amy. Maybe Vera knows, so I've cc'd > her. Thanks :-)

[flexcoders] Re: reference xml using variable dynamically

2009-06-05 Thread Amy
--- In flexcoders@yahoogroups.com, "Tracy Spratt" wrote: > > Try: > > for each(var item:Object in nutritionXML[carousel].itemdata) > Another syntax that's more reliable and understandable is: for each (var item:XMLList in nutritionXML.child(carousel).child(itemdata)) { //stuff }

[flexcoders] Re: About how to implement UIComponent

2009-06-03 Thread Amy
--- In flexcoders@yahoogroups.com, Manish Jethani wrote: > > On Wed, Jun 3, 2009 at 10:26 PM, Manish Jethani > wrote: > > 2009/6/3 j2me_soul : > > >>   override protected function measure():void{ > >>    this.explicitMinWidth = this.explicitMinHeight = 50; > >>   } > >>  } > > > > Here you shoul

[flexcoders] Re: Is this list declining?

2009-06-02 Thread Amy
--- In flexcoders@yahoogroups.com, Gordon Smith wrote: > > There is a lot of traffic (>100 posts/day) on the Flex forum at > > http://forums.adobe.com/community/flex/flex_general_discussion > > The Adobe forums now support email. How's the nntp support coming?

[flexcoders] Re: Still more problems with DataGrid

2009-05-22 Thread Amy
--- In flexcoders@yahoogroups.com, Laurence MacNeill wrote: > > As I add and delete items from my DataGrid's dataProvider (an > ArrayCollection), my custom ItemRenderer starts messing things > up. It "remembers" values from previous data that was there, but got > deleted. But the weird thing

[flexcoders] Re: Doing "math" with Date()

2009-05-19 Thread Amy
If so, try something like: http://flexdiary.blogspot.com/2008/07/getting-help-in-flex-builder.html HTH; Amy

[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Amy
ers. That's certainly an interesting opinion, but those terms usually go along with Cairngorm, which isn't universally accepted as being loosely coupled http://blog.iconara.net/2008/04/13/architectural-atrocities-part-x-cairngorms-model-locator-pattern/ . -Amy

[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, "Tim Hoff" wrote: > Not disputing that public properties are a viable approach. Just > pointing out that Flex is an event driven framework. Oops, missed this bit. If you use a generic event, you're still doing things in an event driven way--you're just elimi

[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Amy
uld get closer to the analogy. But even then, you could remove Button or its subclass from either class without breaking the way the two interact. -Amy

[flexcoders] Re: Background color of Tile List

2009-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, "christophe_jacquelin" wrote: > > Hello, > > How to change the background color of a item selected in a Tile List. How to > memorize the list of the different items selected. I have no idea what your second question even means, but you could try this for yo

[flexcoders] Re: ItemRenderer Help

2009-05-18 Thread Amy
nderer class, and then operate on that. HTH; Amy

[flexcoders] Re: Duplicate Module Loads - applicationDomain / Shared Code Issues

2009-05-18 Thread Amy
hen deciding later whether or not to act. This example http://flexdiary.blogspot.com/2009/01/lazy-loading-tree-example-file-posted.html doesn't use Modules, but it does show how to use a responder to "route" the result of a call back to the specific instance of a class that made the call. HTH; Amy

[flexcoders] Re: Form with 3 Custom Components...

2009-05-18 Thread Amy
;http://www.adobe.com/devnet/flex/articles/loose_coupling.html> I think that's a great article, and I think it's important to note that he doesn't create a custom event to handle this--instead he uses a generic event and then reads the public property off of the component. -Amy

[flexcoders] Re: Centering my app on the screen...

2009-05-18 Thread Amy
t give it percentage dimensions 2) Otherwise, use CSS like this: #divContainingSWF { width:500; height: 500; padding-top:50%; padding-left:50%; margin-top: -250; margin-left: -250; } HTH; Amy

[flexcoders] Re: Storing an array in a Database?

2009-05-17 Thread Amy
unt of storage space that you need for the contents of the bag, rather than having a cardboard box that takes up the same amount of space no matter how much or little is in it. Now it becomes amazingly easy to populate your tables from the array. That's one reason normalization was invented. It's a great design pattern. HTH; Amy

[flexcoders] Re: Form with 3 Custom Components...

2009-05-16 Thread Amy
ailable, and then just go read those properties when the event fires. I know that there are a few cases where it makes more sense to use a custom event, but in most cases it's just extra work, extra file size, and extra tight coupling for little gain. HTH; Amy

[flexcoders] Re: backgroundGradientColors

2009-05-14 Thread Amy
--- In flexcoders@yahoogroups.com, thomas parquier wrote: > > Hi, > > I dont see the implementation of backgroundGradientColors drawing in > Application.as. There doesnt seem to be any other component defining and > implementing backgroundGradientColors. > Does anyone know where to look at ? > A

[flexcoders] Re: Buggy HorizontalList

2009-05-14 Thread Amy
--- In flexcoders@yahoogroups.com, "nathanpdaniel" wrote: > > Maybe I misspoke so, to clarify, my ItemRenderer knows nothing of my actual > model. I do use some static values from my model (checking against specific > values - if I have one of these values, change the state of this particular

[flexcoders] Re: Job Offer !

2009-05-14 Thread Amy
--- In flexcoders@yahoogroups.com, "valdhor" wrote: > > Amy > > Has someone stolen your identity or are you really spamming the list with job > offers that have nothing to do with Flex?? > I confess...someone has stolen my identity.

[flexcoders] Re: Buggy HorizontalList

2009-05-14 Thread Amy
ether Cairngorm is good practice at all, but it sounds to me as if the way you're using it is _not_ proper. ItemRenderers shouldn't know anything about your model. All they should do is display and/or edit the data that is pushed into them, without knowing or caring how that data fits into the larger picture. HTH; Amy

[flexcoders] Re: 2 Questions abot TextField in ActionScript

2009-05-14 Thread Amy
--- In flexcoders@yahoogroups.com, Gordon Smith wrote: > > 1. Did you try setting TextField's 'alpha' property? In Player 10, I think it > works with both device and embedded fonts. In Player 9, I think it only works > with embedded fonts. You have to set the blend mode on text to "layer" or em

[flexcoders] Re: Validating items in DataGrids

2009-05-14 Thread Amy
--- In flexcoders@yahoogroups.com, "foobone9" wrote: > > I would just create a custom item renderer who examines its own data and if > it finds something it doesn't like it draws a red bordering using the drawing > API in updateDisplayList. It might be simpler to use this: http://flexdiary.blog

[flexcoders] Re: Buggy HorizontalList

2009-05-12 Thread Amy
;ve yet to be able to consistantly > reproduce it with anything. I'm sort of at a loss for what to do since, I > don't really know what's causing the issue... ?? It sounds like you have the old "trying to set properties in creationcomplete" issue. Check out Q2 here http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf to see if that is it. HTH; Amy

[flexcoders] Re: TabNavigator creationPolicy

2009-05-07 Thread Amy
;t post code, it didn't click with me that you were using states. I don't usually use states with Flex, when I use it, which has't been for a few weeks. Nevertheless, I suspect that if you look at the AddChild code, you'll find that it works more like what you'd expect in AS vs. MXML. HTH; Amy

[flexcoders] Re: TileList dataprovider change bug?

2009-05-06 Thread Amy
--- In flexcoders@yahoogroups.com, "Ritu Raj Tiwari" wrote: > > I am seeing some strange behaviour with TileList. I am hoping someone can > shed some light on this: > I have a TileList where I assign it an ArrayCollection for its dataProvider. > As I add objects to this collection, the tile list

[flexcoders] Re: TabNavigator creationPolicy

2009-05-06 Thread Amy
--- In flexcoders@yahoogroups.com, Richard Rodseth wrote: > > The code that I replaced was adding the entire TabNavigator plus children > and grandchildren in an AddChild tag. > It appears that deferred instantiation of the grandchildren is > non-functional in that case. Duh. When you do this:

[flexcoders] Re: Question regarding FLV protection

2009-05-06 Thread Amy
--- In flexcoders@yahoogroups.com, "Jon Oxtoby" wrote: > > We're using FMS 3.0, unfortunately the downloading software we're attempting > to block (Jaksta) can handle an rtmpe stream no problem. We have the SWF > verification enabled and that prevents the software from opening a new > stream,

[flexcoders] Re: TabNavigator creationPolicy

2009-05-05 Thread Amy
before you use addChild to add _it_. Even if you aren't, how would the application know that you have some plan to add children later (that the creation process isn' complete). HTH; Amy

[flexcoders] Re: TabNavigator creationPolicy

2009-05-04 Thread Amy
--- In flexcoders@yahoogroups.com, Richard Rodseth wrote: > > Created a test case below (creation policy is the default null). Most of the > time, the trace shows "One complete" and when you activate tabs Two and > Three you see the trace from those creationComplete events, as expected. > > But I

[flexcoders] Re: Line Series - does not show anything for single data point

2009-04-28 Thread Amy
s a circle rather than not > showing up anything at all. > > SWF and source attached. The chart initially loads with data; when I change > the DP to just one data point, nothing would show up. > > Can someone please help? http://flexdiary.blogspot.com/2008/08/charting-example.html HTH; Amy

[flexcoders] Re: Pass repeater data to headerrenderer

2009-04-27 Thread Amy
--- In flexcoders@yahoogroups.com, "Jack OMelia" wrote: > > > That is VERY cool. And I like the way you use grouping in this app as well. > Much appreciated. You're welcome :-)

[flexcoders] Re: How to rotate text while keeping one eng fixed

2009-04-26 Thread Amy
--- In flexcoders@yahoogroups.com, Aaron Hardy wrote: > > Try embedding your font. Or setting the blendMode to "layer"

[flexcoders] Re: Pass repeater data to headerrenderer

2009-04-26 Thread Amy
each Accordion "section", because you can only see one at a time. So this only creates one and "rehomes" it when a new header is clicked. -Amy

[flexcoders] Re: argent help needed please

2009-04-24 Thread Amy
--- In flexcoders@yahoogroups.com, "stinasius" wrote: > > hi guys i have a problem with video display play button in flex 2. when i > click the play button i get this error "TypeError: Error #1006: play is not a > function.at custom_comps::home/__playButton_click()". here is my code please > gu

[flexcoders] Re: What's your favorite Tip/Trick ?

2009-04-22 Thread Amy
--- In flexcoders@yahoogroups.com, Brad Bueche wrote: > > If you click the full screen option on the player (in screen) then it will > go full screen and you wont have to scroll around. I always just click > full screen as a matter of habit so I was not aware of the issue and didnt > think to p

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