RE: [flexcoders] colorPicker component
Ok, I'll have to wait for version 2.0 then I think testing components into popup windows is realloy critical Cheers, Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt ChotinSent: lundi 25 juillet 2005 6:31To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] colorPicker component I dont think weve released an updated version and I havent played to see if theres a bug. Its full-fledged in 2.0 though so well make sure that it gets a test case. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Philippe MaegermanSent: Friday, July 22, 2005 12:18 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] colorPicker component No clue? Philippe Maegerman Avoir des rêves, c'est continuer d'exister... Sent: jeudi 21 juillet 2005 21:25It seems the colorPicker component that is located in the 'extra' folder is behaving weirdo in a Popup Window.If the window is modal, it won't open the colors drop down, and if the window is not modal, it works until you drag the window, then it doesn't work anymore :(((Is there an updated version of this colorPicker ?Philippe --**STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.-- -- 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 Computer software testing Macromedia flex Development Software developer 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] how to fetch the number of cntainers and controls in an array
hai! i have 5 buttons inside a panel in an application... i want to fetch all the containers and controls in the application in an array.. is there any way to do it? nithyaSend instant messages to your online friends http://uk.messenger.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 Computer software testing Macromedia flex Development Software developer 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] DataGrid Custom Row's
Hi All, I am trying to use image as record to show on datagrid row and I am successfully done that using cellRenderer but now issue is I want that image icon to be displayed center aligned. I have checked all alignment properties but none works. I am pasting code for cell renderer. mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml mx:Image id=image width=16 height=16 source=report.jpg toolTip=click to see report horizontalAlign=center verticalAlign=middle / /mx:VBox Plz mail if someone already used. Thaks Paramjit Jolly |Senior Software Engg.|S O L U T I O N S I N C. A-26/1, Mohan Co-op Indl. Estate Office: 91-11-26950202 | Fax: 91-11-26950201 | Cell - 9891149761 [EMAIL PROTECTED] | www.solutionsny.com I love theperson who can smile in trouble,who can gather strength from distress, and grow brave by reflection. - Thomas Paine -- 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.
[flexcoders] Re: DataProvider filters?
--- In flexcoders@yahoogroups.com, Aldo Bucchi [EMAIL PROTECTED] wrote: According to the docs, the flex DataProvider class can broadcast the event filterModel. However I cannot find anything about filters in the docs. See Mike Peterson's comment in the livedocs. http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/listclasses/DataProvider.html If you implement a custom data provider, it has to dispatch a modelChanged event when it is modified so that any component using it knows to update itself. In your custom data provider, you can use this field of the event object to pass info to a custom component that implements filtering. Flex however does not implement it, and our components do not use it. So it's there in the API but none of our components use it. Manish -- 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] DataGrid Custom Row's
"I have checked all alignment properties but none works." Except moving the alignment properties to mx:VBox :-) mx:VBox horizontalAlign="center" verticalAlign="middle" Paramjit jolly wrote: Hi All, I am trying to use image as record to show on datagrid row and I am successfully done that using cellRenderer but now issue is I want that image icon to be displayed center aligned. I have checked all alignment properties but none works. I am pasting code for cell renderer. mx:VBox xmlns:mx="http://www.macromedia.com/2003/mxml" mx:Image id="image" width="16" height="16" source="report.jpg" toolTip="click to see report" horizontalAlign="center" verticalAlign="middle" / /mx:VBox Plz mail if someone already used. Thaks Paramjit Jolly |Senior Software Engg.|S O L U T I O N S I N C. A-26/1, Mohan Co-op Indl. Estate Office: 91-11-26950202 | Fax: 91-11-26950201 | Cell - 9891149761 [EMAIL PROTECTED] | www.solutionsny.com "I love theperson who can smile in trouble,who can gather strength from distress, and grow brave by reflection." - Thomas Paine -- 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.
[flexcoders] Re: DataGrid Custom Row's
mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Image id=image width=16 height=16 source=report.jpg toolTip=click to see report horizontalAlign=center verticalAlign=middle / /mx:VBox try adding a layoutChildren function as follows function layoutChildren():Void { super.layoutChildren(); image.move(((layoutWidth-20)/2), ((layoutHeight-16)/2)); } regards bod -- 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] How to bind java resultset to DataGrid?
Many ways! Read Help (if you are using FlexBuilder) Read Online Help (http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/js/html/wwhelp.htm) No dissapointment reply (for first time posts) mx:Script var sampleResult; /mx:Script mx:RemoteObject id="sampleID" source="package.sampleService" showBusyCursor="true" mx:method name="sampleRequest" result="sampleResult=event.result" fault="alert(event.fault.faultstring, 'Error')" / /mx:RemoteObject mx:DataGrid dataProvider={sampleResult} ... Read http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt :-) Seyavoush wrote: Dear friends, how I can show resultset of query (java resultset) in datagrid? thnaks siavash -- 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.
[flexcoders] Still got problem with onScreen resizing. which is side-effect!!
I still got this problem with that are resizing onScreen when I load them. For example: An with a ImageCellRenderer. I want to load a image of for example 100 x 100, but I want to show it 80 x 80. When I load the image, you will see the image when its ready loading, but. at first its blown up in its original size and than pop 80 x 80. So you see its resizing. UGLY. Anybody? -- 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] Still got problem with onScreen resizing. which is side-effect!!
Set the newImage_mc._visible to false onLoadComplete set newW/newH, set newImage_mc.onEnterFrame to call a function to set _visible=true and then delete newImage_mc.onEnterFrame that's the only way I know to guarantee the image initially displays at an arbitrary w/h. You have to wait for the next frame event to have complete control. But perhaps this is fixed in FP8? Haven't checked... t -- 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] Still got problem with onScreen resizing. which is side-effect!!
I had a similar problem before ... I had tried setting the size to a percentage value ... and duh ... it does not even work ... i gave up! Something to do with the delay between loading the image and setting its attributes ... one follows other ... totally confused Whoever attacks this problem, can you also please help with my trouble! The complete thread is available at: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg06806.html Regards Sree rockmoyosa wrote: I still got this problem with that are resizing onScreen when I load them. For example: An with a ImageCellRenderer. I want to load a image of for example 100 x 100, but I want to show it 80 x 80. When I load the image, you will see the image when its ready loading, but. at first its "blown up" in its original size and than "pop" 80 x 80. So you see its resizing. UGLY. Anybody? -- 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 Computer software testing Macromedia flex Development Software developer 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] Still got problem with onScreen resizing. which is side-effect!!
Why not using the original at 80x80 and scale 125% Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rockmoyosaSent: lundi 25 juillet 2005 11:33To: flexcoders@yahoogroups.comSubject: [flexcoders] Still got problem with onScreen resizing. which is side-effect!! I still got this problem with that are resizing onScreen when I load them.For example: An with a ImageCellRenderer. I want to load a image offor example 100 x 100, but I want to show it 80 x 80. When I load theimage, you will see the image when its ready loading, but. atfirst its "blown up" in its original size and than "pop" 80 x 80. Soyou see its resizing. UGLY.Anybody? -- 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 Computer software testing Macromedia flex Development Software developer 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. --**STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--
[flexcoders] TabNavigator tabs style
Hi, In the flex Style explorer I can see that Tab styles can be set via CSS. http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.html (tabs section) The style I'm interested at is corner-radius. I have manged to set the style via CSS to my app but I want it for only one TabNavigator and not the other. I tried several ways to set this style via AS code but nothing seems to work. I tried to set the style to the TabNavigator the tabBar child of the TabNavigator or the children Tab's of the tabBar. Anyone knows what else can I try? -- 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] (Possible FP8 Bug) Datagrid Oddity
Got the same bug... MSN Messenger, Version 7 (build 7.0.0813). With Flash Player 8 Beta installed, when I receive a wink, it doesn't clear. I have to close the message window to get it to go away. Josh From: flexcoders@yahoogroups.com on behalf of Sjors Pals Sent: Fri 7/22/2005 11:25 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] (Possible FP8 Bug) Datagrid Oddity I also found a serious bug ;) After i play the kiss wink in MSN the kiss stays on the screen :( What i read is that MSN winks use Flash. Greets, Sjors Stacy Young wrote: Just fyi *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Stacy Young *Sent:* Friday, July 22, 2005 10:51 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Datagrid Oddity I've got a column that's using a labelFunction to format a date. When the grid initially populates the dates don't show...they only appear when the rollover occurs on each row in the datagrid. Running FP8 public beta. -Stace -- 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 http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 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 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/ winmail.dat
[flexcoders] Strange scroll behaviour with DG + CheckBox
Hi, I've built a datagrid with a custom cell renderer to insert a checkbox in the first column. I'm experiencing weird behaviour with the grid scroll as a result... If I select a row as normal, everything's fine but if I actually click in the checkbox then the grid will sometimes scroll the current row as though it's trying to centre that row within the grid ?! So if I have 5 visible rows in the grid and I check the box of the bottom-most, the grid scrolls to make the checked row the third from top! Just selecting the bottom row causes no scroll at all (which is exactly what I want!). Any ideas on how I can prevent this unwanted scrolling from happening ?! The code for the cell renderer is pretty much that from page 383/384 of the 'Developing Flex Applications' manual. Thanks, Jamie. -- 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/
[flexcoders] Populating combo box's
Im looking for help to populate a combo box which in turn populates a data grid. Can anyone point me in the right direction? JT -- 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] Populating combo box's
-DataModel Use a single databmodel, and reference that data model from both the DG and the CB Nick Sauro+R O U N D A R C H + bus 212.909.2335+ mob 914.882.3687 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JamesSent: Monday, July 25, 2005 11:12 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Populating combo box's Im looking for help to populate a combo box which in turn populates a data grid. Can anyone point me in the right direction? JT -- 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.
[flexcoders] Running an auction with Flex
Is it possible for someone to make a web page that will run an auction say to sell items? If so does anyone know of sample I can look at? -- 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] Running an auction with Flex
I think the most easies way is to write a webservice and then use SOAP to communicate. As a test you can maybe use the Ebay soapservice. Greets, Sjors [EMAIL PROTECTED] wrote: Is it possible for someone to make a web page that will run an auction say to sell items? If so does anyone know of sample I can look at? -- 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 http://groups.yahoo.com/group/flexcoders on the web. * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 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 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] Populating combo box's
Heres the working code: ?xml version=1.0 encoding=utf-8? mx:Application initialize=ProductSvc.send() xmlns:mx=http://www.macromedia.com/2003/mxml verticalGap=20 mx:HTTPService id=ProductSvc url=""> mx:request StoreId{store.selectedItem.data}/StoreId /mx:request /mx:HTTPService mx:HBox id=b1 mx:Label text=Select a Store:/ mx:ComboBox id=store mx:dataProvider mx:Array mx:Object label=Natural Comfort Footwear Inc. data="" / mx:Object label=Waterside Shops data="" / mx:Object label=Citrus Park Town Center data="" / mx:Object label=855 data="" / mx:Object label=St. Armonds data="" / mx:Object label=Tierra Verde data="" / mx:Object label=Northwood Plaza data="" / mx:Object label=Tyrone Sq Mall data="" / mx:Object label=Bell Tower Shops data="" / mx:Object label=Johns Pass data="" / /mx:Array /mx:dataProvider /mx:ComboBox mx:Button label=Get Store Inventory List click=ProductSvc.send();/ /mx:HBox mx:DataGrid id=dgInvList dataProvider={ProductSvc.result.products.product} width=100% height=100% mx:columns mx:Array mx:DataGridColumn columnName=ProductId headerText=Product Id/ mx:DataGridColumn columnName=name headerText=Name/ mx:DataGridColumn columnName=description headerText=Description/ mx:DataGridColumn columnName=price headerText=Price/ mx:DataGridColumn columnName=image headerText=Image Location/Name/ mx:DataGridColumn columnName=thumbnail headerText=Thumbnail Location/Name/ mx:DataGridColumn columnName=QTYONHND headerText=Qty On Hand/ /mx:Array /mx:columns /mx:DataGrid /mx:Application When I try to get the CB store list, I get an error on StoreId{store.selectedItem.data}/StoreId that the data is not static I looked through the archives, the closest thing I could find was for CF I tried to modify it but was unsuccessful JT From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sauro, Nick Sent: Monday, July 25, 2005 11:41 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Populating combo box's -DataModel Use a single databmodel, and reference that data model from both the DG and the CB Nick Sauro+R O U N D A R C H + bus 212.909.2335+ mob 914.882.3687 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of James Sent: Monday, July 25, 2005 11:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Populating combo box's Im looking for help to populate a combo box which in turn populates a data grid. Can anyone point me in the right direction? JT -- 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.
[flexcoders] backgroundColor vs. backgroundImage
hi, I use a backgroundImage out of a theme.swc. When my application loads and the initialize preloader appears, the backgroundcolor is the default gray, then when the theme has loaded my background appears. When i set a backgroundColor its used in the initalization but my backgroundImage doesn´t appear :( Is there any way to combine backgroundColor and backgroundImage ? -- 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] Strange scroll behaviour with DG + CheckBox
i have the same problem ! On 7/25/05, jamiebadman [EMAIL PROTECTED] wrote: Hi,I've built a datagrid with a custom cell renderer to insert a checkbox in the first column. I'm experiencing weird behaviour with the grid scroll as a result...If I select a row as normal, everything's fine but if I actually click in the checkbox then the grid will sometimes scroll the current row as though it's trying to centre that row within the grid ?!So if I have 5 visible rows in the grid and I check the box of the bottom-most, the grid scrolls to make the checked row the third from top!Just selecting the bottom row causes no scroll at all (which is exactly what I want!).Any ideas on how I can prevent this unwanted scrolling from happening ?!The code for the cell renderer is pretty much that from page 383/384 of the 'Developing Flex Applications' manual. Thanks,Jamie.--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.
Re: [flexcoders] Running an auction with Flex
Soap? I am not familiar with that, if I wanted to use the Ebay soapservice what would I ahve to do and how much would it cost? -- 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 Computer software testing Macromedia flex Development Software developer 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] Running an auction with Flex
Phillip Kerman made one using Flash Flashcom for cattle auctions; millions of dollars in cattle sold daily! http://www.stampedecattle.com/StampedeCattle/index.jsp - Original Message - From: [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 25, 2005 12:15 PM Subject: [flexcoders] Running an auction with Flex Is it possible for someone to make a web page that will run an auction say to sell items? If so does anyone know of sample I can look at? -- 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] Running an auction with Flex
Negative, but it'd be better if it was done in Flex! - Original Message - From: [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 25, 2005 12:48 PM Subject: Re: [flexcoders] Running an auction with Flex Did this cattle page get made using Flex? -- 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.
[flexcoders] Using a Text Field vs a Date Field
Hi All, I have a situation where I want a user to be able to enter a date into a Text Field. (as opposed to a dateField) (Can explain why if you want, but will leave this alone for now!) My problem is what to do if the user enters something like abc. I am wondering if I could use the parseDateString method of the DateFormatter class. If this method returns a valid Date, than I can assume all is OK, if not, I can show an error message. Though this method shoulw work, it does not feel like a best practice, any opinions on this? 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 * 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] problem in using web authentication using different website.
Haven't had much in solving this problem... would appreciated if anybody can help.. On 7/22/05, Manu Juyal [EMAIL PROTECTED] wrote: here is code snippet again I am using HTTPService to do authentication and also to retrieve the data. Following is the part of the code.. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=* height=661 autoLayout=false marginTop=0 marginLeft=0 marginRight=0 marginBottom=0 mx:Script ![CDATA[ //Call getuser, which calls webauth verify to check the current user function auth() { getuser.send({callap:mx.core.Application.application._url, logout: http://xxx.xxx}); } function auth_check() { //if the current user is not authenticated by webauth status will equal fail if (getuser.result.auth.status == fail) { //you should now redirect the user to the login page getURL(getuser.result.auth.redirect, _self); } else{ getData(); } } function getData(){ var myID = getuser.result.auth.asurite; lookup.send({myid: myID, user: xxx, passwd: x}); popCustomerForm_MyID(); } function popCustomerForm_MyID(customerData){ // Populate the fields in customerpanel customerinfostack.selectedChild = customerpanel; custfname.text = customerData.values.givenname; custlname.text = customerData.values.sn; custemail.text = customerData.values.mail; custphone.text = customerData.values.phonenumber; custdept.text = customerData.values.college; custcollege.text = customerData.values.department; contfname.text = customerData.values.givenname; contlname.text = customerData.values.sn; contemail.text = customerData.values.mail; contphone.text = customerData.values.phonenumber; } ]] /mx:Script mx:HTTPService id=getuser method=POST url=http://flex.xx.xxx.xxx/lxxx/l.php; useProxy=false result=auth_check()/ mx:HTTPService id=lookup url=http://xxx.xx.xxx.xxx/lxxx/l.php; fault=faultHandler(event.fault.faultstring, event.fault.faultcode) result=popCustomerForm_MyID(lookup.result) method=POST showBusyCursor=true useProxy=false / mx:ViewStack id=customerinfostack visible=true selectedIndex=0 width=884 height=559 mx:Panel width=865 title=Login Information id=loginpanel mx:Button label=login click=auth()/ /mx:Panel mx:Panel title=Customer information id=customerpanel width=714 height=581 verticalAlign=middle horizontalAlign=center ---This panel has form that needs to be populated /mx:Panel /mx:ViewStack /mx:Application On 7/22/05, Manu Juyal [EMAIL PROTECTED] wrote: adding to my last email.. following is the flow of the application The application starts with loginpanel view in the viewstack... goes to authentication page and after successful authentication should come back and display customerpanel view with all information populated. However, it is not coming back to customerpanel rather displaying loginpanel again... On 7/22/05, Manu Juyal [EMAIL PROTECTED] wrote: I tried moving the line and also providing conditional statements but problem remains there it is showing loginpanel of the viewstack again after the login is successful. I guess when the application starts it displays the first view in the stack. Does that mean the application is starting again after authentication.. I am at loss to solve this problem.. :( On 7/22/05, Sreejith Unnikrishnan [EMAIL PROTECTED] wrote: Didnt see that u had posted the code as well ... All you would need to do is move this line: customerinfostack.selectedChild = customerpanel; from function popCustomerForm_MyID(customerData) to function getData() Sree Manu Juyal wrote: I am using HTTPService to do authentication and also to retrieve the data. Following is the part of the code.. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=* height=661 autoLayout=false marginTop=0 marginLeft=0 marginRight=0 marginBottom=0 mx:Script ![CDATA[ //Call getuser, which calls webauth verify to check the current user function auth() { getuser.send({callap:mx.core.Application.application._url, logout: http://xxx.xxx}); } function auth_check() { //if the current user is not authenticated by webauth status will equal fail if (getuser.result.auth.status == fail) { //you should now redirect the user to the login page getURL(getuser.result.auth.redirect, _self); } else{ getData(); } } function getData(){ var myID = getuser.result.auth.asurite; lookup.send({myid: myID, user: xxx, passwd: x}); popCustomerForm_MyID(); } function
Re: [flexcoders] Running an auction with Flex
eBay has a developer program which is for the most part free unless you start doing some high vol stuff. http://developer.ebay.com/index_html The API is XML/WebServices. They have a sandbox where you can test building tools for listing items, retrieving status, etc... And then to actually do stuff for real there are various membership levels. Eg at the invidiual level allows 10K API calls per month for free. http://developer.ebay.com/join/pricing/ [EMAIL PROTECTED] wrote: Soap? I am not familiar with that, if I wanted to use the Ebay soapservice what would I ahve to do and how much would it cost? -- 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] Using a Text Field vs a Date Field
Well, the reason you'd want to use a DateFied vs. TextField are pretty simple. A. DateFied has a built in calender component, so they can pull up a calendar and select a date, which will auto populate a field B. You don't have to write a validator for it.(i think, don't quote me on that). Go to the flex docs, and look at the mini examples they have, it should help. Nick Sauro+R O U N D A R C H + bus 212.909.2335+ mob 914.882.3687 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of javawebgrrlSent: Monday, July 25, 2005 1:00 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Using a Text Field vs a Date Field Hi All, I have a situation where I want a user to be able to enter a date into a Text Field. (as opposed to a dateField) (Can explain why ifyou want, but will leave this alone for now!) My problem is what to do if the user enters something like "abc". I am wondering if I could use the parseDateString method of the DateFormatter class. If this method returns a valid Date, than I can assume all is OK, if not, I can show an error message. Though this method shoulw work, it does not feel like a "best practice", any opinions on this?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 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 Value Objects CFC's
Malcolm, We are doing this very thing and it is working well for us. We use CFCs as our VOs and it allows us to type them in and out of CFC method calls. Can you post how the CFC is being called by Flex? You need to use an anon object with a named param, so this might be the problem. Allen http://www.prismix.com/ -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Malcolm Sent: 24 July 2005 11:31 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Using Value Objects CFC's For the record, I did end up trying Approach 1. Doesn't work, exactly the same error as before: Error Type: Expression Message: You have attempted to dereference a scalar variable of type Unless I am missing something, I think it's fair to say when using CF as a backend for Flex applications you can not pass your own data types. m -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Malcolm Sent: Sunday, 24 July 2005 3:56 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Using Value Objects CFC's Ok think I am going to have to admit defeat here, I have now tried the following...I have created a cfc version of the Login Value Object. LoginVO.cfc cfcomponent cfproperty name=username type=string cfproperty name=password type=string /cfcomponent - CFC cfcomponent displayname=LoginService cffunction name=login output=false access=remote cfargument name=loginVO type=LoginVO required=yes default= !--- THIS STILL DOESN'T WORK --- cfset username = loginVO.username /cffunction /cfcomponent I still get the same error as before... Error Type: Expression Message: You have attempted to dereference a scalar variable of type I assume this is because I am passing in a Flex/Java object of the type 'LoginVO' and this is just not the same as a ColdFusion object of the type 'LoginVO' (as defined in LoginVO.cfc). I really don't want to give up using value objects on the Flex side, as I may one day move the backend of the application from cf to java. I think I am going to have to give up on trying to define a cf version of my value object and take one of the following approaches: 1. Create a Java Value Object in ColdFusion using the CreateObject function in cf. Assign the Flex Value Object Data to the Java Value Object (created via ColdFusion). Then access the values of cf/java object. I have no idea if this will actually work! May just end up with the same error again :{ 2. In my Flex value object have a function toArray() call that and then pass to my cfc remote object. Yes would require going around every remote service call sometime in the future when I go to java and removing such calls. Hmmm, re-reading my email, approach 1 really is madness, even if it did work, it's a lot of work for the sake of being able to pass a flex/java value object to a cfc (I am still going to have to pull the sucker to pieces inside cf anyway), so I am not going to bother with this. What does everyone else do here? Only pass data types that are supported by cf argument? Any suggested best practice? Comments welcome :D Cheers, M -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen Sent: Sunday, 24 July 2005 7:32 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Using Value Objects CFC's a CFC can except types defined by another CFC. In the cfargumnet tag use the CFC name, dot.noted.paths.are.ok.too. cfargument name=bugVO type=com.foo.buggy.bugVO rewuired=true / Note, the CFC method can also return types defined by CFCs too. DK On 7/23/05, Tariq Ahmed [EMAIL PROTECTED] wrote: Hey Malcolm. Well CFC's generally only accept datatypes they understand: boolean, string, numeric, array, struct, etc... This article may give you a head start: http://www.flexingcfmx.com/index.cfm?mode=entryentry=D36D5CE5-FB00-283B-A23 A89CB46949A4D Malcolm wrote: Hi yo'll I am using Remote Objects (definitely the way to go) with ColdFusion 7 (CFC). I have no problems passing strings to a CFC but can't seem to be able to use Value Objects, is this possible? Or put another way can a CFC argument be of the type Object? Using example code from the Cairngorm login sample, this is the object I am passing to the CFC. LoginVO.as import org.nevis.cairngorm.vo.ValueObject; class com.company.product.vo.LoginVO implements ValueObject { public function toString() : String { var s : String = LoginVO[username=; s += username; s += , password=; s += password; s += , loginDate=; s += loginDate; s += ]; return s; } public static var registered:Boolean = Object.registerClass( com.company.product.vo.LoginVO, LoginVO );
Re: [flexcoders] problem in using web authentication using different website.
Try printing/alerting the result of the HTTPService - function auth_check() Does it return true as expected??? Manu Juyal wrote: Haven't had much in solving this problem... would appreciated if anybody can help.. On 7/22/05, Manu Juyal [EMAIL PROTECTED] wrote: here is code snippet again I am using HTTPService to do authentication and also to retrieve the data. Following is the part of the code.. ?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*" height="661" autoLayout="false" marginTop="0" marginLeft="0" marginRight="0" marginBottom="0" mx:Script ![CDATA[ //Call getuser, which calls webauth verify to check the current user function auth() { getuser.send({callap:mx.core.Application.application._url, logout: "http://xxx.xxx"}); } function auth_check() { //if the current user is not authenticated by webauth status will equal fail if (getuser.result.auth.status == "fail") { //you should now redirect the user to the login page getURL(getuser.result.auth.redirect, "_self"); } else{ getData(); } } function getData(){ var myID = getuser.result.auth.asurite; lookup.send({myid: myID, user: "xxx", passwd: "x"}); popCustomerForm_MyID(); } function popCustomerForm_MyID(customerData){ // Populate the fields in customerpanel customerinfostack.selectedChild = customerpanel; custfname.text = customerData.values.givenname; custlname.text = customerData.values.sn; custemail.text = customerData.values.mail; custphone.text = customerData.values.phonenumber; custdept.text = customerData.values.college; custcollege.text = customerData.values.department; contfname.text = customerData.values.givenname; contlname.text = customerData.values.sn; contemail.text = customerData.values.mail; contphone.text = customerData.values.phonenumber; } ]] /mx:Script mx:HTTPService id="getuser" method="POST" url=""http://flex.xx.xxx.xxx/lxxx/l.php">http://flex.xx.xxx.xxx/lxxx/l.php" useProxy="false" result="auth_check()"/ mx:HTTPService id="lookup" url=""http://xxx.xx.xxx.xxx/lxxx/l.php">http://xxx.xx.xxx.xxx/lxxx/l.php" fault="faultHandler(event.fault.faultstring, event.fault.faultcode)" result="popCustomerForm_MyID(lookup.result)" method="POST" showBusyCursor="true" useProxy="false" / mx:ViewStack id="customerinfostack" visible="true" selectedIndex="0" width="884" height="559" mx:Panel width="865" title="Login Information" id="loginpanel" mx:Button label="login" click="auth()"/ /mx:Panel mx:Panel title="Customer information" id="customerpanel" width="714" height="581" verticalAlign="middle" horizontalAlign="center" ---This panel has form that needs to be populated /mx:Panel /mx:ViewStack /mx:Application On 7/22/05, Manu Juyal [EMAIL PROTECTED] wrote: adding to my last email.. following is the flow of the application The application starts with "loginpanel" view in the viewstack... goes to authentication page and after successful authentication should come back and display "customerpanel" view with all information populated. However, it is not coming back to "customerpanel" rather displaying "loginpanel" again... On 7/22/05, Manu Juyal [EMAIL PROTECTED] wrote: I tried moving the line and also providing conditional statements but problem remains there it is showing loginpanel of the viewstack again after the login is successful. I guess when the application starts it displays the first view in the stack. Does that mean the application is starting again after authentication.. I am at loss to solve this problem.. :( On 7/22/05, Sreejith Unnikrishnan [EMAIL PROTECTED] wrote: Didnt see that u had posted the code as well ... All you would need to do is move this line: customerinfostack.selectedChild = customerpanel; from function popCustomerForm_MyID(customerData) to function getData() Sree Manu Juyal wrote: I am using HTTPService to do authentication and also to retrieve the data. Following is the part of the code.. ?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*" height="661" autoLayout="false" marginTop="0" marginLeft="0" marginRight="0" marginBottom="0" mx:Script ![CDATA[ //Call getuser, which calls webauth verify to check the current user function auth() { getuser.send({callap:mx.core.Application.application._url, logout: "http://xxx.xxx"}); } function auth_check() { //if the current user is not authenticated by webauth status will equal fail if (getuser.result.auth.status == "fail") { //you should now redirect the user to the login page getURL(getuser.result.auth.redirect, "_self"); } else{ getData(); } }
Re: [flexcoders] Running an auction with Flex
So your saying everything this guy did on his cattle page can be done just as well with Flex? -- 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 Computer software testing Macromedia flex Development Software developer 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] Running an auction with Flex
Yep! - Original Message - From: [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 25, 2005 2:09 PM Subject: Re: [flexcoders] Running an auction with Flex So your saying everything this guy did on his cattle page can be done just as well with Flex? -- 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] Running an auction with Flex
Gee whiz... that API is huge! Vrr nice... Thanks for the linkage Tariq! - Original Message - From: Tariq Ahmed To: flexcoders@yahoogroups.com Sent: Monday, July 25, 2005 1:05 PM Subject: Re: [flexcoders] Running an auction with Flex eBay has a developer program which is for the most part free unless you start doing some high vol stuff.http://developer.ebay.com/index_htmlThe API is XML/WebServices. They have a sandbox where you can test building tools for listing items, retrieving status, etc... And then to actually do stuff for real there are various membership levels. Eg at the invidiual level allows 10K API calls per month for free.http://developer.ebay.com/join/pricing/[EMAIL PROTECTED] wrote: Soap? I am not familiar with that, if I wanted to use the Ebay soapservice what would I ahve to do and how much would it cost? -- 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] Running an auction with Flex
Is the source code for what he wrote on the site? -- 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] Using Value Objects CFC's
Hi Allen, I am using the Cairngorm framework and calling the CFC inside my LoginDelegate (via a service) Part of LoginDelegate.as public function login( loginVO : LoginVO ): Void { // call login service, pass loginVO var call = service.login( loginVO ); call.resultHandler = Delegate.create(responder, responder.onResult); call.faultHandler = Delegate.create(responder, responder.onFault); } Is this my problem? var call = service.login( loginVO ); - This is my LoginService CFC cfcomponent displayname=LoginService cffunction name=login output=false access=remote cfargument name=loginVO type=LoginVO required=yes default= !--- THIS DOESN'T WORK --- cfset username = loginVO.username /cffunction /cfcomponent It would be awesome if I could get this working, right now I am resorting to building toArray() functions in my Flex value objects and calling my CFC like this: var call = service.login( loginVO.toArray() ); Muchos gracias, Malcolm -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Allen Manning Sent: Tuesday, 26 July 2005 3:11 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Using Value Objects CFC's Malcolm, We are doing this very thing and it is working well for us. We use CFCs as our VOs and it allows us to type them in and out of CFC method calls. Can you post how the CFC is being called by Flex? You need to use an anon object with a named param, so this might be the problem. Allen http://www.prismix.com/ -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Malcolm Sent: 24 July 2005 11:31 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Using Value Objects CFC's For the record, I did end up trying Approach 1. Doesn't work, exactly the same error as before: Error Type: Expression Message: You have attempted to dereference a scalar variable of type Unless I am missing something, I think it's fair to say when using CF as a backend for Flex applications you can not pass your own data types. m -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Malcolm Sent: Sunday, 24 July 2005 3:56 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Using Value Objects CFC's Ok think I am going to have to admit defeat here, I have now tried the following...I have created a cfc version of the Login Value Object. LoginVO.cfc cfcomponent cfproperty name=username type=string cfproperty name=password type=string /cfcomponent - CFC cfcomponent displayname=LoginService cffunction name=login output=false access=remote cfargument name=loginVO type=LoginVO required=yes default= !--- THIS STILL DOESN'T WORK --- cfset username = loginVO.username /cffunction /cfcomponent I still get the same error as before... Error Type: Expression Message: You have attempted to dereference a scalar variable of type I assume this is because I am passing in a Flex/Java object of the type 'LoginVO' and this is just not the same as a ColdFusion object of the type 'LoginVO' (as defined in LoginVO.cfc). I really don't want to give up using value objects on the Flex side, as I may one day move the backend of the application from cf to java. I think I am going to have to give up on trying to define a cf version of my value object and take one of the following approaches: 1. Create a Java Value Object in ColdFusion using the CreateObject function in cf. Assign the Flex Value Object Data to the Java Value Object (created via ColdFusion). Then access the values of cf/java object. I have no idea if this will actually work! May just end up with the same error again :{ 2. In my Flex value object have a function toArray() call that and then pass to my cfc remote object. Yes would require going around every remote service call sometime in the future when I go to java and removing such calls. Hmmm, re-reading my email, approach 1 really is madness, even if it did work, it's a lot of work for the sake of being able to pass a flex/java value object to a cfc (I am still going to have to pull the sucker to pieces inside cf anyway), so I am not going to bother with this. What does everyone else do here? Only pass data types that are supported by cf argument? Any suggested best practice? Comments welcome :D Cheers, M -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen Sent: Sunday, 24 July 2005 7:32 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Using Value Objects CFC's a CFC can except types defined by another CFC. In the cfargumnet tag use the CFC name, dot.noted.paths.are.ok.too. cfargument
[flexcoders] Re: Problem calling HTTPService under Sun One WebServer
Ultimately, I ended up forcing the server to HTTP 1.0 (by setting the HTTPVersion variable in the magnus.conf, for those dealing with Sun Web Server 6.1). Seems to have done the trick... --- In flexcoders@yahoogroups.com, colinblackmore [EMAIL PROTECTED] wrote: I am trying to deploy a flex client on Sun's WebServer 6.1 (I know this is not a supported configuration, but this is the requirement). The pages compile and display correctly, but whenever an HTTPService is called, the client waits indefinitely with the wait cursor on the screen without calling the result handler. The HTTPService is fine, and can be called directly from the browser. When tracing the http-service-proxy-debug debug logs, one possible problem is the headers in the response from the service call. The 'Transfer-encoding: chunked' is not present in the (operational) Tomcat deployment of the same client. Sun WebServer 6.1 (broken) INFO -- Cookie in response: domain = 'walsun2.centervilletech.com', path = '/', client name = 'JSESSIONID', endpoint name = 'JSESSIONID', value = 'A8F7BD1317EB255D3E24C2FD42C70F7F INFO -- Header in response: Server : Sun-ONE-Web-Server/6.1 INFO -- Header in response: Date : Wed, 20 Jul 2005 17:28:29 GMT INFO -- Header in response: Content-type : text/xml; charset=UTF-8 INFO -- Header in response: Transfer-encoding : chunked INFO -- Begin GET response -- INFO ?xml version=1.0 encoding=UTF-8? ... Tomcat 5.5 (works) INFO -- Cookie in response: domain = 'localhost', path = '/', client name = 'JSESSIONID', endpoint name = 'JSESSIONID', value = '12494FCC43F01E9ECE2AFD27A6F2066F INFO -- Header in response: Server : Apache-Coyote/1.1 INFO -- Header in response: Pragma : No-cache INFO -- Header in response: Cache-Control : no-cache INFO -- Header in response: Expires : Wed, 31 Dec 1969 19:00:00 EST INFO -- Header in response: Content-Type : text/xml;charset=UTF-8 INFO -- Header in response: Date : Wed, 20 Jul 2005 17:41:09 GMT INFO -- Begin GET response -- INFO ?xml version=1.0 encoding=UTF-8? ... Has anyone deployed under Sun Webserver 6.1? Is the Transfer-encoding at fault? Is there a work-around? Thanks, in advance. ...Col -- 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] Is there a certification test that can be taken
Hi, I have noticed some developers are using Macromedia Certified Flex Instructor on their email signatures. However, there is no such certification program published anywhere on mm's website. Any ideas? On 7/19/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: To become a Flex Programmer, if so how hard is the test? -- 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. -- : Aldo Bucchi : mobile (56) 8 429 8300 -- 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] Is there a certification test that can be taken
Macromedia Training has a process to certify instructors for all of their courses, including the Flex courses, as part of the MATP (Macromedia Authorized Training Partner) program. You can find more about the MATP program here: http://partners.macromedia.com/overview/program_detail.cfm?UUID=C6245D69-3EFC-11D5-B915006008163C5A At 06:17 PM 7/25/2005, you wrote: Hi, I have noticed some developers are using Macromedia Certified Flex Instructor on their email signatures. However, there is no such certification program published anywhere on mm's website. Any ideas? On 7/19/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: To become a Flex Programmer, if so how hard is the test? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://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. -- : Aldo Bucchi : mobile (56) 8 429 8300 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS * Visit your group http://groups.yahoo.com/group/flexcodersflexcoders on the web. * * To unsubscribe from this group, send an email to: * mailto:[EMAIL PROTECTED][EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/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 * 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] Is there a certification test that can be taken
Thanks Jeff, Now, if there is a Flex training program... why isn't there a developer certification exam yet? On 7/25/05, Jeff Tapper [EMAIL PROTECTED] wrote: Macromedia Training has a process to certify instructors for all of their courses, including the Flex courses, as part of the MATP (Macromedia Authorized Training Partner) program. You can find more about the MATP program here: http://partners.macromedia.com/overview/program_detail.cfm?UUID=C6245D69-3EFC-11D5-B915006008163C5A At 06:17 PM 7/25/2005, you wrote: Hi, I have noticed some developers are using Macromedia Certified Flex Instructor on their email signatures. However, there is no such certification program published anywhere on mm's website. Any ideas? On 7/19/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: To become a Flex Programmer, if so how hard is the test? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://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. -- : Aldo Bucchi : mobile (56) 8 429 8300 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS * Visit your group http://groups.yahoo.com/group/flexcodersflexcoders on the web. * * To unsubscribe from this group, send an email to: * mailto:[EMAIL PROTECTED][EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/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 -- : Aldo Bucchi : mobile (56) 8 429 8300 -- 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] Is there a certification test that can be taken
I'm sure there will be, its really just a matter of time. The entire course development team at Macromedia consists of 5 people, and they have courseware for at least one course on each of over a dozen products (many products, including flex have multiple courses). So far this year, they have created or updated close to a dozen different courses, so they are awfully busy. At 06:49 PM 7/25/2005, you wrote: Thanks Jeff, Now, if there is a Flex training program... why isn't there a developer certification exam yet? On 7/25/05, Jeff Tapper [EMAIL PROTECTED] wrote: Macromedia Training has a process to certify instructors for all of their courses, including the Flex courses, as part of the MATP (Macromedia Authorized Training Partner) program. You can find more about the MATP program here: http://partners.macromedia.com/overview/program_detail.cfm?UUID=C6245D69-3EFC-11D5-B915006008163C5Ahttp://partners.macromedia.com/overview/program_detail.cfm?UUID=C6245D69-3EFC-11D5-B915006008163C5A At 06:17 PM 7/25/2005, you wrote: Hi, I have noticed some developers are using Macromedia Certified Flex Instructor on their email signatures. However, there is no such certification program published anywhere on mm's website. Any ideas? On 7/19/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: To become a Flex Programmer, if so how hard is the test? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://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. -- : Aldo Bucchi : mobile (56) 8 429 8300 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp ://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.m ail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com -- YAHOO! GROUPS LINKS * Visit your group http://groups.yahoo.com/group/flexcodershttp://groups.yahoo.com/group/flexcodersflexcoders on the web. * * To unsubscribe from this group, send an email to: * mailto:[EMAIL PROTECTED][EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/http://docs.yahoo.com/info/terms/Yahoo! Terms of Service. -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- : Aldo Bucchi : mobile (56) 8 429 8300 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txthttp://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comhttp://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS http://groups.yahoo.com/gads?t=msk=Computer+software+testingw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=kh2CguJwmatU5oBXjFo9RgComputer software testing http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=dAUcEV7do91-wrRtVS641gMacromedia flex http://groups.yahoo.com/gads?t=msk=Developmentw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=AlxNUQBOI7Io7S7nhmxV0QDevelopment http://groups.yahoo.com/gads?t=msk=Software+developerw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=QWIit8JayomoIHLVkV3FDgSoftware developer -- YAHOO! GROUPS LINKS * Visit your group http://groups.yahoo.com/group/flexcodersflexcoders on the web. * * To unsubscribe from this group, send an email to: * mailto:[EMAIL PROTECTED][EMAIL PROTECTED] * * Your use of Yahoo! Groups is subject to the http://docs.yahoo.com/info/terms/Yahoo! Terms of
[flexcoders] Boolean passed in RemoteObject
I have a checkbox that I want to pass is boolean to a RemoteObject. In the debugger I can see that it is passing correctly True or False But in CFC is not happy even if it is waiting for a boolean argument. What did I miss? MethodName: cf.regu_nf.save Parameters (object #2) .[0] (object #3) ..pointConsigneReculNocturne: (boolean) true save.cfc .cfargument name=pointConsigneReculNocturne type=boolean required=yes -- 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] Boolean passed in RemoteObject
You could change your type=String and default= And just do some investigating to see what's going on cfif isBoolean(Arguments.pointConsigneReculNocturne) .. .. .. all is well cfelse all is not well, output information to a log file to see what's going on. /cfif Ghislain Simard wrote: I have a checkbox that I want to pass is boolean to a RemoteObject. In the debugger I can see that it is passing correctly True or False But in CFC is not happy even if it is waiting for a boolean argument. What did I miss? MethodName: cf.regu_nf.save Parameters (object #2) .[0] (object #3) ..pointConsigneReculNocturne: (boolean) true save.cfc .cfargument name=pointConsigneReculNocturne type=boolean required=yes -- 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] DataProvider API doing strange things... very confused!
Tom, I have a similar problem with a class that inherits from DataProvider. As a side note, conceptually related to what you were doing. I have built a dataprovider filter framework that can connect different dataproviders through filters and creates what I call dataprovider views ( as in table-view ). It propragates events so a change in a view field will eventually make all binded components (even those binded to another view of the same data) to refresh themselves accordingly. Just think about the table - view relation and how powerful it can become if the conditions (filters) are dynamic and binded to controls. A shopping cart dataprovider can be created as a dataprovider view that filters on a selectedFlag boolean property, over the complete items dataprovider, for example. You can then bind the shopping cart dataprovider to any component for display, and you can rely on the framework to update the data as the user selects more items. It is quite simple to develop really, but very powerful. I believe you could create something along that lines for what you are doing. Take a look at Manish Jethani's filtereddataprovider for a starting point on the filters structure. Ah, beware the getItemID method implementation ( or lack thereof ). Best, Aldo On 7/25/05, Matt Chotin [EMAIL PROTECTED] wrote: That is odd. I found that when I changed the type of globalModel from DataProvider to Array the length returned correctly. Must be some weird casting going on in the VM that's screwing things up. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Jeffery Sent: Friday, July 22, 2005 10:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataProvider API doing strange things... very confused! I wrote some sample code to try to help me figure out how to properly create and use a global instance of data throughout my Flex application. The idea was to create an actionscript class that contains a static instance of an Array / DataProvider, initialize it on creation of the application, and then bind multiple components to it, so they would all update when a modelChanged event was broadcast. With debug printouts or using an object inspector, I'm seeing some really strange behavior with this sample application. If I add an item to the global array, it shows up on the two lists, but doesn't actually appear in the array, and the array size doesn't get any bigger. If I delete an item, the item gets deleted from both lists and the array, but again, the array.length property remains unchanged. Am I just missing something simple here about how to do this? My two source files and xml data are pasted here if you'd like to try them out and see if you can spot what it is that I'm doing wrong. Thanks for any assistance! -Tom Jeffery --- GlobalModel.as --- import mx.controls.listclasses.DataProvider; class GlobalModel { static var globalModel:DataProvider; } --- data.xml --- data item labelTest Item 1/label /item item labelTest Item 2/label /item item labelTest Item 3/label /item item labelTest Item 4/label /item /data --- DataTest.mxml --- ?xml version=1.0 ? mx:Application xmlns=* xmlns:mx=http://www.macromedia.com/2003/mxml; width=100% height=100% xmlns:local=* creationComplete=doInit(); !-- local:Inspect/-- mx:Script ![CDATA[ import GlobalModel; import mx.controls.listclasses.DataProvider; function addText():Void { //testModel.item.addItem(testInput.text); GlobalModel.globalModel.addItem(testInput.text); //testList1.addItem(testInput.text); } function deleteItem():Void { if (testList1.selectedIndex == undefined) return; GlobalModel.globalModel.removeItemAt(t estList1.selectedIndex); } function doInit():Void { GlobalModel.globalModel = testModel.item; } ]] /mx:Script mx:Model id=testModel source=./data.xml/ mx:VBox mx:HBox mx:List id=testList1 dataProvider={testModel.item} multipleSelection=false / mx:List id=testList2 dataProvider={GlobalModel.globalModel} selectable=false / /mx:HBox mx:HBox mx:TextInput id=testInput / mx:Button id=testButton click=addText(); label=Add To Model {GlobalModel.globalModel.length} / mx:Button click=deleteItem() label=Delete Selected/ /mx:HBox /mx:VBox /mx:Application -- Flexcoders Mailing List FAQ:
RE: [flexcoders] ComboBox cellRenderer
disptchEvent({type: scroll}), you need the scroll in quotes. I think I would maybe try also setting the vPosition to maxVPosition and letting it sit a frame or two then set the vPosition back. Dispatching the event probably isnt enough because we need the list to bring the rows into view to get the sizing methods to kick in. When I tried it just setting it and setting it back immediately it wasnt enough, youll need to throw a couple of doLaters in there. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Philippe Maegerman Sent: Sunday, July 24, 2005 11:53 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ComboBox cellRenderer Thank you for your time Matt, I must have mistyped something when I tried, it works now. Now, if the variableRowHeight gets right after mousewheeling or arrow clicking, what kind of event could I fire manualy? I have tried draw, redraw, invalidate, but no success. I used event.target.dispatchEvent({type:scroll}) but it keeps saying 'The property scroll is an event. Use the addEventListener method to set it.' In my souvenirs, I used dispatchEvent to force an event, what is wrong? Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin Sent: lundi 25 juillet 2005 6:28 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ComboBox cellRenderer mx:ComboBox dataProvider={sizes.size} creationComplete=event.target.getDropdown().cellRenderer = sizeRenderer; event.target.getDropdown().variableRowHeight=true / That worked for me. However I did see the problems with the scrollbar and it looks like a bug in the list related to variableRowHeight. Not sure that I really have a workaround for you right now. Sorry! Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Philippe Maegerman Sent: Friday, July 22, 2005 12:16 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ComboBox cellRenderer I managed to havethe cellRendererwork with a List control, but can't find a way to have it working with a Combobox. Ihave tried creationComplete = combo.getDropdown().cellRenderer = sizeRenderer on the combo, tried also on the Application event, but not working. I also noticed a weird behavior, if I click the arrows or the trackBar, my last item (72)is not shown, but it does if I use keyboard up down key or my mouse wheel ... maybe that will not happen if I have it in a Combobox. Any help would be apreciated. Here's my code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml mx:Model id=sizes size6/size size7/size size8/size size9/size size10/size size11/size size12/size size14/size size16/size size18/size size20/size size24/size size28/size size36/size size48/size size72/size /mx:Model mx:List id=sizes_cb width=120 height=100 dataProvider={sizes.size} cellRenderer=sizeRenderer wordWrap=true variableRowHeight=true/ /mx:Application === cellRenderer: sizeRenderer.mxml ?xml version=1.0 encoding=utf-8? mx:Label xmlns:mx=http://www.macromedia.com/2003/mxml mx:Script ![CDATA[ function setValue(str:String, item:Object, sel:Boolean){ this.setStyle(fontSize, Number(str)) this.text = str; } ]] /mx:Script /mx:Label Regards, Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Philippe Maegerman Sent: vendredi 22 juillet 2005 8:41 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ComboBox cellRenderer I googled some time but didn't find something close, usualy tons ofAS code for datagrid. Hopefuly there is a very simpleexample in the Flex book page 580 'CreditCardStatusCellRenderer', it is the mxml aproach that I was looking for. Cheers, Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin Sent: vendredi 22 juillet 2005 6:15 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ComboBox cellRenderer You will need to implement the normal methods of the cellRenderer (setValue) and then should use setStyle to set the font size of your label. I would basically make your cellRenderer a Label and just call setStyle within your setValue method. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Philippe Maegerman Sent: Thursday, July 21, 2005 12:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ComboBox cellRenderer Hi, I'm trying to figure out how I could change the font size of combobox items. Let's say I have this code mx:Model id=sizes size6/size size7/size /mx:Model mx:ComboBox id=sizes_cb
RE: [flexcoders] TabNavigator tabs style
You could create a style that has all the settings but not name it for TabNavigator: MyTabStyle { corner-radius: } TabNavigator styleName=MyTabStyle Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of zipo13 Sent: Monday, July 25, 2005 6:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] TabNavigator tabs style Hi, In the flex Style explorer I can see that Tab styles can be set via CSS. http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.html (tabs section) The style I'm interested at is corner-radius. I have manged to set the style via CSS to my app but I want it for only one TabNavigator and not the other. I tried several ways to set this style via AS code but nothing seems to work. I tried to set the style to the TabNavigator the tabBar child of the TabNavigator or the children Tab's of the tabBar. Anyone knows what else can I try? -- 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 Computer software testing Macromedia flex Development Software developer 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] TabNavigator tabs style
I was trying the same. Unfortunately, the attributes should be set for TabNavigator and Tab as well. I tried using the Macromedia Flex StyleExplorer to create my styles. Looks like corner-radius belongs to the Tab and not the TabNavigator. My question is whether it is possible to set 2 styles to the same component! MyTabNavigator { tab-height: 30; tab-width: 87; border-color: #cc; } MyTab { corner-radius: 8; fill-colors: #003366, #f6; selected-fill-colors: #0033cc, #ff; border-color: #00; color: #00; } Now, if I want to set the above 2 styles to one TabNavigator only, how do I go about doing it? Am I missing anything here? Regards Sree Matt Chotin wrote: You could create a style that has all the settings but not name it for TabNavigator: MyTabStyle { corner-radius: } TabNavigator styleName=MyTabStyle Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of zipo13 Sent: Monday, July 25, 2005 6:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] TabNavigator tabs style Hi, In the flex Style explorer I can see that Tab styles can be set via CSS. http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.html (tabs section) The style I'm interested at is "corner-radius". I have manged to set the style via CSS to my app but I want it for only one TabNavigator and not the other. I tried several ways to set this style via AS code but nothing seems to work. I tried to set the style to the TabNavigator the tabBar child of the TabNavigator or the children Tab's of the tabBar. Anyone knows what else can I try? -- 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.