Re: [flexcoders] SCROLL for MENU
Hi Sanjay, The way menu works, I don't think you can get a scroll bar for the menuItems. You could of course try to make one yourself. I'd suggest using a ComboBox (you can set the dropDown's height) or a PopUpButton (with a list popped up). Hope that helps, -sam On 29 Mar 2007 23:58:22 -0700, sanjaypmg [EMAIL PROTECTED] wrote: Hi All, I am using menu in my project but there are a huge number of items to be displayed in menu like 10-15 I want to put vertical scroll to make its height short... Is it possible? How can I do it? Thanks in Advance.. Sanjay
Re: [flexcoders] Printing in Flex
Very strange, can you send me the code that you are using please? Thanks, -sam On 1/4/07, baardos [EMAIL PROTECTED] wrote: Hi, I am trying to implement printing and I have the following issue. When I try to print ectire content of the screen everything seems to work fine. However If I change my code to print content of one of the panels I can see that there is a job sent to the printer queue but it never gets printed (the job disappear from the queue.). When I try to print to a file it's size is 0. Any ideas? I would be grateful for help. Cheers, Bartek
Re: [flexcoders] Re: FlexPrintJob PrintJob
I'll leave it at that then. Thanks, -sam On 12/19/06, Mike Weiland [EMAIL PROTECTED] wrote: Orientation is read only, it can't set the orientation, it's still up to the user to change it in the print dialog. Mike Weiland Original Message --- I'll file an enhancement request since the flash player now supports Orientation, why not FlexPrintJob. For now, if you are using FlexPrintJob the only option is to manually select it when you print. Thanks, -sam On 12/18/06, Uday M. Shankar [EMAIL PROTECTED]uday.techie%40gmail.com wrote: Just to make it more clear - Though PrintJobOptions allows me to set orientation and works with PrintJob, I am unable to set PrintJobOptions to FlexPrintJob. Thats where I am stuck. Anybody? Any ideas? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.comflexcoders%40yahoogroups.com, Uday M. Shankar [EMAIL PROTECTED] wrote: Hi, How do I set orientation with FlexPrintJob? FlexPrintJob is a wrapper on PrintJob. But, all properties of PrintJob are in FlexPrintJob. The PrintJob supports PrintJobOptions. And using PrintJobOptions allows me to set orientation. Has anybody done this?
Re: [flexcoders] Re: FlexPrintJob PrintJob
I'll file an enhancement request since the flash player now supports Orientation, why not FlexPrintJob. For now, if you are using FlexPrintJob the only option is to manually select it when you print. Thanks, -sam On 12/18/06, Uday M. Shankar [EMAIL PROTECTED] wrote: Just to make it more clear - Though PrintJobOptions allows me to set orientation and works with PrintJob, I am unable to set PrintJobOptions to FlexPrintJob. Thats where I am stuck. Anybody? Any ideas? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Uday M. Shankar [EMAIL PROTECTED] wrote: Hi, How do I set orientation with FlexPrintJob? FlexPrintJob is a wrapper on PrintJob. But, all properties of PrintJob are in FlexPrintJob. The PrintJob supports PrintJobOptions. And using PrintJobOptions allows me to set orientation. Has anybody done this?
Re: [flexcoders] FlexPrintJob PrintJob
Hi Uday, FlexPrintJob cannot set the orientation. That can be done in the Print control box when it pops up. -sam On 12/16/06, Uday M. Shankar [EMAIL PROTECTED] wrote: Hi, How do I set orientation with FlexPrintJob? FlexPrintJob is a wrapper on PrintJob. But, all properties of PrintJob are in FlexPrintJob. The PrintJob supports PrintJobOptions. And using PrintJobOptions allows me to set orientation. Has anybody done this?
Re: [flexcoders] Pop Up Panels, what to use/how to make them?
Try a TitleWindow popped up. -sam On 11/27/06, {reduxdj} [EMAIL PROTECTED] wrote: How do you make pop up boxes like the alert box? I'd like to make a panel with a textarea component pop up on top of my application in the center, not below it or inside it. I tried to use an alert box and and some stuff to it with undesirable results. Thanks, Patrick
Re: [flexcoders] Unable to bind Warning
Can you send the whole code, with some contents for the ArrayCollectioin? -sam On 12/8/06, Samuel Reuben [EMAIL PROTECTED] wrote: from the looks of the code it seems that you'll have to change the name of your ArrayCollection. Try myDataProvider hope it works, -sam On 12/8/06, Paul Whitelock [EMAIL PROTECTED] wrote: I hoping someone might know why I am getting an unable to bind warning with the following scenario. Below is a portion of my code that uses a DataGrid bound to an ArrayCollection data provider (text is one of the fields in the collection). -- [Bindable] public var dataProvider:ArrayCollection; mx:DataGrid id=dg dataProvider={dataProvider} mx:columns mx:DataGridColumn headerText=Items itemRenderer=renderer.RichText dataField=text editable=false / /mx:columns /mx:DataGrid -- The following is a very simple component (renderer.RichText) that simply converts the text data to rich text. -- ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; mx:Text id=richText htmlText={data.text} width=100% height=100% selectable=false / /mx:Canvas -- When the application is run, I get the following error: warning: unable to bind to property 'text' on class 'Object' (class is not an IEventDispatcher) Note that the data from data.text is correctly displayed in the DataGrid. Any idea why I am getting the unable to bind warning and how I might get rid of it? Thanks! Paul --- Paul Whitelock Denver, Colorado
Re: [flexcoders] Unable to bind Warning
sorry saw your post about it... -sam On 12/13/06, Samuel Reuben [EMAIL PROTECTED] wrote: Can you send the whole code, with some contents for the ArrayCollectioin? -sam On 12/8/06, Samuel Reuben [EMAIL PROTECTED] wrote: from the looks of the code it seems that you'll have to change the name of your ArrayCollection. Try myDataProvider hope it works, -sam On 12/8/06, Paul Whitelock [EMAIL PROTECTED] wrote: I hoping someone might know why I am getting an unable to bind warning with the following scenario. Below is a portion of my code that uses a DataGrid bound to an ArrayCollection data provider (text is one of the fields in the collection). -- [Bindable] public var dataProvider:ArrayCollection; mx:DataGrid id=dg dataProvider={dataProvider} mx:columns mx:DataGridColumn headerText=Items itemRenderer=renderer.RichText dataField=text editable=false / /mx:columns /mx:DataGrid -- The following is a very simple component (renderer.RichText) that simply converts the text data to rich text. -- ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; mx:Text id=richText htmlText={data.text} width=100% height=100% selectable=false / /mx:Canvas -- When the application is run, I get the following error: warning: unable to bind to property 'text' on class 'Object' (class is not an IEventDispatcher) Note that the data from data.text is correctly displayed in the DataGrid. Any idea why I am getting the unable to bind warning and how I might get rid of it? Thanks! Paul --- Paul Whitelock Denver, Colorado
Re: [flexcoders] Panel Title Embedded Font
I tried this it seems to work. If you want bold you'll have to embed a bold font and give the font weight bold. If you need bold as well as normal fonts you can create the same font name with both bold as well as normal font and it will take. -sam On 11/16/06, Bjorn Schultheiss [EMAIL PROTECTED] wrote: Hi, Is it possible to apply an embedded font to a Panel's title via CSS? Here's the simplest example I could create [Main (PanelTitleFontCSS.mxml)] mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute xmlns:my=* my:MyPanel / /mx:Application [Panel (MyPanel.mxml)] mx:Panel xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute title=Panel Title styleName=myFontStyle mx:Style source=MyStyle.css / mx:Label text=Some text / /mx:Panel [CSS (MyStyle.css)] @font-face { fontFamily: myMyriadProBlack; fontWeight: heavy; src:url(MYRIADPB.TTF); } .myFontStyle { fontFamily: myMyriadProBlack; fontWeight: heavy; fontSize: 26; } In this example the label within the panel has the font applied. The Panel header is TimesRoman or something :( Regards, Bjorn Schultheiss Senior Flash Developer QDC Personalised Communication Power Level 2, 31 Coventry St. South Melbourne 3205, VIC Australia T: +61 3 9674 7400 F: +61 3 9645 9160 W: http://www.qdc.net.au ((This transmission is confidential and intended solely for the person or organization to whom it is addressed. It may contain privileged and confidential information. If you are not the intended recipient, you should not copy, distribute or take any action in reliance on it. If you believe you received this transmission in error, please notify the sender.---))
Re: [flexcoders] FlexPrintJob problem: application background colors showing in margins
can you send a the isolated printing code that you are seeing the problem in?Are you by any chance mentioning the corners that show the bg color, specially when the component has rounded corners?Thanks, -samOn 11/6/06, Tom Bray [EMAIL PROTECTED] wrote: The background color of my application is printing in the margins of the page when I print my component in landscape mode. In portrait mode, there's a tiny sliver of the bg color on each side. Is there a way to prevent that besides using a white background? It seems like a bug since I can't actually print my component in those areas (it gets cropped at the margins) but the background color shows anyway. Any thoughts? Thanks,Tom __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] closing a popupButtonMenu
This will work for the popUp of PopUpMenuButton too ?xml version=1.0?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=assets.* backgroundColor=#FF width=600 height=600 mx:Script![CDATA[]]/mx:Scriptmx:PopUpButton id=myPopUpButton rollOver=myPopUpButton.open() label=Check popUp is a list mx:popUp mx:List rollOut=myPopUpButton.close()mx:dataProvidermx:Arraymx:Object label=Smily data="">mx:Object label=no data="" mx:Object label=yes data="">/mx:Array/mx:dataProvider/mx:List/mx:popUp/mx:PopUpButton/mx:Application Hope this helps, -sam On 10/23/06, boy_trike [EMAIL PROTECTED] wrote: I have an event on MouseOver to OPEN my popup menu. I want it to close when the user MOUSES OUT of the drop down menu. The mouseout event of the menu works when the user leave the BUTTON not the menu. What is the solution please? thanksbruce __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Image complete and init event problem
did you try updateComplete event? It should work, -sam On 10/18/06, Brian [EMAIL PROTECTED] wrote: I'm loading images using the Image class, and I'm trying to analyzetheir height and width after they load for sizing purposes. Problemis, sometimes (not always but sometimes) someImage.width and someImage.height are still 0 when the complete event gets handled. Same problem with the init event, even though according to the docs,it's not supposed to be fired until the properties of the loaded object are available. Am I missing something? Anyone having similar issues and/orsolutions? I supposed I can set up a Timer to poll the width and firea proper event when the widt is 0 - but I assumed the native events were consistent and reliable.Also, I seem to recall Flash having similar problems with inconsistentevent firings when it comes to swf / image loading...--Brian __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Re: Multiline ComboBox
Have you tried playing around with PopUpButton? it might be what you're looking for, -sam On 10/17/06, Michael Labriola [EMAIL PROTECTED] wrote: Michael,Problem is that ComboBase uses a textInput control to display thecurrently selected item. The TextInput is limited to displaying asingle line of text.You could certianly change this, but, it seems as though it will require extending ComboBox, not just making an itemRenderer.--Mike--- In flexcoders@yahoogroups.com, Michael [EMAIL PROTECTED] wrote: Does anyone know how I can get my combobox to display 2 lines asopposed to only one line. I can display 2 lines in the dropdown area, but not in the main combobox display.Here is what I have so far:public function initRenderer():void { var myRenderer:ClassFactory = new ClassFactory( mx.controls.Text); myRenderer.properties = {maxHeight:60}; this.cb.itemRenderer = myRenderer; }mx:ComboBox id=cb fontSize=18 maxWidth={ this.width} dataProvider={cbData} labelField={cbLabelField} selectedIndex={getSelectedIndex()} change=comboBoxChange( cb.selectedItem)/Thanks in advance,Michael __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Printing Images
Hi Nathan, Canyou please send me a sample code of what works and what doesn't. I'll be able to help you out. Thanks, -sam On 9/28/06, nathanpdaniel [EMAIL PROTECTED] wrote: I have an issue when printing images! I am working on a shipping app which will generate a barcode label for printing. If I load the label, then have the user print it, it works. However, there are cases when there will be 100's of labels that need to be printed at once. When I try to bypass the user interaction for each label using the FlexPrintJob class and addObject() method (repeatedly...) the text info on the labels prints properly, but with no barcodes or other images! I've tried every workaround I can think of with no success... anyone else have any ideas? Thanks in advance! -Nathan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] ToolTip Timers
and off course it would be desired to create or destroy the tooltips on the desired events of the components. -sam On 9/18/06, Samuel Reuben [EMAIL PROTECTED] wrote: Hi J, You could look into the documentation for ToolTipManager and use the methods (createToolTip and destroyToolTip)that are listed there to achieve what you are trying to do. Hope this helps, -sam On 9/16/06, josiah_kirby [EMAIL PROTECTED] wrote: I'm building a custom tooltip (implements IToolTip) which will havecomponents in it. Once the tooltip is shown I want to keep it shownuntil I trigger an event to hide it.I have created a listener on the component for the tooltipHide to keep it from hiding with no luck.Anyone know how keep a tooltip open until you want to close/hide it?Thanks..j __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Re: Flash Quiz in Flex
Have you been able to solve this problem by modifying the file? -sam On 9/6/06, flexnewbie06 [EMAIL PROTECTED] wrote: thanks for your thoughts...it is just a simple flash 8 quiz it wasn't made with flex.--- In flexcoders@yahoogroups.com, Samuel Reuben [EMAIL PROTECTED] wrote: I'm just guessing - but I think the references to the varibles must be changing or something like that... when you load it up - if it was made in flash.. If it was made in Flex2.0, I'd like to see the code that you are using - for the flex quiz. Thanks, -sam On 9/6/06, flexnewbie06 [EMAIL PROTECTED] wrote: Just wondering if anyone has any insight on this. I load a simple flash quiz in the SWFLoader component in my Flex app and the QuizTrack seems to stop keeping score. When the quiz comes to the last frame, where it calculates total wrong, total correct and total score they are all 0's. Running outside of Flex, of course this works fine. Any ideas? Thank you in advance! Jenn __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] ComboBox Multiple Selection
Hi Daniel, The combo box was not designed to do what you are trying to do. I suggest that you use a PopUpButton with a list popped up and you can set the allowMultipleSelection=true for the list. You will have to handle what happens when you make a selection(because everytime you select an item in the list it will close the pop up). An idea would be to put the list in a HBox and when your condition is satisfied(probably after selecting the desired number of items) call the close() method of the popUpButton which will close it for you. A simple example would look like this (for this one to close you'll have to select blue then (Ctrl+red)): ?xml version=1.0?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml xmlns=assets.* backgroundColor=#FF width=600 height=600 mx:Script![CDATA[import mx.events.*;private var selectList:Array=new Array();private function listenItemSelect(event:ListEvent):void{ti.text=String(event.target.selectedIndices); ti1.text=;for ( var i:Object in event.target.selectedIndices){ti1.text+=String(event.target.selectedItems[i].label)+ ;}if (String(event.target.selectedIndices)==2,1){ myPopUpButton.label=ti1.text;myPopUpButton.close();}}]]/mx:Scriptmx:Button id=myButton label=Roll over this button to close the popUp of the PopUpButton rollOver= myPopUpButton.close() / mx:PopUpButton id=myPopUpButton label={ti1.text} mx:popUpmx:HBox mx:List id=myList allowMultipleSelection=true itemClick=listenItemSelect(event) mx:dataProvidermx:Arraymx:Object label=Black /mx:Object label=Blue /mx:Object label=Red /mx:Object label=Yellow / /mx:Array/mx:dataProvider/mx:List/mx:HBox /mx:popUp /mx:PopUpButton mx:Spacer height=150 / mx:TextInput id=ti / mx:TextInput id=ti1 text=Let's say Black //mx:ApplicationHope this helps, -sam On 9/6/06, Daniel [EMAIL PROTECTED] wrote: Im trying to create a multiple-selection combobox. I'll appreciate any help you can give. Thanks in advance. Daniel __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
Re: [flexcoders] Flash Quiz in Flex
I'm just guessing - but I think the references to thevaribles must be changingor something like that...when you load it up- if it was made in flash.. If it was made in Flex2.0, I'd like to see the code that you are using - for the flex quiz. Thanks, -sam On 9/6/06, flexnewbie06 [EMAIL PROTECTED] wrote: Just wondering if anyone has any insight on this. I load a simple flash quiz in the SWFLoader component in my Flex app and the QuizTrack seems to stop keeping score. When the quiz comes to the last frame, where it calculates total wrong, total correct and total score they are all 0's. Running outside of Flex, of course this works fine.Any ideas?Thank you in advance!Jenn __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Date Format
this is a problem and is logged. You can format the date using a Date formatter and set the text of the DateField to the desired format -for the moment. Thanks, -sam On 9/5/06, Travis Anderson [EMAIL PROTECTED] wrote: Please tell me what I'm doing wrong here.I've tried many methods to get a DateField to display a DD-MMM-format for the selected date. I've tried it through the DateFormatter(tried AS-only and MXML), I've tried it by just adding formatString to the DateField.When I try to use labelFunction in DateField, I get a compiler errorsaying Access of undefined property formatDate.When I am able to get output, I get the following: 05-09092006 (using today's date as an example)For some reason, it doesn't parse the MMM value properly, insteadgiving me a numerical month twice in a row and ignoring the '-'character (it ignores [space] and '/' characters too). Can anyone help? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] preload images HorizontalList
for that you would have to embed your images... Hope that helps, -sam On 9/5/06, janeminkovich [EMAIL PROTECTED] wrote: Hello,I am a photographer(before was an engineer) and just finishing up the flex site. I notice that my horizontallist that I use to display the thumbnails/images loads really slow.How would I preload it and then display what is in memory? Thanks zhenya __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] NumberValidator question
Hi Michael, You have mentioned that it shoud send some sort of message with the event. What do you want this for? The error tips are shown for the inputs that are not number. So like any other validator it doesn't show any error tip when it is right. The error tips that are shown are meant to be readable to the common user and not be cryptic. ?xml version=1.0 encoding=iso-8859-1? mx:Application xmlns:mx=http://www.adobe.com/2006/mxmlmx:NumberValidator source={numberInput} domain=real property=text/ mx:TextInput id=numberInput width=100%/mx:Button label=Click Me! //mx:Application Trying to understand what is needed here, thanks, -sam On 8/28/06, Michael Schmalle [EMAIL PROTECTED] wrote: Hi,Yeah, I guess if I would have looked into the superclass I would have saw that. :)That is odd and I to wonder why they at least didn't send some sort of message with the event then just saying it is VALID. Maybe they are expecting you to catch NaN before any invalidation occurs but, that still doesn't make sense either. Peace, Mike On 8/28/06, Jeff Tapper [EMAIL PROTECTED] wrote: it is, unfortunately, the place they call that doesnt perform valiation.if (isRealValue(value) || required){return processValidation(value, suppressEvents);}else{// Just return valid return new ValidationResultEvent(ValidationResultEvent.VALID);}so, if isRealValue returns false, they dispatch a valid event and do no more checking. I've subclassed NumberValidator to make it work as i would expect. Seems an odd choice that a NumberValidator wont validate that the input isnt a number. At 01:14 PM 8/28/2006, you wrote:Hi,seems like the logicve is there; /** * Determines if the value is not null and not NaN value. */ override protected function isRealValue(value:Object):Boolean { return ((value != null) !isNaN(Number(value))); }Peace, Mike On 8/28/06, Jeff Tapper [EMAIL PROTECTED] wrote:Am i missing something basic, or does the NumberValidator not contain the infrastructure to ensure that the specified value is a number? I'm nearlycertian that the NumberValidator could perform a NaN check as well asvalidating from within a range. Do we need to roll that ourselves in Flex 2? -- What goes up, does come down. -- What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] SWFLoader hack
No Fernando, I haven't seen the thing that you are facing. But I know if the security sandbox is violated the image won't show. For that you can look up the documentation. -sam On 8/28/06, Fernando Flórez [EMAIL PROTECTED] wrote: Hello!I had a really weird bug last week in where the swfloader rejected todisplay an external jpg image (it loads fine but i was not displayed).After several tests i tried setting the autoScale, width and height properties and everything is working fine now.HTH someone else with this problem.Cheers,Fernando __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Using ControlBar Panel child in states or in ActionScript?
Try this Sergey, ?xml version=1.0 encoding=iso-8859-1? mx:Application xmlns:mx=http://www.adobe.com/2006/mxmlmx:Panelmx:ControlBar id=myCB mx:Button click=myCB.visible=false;//mx:ControlBar/mx:Panel/mx:Application You can give the Control bar an id and then set it's visible to false dynamically. Hope it helps, -sam On 8/23/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: Hi All!Is there any way to show and hide ControlBar dynamically in Panel? Iwant to make two states for Panel: one with ControlBar and another one- without. But as I see, ControlBar is more like compile-time feature. :(Sergey. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] NumberValidator question
That's a bug Jeff ! I'll file that, Thanks, -sam On 8/29/06, Jeff Tapper [EMAIL PROTECTED] wrote: The fundamental problem isn't a non-broadcast event, its that a non required NumberValidator, as designed, will not return an error state if a string is passed to it. This doesn't meet my needs on my current (or likely any), project. I've sub-classed it so that even when its non-required, it will show an error state if the element in question is a string in not a number (NaN).I know in previous versions of flex, the number validator behaved as I expected, and was easily capable of showing a Not a number error, whether or not the field was required, which was the cause of my concern. The fix was easy enough (~30 line sub class), so its no big deal. At 06:38 AM 8/29/2006, Michael Schmalle wrote:Hi sam,Well, that comment came for a programmer. ;-) Strictly looking at the code as if I was going to tie it to another class, not mxml for validation. I guess the comment was more straight from my developer mind and through not really seeing the 'process' all the way through I said it. As far at what you said, that makes sense. You might want to ask Jeff the same question as to what he is doing extending and needing NaN. As far as me and the event, well that was more philosophical. :)Peace, Mike On 8/29/06, Samuel Reuben mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:Hi Michael,You have mentioned that it shoud send some sort of message with the event. What do you want this for?The error tips are shown for the inputs that are not number. So like any other validator it doesn't show any error tip when it is right.The error tips that are shown are meant to be readable to the common user and not be cryptic.?xml version=1.0 encoding=iso-8859-1? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml mx:NumberValidator source={numberInput} domain=real property=text/ mx:TextInput id=numberInput width=100%/ mx:Button label=Click Me! //mx:ApplicationTrying to understand what is needed here,thanks,-sam On 8/28/06, Michael Schmalle mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:Hi,Yeah, I guess if I would have looked into the superclass I would have saw that. :)That is odd and I to wonder why they at least didn't send some sort of message with the event then just saying it is VALID.Maybe they are expecting you to catch NaN before any invalidation occurs but, that still doesn't make sense either.Peace, Mike On 8/28/06, Jeff Tapper mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:it is, unfortunately, the place they call that doesnt perform valiation.if (isRealValue(value) || required){return processValidation(value, suppressEvents); }else{// Just return validreturn new ValidationResultEvent(ValidationResultEvent.VALID);}so, if isRealValue returns false, they dispatch a valid event and do no more checking. I've subclassed NumberValidator to make it work as i wouldexpect. Seems an odd choice that a NumberValidator wont validate that theinput isnt a number.At 01:14 PM 8/28/2006, you wrote: Hi, seems like the logicve is there;/** * Determines if the value is not null and not NaN value. */ override protected function isRealValue(value:Object):Boolean { return ((value != null) !isNaN(Number(value))); } Peace, Mike On 8/28/06, Jeff Tapper mailto:jeff%40tapper.net [EMAIL PROTECTED] wrote: Am i missing something basic, or does the NumberValidator not contain the infrastructure to ensure that the specified value is a number? I'm nearly certian that the NumberValidator could perform a NaN check as well as validating from within a range. Do we need to roll that ourselves in Flex 2? -- What goes up, does come down.--What goes up, does come down. --What goes up, does come down. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Setting NumericStepper to 00 for Minutes
You'll have to make the date formatter know that the minute is 0. Something like this ti.text=dateFormatter.format(new Date(nowCurr.setMinutes(event.target.value))); Hope this helps, -sam On 8/29/06, Bruce Denham [EMAIL PROTECTED] wrote: I'm trying to use to make a numericstepper control display two zeroes(00) instead of the single zero (0). I think the reason my currentattempts using a DateFormatter are failing is because I'm trying toformat a number as a string using formatString=NN, and the numeric stepper is just ignoring it, I guess. But I looked at theNumberFormatter, and didn't see anything useful other than precision(which is the wrong side of the decimal for my needs).Here's the code I'm trying to use: ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml width=400height=300 initialize=Format();mx:Script![CDATA[import mx.events.NumericStepperEvent;import mx.controls.Alert ;import mx.formatters.*;public function timeChange(event:NumericStepperEvent):void{if(event.target.id==minutes){if(event.target.value==60){event.target.value=0;dateFormatter.format (event.target.value);} }}private function Format():void{dateFormatter.format(minutes.value);Alert.show(minutes.value.toString());}]]/mx:Scriptmx:DateFormatter id=dateFormatter formatString=NN / mx:NumberFormatter id=numFormatter rounding=none /mx:NumericStepper id=minutes height=20 value=0 stepSize=15maximum=60 change=timeChange(event); borderThickness=0 y=118 left=195right=78 width=60//mx:ApplicationAny help would be greatly appreciated. Best,Bruce __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Setting NumericStepper to 00 for Minutes
One workaround, while I try out something that works, could be... ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml width=400height=300 initialize=Format(); mx:Script![CDATA[import mx.events.NumericStepperEvent;import mx.controls.Alert;import mx.formatters.*; public var nowCurr:Date = new Date(); public function timeChange(event:Event):void{//Alert.show(String(event.target.id));if(event.target.id==minutes){ti.text=dateFormatter.format(new Date(nowCurr.setMinutes (event.target.value)));if(event.target.value==60){event.target.value=00;event.target.text=dateFormatter.format(new Date(nowCurr.setMinutes(event.target.value)));} }} private function Format():void{dateFormatter.format(minutes.value);Alert.show(minutes.value.toString());}]]/mx:Scriptmx:DateFormatter id=dateFormatter formatString=NN / mx:NumberFormatter id=numFormatter rounding=none /mx:Canvasmx:NumericStepper id=minutes height=20 value=0 stepSize=15 maximum=60 change=timeChange(event); creationComplete=timeChange(event); borderThickness=0 width=43/mx:TextInput id=ti width=25 editable=false/ /mx:Canvas/mx:Application Hope this helps, -sam On 8/29/06, Samuel Reuben [EMAIL PROTECTED] wrote: You'll have to make the date formatter know that the minute is 0. Something like this ti.text=dateFormatter.format(new Date(nowCurr.setMinutes(event.target.value))); Hope this helps, -sam On 8/29/06, Bruce Denham [EMAIL PROTECTED] wrote: I'm trying to use to make a numericstepper control display two zeroes(00) instead of the single zero (0). I think the reason my currentattempts using a DateFormatter are failing is because I'm trying toformat a number as a string using formatString=NN, and the numeric stepper is just ignoring it, I guess. But I looked at theNumberFormatter, and didn't see anything useful other than precision(which is the wrong side of the decimal for my needs).Here's the code I'm trying to use: ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml width=400height=300 initialize=Format();mx:Script![CDATA[import mx.events.NumericStepperEvent;import mx.controls.Alert ;import mx.formatters.*;public function timeChange(event:NumericStepperEvent):void{if(event.target.id==minutes){if(event.target.value==60){event.target.value=0;dateFormatter.format (event.target.value);} }}private function Format():void{dateFormatter.format(minutes.value);Alert.show(minutes.value.toString());}]]/mx:Scriptmx:DateFormatter id=dateFormatter formatString=NN / mx:NumberFormatter id=numFormatter rounding=none /mx:NumericStepper id=minutes height=20 value=0 stepSize=15maximum=60 change=timeChange(event); borderThickness=0 y=118 left=195right=78 width=60//mx:ApplicationAny help would be greatly appreciated. Best,Bruce __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Rotating a TabBar
Embed the textRyan. It will work. -sam On 8/29/06, Ryan Sabir [EMAIL PROTECTED] wrote: Hey all, I'm trying to rotate a TabBar by 90 degrees, but when I do this the text disappears. Is this possible in Flex 2? thanks. Ryan SabirTechnical Director p: (02) 9274 8030f: (02) 9274 8099m: 0411 512 454w: www.newgency.com Newgency Pty LtdWeb | Multimedia | eMarketing224 Riley St Surry Hills NSW 2010Sydney, Australia __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Setting NumericStepper to 00 for Minutes
if you subclass NumericStepper you should be able to get it to work the way you want it to, by setting the text of the numeric stepper there. -sam On 8/29/06, Samuel Reuben [EMAIL PROTECTED] wrote: One workaround, while I try out something that works, could be... ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml width=400height=300 initialize=Format(); mx:Script![CDATA[import mx.events.NumericStepperEvent;import mx.controls.Alert;import mx.formatters.*; public var nowCurr:Date = new Date(); public function timeChange(event:Event):void{//Alert.show(String(event.target.id)); if(event.target.id==minutes){ ti.text=dateFormatter.format(new Date(nowCurr.setMinutes (event.target.value))); if(event.target.value==60){ event.target.value=00;event.target.text=dateFormatter.format(new Date(nowCurr.setMinutes(event.target.value)));} }} private function Format():void{dateFormatter.format(minutes.value);Alert.show(minutes.value.toString());}]]/mx:Scriptmx:DateFormatter id=dateFormatter formatString=NN / mx:NumberFormatter id=numFormatter rounding=none / mx:Canvas mx:NumericStepper id=minutes height=20 value=0 stepSize=15 maximum=60 change=timeChange(event); creationComplete=timeChange(event); borderThickness=0 width=43/mx:TextInput id=ti width=25 editable=false/ /mx:Canvas/mx:Application Hope this helps, -sam On 8/29/06, Samuel Reuben [EMAIL PROTECTED] wrote: You'll have to make the date formatter know that the minute is 0. Something like this ti.text=dateFormatter.format(new Date(nowCurr.setMinutes(event.target.value))); Hope this helps, -sam On 8/29/06, Bruce Denham [EMAIL PROTECTED] wrote: I'm trying to use to make a numericstepper control display two zeroes(00) instead of the single zero (0). I think the reason my currentattempts using a DateFormatter are failing is because I'm trying toformat a number as a string using formatString=NN, and the numeric stepper is just ignoring it, I guess. But I looked at theNumberFormatter, and didn't see anything useful other than precision(which is the wrong side of the decimal for my needs).Here's the code I'm trying to use: ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml width=400height=300 initialize=Format();mx:Script![CDATA[import mx.events.NumericStepperEvent;import mx.controls.Alert ;import mx.formatters.*;public function timeChange(event:NumericStepperEvent):void{if(event.target.id==minutes){if(event.target.value==60){event.target.value=0;dateFormatter.format (event.target.value);} }}private function Format():void{dateFormatter.format(minutes.value);Alert.show(minutes.value.toString());}]]/mx:Scriptmx:DateFormatter id=dateFormatter formatString=NN / mx:NumberFormatter id=numFormatter rounding=none /mx:NumericStepper id=minutes height=20 value=0 stepSize=15maximum=60 change=timeChange(event); borderThickness=0 y=118 left=195right=78 width=60//mx:ApplicationAny help would be greatly appreciated. Best,Bruce __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Rotating a TabBar
use a bold font as both the states are bold... mx:Style @font-face {src:url(arialbd.ttf);font-weight: bold;font-family: myArial;}/mx:Stylemx:TabBar id=myBB fontFamily=myArial . so on On 8/29/06, Samuel Reuben [EMAIL PROTECTED] wrote: Embed the textRyan. It will work. -sam On 8/29/06, Ryan Sabir [EMAIL PROTECTED] wrote: Hey all, I'm trying to rotate a TabBar by 90 degrees, but when I do this the text disappears. Is this possible in Flex 2? thanks. Ryan SabirTechnical Director p: (02) 9274 8030f: (02) 9274 8099m: 0411 512 454w: www.newgency.com Newgency Pty LtdWeb | Multimedia | eMarketing224 Riley St Surry Hills NSW 2010Sydney, Australia __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] SWFLoader hack
Could you post code and tell me the directory structure that you are following? thanks -sam On 8/29/06, Fernando Flórez [EMAIL PROTECTED] wrote: The problem was not the security sandbox. I tried with a crossdomain file and everything. The problem reside on the component. It refused to scale to the appropiate size after the image was loaded.Thanks,Fernando On 8/29/06, Samuel Reuben [EMAIL PROTECTED] wrote: No Fernando, I haven't seen the thing that you are facing. But I know if the security sandbox is violated the image won't show. For that you can look up the documentation. -sam On 8/28/06, Fernando Flórez [EMAIL PROTECTED] wrote: Hello!I had a really weird bug last week in where the swfloader rejected todisplay an external jpg image (it loads fine but i was not displayed).After several tests i tried setting the autoScale, width and height properties and everything is working fine now.HTH someone else with this problem.Cheers,Fernando __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] TileList columnWidth = widest item?
Hi Tom, You can use a combinationofmaxColumns,columnWidth and rowHeight to achieve what you are trying to do. You could make a customized Tile list if you want it all done. Regards, -sam On 8/27/06, Tom Lee [EMAIL PROTECTED] wrote: Hi guys, By default, the width of a column in a TileList component is equal to the width of the first item in that column. This is weird, because if any subsequent item is wider, it gets clipped. Does anyone know of a way to make the column width fit the widest item? Thanks!! -tom __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Run Swf File in flash player.
I don't get it Kumar, Are you trying to open a stand alone swf from a IE browser (Explorer) by using SWFLoader??? That is clearly not possible. or are you trying to open it from your computer's file Explorer? That is possible if you have the stand alone player on your machine... You could do a open with... Flash player. Please let me know what you are trying to achieve? Thanks, -sam On 8/24/06, Kumar [EMAIL PROTECTED] wrote: I am using below code for running an swf file. mx:SWFLoader id=Load source=@Embed(source='c:/flash.swf') height=100 width=350/ And this opens the file in explorer can we do some thing to open this file directly in flash player. Can anybody suggest some solution. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Embedded SWF as backgroundImage causing mouseOut event to dispatch
have you tried using rollOver and rollOut? Please let me know if it works, -sam On 8/24/06, Brendan Meutzner [EMAIL PROTECTED] wrote: Hi All,I've created a container which contains a couple of sub-containers that have SWF symbols set to the backgroundImage. Problem is occurring when I set a mouseOver/mouseOut on the parent container, having the backgroundImages causes the mouseOut to get fired on the parent container. Any solutions to prevent this from happening? Example :[Embed(source='/assets/swf/elements.swf', symbol='flag_start')][Bindable] private var flag_start:Class;mx:HBox id=panelParent mouseOver=overMouse(event) mouseOut=outMouse(event) width=100% height=100% //This container will cause the parent to dispatch the mouseOut event because of the backgroundImage // remove the backgroundImage and it doesn't happen mx:HBox id=flag_start_box height=100% width=50% backgroundImage={flag_start} / /mx:HBoxThanks in advance,Brendan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: How to collapse Panel?
That's good to know Sergey, So now you can do it like this... as Gordon says: If you need to know that calculated height, you can subclass Panel and get titleBar.height. If you are arguing that there should be a public property or method for returning this value, please explain your use case for needing this. Thanks, -sam On 8/16/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: I have reimplemented getHeaderHeight() method that is private in Panel unfortunately. I do not want to apply new headerHeight style property value, but I want to know default. Sure, it is based on the style of the title text, though it is still calculable. On 8/16/06, Samuel Reuben [EMAIL PROTECTED] wrote: Hi Sergey, Good observation. Why do you need the header height? The documentation says, The default value is based on the style of the title text. Sothere is no fixed default header height, it depends on the Title text font size. Having said that, the getStyle(headerHeight) should return the actual height of the header. So for now, if you really want a number returned set the headerHeight and it will work fine. Thanks, -sam __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: Trouble Printing lots of images--PLEASE HELP!!!!!!
Hi Wayne, Could you please post some code, possibally with the xml file to? It will help us reproduce the problem that you are facing and find a solution to it. Thanks, -sam On 8/16/06, wayneposner [EMAIL PROTECTED] wrote: Unfortunately, when a user requests a print job it will mean print all the images. cacheAsBitmapbeen having problems with bitmaps as they don't seem to load into an IUIComponent. Any insite into possibly why? Wayne--- In flexcoders@yahoogroups.com , Tim Hoff [EMAIL PROTECTED] wrote: Yeah, I'm not saying load all of the images at one time, just the ones that you want to print. Possible use of cacheAsBitmap here too. -TH --- In flexcoders@yahoogroups.com, wayneposner wayne.posner @ wrote: I thought about doing that, but am concerned about the possiblity of loading anywhere from 500 to 1000 2k-10k images into memory and how it will affect the system while waiting for all those images to load. Additionally, I need to add some metadata text which is also coming from the XML file. Which brings me back to one at a time or somehow preloading each image before the canvas is rendered.Wayne--- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: Hi Wayne, This a little out of my area, but maybe it will spark an idea.Instead of loading the images that you want to print, one-at-a- time,into a canvas. You could load all of the images, at the same time,into a Repeater (or a list-based control). On creationComplete ofthe Repeater, add the child (Repeater) to the PrintJob. If you are also embedding the images, this approach may consume a lot of CPU resources. But, I'm sure that you can find a balancehere. Hope this helps, Tim --- In flexcoders@yahoogroups.com, wayneposner wayne.posner@wrote: I've been trying to figure this one out for about a week now withno success.I'm trying to load a bunch of images dynamically from an XML file, pass each image, one at a time, to a Canvas and then print that Canvas, but only being prompted with the print dialog for thefirst image. If I just pass the image to the canvas, the print command has executed before the image loads.If I use an event listener for the complete action on my canvas I get the print dialog for every canvas that tries to print,provided I instatiate a new FlexPrintJob in my event handler--as opposed toa global FlexPrintJob which simply results in an empty print job.I've tried writing a preloader using the Loader class and a sprite to hold the image and then add the sprite to my canvas, but mycode fails at the addChild() statement at run time because flex cannot coerce the Loader into an IUIComponent. I've also tried a preinitialze event on my canvas which calls the image.Load command for an mx:image tag, but that doesn't workeither.It seems like I'm running out of options here. I didn't think it would be so difficult to print multiple pages of images in Flex. Can someone please helpThanks Wayne __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] PrintDataGrid page filling
Hi Phil, you can always change the height of the PrintDataGrid and call nextPage(). Which should do the trick, but if your chart is taking up space on the second page make it zero or get it out of the way and only show the PDG. It's like any other component. So you'll have to put it in the place you want. Probably you've used layout=absolute or a canvas, in which case you'll have to set the corrected x and y coordinates for the PDG. Hope this helps, -sam On 8/14/06, phildouglas [EMAIL PROTECTED] wrote: Does anyone know much about using the PrintDataGrid class withmultiple pages beyond whats included in the flex livedocs.I'm trying to print a graph with a table, and so need the chart at thetop of the first page, followed by the datagrid. If the data is longer than one page then i need to flow it onto thenext page. This is working fine however when I hide the chart on thesecond page, the datagrid doesnt resize to fill the whole page, but keeps the same height as if the chart was there, just at the top ofthe page. This means that if i have lots of data, i get lots of pagesall with small chunks of datagrid at the top.I've tried calling invalidate() and validateNow() on both the chart and the containing page, and turned off includeInLayout for the chart,but this seems to make no difference. Am i missing something?Thanks.Phil __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] TileList item margins
HiSergey, You can solve this problem by setting the ThemeColor for your TileList to white (themeColor=#FF). I'll look into this and let you know if there are other ways you can get rid of the border. In a way it is good to have some color showing because the user will know thathe can click/interact withthe items. -sam On 8/11/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: Hi All!How to eliminate those 2 pixels at the top and the same at the bottommargins around each TileList item? I use this:mx:TileList columnCount=2 rowCount=3 borderStyle=none dataProvider={_dataProvider}mx:itemRenderermx:Componentmx:Image width=50 height=50 source={data.image} //mx:Component /mx:itemRenderer/mx:TileListAnd there are 2 pixels of free space above and below each image.Sergey. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: How to collapse Panel?
Hi Sergey, Good observation. Why do you need the header height? The documentation says, The default value is based on the style of the title text. Sothere is no fixed default header height, it depends on the Title text font size. Having said that, the getStyle(headerHeight) should return the actual height of the header. So for now, if you really want a number returned set the headerHeight and it will work fine. Thanks, -sam On 8/12/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: Any ideas regarding why headerHeight style equals undefined by defaultand how to get its default value? :( On 8/11/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: I found this example in help and wonder how to make it works: ?xml version=1.0 encoding=utf-8? mx:Panel xmlns:mx= http://www.adobe.com/2006/mxml mouseDown=checkCollapse(event) resizeEffect=Resize mx:Script ![CDATA[ private function checkCollapse(event:MouseEvent):void { // If the user clicks the panel header, collapse/expand the panel. if (event.localY getStyle(headerHeight)) { currentState = currentState == collapsed ? : collapsed; } } ]] /mx:Script mx:states mx:State name=collapsed mx:SetProperty name=height value={getStyle('headerHeight')}/ /mx:State /mx:states /mx:Panel I just wrapped it into application: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx= http://www.adobe.com/2006/mxml mx:Script ![CDATA[ import mx.controls.Alert; private function checkCollapse(event:MouseEvent):void { // If the user clicks the panel header, collapse/expand the panel. if (event.localY getStyle(headerHeight)) { currentState = currentState == collapsed ? : collapsed; } } ]] /mx:Script mx:states mx:State name=collapsed mx:SetProperty name=height value={getStyle('headerHeight')}/ /mx:State /mx:states mx:Panel xmlns:mx= http://www.adobe.com/2006/mxml mouseDown=checkCollapse(event) resizeEffect=Resize mx:TextArea / /mx:Panel /mx:Application You could check via debugging that (event.localY getStyle(headerHeight)) is always false. On 8/11/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: Hi All! I want to create collapsable Panel via states. I use mx:SetProperty to change height to myPanel.getStyle(headerHeight) value, but this method return undefined. What is wrong? Regards, Sergey. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Image class instance source nature detection
no way to know that Sergey, if it is a small image. You canguess when ittakes time to load that it is loaded(not embeded). When it is Embeded it should show up faster(because it is a part ofthe swf), apart from this there is now way to find out at runtime. The person writing the code will always know by looking into the file. -sam On 8/12/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: Hi All!What is the most proper way to detect either Image use embeded contentto display or load the content in runtime?Sergey. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Image class instance source nature detection
If on the other hand, the images are being loaded using data from an XML file, it can be associated to a flag which mentions that it is loaded or not(embeded). -sam On 8/16/06, Samuel Reuben [EMAIL PROTECTED] wrote: no way to know that Sergey, if it is a small image. You canguess when ittakes time to load that it is loaded(not embeded). When it is Embeded it should show up faster(because it is a part ofthe swf), apart from this there is now way to find out at runtime. The person writing the code will always know by looking into the file. -sam On 8/12/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: Hi All!What is the most proper way to detect either Image use embeded contentto display or load the content in runtime?Sergey. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Software development tool Software development Software development services Home design software Software development company YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: Bug in printing with test case (was Re: [flexcoders] Flex print jobs)
Hi Wayne, I want to reproduce the scenario that you are facing. Could you send me the code that you are using? You could zip the whole thing and send it to this address, I'll try and work out a solution for you. Thanks, -sam On 8/10/06, wayneposner [EMAIL PROTECTED] wrote: Hi Sam,I tried a few events and complete was the only one that would work. Unfortunately, the data (path to the images) is being fed via an XML file which is constantly being updated, so there is no way for me to embed the images. I'm trying to build a custom template batch printing solution in Flex. On one page, I need to be able to print the image, some text field metadata pertaining to the image, and a tree control that shows some descriptive hierarchy (an assembly tree for you CAD guys out there) for the image. But I need this to happen for a potentially large number of objects stored in a ArrayCollection. I'm wondering if I could send the data to a canvas view and then add that canvas to a viewstack, create a new view in the viewstack, and then repeat for all the data in my ArrayCollection. Once I have a viewstack with X views, send that viewstack to a print function to loop through the indexes and print. What would that do to performance if I had a viewstack of 500-1000 views?Wayne--- In flexcoders@yahoogroups.com , Samuel Reuben [EMAIL PROTECTED] wrote: Can you try proceeding with the printing on updateComplete event of the Image? If they are small images, I think Embeding the images in the swf should do the trick. thanks, -sam On 8/10/06, wayneposner [EMAIL PROTECTED] wrote: After going back and adding an event listener for the complete action on the image I was able to get the image to print. Having to use an event listener, however, causes a problem. I need to loop through a potentially large data set, push data (including a path to an image) to my print view and then send the print job. The user should only be prompted with the windows print window one time. I've tried instatiating a global FlexPrintJob variable, but that seems to cause an empty print job. How might I achieve what I'm looking to do? Thanks! Wayne --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, wayneposner wayne.posner@ wrote: Tom, I set the width/height for the whole component. I also tried setting it for the image. Setting it for the image actually gives me nothing but a blue background when I view the print via Microsoft Document Imaging. Adding a callLater to the mix still does not yield a jpeg in the print output. I'll try the viewstack, but in th meantime my code is as follows: var printjob:FlexPrintJob=new FlexPrintJob(); printjob.start(); var pp:PartPrint=new PartPrint(); pp.product=bom[1]; this.addChild(pp); callLater(doPrint,[printjob,pp]); private function doPrint(printjob:FlexPrintJob, item:PartPrint):void { item.width=printjob.pageWidth; item.height=printjob.pageHeight printjob.addObject(item.atts); printjob.send(); } --- In flexcoders@yahoogroups.com flexcoders% 40yahoogroups.com, Tom Chiverton tom.chiverton@ wrote: On Wednesday 09 August 2006 11:13, Samuel Reuben wrote: On 7/19/06, Tom Chiverton tom.chiverton@ wrote: On Wednesday 19 July 2006 10:39, Samuel Reuben wrote: Does this happen even when the object height/width is set? Does what happen ? The Silent failure ( Actually here nothing was sent to the printer, because no height or width was set ). Yes, setting a width/height by hand does make it print.Wayne - did you set width/height for the object you added to the print job, or just on the jpeg ? Can you try my work around (add the object to be printedto a viewstack and set the selectedIndex to display it just before printing)and see if that helps ? At the very least, if maybe your JPEG isn't beingloaded, you get to see it not being loaded. Typing that, maybe try loadingthe JPEG, then calling the printer job via callLater(). --Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents
Re: Bug in printing with test case (was Re: [flexcoders] Flex print jobs)
Can you try proceeding with theprinting on updateComplete event of the Image? If they are small images, I think Embeding the images in the swf should do the trick. thanks, -sam On 8/10/06, wayneposner [EMAIL PROTECTED] wrote: After going back and adding an event listener for the complete action on the image I was able to get the image to print. Having to use an event listener, however, causes a problem. I need to loop through a potentially large data set, push data (including a path to an image) to my print view and then send the print job. The user should only be prompted with the windows print window one time. I've tried instatiating a global FlexPrintJob variable, but that seems to cause an empty print job. How might I achieve what I'm looking to do?Thanks!Wayne--- In flexcoders@yahoogroups.com, wayneposner [EMAIL PROTECTED] wrote: Tom, I set the width/height for the whole component. I also tried setting it for the image. Setting it for the image actually gives me nothing but a blue background when I view the print via Microsoft Document Imaging. Adding a callLater to the mix still does not yield a jpeg in the print output. I'll try the viewstack, but in th meantime my code is as follows: var printjob:FlexPrintJob=new FlexPrintJob(); printjob.start(); var pp:PartPrint=new PartPrint(); pp.product=bom[1]; this.addChild (pp); callLater(doPrint,[printjob,pp]); private function doPrint(printjob:FlexPrintJob, item:PartPrint):void { item.width=printjob.pageWidth; item.height=printjob.pageHeight printjob.addObject(item.atts); printjob.send(); } --- In flexcoders@yahoogroups.com , Tom Chiverton tom.chiverton@ wrote: On Wednesday 09 August 2006 11:13, Samuel Reuben wrote: On 7/19/06, Tom Chiverton tom.chiverton@ wrote:On Wednesday 19 July 2006 10:39, Samuel Reuben wrote: Does this happen even when the object height/width is set?Does what happen ? The Silent failure ( Actually here nothing was sent to the printer, because no height or width was set ).Yes, setting a width/height by hand does make it print. Wayne - did you set width/height for the object you added to the print job, or just on the jpeg ? Can you try my work around (add the object to be printed to a viewstack and set the selectedIndex to display it just before printing) and see if that helps ? At the very least, if maybe your JPEG isn't being loaded, you get to see it not being loaded. Typing that, maybe try loading the JPEG, then calling the printer job via callLater(). -- Tom ChivertonThis email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008.For more information about Halliwells LLP visit www.halliwells.com. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [Junk E-Mail - MED] Re: [flexcoders] PopUpMenuButton icon not working?
Can you send a screen shot please(or another write up)? I don't seem to understand what you are seeing. Thanks, -sam On 8/8/06, Carlos Rovira [EMAIL PROTECTED] wrote: Anyone notice the bug with menu's icons in this control?I see the dataprovider in the examplehas: mx:Object label=Print: Original Size icon={myIcon}/ So you are using icons in the menu. Have you notice that icons seems to duplicate when select a menu item and open the menu one more time? On 8/8/06, Samuel Reuben [EMAIL PROTECTED] wrote: However, if you want to make a changable icon you'll have to do something like this which is the expected behaviour. ?xml version=1.0 encoding=iso-8859-1 ?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml width=600 height=600 backgroundColor=#FF mx:Script![CDATA[[Bindable][Embed(source=aol.jpg)] private var myIcon:Class;]]/mx:Script mx:PopUpMenuButton id=printMenu label=Print: Original Size icon={myIcon} mx:dataProvider mx:Array mx:Object label=Print: Original Size icon={myIcon}/ mx:Object label=Print: Fit to page / /mx:Array /mx:dataProvider /mx:PopUpMenuButton /mx:Application Hope this helps, -sam P.S: Notice that if you remove the dataProvider the icon gets set for your PUMB. Because PUMB changes the label based on the selected menu item, it tries to get the icon too from the menu. So if you set the label to something(an item not in the menu) for the PUMB it won't change when you change the selected menu items, which will be the case for the Icon too (that's where the bug is, because it changes evenwhen the label doesn't change). But in any case the icon should get set -which is a bug. Thanks again On 8/8/06, Samuel Reuben [EMAIL PROTECTED] wrote: Yes I think it is Shan, I'll log the bug. Sorry for the delay in the reply. It was being used with PopUpButton and was somehow missed in PUMB. -sam On 7/18/06, Shannon Hicks [EMAIL PROTECTED] wrote: Nope, no change. Adobe: is this on the official bug list? Seems like an oversight that some of flex'sbasic functionality isn't working. Shan From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Samuel ReubenSent: Tuesday, July 18, 2006 3:47 AMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - MED] Re: [flexcoders] PopUpMenuButton icon not working? try icon=@Embed('../assets/print_16.gif') It should work, -sam On 7/8/06, Shannon Hicks [EMAIL PROTECTED] wrote: I've tried adding an icon to the PopUpMenuButton, but it doesn't seem to work. It shows the icon in Flex Builder, but not in the compiled SWF. I've added icons to every other type of button (the same icon, called from the same component in the same way), and they work fine. Maybe it's a bug? Code: mx:PopUpMenuButton id=printMenu label=Print: Original Size icon=@Embed(source='../assets/print_16.gif') mx:dataProvider mx:Array mx:Object label=Print: Original Size / mx:Object label=Print: Fit to page / /mx:Array /mx:dataProvider /mx:PopUpMenuButton If you're going to try it, be sure to actually create the gif, otherwise FlexBuilder throws some compile error about not finding the gif :) Shan --No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006 --No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/390 - Release Date: 7/17/2006 --No virus found in this outgoing message.Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/390 - Release Date: 7/17/2006 -- ::| Carlos Rovira::| http://www.carlosrovira.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] DateChooser does not show selected day when using DateField component
test... reply for Anand... On 8/9/06, Bas J. Brey [EMAIL PROTECTED] wrote: I'm working with DateField components a lot and when i set the selectedDate of the DateField component the connected DateChooser does show the correct Year and Month, but does not highlight the selected Day! Any clues on how to work around this? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] RichTextEditor (rte)
Test for Anand... He's onto this... On 8/9/06, app.developer [EMAIL PROTECTED] wrote: Why, when you set the format you wish to type in the RichTextEditor (RTE), after the first letter typed (letters after the first)?Example: I click the BOLD button then start typing I am bold, the only letter that is bold is I and rest is reset to the original text.P. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [Junk E-Mail - MED] Re: [flexcoders] PopUpMenuButton icon not working?
Yes I think it is Shan, I'll log the bug. Sorry for the delay in the reply. It was being used with PopUpButton and was somehow missed in PUMB. -sam On 7/18/06, Shannon Hicks [EMAIL PROTECTED] wrote: Nope, no change. Adobe: is this on the official bug list? Seems like an oversight that some of flex'sbasic functionality isn't working. Shan From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Samuel ReubenSent: Tuesday, July 18, 2006 3:47 AMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - MED] Re: [flexcoders] PopUpMenuButton icon not working? try icon=@Embed('../assets/print_16.gif') It should work, -sam On 7/8/06, Shannon Hicks [EMAIL PROTECTED] wrote: I've tried adding an icon to the PopUpMenuButton, but it doesn't seem to work. It shows the icon in Flex Builder, but not in the compiled SWF. I've added icons to every other type of button (the same icon, called from the same component in the same way), and they work fine. Maybe it's a bug? Code: mx:PopUpMenuButton id=printMenu label=Print: Original Size icon=@Embed(source='../assets/print_16.gif') mx:dataProvider mx:Array mx:Object label=Print: Original Size / mx:Object label=Print: Fit to page / /mx:Array /mx:dataProvider /mx:PopUpMenuButton If you're going to try it, be sure to actually create the gif, otherwise FlexBuilder throws some compile error about not finding the gif :) Shan --No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006 --No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/390 - Release Date: 7/17/2006 --No virus found in this outgoing message.Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/390 - Release Date: 7/17/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [Junk E-Mail - MED] Re: [flexcoders] PopUpMenuButton icon not working?
However, if you want to make a changable icon you'll have to do something like this which is the expected behaviour. ?xml version=1.0 encoding=iso-8859-1 ?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml width=600 height=600 backgroundColor=#FF mx:Script![CDATA[[Bindable][Embed(source=aol.jpg)]private var myIcon:Class;]]/mx:Script mx:PopUpMenuButton id=printMenu label=Print: Original Size icon={myIcon} mx:dataProvider mx:Array mx:Object label=Print: Original Size icon={myIcon}/ mx:Object label=Print: Fit to page / /mx:Array /mx:dataProvider /mx:PopUpMenuButton/mx:Application Hope this helps, -sam P.S: Notice that if you remove the dataProvider the icon gets set for your PUMB. Because PUMB changes the label based on the selected menu item, it tries to get the icon too from the menu. So if you set the label to something(an item not in the menu) for the PUMB it won't change when you change the selected menu items, which will be the case for the Icon too (that's where the bug is, because it changes evenwhen the label doesn't change). But in any case the icon should get set -which is a bug. Thanks again On 8/8/06, Samuel Reuben [EMAIL PROTECTED] wrote: Yes I think it is Shan, I'll log the bug. Sorry for the delay in the reply. It was being used with PopUpButton and was somehow missed in PUMB. -sam On 7/18/06, Shannon Hicks [EMAIL PROTECTED] wrote: Nope, no change. Adobe: is this on the official bug list? Seems like an oversight that some of flex'sbasic functionality isn't working. Shan From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Samuel ReubenSent: Tuesday, July 18, 2006 3:47 AMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - MED] Re: [flexcoders] PopUpMenuButton icon not working? try icon=@Embed('../assets/print_16.gif') It should work, -sam On 7/8/06, Shannon Hicks [EMAIL PROTECTED] wrote: I've tried adding an icon to the PopUpMenuButton, but it doesn't seem to work. It shows the icon in Flex Builder, but not in the compiled SWF. I've added icons to every other type of button (the same icon, called from the same component in the same way), and they work fine. Maybe it's a bug? Code: mx:PopUpMenuButton id=printMenu label=Print: Original Size icon=@Embed(source='../assets/print_16.gif') mx:dataProvider mx:Array mx:Object label=Print: Original Size / mx:Object label=Print: Fit to page / /mx:Array /mx:dataProvider /mx:PopUpMenuButton If you're going to try it, be sure to actually create the gif, otherwise FlexBuilder throws some compile error about not finding the gif :) Shan --No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006 --No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/390 - Release Date: 7/17/2006 --No virus found in this outgoing message.Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.1/390 - Release Date: 7/17/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Chage text on main preload
I think you posted the same question on the Discussion forum, it's answered there for you. Thanks, -sam On 8/2/06, Jesús Iglesias [EMAIL PROTECTED] wrote: Hi again, Does anybody know how to change the text of the main preload Loading and Initializing? Thanks. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] TitleWindow Text colors
Hi Tim, You can change the Title text color using titleStyleName. But changing it to two colors is not possible, you could probably us the status and use the statusStyleNameto change it's color too or use and image in front of the text which has the textCurrent Window and set it as the titleIcon. Hope this helps, -sam On 8/2/06, sufibaba [EMAIL PROTECTED] wrote: Hello flexors,Does anyone know how to make the Title text of the TitleWindow Control in different colors.For example, in the title I would like the following text displayed.Current Window: ExplorerPlusThanks in advance.-Tim __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] TitleWindow Text colors
The closest that you will be able to get is setting the titleIcon(to an image with text in it) and changing the titleStyleName. -sam On 8/7/06, Samuel Reuben [EMAIL PROTECTED] wrote: Hi Tim, You can change the Title text color using titleStyleName. But changing it to two colors is not possible, you could probably us the status and use the statusStyleNameto change it's color too or use and image in front of the text which has the textCurrent Window and set it as the titleIcon. Hope this helps, -sam On 8/2/06, sufibaba [EMAIL PROTECTED] wrote: Hello flexors,Does anyone know how to make the Title text of the TitleWindow Control in different colors.For example, in the title I would like the following text displayed.Current Window: ExplorerPlusThanks in advance.-Tim __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: printing/zooming bugs
This is still an open issue Peter. I remember it had been fixed but then some how it got back. Will press for it to be fixed ASAP. Thanks, -sam On 7/25/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: I was playing with your code, and discovered you don't need to create a new context menu, just call hideBuiltInItems() on the existing one: function init:void() { contextMenu.hideBuiltInItems(); } From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pan TroglodytesSent: 18 July 2006 00:14To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: printing/zooming bugs I know this was asked a long time ago, but somehow I must have missed it. Either that or I learned how to do it later. In any case, do this: import flash.ui.ContextMenu; var menu:ContextMenu = new ContextMenu(); menu.hideBuiltInItems(); contextMenu = menu; On 6/30/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: Is there a way to hide the context menu (or at least the zoom part)? Wehave a zoomable graph, and if the user right-clicks, they see Zoom,think it's ours, click it, and then they're stuffed until reloading the page! -Original Message-From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] OnBehalf Of JasonSent: 29 June 2006 17:50To: flexcoders@yahoogroups.comSubject: [flexcoders] Re: printing/zooming bugsUnfortunately, it looks like the Zoom bug is still there in the releaseversion. I've entered it into the bug report page. But be aware. --- In flexcoders@yahoogroups.com , Jason [EMAIL PROTECTED] wrote: Before I start talking about bugs, let me just say thanks for the help. I demoed to the boss today and he was VERY pleased. Flex was a big hit with him. Hope the release doesn't slip too far behind, as we're looking forward to writing that check! :D Anyway, I've had a couple of problems that seem to be related. In Flex 2beta3, whenever I create any app and run it, the Flash player's Zoom options are broken. Right-click and say Zoom In. Right-click and the Zoom Out option is not shown. You can Zoom In more and THEN Zoom Out, but not all the way out. You're stuck with it zoomed in. And you can't pan around. This doesn't happening using the beta player with non-Flex SWFs. The printing problem seems similar. Here's my example app: ?xml version= 1.0 encoding=utf-8? mx:Application xmlns:mx= http://www.adobe.com/2006/mxml layout=absolute mx:Script ![CDATA[ private function printClick(e:Event):void { import flash.printing.PrintJob; var myPrintJob:PrintJob = new PrintJob(); myPrintJob.start() ; myPrintJob.addPage(this); myPrintJob.send(); } ]] /mx:Script mx:Button label=Print click=printClick(event) width=481 x=10 y=10/ mx:DataGrid y=40 x=10 width=481 mx:dataProvider mx:ArrayCollection mx:source mx:Object mx:ArtistPavement/mx:Artist mx:Price11.99/mx:Price mx:AlbumSlanted and Enchanted/mx:Album /mx:Object mx:Object mx:ArtistPavement/mx:Artist mx:AlbumBrighten the Corners/mx:Album mx:Price11.99/mx:Price /mx:Object /mx:source /mx:ArrayCollection /mx:dataProvider /mx:DataGrid /mx:Application If you click on the print button, you get a zoomed in printed document. Just like the whole right-click and Zoom In problem. It's like the player thinks that the normal size is zoomed in. Can I get some confirmation or denial of the bug? Or if there's something somehow messed up with my system, let me know. Thanks. Yahoo! Groups Sponsor ~--Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM --~- -- Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links[Inbound Mail Scanned by MessageLabs]__This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email __ -- Jason [Inbound Mail Scanned by MessageLabs]__ This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email __ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development
Re: [flexcoders] TileList Bug Flex Final... pretty serious.
Hi Tim, I tried this and I don't seem to see any tiles disappearing. Can you send me some code please? Thanks, -sam On 7/25/06, sufibaba [EMAIL PROTECTED] wrote: Hi ya,I found what seems to be a bug with the TileList Control. When theTileList is resized, not all of the images that are in the TileListare displayed. It seems that when TileList is made smaller, in widthand height, the vertical scrollbar will only display some of the images. Has anyone seen this problem. Is there a work around for this bug?Any light cast on this is Greatly appreciated.- Tim __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] SWFLoader related query / challenge
Do you want to interaction between the swf's? You most probably will run into problems here. If you don't mind what are you trying to achive? Thanks, -sam On 7/24/06, Vishwajit Girdhari [EMAIL PROTECTED] wrote: One problem in flex... You have 3.mxmlsthat getcompiled into .swf (Say A , B , C .) step1You have to load B inside A step2 In B there is a button on click you have to unload B from A and load C step3 Alsoin C there is a button on click you have to unload C from A and load B --- My approach for Step1 : cool! I am loading B in A using SWFLoader. for step2 : stuck! I am not able get hold of the instance A from whichi can change source property of swfLoader (instance) to C.swf for step :whatever works forstep 2 :-( -- your thoughts please. thanks vishwajit __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Problem in displaying data in Combo Box
Try doing something like this... * ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute mx:HTTPService id=statesModel url="" result=st.dataProvider=event.result.root.state showBusyCursor=true fault=mx.controls.Alert.show('Could not get xml Info!!!') / mx:ComboBox id=st x=143 y=113 width=132 /mx:Button label=Click to get States click=statesModel.send() //mx:Application * and in states.xml * ?xml version=1.0?root statelabelAlabama/labeldataAL/data/state statelabelAlaska/label dataAK/data/state statelabelArizona/labeldataAZ/data/state statelabelArkansas/label dataAR/data/state statelabelCalifornia/labeldataCA/data/state statelabelColorado/label dataCO/data/state statelabelConnecticut/labeldataCT/data/state statelabelDelaware/label dataDE/data/state statelabelFlorida/labeldataFL/data/state statelabelGeorgia/label dataGA/data/state/root *Hope this helps, -sam On 7/24/06, Vinod M Jacob [EMAIL PROTECTED] wrote: Hi all, I am working on Flex 2.0.I am faced with a problem.I need to display datafrom the .XML file into the combo box.Earlier i used mx:Model and an array collection to display data in combo box in flex 2 Beta 3version and it was working fine.Now i have changed the same code to flex 2 final version and it is not working.The code i used is shown below. * ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml layout=absolutemx:Model id=statesModel source=states.xml/ mx:ArrayCollection id=StateAC source={ statesModel.states.state}/ mx:ComboBox id=st x=143 y=113 width=132 dataProvider={StateAC}/ /mx:Application ** the states.xml file is as follows * states state label=Alabama data=""> state label=Alaska data=""> state label=Arizona data="" state label=Arkansas data=""> state label=California data=""> state label=Colorado data=""> state label=Connecticut data="" state label=Delaware data=""> state label=Florida data=""> state label=Georgia data=""> states*** Your help in this regards will be highly appreciated. Thanks, Vinod M Jacob __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] help please
See Uday, You can use the contentWidth and contentHeight on the updateComplete event to determine how you want to show your images. Some ideas could be that you set the visible to false while the images are loading and show them once you've got the logic worked out,as to what and howyou want to show them. Hope this helps, -sam On 7/15/06, uday kiran [EMAIL PROTECTED] wrote: I hava a problemI have diffrent photos with same height but diffrentwidth, two set of photo width's, one photoset width is3 time the other set.they are jumbled.Now the problem is when I get small photos i should display three of them in a row when I get Bigger on Ishould display the bigger on only and in a row i canhave ie three small photos or two small photos or onesamll photo or one big photo(placed from left). how to solve it...__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: printing/zooming bugs
If you go to http://www.adobe.com/shockwave/welcome/ in the flash player about does it show 9,0,16,0 ? -sam On 7/19/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: It's still present here. I can right-click - Zoom In, and it correctly zooms in. When I then right-click - Zoom Out, it only zooms out a little, but a tick appears next to Show All and Zoom Out greys out. Leaving me still partly zoomed in (and missing the outside of my application), unable to get back. I'm definately using the release player :-( From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Samuel ReubenSent: 19 July 2006 05:52 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: printing/zooming bugs The zoom in, zoom out problem was noticed and was fixed. I'll look into it. As far as I can see it works fine on the release player. -sam On 7/18/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: Cool, thanks! From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Pan TroglodytesSent: 18 July 2006 00:14To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: printing/zooming bugs I know this was asked a long time ago, but somehow I must have missed it. Either that or I learned how to do it later. In any case, do this: import flash.ui.ContextMenu; var menu:ContextMenu = new ContextMenu(); menu.hideBuiltInItems(); contextMenu = menu; On 6/30/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: Is there a way to hide the context menu (or at least the zoom part)? Wehave a zoomable graph, and if the user right-clicks, they see Zoom,think it's ours, click it, and then they're stuffed until reloading the page! -Original Message-From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] OnBehalf Of JasonSent: 29 June 2006 17:50To: flexcoders@yahoogroups.comSubject: [flexcoders] Re: printing/zooming bugsUnfortunately, it looks like the Zoom bug is still there in the releaseversion. I've entered it into the bug report page. But be aware. --- In flexcoders@yahoogroups.com , Jason [EMAIL PROTECTED] wrote: Before I start talking about bugs, let me just say thanks for the help. I demoed to the boss today and he was VERY pleased. Flex was a big hit with him. Hope the release doesn't slip too far behind, as we're looking forward to writing that check! :D Anyway, I've had a couple of problems that seem to be related. In Flex 2beta3, whenever I create any app and run it, the Flash player's Zoom options are broken. Right-click and say Zoom In. Right-click and the Zoom Out option is not shown. You can Zoom In more and THEN Zoom Out, but not all the way out. You're stuck with it zoomed in. And you can't pan around. This doesn't happening using the beta player with non-Flex SWFs. The printing problem seems similar. Here's my example app: ?xml version= 1.0 encoding=utf-8? mx:Application xmlns:mx= http://www.adobe.com/2006/mxml layout=absolute mx:Script ![CDATA[ private function printClick(e:Event):void { import flash.printing.PrintJob; var myPrintJob:PrintJob = new PrintJob(); myPrintJob.start() ; myPrintJob.addPage(this); myPrintJob.send(); } ]] /mx:Script mx:Button label=Print click=printClick(event) width=481 x=10 y=10/ mx:DataGrid y=40 x=10 width=481 mx:dataProvider mx:ArrayCollection mx:source mx:Object mx:ArtistPavement/mx:Artist mx:Price11.99/mx:Price mx:AlbumSlanted and Enchanted/mx:Album /mx:Object mx:Object mx:ArtistPavement/mx:Artist mx:AlbumBrighten the Corners/mx:Album mx:Price11.99/mx:Price /mx:Object /mx:source /mx:ArrayCollection /mx:dataProvider /mx:DataGrid /mx:Application If you click on the print button, you get a zoomed in printed document. Just like the whole right-click and Zoom In problem. It's like the player thinks that the normal size is zoomed in. Can I get some confirmation or denial of the bug? Or if there's something somehow messed up with my system, let me know. Thanks. Yahoo! Groups Sponsor ~--Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM --~- --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links[Inbound Mail Scanned by MessageLabs]__This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email __ -- Jason [Inbound Mail Scanned by MessageLabs] __This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email
Re: Bug in printing with test case (was Re: [flexcoders] Flex print jobs)
Hi Tom, Does this happen even when the object height/width is set? I suppose a ValidateNow() could make a difference... -sam On 7/6/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 05 July 2006 15:09, Tom Chiverton wrote: If I try and print a dynamicaly instantiated GUI component, the job silently fails. If I create the same component in line in the page, the job works well.Even more oddness.If I pass the id of a page element that is present, but not currentlydisplayed (different view stack, other tab) the print job silently fails as well.Someone wanna back me up here ?--Tom ChivertonThis email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF.A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged.If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~--Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM~--- Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] PopUpMenuButton icon not working?
try icon=@Embed('../assets/print_16.gif') It should work, -sam On 7/8/06, Shannon Hicks [EMAIL PROTECTED] wrote: I've tried adding an icon to the PopUpMenuButton, but it doesn't seem to work. It shows the icon in Flex Builder, but not in the compiled SWF. I've added icons to every other type of button (the same icon, called from the same component in the same way), and they work fine. Maybe it's a bug? Code: mx:PopUpMenuButton id=printMenu label=Print: Original Size icon=@Embed(source='../assets/print_16.gif') mx:dataProvider mx:Array mx:Object label=Print: Original Size / mx:Object label=Print: Fit to page / /mx:Array /mx:dataProvider /mx:PopUpMenuButton If you're going to try it, be sure to actually create the gif, otherwise FlexBuilder throws some compile error about not finding the gif :) Shan --No virus found in this outgoing message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] NumberFormatter Bug???
I don't see this happening Dan! Which version of flex are you using? I tried it with flex 1.5 and 2.0 both seem to be giving me 1.0 Thanks, -sam On 7/3/06, Dan [EMAIL PROTECTED] wrote: Hi, I just want to ask is this a known issue? I use a numberformatter with the following attributemx:NumberFormatter id=Formatter1 precision=2rounding=nearest / And the value return by Formatter1.format(0.9959);is 0.10 !! rather than 1.00 !!!??Very Strange, right? Is that a bug of FLEX or I set anything wrong?Daniel __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Flex 2 final - Buf in tabChildren of a Panel
It's a bug, I'll log it in. Thanks, -sam On 6/30/06, Harald Dehn [EMAIL PROTECTED] wrote: I need to temporay disable the tabChildren of a panel. If i set the tabChildren property to false and try to change the focus with the tab key, i get the following error message: TypeError: Error #1009: Der Zugriff auf eine Eigenschaft oder eine Methode eines null-Objektverweises ist nicht möglich. at mx.managers::FocusManager/mx.managers:FocusManager::isEnabledAndVisible()[C:\dev\GMC\sdk\frameworks\mx\managers\FocusManager.as:590] at mx.managers::FocusManager/mx.managers:FocusManager::isValidFocusCandidate()[C:\dev\GMC\sdk\frameworks\mx\managers\FocusManager.as:818] at mx.managers::FocusManager/mx.managers:FocusManager::getIndexOfNextObject()[C:\dev\GMC\sdk\frameworks\mx\managers\FocusManager.as:871] at mx.managers::FocusManager/mx.managers:FocusManager::keyDownHandler()[C:\dev\GMC\sdk\frameworks\mx\managers\FocusManager.as:1249] Sample code: ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml layout=absolutemx:Script![CDATA[private function clickCheckBox():void { Panel1.tabChildren = Check1.selected;trace(Panel1.tabChildren);}]]/mx:Scriptmx:CheckBox id=Check1 x=21 y=21 label=TabChildren Panel 1 selected=true tabEnabled=false click=clickCheckBox() /mx:Panel id=Panel1 x=21 y=73 width=258 height=176 layout=absolutemx:TextInput x=10 y=10/ mx:TextInput x=10 y=40/mx:TextInput x=10 y=70//mx:Panel/mx:Application Harald Dehn Gutzkowstraße 27 60594 Frankfurt Tel +49 (69) 61002712 Fax +49 (69) 15049656 Mobil +69 (151) 17887510 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Flex print jobs
Looking into it Tom! -sam Quality Engineer, Flex On 7/4/06, Tom Chiverton [EMAIL PROTECTED] wrote: Has anyone else had problems using the printJob classes ?It seems to be failing silently for me. printJob.start() is returning OK etc. etc.index.mxml:mx:Application xmlns:mx= http://www.adobe.com/2006/mxmlxmlns:print=com.halliwells.flex.archiving.*height=100% width=100%mx:Script ![CDATA[ import mx.printing.FlexPrintJob ; import mx.controls.Alert;private function alertClickHandler(event:Object):void {var printJob:FlexPrintJob = new FlexPrintJob();// Start the print job.if(printJob.start()) {// Create a MyPrintView control as a child of the current view. var formPrintView:CoverSheetPrintView = new CoverSheetPrintView();addChild(formPrintView);formPrintView.file=fileModel;// Add the SimplePrintview control to the print job.// For comparison, try setting the second parameter to none. printJob.addObject(formPrintView);// Send the job to the printer.printJob.send();// Remove the print-specific control to free memory.removeChild(formPrintView);}else{Alert.show(Argh, can't start); }}]]/mx:Scriptmx:Model id=fileModelxml file_id0123456/file_idfile_refMy ref/file_reffile_desc a nice logn description that goes on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and /file_desc/xml/mx:Modelprint:CoverSheetPrintView file={fileModel} / mx:Button label=print click=alertClickHandler(event) //mx:ApplicationCoverSheetPrintView.mxml:?xml version=1.0?mx:VBox xmlns:mx= http://www.adobe.com/2006/mxml backgroundColor=#FF mx:Style@font-face {src: url(/fonts/IDAutomationHC39M_Free.ttf);fontFamily: myFont;}mystyleEmbed1 {fontFamily:myFont;fontWeight:normal;fontSize: 84;}/mx:Style mx:Script ![CDATA[ [Bindable]public var file:Object;private function addStars(str:String):String{return '*'+str+'*';}]]/mx:Scriptmx:Label styleName=mystyleEmbed1 text={addStars( file.file_id)}/mx:Label text={addStars(file.file_id)}/mx:HBoxmx:Label text=Name/mx:Label text=your name here //mx:HBox mx:HBoxmx:Label text=File ref:/mx:Label text={file.file_ref} //mx:HBox mx:HBoxmx:Label text=Description/ mx:Text text={file.file_desc} //mx:HBox /mx:VBox (this is on Windows, but test pages to the same network printer come out fine)-- Tom Chiverton This email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Flex print jobs
Hi Tom, It works fine if you give aheight and width to your object that is being printed. something like: formPrintView.width=600;formPrintView.height=300;before printing it. Thanks, -sam On 7/18/06, Samuel Reuben [EMAIL PROTECTED] wrote: Looking into it Tom! -sam Quality Engineer, Flex On 7/4/06, Tom Chiverton [EMAIL PROTECTED] wrote: Has anyone else had problems using the printJob classes ?It seems to be failing silently for me. printJob.start() is returning OK etc. etc.index.mxml:mx:Application xmlns:mx= http://www.adobe.com/2006/mxmlxmlns:print=com.halliwells.flex.archiving.*height=100% width=100%mx:Script ![CDATA[ import mx.printing.FlexPrintJob ; import mx.controls.Alert;private function alertClickHandler(event:Object):void {var printJob:FlexPrintJob = new FlexPrintJob();// Start the print job.if(printJob.start()) {// Create a MyPrintView control as a child of the current view. var formPrintView:CoverSheetPrintView = new CoverSheetPrintView();addChild(formPrintView);formPrintView.file=fileModel;// Add the SimplePrintview control to the print job.// For comparison, try setting the second parameter to none. printJob.addObject(formPrintView);// Send the job to the printer.printJob.send();// Remove the print-specific control to free memory.removeChild(formPrintView);}else{Alert.show(Argh, can't start); }}]]/mx:Scriptmx:Model id=fileModelxml file_id0123456/file_idfile_refMy ref/file_reffile_desc a nice logn description that goes on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and on and /file_desc/xml/mx:Modelprint:CoverSheetPrintView file={fileModel} / mx:Button label=print click=alertClickHandler(event) //mx:ApplicationCoverSheetPrintView.mxml:?xml version=1.0?mx:VBox xmlns:mx= http://www.adobe.com/2006/mxml backgroundColor=#FF mx:Style@font-face {src: url(/fonts/IDAutomationHC39M_Free.ttf);fontFamily: myFont;}mystyleEmbed1 {fontFamily:myFont;fontWeight:normal;fontSize: 84;}/mx:Style mx:Script ![CDATA[ [Bindable]public var file:Object;private function addStars(str:String):String{return '*'+str+'*';}]]/mx:Scriptmx:Label styleName=mystyleEmbed1 text={addStars( file.file_id)}/mx:Label text={addStars(file.file_id)}/mx:HBoxmx:Label text=Name/mx:Label text=your name here //mx:HBox mx:HBoxmx:Label text=File ref:/mx:Label text={file.file_ref} //mx:HBox mx:HBoxmx:Label text=Description/ mx:Text text={file.file_desc} //mx:HBox /mx:VBox (this is on Windows, but test pages to the same network printer come out fine)-- Tom Chiverton This email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Do not reloaded images in TileList
You could embed the images into the app. so that it is seen faster. -sam On 7/18/06, franto [EMAIL PROTECTED] wrote: Hi,i hope that there is some switch to not preloaded Images from web when I have TileList with some data Providerimages are downloaded based on this data providerbut when there is mroe items and scrollbar appears, and I scroll with it, all new images (or old ones which was hided) are loaded again...there is delay in rendering It looks awful, can this be done by some setting not to invalidate images items, or something like thatThannks for helpFranto __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: printing/zooming bugs
The zoom in, zoom out problem was noticed and was fixed. I'll look into it. As far as I can see it works fine on the release player. -sam On 7/18/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: Cool, thanks! From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pan TroglodytesSent: 18 July 2006 00:14To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: printing/zooming bugs I know this was asked a long time ago, but somehow I must have missed it. Either that or I learned how to do it later. In any case, do this: import flash.ui.ContextMenu; var menu:ContextMenu = new ContextMenu(); menu.hideBuiltInItems(); contextMenu = menu; On 6/30/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: Is there a way to hide the context menu (or at least the zoom part)? Wehave a zoomable graph, and if the user right-clicks, they see Zoom,think it's ours, click it, and then they're stuffed until reloading the page! -Original Message-From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] OnBehalf Of JasonSent: 29 June 2006 17:50To: flexcoders@yahoogroups.comSubject: [flexcoders] Re: printing/zooming bugsUnfortunately, it looks like the Zoom bug is still there in the releaseversion. I've entered it into the bug report page. But be aware. --- In flexcoders@yahoogroups.com , Jason [EMAIL PROTECTED] wrote: Before I start talking about bugs, let me just say thanks for the help. I demoed to the boss today and he was VERY pleased. Flex was a big hit with him. Hope the release doesn't slip too far behind, as we're looking forward to writing that check! :D Anyway, I've had a couple of problems that seem to be related. In Flex 2beta3, whenever I create any app and run it, the Flash player's Zoom options are broken. Right-click and say Zoom In. Right-click and the Zoom Out option is not shown. You can Zoom In more and THEN Zoom Out, but not all the way out. You're stuck with it zoomed in. And you can't pan around. This doesn't happening using the beta player with non-Flex SWFs. The printing problem seems similar. Here's my example app: ?xml version= 1.0 encoding=utf-8? mx:Application xmlns:mx= http://www.adobe.com/2006/mxml layout=absolute mx:Script ![CDATA[ private function printClick(e:Event):void { import flash.printing.PrintJob; var myPrintJob:PrintJob = new PrintJob(); myPrintJob.start() ; myPrintJob.addPage(this); myPrintJob.send(); } ]] /mx:Script mx:Button label=Print click=printClick(event) width=481 x=10 y=10/ mx:DataGrid y=40 x=10 width=481 mx:dataProvider mx:ArrayCollection mx:source mx:Object mx:ArtistPavement/mx:Artist mx:Price11.99/mx:Price mx:AlbumSlanted and Enchanted/mx:Album /mx:Object mx:Object mx:ArtistPavement/mx:Artist mx:AlbumBrighten the Corners/mx:Album mx:Price11.99/mx:Price /mx:Object /mx:source /mx:ArrayCollection /mx:dataProvider /mx:DataGrid /mx:Application If you click on the print button, you get a zoomed in printed document. Just like the whole right-click and Zoom In problem. It's like the player thinks that the normal size is zoomed in. Can I get some confirmation or denial of the bug? Or if there's something somehow messed up with my system, let me know. Thanks. Yahoo! Groups Sponsor ~--Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM --~- --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links[Inbound Mail Scanned by MessageLabs]__This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email __ -- Jason [Inbound Mail Scanned by MessageLabs] __This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email __ __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group
Re: [flexcoders] How to make a components to show its tooltip without point mouse to it?
do you want the tooltip displayed permanently or displayed when you do something? -sam On 5/26/06, Ronan Bottini [EMAIL PROTECTED] wrote: Hi.How to make a components to show its tooltip without point mouse to it? Thanks. --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex 2: determine scaled dimensions of Loader content?
contentHeight and contentWidthis returning the original values 50, 50. So it is a bug, I'll file one. Thanks Tom, -sam On 3/3/06, Matt Chotin [EMAIL PROTECTED] wrote: I believe that contentWidth/Height are supposed to return the scaled values, not the original values. So that might be a bug. I'll forward this on and see if anyone knows anything. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom BraySent: Thursday, March 02, 2006 10:57 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex 2: determine scaled dimensions of Loader content? Say you do this:mx:Loader id=photo source=image.jpg width=200 height=150 scaleContent=true/ And the actual dimensions of image.jpg is 50x50. After the loader has loaded the image and scaled it, the loader's contentWidth and contentHeight say 50, but the image has been scaled to fit in the loader and maintain the correct aspect ratio. So, is there a property that contains the scaled width and height (150x150) or do I have to calculate it? I want the scaled dimensions so that I can size a canvas around the image with a border and a dropshadow.Thanks,-Tom--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Flex 2: determine scaled dimensions of Loader content?
At the same time if contentHeight and contentWidth are taken a little after complete it shows that scaled values. So this is a workaround. -sam On 3/6/06, Samuel Reuben [EMAIL PROTECTED] wrote: contentHeight and contentWidthis returning the original values 50, 50. So it is a bug, I'll file one. Thanks Tom, -sam On 3/3/06, Matt Chotin [EMAIL PROTECTED] wrote: I believe that contentWidth/Height are supposed to return the scaled values, not the original values. So that might be a bug. I'll forward this on and see if anyone knows anything. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom BraySent: Thursday, March 02, 2006 10:57 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex 2: determine scaled dimensions of Loader content? Say you do this:mx:Loader id=photo source=image.jpg width=200 height=150 scaleContent=true/ And the actual dimensions of image.jpg is 50x50. After the loader has loaded the image and scaled it, the loader's contentWidth and contentHeight say 50, but the image has been scaled to fit in the loader and maintain the correct aspect ratio. So, is there a property that contains the scaled width and height (150x150) or do I have to calculate it? I want the scaled dimensions so that I can size a canvas around the image with a border and a dropshadow.Thanks,-Tom--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] PopupButton bug
Hi Tom, I see this intermittently commented or uncommentedi've logged a bug - though not in Beta1. Thanks, -sam On 3/2/06, Matt Chotin [EMAIL PROTECTED] wrote: http://www.macromedia.com/go/wish is OK but I"m forwarding these on to QA when possible right now. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom BraySent: Wednesday, March 01, 2006 2:59 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] PopupButton bug I looked around for the proper way to report this but could find it. The code below is from the PopUpButton livedoc, the only change I made is that I commented out the line that changes the label of the PopupButton instance after a menu item is selected. Doing this causes the menu to not disappear after selecting an item. If you run this code, just click the Put in: Inbox button, and select one of the menu items. The menu doesn't hide. If you uncomment the line that changes the label and reload it, the menu will hide as expected. ?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.macromedia.com/2005/mxml height=600 width=600 mx:Script ![CDATA[ import mx.controls.*; import mx.events.* ; private var myMenu:Menu; // Initialize the Menu control, and specify it as the pop up object // of the PopUpButton control. private function initMenu():void { myMenu = new Menu(); var dp:Object = [{label: New Folder}, {label: Sent Items}, {label: Inbox}]; myMenu.dataProvider = dp; myMenu.selectedIndex = 0; myMenu.addEventListener(change, changeHandler); popB.popUpObject = myMenu; popB.label = Put in: + myMenu.getMenuItemAt(myMenu.selectedIndex).getProperty(label); } // Define the event listener for the Menu control's change event. private function changeHandler(event:MenuEvent):void { var label:String = event.menuItem.getProperty(label); popTypeB.text=String(Moved to + label); //BUG!!! if you uncomment this, the menu will hide when you expect it to, otherwise it behaves strangely //popB.label = Put in: + label; popB.closePopUp (); myMenu.selectedIndex = event.index; } ]] /mx:Script mx:VBox mx:Label text=Main button mimics the last selected menuItem. / mx:PopUpButton id=popB label=Edit creationComplete=initMenu(); width=135 / mx:Spacer height=50 / mx:TextInput id=popTypeB / /mx:VBox/mx:Application--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] prompt property in ComboBox as array?
I guess you could put in quite a long note(instructions) broken up into small bits. -sam On 11/9/05, Manish Jethani [EMAIL PROTECTED] wrote: Hi flexcoders,There's a prompt property in the ComboBox control in Flex 1.5. Thevalue can be either a string or an array (I bet you didn't know about the array bit ;) )e.g. mx:ComboBox dataProvider={['1', '2', '3']} prompt=-select one- / mx:ComboBox dataProvider={['1', '2', '3']} prompt={['a', 'b', 'c']} / In the second example, the items 'a', 'b' and 'c' get displayed in thedropdown list as prompts.Has anyone ever used prompt as an _array_? What was the use-case? (Reply only if you've used it as an _array_ in a real application.) Manish--l33t f3lx h4x0rm4cr0m3d14--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] prompt property in ComboBox as array?
Yeah, Manish agrees on that... On 11/10/05, Dirk Eismann [EMAIL PROTECTED] wrote: sorry for the offtopic-reply but shouldn't your signature read l33t fl3x h4x0r instead of l33t f3lx h4x0r ? Dirk.Von: flexcoders@yahoogroups.com im Auftrag von Manish Jethani Gesendet: Mi 09.11.2005 09:36An: FlexcodersBetreff: [flexcoders] prompt property in ComboBox as array?Hi flexcoders,There's a prompt property in the ComboBox control in Flex 1.5. Thevalue can be either a string or an array (I bet you didn't know aboutthe array bit ;) )e.g. mx:ComboBox dataProvider={['1', '2', '3']} prompt=-select one- / mx:ComboBox dataProvider={['1', '2', '3']} prompt={['a', 'b', 'c']} /In the second example, the items 'a', 'b' and 'c' get displayed in thedropdown list as prompts. Has anyone ever used prompt as an _array_? What was the use-case?(Reply only if you've used it as an _array_ in a real application.)Manish--l33t f3lx h4x0rm4cr0m3d14-- Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.