[flexcoders] hey~
Hi, I bought a TV last week from a website:www.hkeles.com. I have received the product. The quality is very good. They also sell phones,motor,psp and so on. Because of the financial crisis, their products are very cheap. by the way, they only sell new and original products .If you need these products, you can have a look . I think you will get many benefits. Greetings!
[flexcoders] controling mxml component layout at runtime.
Simple question: I have a vBox with various mxml component in it. I would like to be able to determine their order in the vbox at runtime. is this possible at All ? Thanks. Thibaud
[flexcoders] Re: controling mxml component layout at runtime.
Never mind, I figured it out. Somehow i didn't realize that display list methods worked fine with mxml objects. just as it should :) On Mon, Jun 22, 2009 at 12:20 PM, Thibaud Van Vreckem thibaudm...@gmail.com wrote: Simple question: I have a vBox with various mxml component in it. I would like to be able to determine their order in the vbox at runtime. is this possible at All ? Thanks. Thibaud
Re: [flexcoders] Flash Speed test - RESULTS !
Why on earth would you have your monitor refresh rate at 30hz ? On Wed, May 13, 2009 at 10:42 AM, Tom Chiverton tom.chiver...@halliwells.com wrote: Why on earth would you need to generate more frames per second than the monitor can display (i.e. around 30) ? . __,_.__
Re: [flexcoders] Ribbon in FLEX
I know I could do it using tabs and panels, but an existing FLEX version could save me a lot of time. that ribbon design is a perfect example of what flex shines for. it's nothing more than tabs and canvas/Hbox panels. that's probably about 5 sec setup. I'm not sure I understand what you would you need a component for .. On Fri, Mar 13, 2009 at 9:29 AM, Claudio M. E. Bastos Iorio selecter...@gmail.com wrote: Thanks for your answer and links. The silverlight version looks really great. Check this online demo (silverlight required): http://silverlight.services.live.com/invoke/60108/SilverlightRibbon/iframe.html I’m not trying to copy exactly the ribbon. Just the concept. I know I could do it using tabs and panels, but an existing FLEX version could save me a lot of time. If I don’t find any FLEX version, the silverlight version will help me a lot, thanks. I wish I could use silverlight + .NET, but this is an AIR project L __ Claudio M. E. Bastos Iorio *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Sam Lai *Sent:* Friday, March 13, 2009 3:53 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Ribbon in FLEX http://office.microsoft.com/en-us/products/HA101679411033.aspx?pid=CL100796341033#2 Kind of like the toolbar for picking controls in Adobe Dreamweaver (unless they've changed it in recent versions). Unfortunately I haven't heard of any Flash implementations, only Silverlight implementations. You could implement it yourself using a TabNavigator and Panel controls inside each tab for groups, and buttons inside them. It's the styling that will be a pain - the official specs are available from Microsoft for free though, with some conditions attached (http://msdn.microsoft.com/en-au/office/aa973809.aspx). You could also use the images and even code if you know XAML from the Silverlight version - http://silverlightribbon.codeplex.com/ Personally I'd be making my own interpretation of the ribbon control instead of following the Microsoft version to the dot, especially seeing as they have changed a few bits in Windows 7 which will probably filter down to Office in Office 2010 (e.g. the confusion with the File menu - the Orb in the top corner is now gone). 2009/3/13 Tracy Spratt tspr...@lariatinc.com tspratt%40lariatinc.com: I am not familiar with that control, can you describe it? Tracy Spratt, Lariat Services, development services available From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On Behalf Of Claudio M. E. Bastos Iorio Sent: Friday, March 13, 2009 2:13 AM To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Subject: [flexcoders] Ribbon in FLEX Hi, Is there any component (free or paid) similar to the office 2007 ribbon control? TIA __ Claudio M. E. Bastos Iorio
[flexcoders] preventing flex List rollover indicator to draw on selected item.
This thing has always bugged me. the rollover effect should never appear on a selected item in a list. unfortunately that's not how the List works. The list is using an itemrenderer implementing IDropInListItemRenderer. and I already do various visual changes using the: ListBase(owner).isItemHighlighted(data) and ListBase(owner).isItemSelected(data) in the itemrenderer. I imagine I could: 1. get rid off the rollover effect entirely by setting the list useRollOver style property to false and handling the rollover through the itemrenderer. 2. make an new List class and override it's drawHighlightIndicator() method. any idea how to prevent drawHighlightIndicator() to operate on the selectedItem ? any other solution ? thanks
Re: [flexcoders] Re: preventing flex List rollover indicator to draw on selected item.
Thanks for the answer, that was great :) Tim is code looks exactly like what I actually ended up doing: import mx.controls.List; import flash.display.Sprite; import mx.controls.listClasses.IListItemRenderer; override protected function drawHighlightIndicator(indicator:Sprite, x:Number, y:Number,width:Number, height:Number, color:uint,itemRenderer:IListItemRenderer):void { if (!isItemSelected(itemRenderer.data)) super.drawHighlightIndicator(indicator, x, y,width, height, color, itemRenderer); } any reason why you used (unscaledWidth - viewMetrics.left - viewMetrics.right) for width ? On Thu, Feb 12, 2009 at 12:44 AM, Tim Hoff timh...@aol.com wrote: Or, even better: * override * *protected* *function* drawHighlightIndicator(indicator:Sprite, x:Number, y:Number, width:Number, height:Number, color:uint, itemRenderer:IListItemRenderer):*void *{ * if* ( !isItemSelected(itemRenderer.data) ) { * super*.drawHighlightIndicator(indicator, x, y, unscaledWidth - viewMetrics.left - viewMetrics.right, height, color, itemRenderer); } } -TH --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: So, with Alex's suggestion, this is a lot cleaner: override protected function drawHighlightIndicator(indicator:Sprite, x:Number, y:Number, width:Number, height:Number, color:uint, itemRenderer:IListItemRenderer):void { if (isItemSelected(itemRenderer.data)) { return; } super.drawHighlightIndicator(indicator, x, y, unscaledWidth - viewMetrics.left - viewMetrics.right, height, color, itemRenderer); } -TH --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: Yeah, that makes sense; since it also considers highlighting with the keyboard. -TH --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: I'd just override drawHighlightIndicator... Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tim Hoff Sent: Wednesday, February 11, 2009 1:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: preventing flex List rollover indicator to draw on selected item. Here's an easy way: Extend List override protected function mouseOverHandler(event:MouseEvent):void { var item:IListItemRenderer = mouseEventToItemRenderer(event); super.mouseOverHandler(event); if (highlightIndicator item isItemSelected(item.data)) { clearHighlightIndicator(highlightIndicator, item); } } -TH --- In flexcoders@yahoogroups.com, Thibaud Van Vreckem thibaudmail@ wrote: This thing has always bugged me. the rollover effect should never appear on a selected item in a list. unfortunately that's not how the List works. The list is using an itemrenderer implementing IDropInListItemRenderer. and I already do various visual changes using the: ListBase(owner).isItemHighlighted(data) and ListBase(owner).isItemSelected(data) in the itemrenderer. I imagine I could: 1. get rid off the rollover effect entirely by setting the list useRollOver style property to false and handling the rollover through the itemrenderer. 2. make an new List class and override it's drawHighlightIndicator() method. any idea how to prevent drawHighlightIndicator() to operate on the selectedItem ? any other solution ? thanks
Re: [flexcoders] Another itemRenderer question, a simple one
import mx.controls.listClasses.*; ListBase(owner).styleName On Tue, Feb 10, 2009 at 6:21 PM, djhatrick djhatr...@yahoo.com wrote: Is there a way to access the styleName property of the list through the itemRenderer? thanks, Patrick
Re: [flexcoders] Re: FadeIn Effect not working with custom item renderers in List
I'm hitting the exact same issue.. Any solutions yet ? should I submit that as a bug ? On Wed, Jan 21, 2009 at 4:14 PM, Amy amyblankens...@bellsouth.net wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Josh McDonald dzn...@... wrote: It may be caused by Container not implementing IDropInListItemRenderer or IListItemRenderer. You really don't want to be extending Container for item renderers if you can avoid it, I believe it's a big performance penalty. AFAIK, those interfaces only deal with how data gets passed into the renderer, not how effects are applied.
Re: [flexcoders] Re: FadeIn Effect not working with custom item renderers in List
I have to add, itemsChangeEffect works fine on tileList using itemrenderers (with containers) the problem is strictly related to the itemsChangeEffect addItem effects behaviour on a List only. the effect is playing fine on the removeItem. On Fri, Feb 6, 2009 at 12:41 PM, Thibaud Van Vreckem thibaudm...@gmail.comwrote: I'm hitting the exact same issue.. Any solutions yet ? should I submit that as a bug ? On Wed, Jan 21, 2009 at 4:14 PM, Amy amyblankens...@bellsouth.net wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Josh McDonald dzn...@... wrote: It may be caused by Container not implementing IDropInListItemRenderer or IListItemRenderer. You really don't want to be extending Container for item renderers if you can avoid it, I believe it's a big performance penalty. AFAIK, those interfaces only deal with how data gets passed into the renderer, not how effects are applied.
Re: [flexcoders] Re: interface layout help
my 2 cents: If people are going to choose between a set of filtered house items you have to show them houses rather than numbers.(which they have already filtered) The datagrid might not be the best choice to display images. If you absolutely need the datagrid, you could perhaps add another view accessible through a switch to jump from the datagrid to a tilelist (or repeater). On Mon, Dec 8, 2008 at 7:49 AM, stinasius [EMAIL PROTECTED] wrote: OK this is the description of the usage pattern. the application is a real estate portal where people can easily find housing. now when someone visits the portal they do a search for property of their choice using different criteria. the search results show up in a datagrid and when he/she have identified what they want then they can click on a row in the datagrid to view details of the property which show up in a tab navigator that has two tabs one for info on the property and the other for pictures of the property plus when the person clicks on a row in the datagrid the map zooms in on the property to show surrounding areas and also a virtual tour is shown in the video player. all that shows up at the same time on the same page. now is there a better way to do it?
[flexcoders] .errorTip borderStyle has no effect when using Tooltip custom borderSkin. BUG?
Tooltip and .errortip styling are crap. when using: ToolTip { borderSkin: Embed(/assets/skins/tooltip/ToolTip_borderSkin.png); } then .errorTip is always using Tooltip borderSkin and most errorTip style attribute are simply ignored. I did try forcing it with this, with no success .errorTip { borderSkin: ClassReference(mx.skins.halo.ToolTipBorder); borderStyle: errorTipRight; } .errortip just look like Tooltip and I can't get the errortip pointers to show up (nor change the color or whatever). how can I reskin the default Tooltip while preserving error tips default style ? (non programatic skinning prefered)
Re: [flexcoders] drag and drop between list - changing default behavior to allow dropping into list item.
Thanks Alex, Actually,that's exactly the answer I was afraid off.. when looking at the said code, I have a feeling, -since I'm using custom itemrenderrer in my list- it might be simpler to dispatch mouse over events from there. Am I wrong ? On Fri, Mar 14, 2008 at 3:04 AM, Alex Harui [EMAIL PROTECTED] wrote: Tree has drop into folder code. Is that what you're looking for? -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Thibaud Van Vreckem *Sent:* Thursday, March 13, 2008 10:59 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] drag and drop between list - changing default behavior to allow dropping into list item. Here we go again... sorry message was sent unfinished by mistake.. I Have 2 List: list1 contains *folders. *list2 contains *files *they are both drag and drop enabled: dragEnabled=true dragMoveEnabled=true dropEnabled=true dragEnter=dragEnterHandler(event) * *I'm keeping the default dnd behavior for reordering only *within *each list. private function dragEnterHandler(event:DragEvent):void { if (event.dragInitiator != event.currentTarget) { event.preventDefault(); } } * *Now How should I go about enabling my files items from list2 to be dropped *over *the folder items in list1 (instead of being inserted in the list rows). is there an easy way to detect which item in the list I am rolling over without resorting to some fancy coordinate position detection ? Thanks.
Re: [flexcoders] Re: Skinning Flex Buttons: Sizing Stretching Issues
When using bitmaps, you simply have to define the scale9 it in the css like so: Button { upSkin: Embed(/assets/skins/button/Button_upSkin.png, scaleGridLeft=10, scaleGridTop=10, scaleGridRight=12, scaleGridBottom=12); padding-left:0; padding-right:0; } In any case, in flash it's extremely important to watch out to properly place your registration point. On Fri, Mar 14, 2008 at 12:01 AM, Kyle Neath [EMAIL PROTECTED] wrote: Well, it took me a long time of random searching but I did finally answer my questions. For the record, here's what I found. 1. This happened because my top/left marker was a bit off (you can see the star icon in the top/left of the scale9 image). It was creating some false negative left margin on the skin. 2. This happens because scale9 in flash does not apply to any bitmaps embedded (even if they are inside a movieclip!). This is a huge problem, and dissapointing to say the least. 3. Nope, stretching was occuring because I was using bitmaps, not native flash illustration tools.
[flexcoders] drag and drop between list - changing default behavior to allow dropping into list item.
Hello, I Have 2 List: list1 contains *folders. *list2 contains *files *they are both drag and drop enabled: dragEnabled=true dragMoveEnabled=true dropEnabled=true dragEnter=dragEnterHandler(event) * *I'm keeping the default dnd behavior for reordering within each list. private function dragEnterHandler(event:DragEvent):void { if (event.dragInitiator != event.currentTarget) { // Explicitly handle the dragDrop event. event.preventDefault(); } } * *