[flexcoders] Flex 1.5, AxisRenderer labelRotation
I am using the AxisRenderer for the verticalAxis similar to this. mx:verticalAxisRenderer mx:AxisRenderer title=My Y-Axis/ /mx:verticalAxisRenderer It appears as though its rotating it 90 degrees by default, making the text read from top to bottom, with the bottom of the label facing away from the chart. We have requirements that force us to have the label rotated the other direction. So its like I want to rotate it 270 degrees really. I attempted to set the labelRotation but it had no effect. Anyway to fix this? I looked at the code for AxisRenderer and it seems pretty strict about the labelRotation being in between 0-90 degrees. 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.
[flexcoders] Flex 1.5 Bitmap image question?
Is there a way to get a bitmap image of a movieclip in Flex 1.5? Basically I have a panel or other container that I would like to get the bitmap image of? 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.
[flexcoders] HorizontalList scroll question
I have a horizontal list that is scrolling, is there a way to programmatically select an item and have it scroll to that selected item? I tried doing something like this. myHorizontalList.hPosition = mySelectedItemsIndex; That doesnt seem to do anything and if I just set the selectedItem its selected just not scrolled to. 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] Remote Objects in Flex 1.5 Problem
You have something in your class that the serialization layer is having a problem with. Make sure in your class you don't have any static final fields. This will cause a problem because the serialization layer going from java to flex sends these fields across, when you send the object back to java it blows up trying to set those fields. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of allister_dickson Sent: Friday, February 24, 2006 12:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Remote Objects in Flex 1.5 Problem I am integrating a Flex frontend with a J2EE backend using Cairngorm Framework and RemoteObjects. I am able to successfully retrieve information from my java services, but when they are sent back after changes are made to the Java Service doesn't always recognise them as the correct type of Object, therefore causing a cast exception. After turning on debugging and logging in both the flex client and Java Server I have found the following things. 1) The flex server interprets the objects correctly when passing back the results. All the Typed objects are as expected see log below as an example: [0] = (Typed Object #1 'au.com.myplan.domain.financial.FinancialDefaultCategory') financialCategoryType = (Typed Object #5 'au.com.myplan.domain.financial.FinancialCategoryType') defaultAccountingTypeId = null selected = true _remoteClass = au.com.myplan.domain.financial.FinancialCategoryType description = isNested = true new = true name = Budget Income id = 1.0 accountingTypeId = null _remoteClass = au.com.myplan.domain.financial.FinancialDefaultCategory new = true name = Dividends subDefaultCategories = (Array #6) id = 43.0 2) When the object is viewed in the flex debugger only the associated object financialCategoryType has _remoteClass set and the parent object (FinancialDefaultCategory). 3) After changes are made and sent back to the Java Service the log only shows that it only understands the associated object and not the parent. [0] = (Object #6) id = 43.0 subDefaultCategories = (Array #7) name = Dividends Changed new = false accountingTypeId = null financialCategoryType = (Typed Object #8 'au.com.myplan.domain.financial.FinancialCategoryType') defaultAccountingTypeId = null selected = false _remoteClass = au.com.myplan.domain.financial.FinancialCategoryType description = isNested = false new = false name = Budget Income id = 1.0 parentFinancialDefaultCategory = null selected = true 4) When the Java Service receives the object it is of type ASObject. I have read and followed any examples I can find on the net, but I haven't found a way of forcing the Flex client to associate the objects recieved as the correct Action Script Class. The java log messages give the impression that it is configured correctly but when the object is in the flex client the _remoteClass is not set for the parent object. I have made sure that the ActionScript Classes have been register correctly (public static var regClass = Object.registerClass (au.com.myplan.domain.financial.FinancialDefaultCategory,au.com.myp lan.domain.financial.FinancialDefaultCategory);). Any help resolving this problem would be appreciated. Regards, Allister -- 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 -- 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 * 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/
RE: [flexcoders] flex 2.0
Flex 2.0 would not be supported in older flash players, but older content created in Flex 1.5 should work in Flash 8.5 player. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ravi mishra Sent: Thursday, February 23, 2006 12:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] flex 2.0 hi group, anybody plz tell me that, the applications build on flex 2.0 beta version will run only on Flash 8.5 or it can run on lower versions of Flash. Flex 2.0 is backward compatible with flash or not?? regards, ravi Great people talk about ideas, average people talk about things, small people talk about others? But legends never talk , they send E MAIL Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time. -- 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] How to get to know that control has N% width property?
I think there is method on the Box container called pixelsToPercent. Other than that just do the math yourself. Button.width/parent.width that should give you a percentage. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky Sent: Thursday, February 23, 2006 7:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to get to know that control has N% width property? Hello Flex Coders, I have next question: For example we have declared in mxml Button with width property set to N%. So I'm wondering how I can find at runtime that this Button is N% width? Best regards Stanislav -- 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 -- 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 * 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/
RE: [flexcoders] ColumnChart question
Flex 1.5 I want the bar that is clicked to go to an alpha of 100% and the other bars to fade, say to an alpha of 60-70%. No, not the entire BarSeries just the selected bar. Thanks.. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely Greenfield Sent: Sunday, February 19, 2006 9:29 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ColumnChart question 1. Are you using Flex 1.5, or Flex 2 (note to all flexcoders membersyou'll probably get your answer faster if you let us all know this up front). 2. When the user clicks on a bar, do you want to make it darker, or the other bars lighter? 3. When the user clicks on a bar, are you trying to change its appearance relative to the other bars in the series, or change the appearance of its BarSeries relative to the other BarSeries in the chart? Thanks, Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Graham, Jason Sent: Sunday, February 19, 2006 7:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ColumnChart question When I click on one of the bars in my column chart I want to show the selection of that bar by fading the rest. I create the items with a fill of linear gradient and an alpha of 50. So when the user clicks I want to set that bars alpha to 100. When the bar is clicked I use the mouseClickedData. I do the following I have tried just about every invalidation I can think of after setting the alpha. function chartClicked( event ) { var fill = event.hitData.element.getStyle(fill); for ( var i=0;ifill.entries.length;i++) { fill.entries[i].alpha=100; } event.hitData.element.invalidateStyle(fill); . . . } -- 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.
[flexcoders] easiest way to build SWF file for flex 1.5?
Is it possible to build a SWF file out of flex builder 1.5? I have tried mxmlc, and compc but never can get it to work correctly, and cant find any decent examples on it. 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] Custom tooltips
Yea, it would be for Flex 1.5. I will take a look at the ToolTipBorder stuff in the halo skin and see what I can dig up. Thanks From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Horn Sent: Wednesday, February 15, 2006 9:31 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Custom tooltips You didn't mention which version of Flex. I am not sure about how to do this in Flex 1.x, but in 2.0 you take the ToolTip's programmatic skin ToolTipBorder and make a custom skin class. Making a bubble-like popup would take some Flash graphics API wizardry, but I am sure it can be done. I would start by checking out the updateDisplayList() method of the mx.skins.halo.ToolTipBorder.as file. hth, matt horn flex docs From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Graham, Jason Sent: Tuesday, February 14, 2006 5:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom tooltips Is there an example anywhere to implement custom tooltips, I want to do something almost like having a cartoonish chat bubble popup, thats pointing to the object that is showing the tooltip. Is this a custom tooltip or just another component implemented that gets fired when the mouseOver occurs? -- 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.
[flexcoders] LinkBar questions - Flex 1.5
The LinkBar appears not to scroll, if I hook it up to a view stack with say 15 items in the view stack it causes the application to resize to the length of the LinkBar which can be very long. Is this a bug? Is there a way to fix this? I have tried to turn on the hScrollPolicy to no avail. 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] LinkBar questions - Flex 1.5
Heres basically what I did, the LinkBar still forces the application to resize to the length of the link bar. TabBar has the same behavior. I tried hScrollPolicy=auto also, tried putting the hScrollPolicy on the linkbar as well. Still no work, the HBox doesnt seem to have any affect. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml xmlns=* mx:HBox width=100% hScrollPolicy=on mx:LinkBar dataProvider=vs/mx:LinkBar /mx:HBox mx:ViewStack id=vs width=100% height=100% mx:Panel title=1 label=TESTING LINK BAR LENGTH width=100% height=100%/mx:Panel mx:Panel title=2 label=TESTING LINK 1BAR LENGTH width=100% height=100%/mx:Panel mx:Panel title=3 label=TESTING LINK 2 width=100% height=100%/mx:Panel mx:Panel title=4 label=TESTING LINK 3BAR LENGTH width=100% height=100%/mx:Panel mx:Panel title=5 label=TESTING LINK 4BAR LENGTH width=100% height=100%/mx:Panel mx:Panel title=6 label=TESTING LINK 5BAR LENGTH width=100% height=100%/mx:Panel mx:Panel title=7 label=TESTING LINK 6BAR LENGTH width=100% height=100%/mx:Panel mx:Panel title=8 label=TESTING LINK 7BAR LENGTH width=100% height=100%/mx:Panel mx:Panel title=9 label=TESTING LINK 8BAR LENGTH width=100% height=100%/mx:Panel /mx:ViewStack /mx:Application From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Wednesday, February 15, 2006 8:01 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] LinkBar questions - Flex 1.5 Bug? :: shugs :: Fix? Throw it in an HBox with hScrollPolicy = auto - Original Message - From: Graham, Jason To: flexcoders@yahoogroups.com Sent: Wednesday, February 15, 2006 8:40 PM Subject: [flexcoders] LinkBar questions - Flex 1.5 The LinkBar appears not to scroll, if I hook it up to a view stack with say 15 items in the view stack it causes the application to resize to the length of the LinkBar which can be very long. Is this a bug? Is there a way to fix this? I have tried to turn on the hScrollPolicy to no avail. 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.
[flexcoders] Custom tooltips
Is there an example anywhere to implement custom tooltips, I want to do something almost like having a cartoonish chat bubble popup, thats pointing to the object that is showing the tooltip. Is this a custom tooltip or just another component implemented that gets fired when the mouseOver occurs? -- 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] effects and rotation
Try setting _rotation=90 attribute on your label. Also you have to embed the font to get it to work and make your label use that font. Search for vertical text and macromedia's site has a link. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sdhfhdgs Sent: Thursday, February 02, 2006 7:40 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] effects and rotation is it possible to rotate a label, say 90 degrees using a effect or some other means in flex. if so, how? I dont just want the text to go down like this D O N T W A N T I want the text to be rotated as well. thanks -- 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 -- 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 * 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/
RE: [flexcoders] Vertical Text on a button
The problem is I want the button to be a specific size after I rotate it. For example. I want a long button that's width = 20 and height = 100% with vertical text. If I initially create the button with a width of 20 and height of 100% and do the rotate the button is now horizontal and half off the screen. If I create the button initially with width of 100% and height of 20 and do the rotate the results get even stranger. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Tuesday, January 31, 2006 2:00 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Vertical Text on a button yourButton.setStyle(embedFonts, true); yourButton.setStyle(fontFamily, Verdana); And ensure whatever font you are embedding is the font it's using, like Verdana for example. Then: yourButton._rotation = 90; - Original Message - From: jgraham_us [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 31, 2006 2:56 PM Subject: [flexcoders] Vertical Text on a button I have found examples on doing vertical text on a Label but I would like to put vertical text on a button. Is there an example of doing this? The label just takes a String. -- 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 -- 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 -- 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 * 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/