[flexcoders] Re: setUsernamePassword on RemoteObject
Thanks Vinny, Im assuming theres no workaround for this? Im probably just gonna pass the username and password as variables with each call then. Im using the cairngorm framework and I have a delegate super class so I can hide it all in there ;) cheers, Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, Vinny Timmermans [EMAIL PROTECTED] wrote: This is a known bug in Flex 1.5. The setUsernamePassword API is not connected to CFLOGIN. Hope they will fix it in Flex 2. Vinny -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Spaulding Sent: dinsdag 5 juli 2005 04:38 To: flexcoders@yahoogroups.com Subject: [flexcoders] setUsernamePassword on RemoteObject Hi, I'm trying to use the flash remoting setCredentials equivalent in flex to send a username and password with my remote object requests. I can see the Credentials being set in the header when i view the traffic in the netConnectionDebugger, but nothing seems to be in the http header, and hence is not picked up in cflogin Any ideas? Andrew Spaulding www.flexdaddy.info -- 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/
[flexcoders] Re: Flash + Cairngorm Example With Source Code
Hi Robin, sorry to use this forum for sending you regards from your sister Hanna. Met her in Bondi at a birthday party and there it somehow came out that I do know rocketboots and therefore your name. Who am I? Josef, Developer at Daemon here in Syd. cheers, Josef -- 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] Accordion Navigation Components
I need to share a number of forms want to be able to navigate (set the selectedIndex) of an accordion within a form called as a component. Basic break down of code is as follows: !-- [Accordion.mxml] -- ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:sharedforms=com.company.veiw.sharedforms.* mx:Accordion id=accProduct mx:VBox label=Product Details !-- product details form here -- /mx:VBox !-- get the shared security form -- sharedforms:Security id=secuirty label=Product Security/ /mx:Accordion /mx:Application !-- [Securuty.mxml] -- ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ // display the previous accordion function previousStep(accordion) { accordion.selectedIndex -= 1; } ]] /mx:Script mx:Button label=Previous Step click=previousStep(super().accProduct)/ /mx:VBox The part I can't seem to get right is in the Securuty.mxml component. How do I get it to navigate the parent accProduct accordion? I have got has far as trying to call something like 'super().accProduct' but it fails at runtime. Since Securuty.mxml is a shared form it will also need to be free of any specific accordion 'id', I assume I can pass accProduct when I instantiate it? Am I using the right approach here or do I need to create some sort of form/accordion management class? Thank you for any suggestions. Regards, Malcolm -- 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] Accordion Navigation Components
You could pass a reference of the Accordion to your component: sharedforms:Security id="secuirty" label="Product Security" owner="{accProduct}"/ In your component, add a variable 'owner' and use it in your function: mx:Script![CDATA[var owner; // display the previous accordion function previousStep() { owner.selectedIndex -= 1; }]]/mx:Script Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of MalcolmSent: mardi 5 juillet 2005 6:20To: flexcoders@yahoogroups.comSubject: [flexcoders] Accordion Navigation Components I need to share a number of forms want to be able to navigate (set theselectedIndex) of an accordion within a form called as a component. Basicbreak down of code is as follows:!-- [Accordion.mxml] --?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"xmlns:sharedforms="com.company.veiw.sharedforms.*"mx:Accordion id="accProduct" mx:VBox label="Product Details" !-- product details form here -- /mx:VBox !-- get the shared security form -- sharedforms:Security id="secuirty" label="Product Security"/ /mx:Accordion/mx:Application!-- [Securuty.mxml] --?xml version="1.0" encoding="utf-8"?mx:VBox xmlns:mx="http://www.macromedia.com/2003/mxml"mx:Script![CDATA[ // display the previous accordion function previousStep(accordion) { accordion.selectedIndex -= 1; }]]/mx:Scriptmx:Button label="Previous Step" click="previousStep(super().accProduct)"//mx:VBoxThe part I can't seem to get right is in the Securuty.mxml component. How doI get it to navigate the parent accProduct accordion?I have got has far as trying to call something like 'super().accProduct' butit fails at runtime. Since Securuty.mxml is a shared form it will also need to be free of anyspecific accordion 'id', I assume I can pass accProduct when I instantiateit?Am I using the right approach here or do I need to create some sort ofform/accordion management class?Thank you for any suggestions.Regards,Malcolm--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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. --**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] Re: cellRender NumericStepper
Abdul, sounds like you have experience of this any change a a simple code example to get me off the mark. --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Are you changing value in setValue(..) method? Are you calling listOwner.editField(..) also to save the value in dataProvider when NS value is changed? -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of AC Sent: Monday, July 04, 2005 8:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] cellRender NumericStepper Hello I am trying to create a numeriStepper control as a cellRenderer component within a grid. While doing this I have come across a problem, whenever I change the value of numericStepper it fails to retain its new value and restores itself back to its original DataGrid.dataProvider value on subsequent `focusIn' event. Anybody know how I can get around this issue? I would also like to modify the value of a neighbouring cell in the grid based on the newly selected/incremented value. All help appreciated. Thank you. -- 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/
[flexcoders] gradient fill
is it possible to use gradient fill for a canvas or application without an swf file? if yes pls send some sample code.. thanks, 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 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] Disable Validators
What i want is to validators on required fields. But one or the other is required. So I want to disable the other Validator of the textfield if the other has got content. But Validators has no id or enable property. So tell me. -- 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] Disable Validators
There is a good example of this in the book 'developing rich clients with MM Flex' at page 190, it explains how to change validation at runtime. Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rockmoyosaSent: mardi 5 juillet 2005 12:05To: flexcoders@yahoogroups.comSubject: [flexcoders] Disable Validators What i want is to validators on required fields. But one or the otheris required. So I want to disable the other Validator of the textfieldif the other has got content.But Validators has no id or enable property. So tell me.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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. --**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.--
RE: [flexcoders] Disable Validators
Hi, You can also use the static methods Validator.enable() and Validator.disable() to change the enablement of validators at runtime check the livedocs for the full method signature. Cheers, Ali -- Alistair McLeod Development Director iteration::two [EMAIL PROTECTED] Office: +44 (0)131 338 6108 This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Philippe Maegerman Sent: 05 July 2005 11:25 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Disable Validators There is a good example of this in the book 'developing rich clients with MM Flex' at page 190, it explains how to change validation at runtime. Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of rockmoyosa Sent: mardi 5 juillet 2005 12:05 To: flexcoders@yahoogroups.com Subject: [flexcoders] Disable Validators What i want is to validators on required fields. But one or the other is required. So I want to disable the other Validator of the textfield if the other has got content. But Validators has no id or enable property. So tell me. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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 -- 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. --**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] Re: Disable Validators
Yes this is what i need but.. this is when i want to disable them all. right? Because they have no Identifier.. --- In flexcoders@yahoogroups.com, Alistair McLeod [EMAIL PROTECTED] wrote: Hi, You can also use the static methods Validator.enable() and Validator.disable() to change the enablement of validators at runtime - check the livedocs for the full method signature. Cheers, Ali -- Alistair McLeod Development Director iteration::two [EMAIL PROTECTED] Office: +44 (0)131 338 6108 This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately. Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened. _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Philippe Maegerman Sent: 05 July 2005 11:25 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Disable Validators There is a good example of this in the book 'developing rich clients with MM Flex' at page 190, it explains how to change validation at runtime. Philippe Maegerman _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rockmoyosa Sent: mardi 5 juillet 2005 12:05 To: flexcoders@yahoogroups.com Subject: [flexcoders] Disable Validators What i want is to validators on required fields. But one or the other is required. So I want to disable the other Validator of the textfield if the other has got content. But Validators has no id or enable property. So tell me. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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 http://groups.yahoo.com/gads?t=msk=Computer+software+testingw1=Computer+s oftware+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4 s=93.sig=kh2CguJwmatU5oBXjFo9Rg software testing Macromedia http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Computer+software+te stingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig= dAUcEV7do91-wrRtVS641g flex Development http://groups.yahoo.com/gads?t=msk=Developmentw1=Computer+software+testin gw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=AlxN UQBOI7Io7S7nhmxV0Q Software http://groups.yahoo.com/gads?t=msk=Software+developerw1=Computer+software +testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.s ig=QWIit8JayomoIHLVkV3FDg developer _ 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! http://docs.yahoo.com/info/terms/ 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 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] Re: Disable Validators
I have a blog entry, 'Toggling Flex Validataion - On Off' at FlexingCFMX.com that shows an example of toggling required on and off based on selection of another field (country US and Canada require State/Province; other Countries do not). http://www.flexingcfmx.com/index.cfm?mode=entryen try=D08D15DB-3048-2BE9-DAB1EA74EB608907 The code is included and does use the Validator's methods: mx.validators.Validator.disable(this, 'newSupplier.c_state'); mx.validators.Validator.enable(this, 'newSupplier.c_state'); -- 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] Re: gradient fill
Without getting into too much detail a simple google search for actionscript gradient fill returned the following helpful blog post which outlines the actionscript drawing api. http://www.joshbuhler.com/archives/2005/01/drawing_api.html josh also provides an example of the attributes needed when setting up a gradient fill at this link http://www.joshbuhler.com/tutorials/drawingAPI/gradientFill.html . Slide around the dials and take a look at how it affects the colours, alphas, ratios and matrix attributes. These 2 links should give you a head start, but be sure to do some further research ;) Andrew www.flexdaddy.info --- In flexcoders@yahoogroups.com, Nithya R [EMAIL PROTECTED] wrote: is it possible to use gradient fill for a canvas or application without an swf file? if yes pls send some sample code.. thanks, nithya Send 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 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] itemRenderer usage
1) I am trying to zoom on the selected item of a list. I have found itemRenderer that render an item according to its state but I did not find any example and I did not find how it is working. Is it the good way to do what I want ? How to create an itemRenderer class that set scaleX and scaleY to the selected item in the list ? 2) I use a TileList to display a variable list without scrolling so I update itemWidth and itemHeight when adding or removing items from that list. How can I apply a resize effect to those items ? I have made a custom cellRenderer inherited from a VBox but resizeEffect=Resize does nothing. -- David *** Ce message et toutes les pieces jointes (ci-apres le message) sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout message electronique est susceptible d'alteration. Le Groupe France Telecom decline toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie. Si vous n'etes pas destinataire de ce message, merci de le detruire immediatement et d'avertir l'expediteur. *** This message and any attachments (the message) are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. Messages are susceptible to alteration. France Telecom Group shall not be liable for the message if altered, changed or falsified. If you are not receiver of this message, please cancel it immediately and inform the sender. *** -- 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] Re: setUsernamePassword on RemoteObject
Im assuming theres no workaround for this? No. I've brought this to the attention of the Flex team again recently. Maybe you should leave them a message as well ;-) Vinny -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Spaulding Sent: dinsdag 5 juli 2005 09:16 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: setUsernamePassword on RemoteObject Thanks Vinny, Im assuming theres no workaround for this? Im probably just gonna pass the username and password as variables with each call then. Im using the cairngorm framework and I have a delegate super class so I can hide it all in there ;) cheers, Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, Vinny Timmermans [EMAIL PROTECTED] wrote: This is a known bug in Flex 1.5. The setUsernamePassword API is not connected to CFLOGIN. Hope they will fix it in Flex 2. Vinny -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Spaulding Sent: dinsdag 5 juli 2005 04:38 To: flexcoders@yahoogroups.com Subject: [flexcoders] setUsernamePassword on RemoteObject Hi, I'm trying to use the flash remoting setCredentials equivalent in flex to send a username and password with my remote object requests. I can see the Credentials being set in the header when i view the traffic in the netConnectionDebugger, but nothing seems to be in the http header, and hence is not picked up in cflogin Any ideas? Andrew Spaulding www.flexdaddy.info -- 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/
[flexcoders] Redirect to next page
Hi Guys I am trying to develop simple application using flex using sturts framework.But i am unable to forward to result page that is specified in action mappings. If i am using result=alert() the result is displayed in popup box. But why ? it is not forward to next page.. Please help me Thanks a lot.. Regards Harinath K -- 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] Redirect to next page
To Redirect you need to use the getURL() function like this getURL(myNewPage.html); From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Harinath Sent: 05 July 2005 13:41 To: flexcoders@yahoogroups.com Subject: [flexcoders] Redirect to next page Hi Guys I am trying to develop simple application using flex using sturts framework.But i am unable to forward to result page that is specified in action mappings. If i am using result=alert() the result is displayed in popup box. But why ? it is not forward to next page.. Please help me Thanks a lot.. Regards Harinath K -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- 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] Re: setUsernamePassword on RemoteObject
Andrew, you could of course provide your own login() method inside a CFC which does the CFLOGIN work for you. This way you only need to send the username and password once (with the login call) and then use IsUserInRole()/GetAuthUser() inside your CFC methods afterwards. Dirk. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Vinny Timmermans Sent: Tuesday, July 05, 2005 2:44 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: setUsernamePassword on RemoteObject Im assuming theres no workaround for this? No. I've brought this to the attention of the Flex team again recently. Maybe you should leave them a message as well ;-) Vinny -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Spaulding Sent: dinsdag 5 juli 2005 09:16 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: setUsernamePassword on RemoteObject Thanks Vinny, Im assuming theres no workaround for this? Im probably just gonna pass the username and password as variables with each call then. Im using the cairngorm framework and I have a delegate super class so I can hide it all in there ;) cheers, Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, Vinny Timmermans [EMAIL PROTECTED] wrote: This is a known bug in Flex 1.5. The setUsernamePassword API is not connected to CFLOGIN. Hope they will fix it in Flex 2. Vinny -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Spaulding Sent: dinsdag 5 juli 2005 04:38 To: flexcoders@yahoogroups.com Subject: [flexcoders] setUsernamePassword on RemoteObject Hi, I'm trying to use the flash remoting setCredentials equivalent in flex to send a username and password with my remote object requests. I can see the Credentials being set in the header when i view the traffic in the netConnectionDebugger, but nothing seems to be in the http header, and hence is not picked up in cflogin Any ideas? Andrew Spaulding www.flexdaddy.info -- 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 -- 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] Redirect to next page
Hari, This would be very minimal information for anybody to comment! Are u developing the entire application in Flex? Or a few UI components embedded in JSP? If it is the second case, there you might have to provide some more details, but if it is the first, you should then understand that there is really no concept such as "next page" in flex. The alert is a flex popup that displays the result of ur struts action, but the forward does not work as in JSP. You should use that data and map it to a flex component to see the results. Regards Sree Harinath wrote: Hi Guys I am trying to develop simple application using flex using sturts framework.But i am unable to forward to result page that is specified in action mappings. If i am using result="alert()" the result is displayed in popup box. But why ? it is not forward to next page.. Please help me Thanks a lot.. Regards Harinath K -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- 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] Image component rescaling.
Hi flexcoders, Does anyone have the code to resize a image to maintain aspect ratio manualy? I would like the user to alter the width and height of a image using the mouse in say incrementes of 5px but maintaining aspect ratio. Any help would be apreciated. Omar -- 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] Image component rescaling.
On 7/5/05, Omar Ramos [EMAIL PROTECTED] wrote: Does anyone have the code to resize a image to maintain aspect ratio manualy? I would like the user to alter the width and height of a image using the mouse in say incrementes of 5px but maintaining aspect ratio. Before you try to write code to do it, have you seen the maintainAspectRatio property of the Image component? Set it to true and it'll be taken care of. http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/Image.html -- 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] Re: setUsernamePassword on RemoteObject
Now the bug fix won't get priority anymore ;-) Vinny -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann Sent: dinsdag 5 juli 2005 14:57 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: setUsernamePassword on RemoteObject Andrew, you could of course provide your own login() method inside a CFC which does the CFLOGIN work for you. This way you only need to send the username and password once (with the login call) and then use IsUserInRole()/GetAuthUser() inside your CFC methods afterwards. Dirk. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Vinny Timmermans Sent: Tuesday, July 05, 2005 2:44 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: setUsernamePassword on RemoteObject Im assuming theres no workaround for this? No. I've brought this to the attention of the Flex team again recently. Maybe you should leave them a message as well ;-) Vinny -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Spaulding Sent: dinsdag 5 juli 2005 09:16 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: setUsernamePassword on RemoteObject Thanks Vinny, Im assuming theres no workaround for this? Im probably just gonna pass the username and password as variables with each call then. Im using the cairngorm framework and I have a delegate super class so I can hide it all in there ;) cheers, Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, Vinny Timmermans [EMAIL PROTECTED] wrote: This is a known bug in Flex 1.5. The setUsernamePassword API is not connected to CFLOGIN. Hope they will fix it in Flex 2. Vinny -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Spaulding Sent: dinsdag 5 juli 2005 04:38 To: flexcoders@yahoogroups.com Subject: [flexcoders] setUsernamePassword on RemoteObject Hi, I'm trying to use the flash remoting setCredentials equivalent in flex to send a username and password with my remote object requests. I can see the Credentials being set in the header when i view the traffic in the netConnectionDebugger, but nothing seems to be in the http header, and hence is not picked up in cflogin Any ideas? Andrew Spaulding www.flexdaddy.info -- 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 -- 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/
[flexcoders] Numeric validator
hai, i need to use 2 validations for a sinlge validator. i have to first check if the value enterd is a number or not then i have to check if the number enterde is all . how to do this? pls help me with some sample code.. thanks, 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 YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Flex audio sample did't work
The links to the MP3 files in these examples are not to real MP3 files. In the example with the line: [Embed('bluechristmas.mp3')] Replace bluechristmas.mp3 with the name of an MP3 file on your machine. Stephen -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of unihan Sent: Sunday, July 03, 2005 10:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex audio sample did't work I follow the livedoc from Macomedia to play a MP3 file under Flex environment. http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/commo n/html/wwhelp.htm?context=Flex_Documentationfile=2171.htm Th error message is always Failed to find resource. From the experienc of graphic file handling, I know that if I use the wrong file type, such as gif but not jpg, the message will come up. In this case, even the sample teach me to do in that way, why it didn't work? -- 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] Image component rescaling.
yeah I seen it, thanks for the reply. I need to do it manualy in some cases like when I create the handles for the user to drag them and resize the image. omar On 7/5/05, Manish Jethani [EMAIL PROTECTED] wrote: On 7/5/05, Omar Ramos [EMAIL PROTECTED] wrote: Does anyone have the code to resize a image to maintain aspect ratio manualy? I would like the user to alter the width and height of a image using the mouse in say incrementes of 5px but maintaining aspect ratio. Before you try to write code to do it, have you seen the maintainAspectRatio property of the Image component? Set it to true and it'll be taken care of. http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/Image.html -- 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. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 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 * 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] Numeric validator
On 7/5/05, Nithya R [EMAIL PROTECTED] wrote: i need to use 2 validations for a sinlge validator. i have to first check if the value enterd is a number or not then i have to check if the number enterde is all . how to do this? pls help me with some sample code.. http://livedocs.macromedia.com/flex/15/asdocs_en/mx/validators/NumberValidator.html http://livedocs.macromedia.com/flex/15/asdocs_en/mx/validators/StringValidator.html I think you want to use a NumberValidator and set minValue to 1. You could also use a NumericStepper. -- 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] Skinning accordion header
oops... no quotes on the skin variables import mx.containers.accordionclasses .AccordionHeader class MyCustomHeader extends AccordionHeader { [Embed(accordion-b.swf)] var accoridonDownSkin:String; [Embed(accordion-a.swf)] var accordionOverSkin:String; private function init() { this.falseUpSkin = accordionOverSkin; this.falseOverSkin = accordionOverSkin; this.falseDownSkin = accoridonDownSkin; this.trueUpSkin = accoridonDownSkin; this.trueOverSkin = accoridonDownSkin; this.trueDownSkin = accoridonDownSkin; super.init(); } } On 7/5/05, Clint Modien [EMAIL PROTECTED] wrote: well @ first glance your code never calls changeMe() ? In any case... a better approach would be to create a custom header like this... import mx.containers.accordionclasses.AccordionHeader class MyCustomHeader extends AccordionHeader { [Embed(accordion-b.swf)] var accoridonDownSkin:String; [Embed(accordion-a.swf)] var accordionOverSkin:String; private function init() { this.falseUpSkin = accordionOverSkin; this.falseOverSkin = accordionOverSkin; this.falseDownSkin = accoridonDownSkin; this.trueUpSkin = accoridonDownSkin; this.trueOverSkin = accoridonDownSkin; this.trueDownSkin = accoridonDownSkin; super.init(); } } then when you declare your Accordion set it's headerClass property to your new custom header. mx:Accordion id=myAcc width=200 height=150 backgroundAlpha=0 borderThickness=0 headerClass=MyCustomHeader mx:VBox label=Tab 1 mx:Label text=Skinning fontSize=15/ /mx:VBox mx:VBox label=Tab 2 mx:Label text=Accordion fontSize=15/ /mx:VBox mx:VBox label=Tab 3 mx:Label text=Control fontSize=15/ /mx:VBox /mx:Accordion /mx:Application On 7/5/05, Nithya R [EMAIL PROTECTED] wrote: hai, sorry in my previous mailI forgot to attach the code. I am using the following code for skinning the accodrion header.. But it isnt displaying the swf that i am using.. pls tell me if there is anything wrong with the code. I dont get any error either.. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml backgroundColor=#FF mx:Script![CDATA[[Embed(accordion-b.swf)] var accoridonDownSkin:String; [Embed(accordion-a.swf)] var accordionOverSkin:String; function changeMe(event) {//Loop through all the headers of Accordion control and set the skinsfor(var i=0;imyAcc.numChildren;i++) {event.target.getHeaderAt(i).falseUpSkin = accordionOverSkin; event.target.getHeaderAt(i).falseOverSkin = accordionOverSkin;event.target.getHeaderAt(i).falseDownSkin = accoridonDownSkin;event.target.getHeaderAt(i).trueUpSkin = accoridonDownSkin;event.target.getHeaderAt(i).trueOverSkin = accoridonDownSkin;event.target.getHeaderAt(i).trueDownSkin = accoridonDownSkin;}}]] /mx:Script mx:Accordion id=myAcc width=200 height=150 backgroundAlpha=0 borderThickness=0 mx:VBox label=Tab 1 mx:Label text=Skinning fontSize=15/ /mx:VBox mx:VBox label=Tab 2 mx:Label text=Accordion fontSize=15/ /mx:VBox mx:VBox label=Tab 3 mx:Label text=Control fontSize=15/ /mx:VBox /mx:Accordion /mx:Application thanks, 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 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.
ADMIN: RE: [flexcoders] Numeric validator
i need to use 2 validations for a sinlge validator. i have to first check if the value enterd is a number or not then i have to check if the number enterde is all . how to do this? pls help me with some sample code.. From: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Phrases to avoid:"URGENT" (we all have deadlines, no one is intentionally delaying aresponse to you)"Please send code" (this is very frustrating to read as it implies youaren't interested in learning anything on your own. Where code isappropriate you can expect someone to provide it, but in many cases youwill learn more by doing it on your own with appropriate guidance. Itmay be that you're on a deadline and just want to finish, but many ofthose who respond regularly would prefer to "teach you to fish" so thatyou can answer your own questions next time and even help out others). So on that note; why don't you spend some time trying to solve your validation problem, then when you have a piece of code that doesn't work despite everything you have read in the FAQ, Websites, Books, etc, you can post the code that you have invested time inwriting, so that one of us might invest some time trying to help you ? Validation is not one of the most challenging things you'll have to learn with Flex, and there are lots of resources available that will give you all the information you are likely to need. Flexcoders is the wrong forum if you are looking for 9 or 10 pieces ofsample code a day, that would solve what itis you're trying to buildright now. Please consider this before posting to the list. Respectfully, Steven -- 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] itemRenderer usage
On 7/5/05, ROUSSELIE David ROSI/SIFAC [EMAIL PROTECTED] wrote: How to create an itemRenderer class that set scaleX and scaleY to the selected item in the list ? In the setValue function of your cell renderer, you can query for the item index and compare with the selected item's index and set the scale values accordingly. mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=* mx:Label id=lbl / mx:Script var listOwner : MovieClip; var getCellIndex : Function; function setValue(str, item, sel) { lbl.text = str; if (getCellIndex().itemIndex == listOwner.selectedIndex) lbl.text = foo; } /mx:Script /mx:VBox This cell renderer sets the display to foo for the selected item. 2) I use a TileList to display a variable list without scrolling so I update itemWidth and itemHeight when adding or removing items from that list. How can I apply a resize effect to those items ? I have made a custom cellRenderer inherited from a VBox but resizeEffect=Resize does nothing. Not sure. :-/ (Haven't experimented with this.) -- 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] Image component rescaling.
On 7/5/05, Omar Ramos [EMAIL PROTECTED] wrote: yeah I seen it, thanks for the reply. I need to do it manualy in some cases like when I create the handles for the user to drag them and resize the image. Have you tried just setting the property? ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=* mx:Button label=w+ click=img.width += 10 / mx:Button label=h+ click=img.height += 10 / mx:Image id=img source=b.jpg maintainAspectRatio=true / /mx:Application If the image size changes it always maintains the size as per the aspect ratio. Why would you write extra code to do this? -- 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] Re: setUsernamePassword on RemoteObject
Credentials sent in custom manner are never sent using HTTP Headers. The information is contained within the AMF/HTTP POST body. The Flex-only API, setUsernamePassword, works on a per request basis and sends credential information inside a special Flex Envelope type which can have per-request headers. The legacy Flash Remoting setCredentials API worked on a per AMF packet basis (which potentially contained a batch of several requests as per NetConnection) and was sent as an AMF Header. Either way, you can only have one J2EE or CF session per connection, and connections are pooled on endpoint URI in Flex. So it should be fine for you to use the old setCredentials() API in most cases. You could just call setCredentials() on the RemoteObject connection property yourself... it simply sets an AMF Header on the underlying NetConnection with an anonymous object that has two properties 'userid' and 'password'. addHeader(Credentials, false, {userid: userId, password: password}); -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Spaulding Sent: Tuesday, July 05, 2005 3:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: setUsernamePassword on RemoteObject Thanks Vinny, Im assuming theres no workaround for this? Im probably just gonna pass the username and password as variables with each call then. Im using the cairngorm framework and I have a delegate super class so I can hide it all in there ;) cheers, Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, Vinny Timmermans [EMAIL PROTECTED] wrote: This is a known bug in Flex 1.5. The setUsernamePassword API is not connected to CFLOGIN. Hope they will fix it in Flex 2. Vinny -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Spaulding Sent: dinsdag 5 juli 2005 04:38 To: flexcoders@yahoogroups.com Subject: [flexcoders] setUsernamePassword on RemoteObject Hi, I'm trying to use the flash remoting setCredentials equivalent in flex to send a username and password with my remote object requests. I can see the Credentials being set in the header when i view the traffic in the netConnectionDebugger, but nothing seems to be in the http header, and hence is not picked up in cflogin Any ideas? Andrew Spaulding www.flexdaddy.info -- 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/
RE: [flexcoders] How can I place custom components into custom components?
The only way (as far as I know) is to create a.mxml in Actionscript, make it an Actionscript component. Greetz Erik -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dimkapimkakolbasa Sent: maandag 4 juli 2005 16:11 To: flexcoders@yahoogroups.com Subject: [flexcoders] How can I place custom components into custom components? The problem is: I want to create a component A in the file a.mxml and a component B in a file b.mxml, and to use them both in the file main.mxml like here (I've replaced triangle brackets by square ones!): main.mxml = [mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:local=*] [local:A] [local:B /] [/local:A] [mx:Application] a.mxml === [mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:local=*] [mx:Label ... /] [/mx:Canvas] b.mxml [mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:local=*] [mx:Image ... /] [/mx:Canvas] this example produces such an error: 1 Error found. Error main.mxml: The component B may not be used as a child of A because the A is a container with internal children. If I understand it all correctly, then if I want to use such a construction [local:A] [local:B /] [/local:A] then I should leave component A description in a.mxml empty, otherwise it's not allowed to insert component B into it. Why is it so and how can I solve this problem? Thanks! Dima, [EMAIL PROTECTED] -- 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] Printing whole lotta pages?
Hi, I need to print a form having two pages. The form consists of boxes, containing layout boxes and grids, containing labels, texts etc. The contents are pretty long so that a vertical scrollbar is displayed on the form. I have studied the PrintJob class and tried various procedures with little success. How should the pages be scaled in order for them to fit to the paper (A4)? And, above all, is there any way to print the second page? Is it true that the printable contents should be visible when printing?? Now I can print (most of) the first page, with good luck, but never the second page (a blank, black page prints out). And yes, I have tried manipulating the vPosition of the VBox in question to give the PrintJob a clue as where to start the second page. This has not worked. Suggestions, anyone, please? Satu -- 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] itemRenderer usage
How to create an itemRenderer class that set scaleX and scaleY to the selected item in the list ? In the setValue function of your cell renderer, you can query for the item index and compare with the selected item's index and set the scale values accordingly. mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=* mx:Label id=lbl / mx:Script var listOwner : MovieClip; var getCellIndex : Function; function setValue(str, item, sel) { lbl.text = str; if (getCellIndex().itemIndex == listOwner.selectedIndex) lbl.text = foo; } /mx:Script /mx:VBox This cell renderer sets the display to foo for the selected item. An itemRenderer is different from a cellRenderer (both property can be set in a TileSet for example). If I have understand the itemRenderer goal, it call the correct cellRenderer depending from the state of the item (cf http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/listclasses/SelectableItem.html is the default itemRenderer). 2) I use a TileList to display a variable list without scrolling so I update itemWidth and itemHeight when adding or removing items from that list. How can I apply a resize effect to those items ? I have made a custom cellRenderer inherited from a VBox but resizeEffect=Resize does nothing. Not sure. :-/ (Haven't experimented with this.) -- 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 *** Ce message et toutes les pieces jointes (ci-apres le message) sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout message electronique est susceptible d'alteration. Le Groupe France Telecom decline toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie. Si vous n'etes pas destinataire de ce message, merci de le detruire immediatement et d'avertir l'expediteur. *** This message and any attachments (the message) are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. Messages are susceptible to alteration. France Telecom Group shall not be liable for the message if altered, changed or falsified. If you are not receiver of this message, please cancel it immediately and inform the sender. *** -- 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] Image component rescaling.
Because there are times where the image won't be in the image tag and in a movieclip and need to scale it there also. On 7/5/05, Manish Jethani [EMAIL PROTECTED] wrote: On 7/5/05, Omar Ramos [EMAIL PROTECTED] wrote: yeah I seen it, thanks for the reply. I need to do it manualy in some cases like when I create the handles for the user to drag them and resize the image. Have you tried just setting the property? ?xml version=1.0? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=* mx:Button label=w+ click=img.width += 10 / mx:Button label=h+ click=img.height += 10 / mx:Image id=img source=b.jpg maintainAspectRatio=true / /mx:Application If the image size changes it always maintains the size as per the aspect ratio. Why would you write extra code to do this? -- 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. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 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 * 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 can I place custom components into custom components?
Thanks! I'll try it! Erik Westra wrote: The only way (as far as I know) is to create a.mxml in Actionscript, make it an Actionscript component. Greetz Erik -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dimkapimkakolbasa Sent: maandag 4 juli 2005 16:11 To: flexcoders@yahoogroups.com Subject: [flexcoders] How can I place custom components into custom components? The problem is: I want to create a component A in the file a.mxml and a component B in a file b.mxml, and to use them both in the file main.mxml like here (I've replaced triangle brackets by square ones!): main.mxml = [mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:local=*] [local:A] [local:B /] [/local:A] [mx:Application] a.mxml === [mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:local=*] [mx:Label ... /] [/mx:Canvas] b.mxml [mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:local=*] [mx:Image ... /] [/mx:Canvas] this example produces such an error: 1 Error found. Error main.mxml: The component B may not be used as a child of A because the A is a container with internal children. If I understand it all correctly, then if I want to use such a construction [local:A] [local:B /] [/local:A] then I should leave component A description in a.mxml empty, otherwise it's not allowed to insert component B into it. Why is it so and how can I solve this problem? Thanks! Dima, [EMAIL PROTECTED] -- 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/
[flexcoders] Internationalizing Flex Apps (Resource Bundles)
Hi all, I am sure most of you would be aware of the Resource bundle utility classes (with sample app) provided for internationalizing Flex applications http://www.cflex.net/showfiledetails.cfm? ChannelID=1Object=CodeLibraryobjectID=85 * Have anyone of you faced any problems which using this runtime approach? * Do you have any other approach in mind which could be used to solve these problems? * Do translators prefer working with a consolidated property file or multiple property files - say one per class? Thanks, Anant. -- 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 can I place custom components into custom components?
If I make a component in ActionScript, how can I later integrate it with MXML? For example, if I describe a component in A.as - what should I do to enable such a construction in main.mxml in my example: [local:A /] How can I make a component with an MXML container as a GUI and some data simultaneously in ActionScript? Thanks, Dima. Erik Westra wrote: The only way (as far as I know) is to create a.mxml in Actionscript, make it an Actionscript component. Greetz Erik -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dimkapimkakolbasa Sent: maandag 4 juli 2005 16:11 To: flexcoders@yahoogroups.com Subject: [flexcoders] How can I place custom components into custom components? The problem is: I want to create a component A in the file a.mxml and a component B in a file b.mxml, and to use them both in the file main.mxml like here (I've replaced triangle brackets by square ones!): main.mxml = [mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:local=*] [local:A] [local:B /] [/local:A] [mx:Application] a.mxml === [mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:local=*] [mx:Label ... /] [/mx:Canvas] b.mxml [mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:local=*] [mx:Image ... /] [/mx:Canvas] this example produces such an error: 1 Error found. Error main.mxml: The component B may not be used as a child of A because the A is a container with internal children. If I understand it all correctly, then if I want to use such a construction [local:A] [local:B /] [/local:A] then I should leave component A description in a.mxml empty, otherwise it's not allowed to insert component B into it. Why is it so and how can I solve this problem? Thanks! Dima, [EMAIL PROTECTED] -- 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] How can I place custom components into custom components?
From the top of my head (not tested and most likely not working): import mx.containers.Canvas; import mc.controls.Label; class A extends Canvas { private var _label:Label; public function Canvas() { }; public function createChildren():Void { super.createChildren(); _label = Label(createChild(Label)); }; }; Then in mxml u can do: [local:A] [local:B /] [/local:A] If I make a component in ActionScript, how can I later integrate it with MXML? Nothing special :) How can I make a component with an MXML container as a GUI and some data simultaneously in ActionScript? I don't understand your question completely, but I think u just want to extend some container class and code away. Greetz Erik -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ch_flex Sent: dinsdag 5 juli 2005 17:06 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] How can I place custom components into custom components? If I make a component in ActionScript, how can I later integrate it with MXML? For example, if I describe a component in A.as - what should I do to enable such a construction in main.mxml in my example: [local:A /] How can I make a component with an MXML container as a GUI and some data simultaneously in ActionScript? Thanks, Dima. -- 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] Mouse click on panel header
Hello, Is there any way I can catch the mouse click on a panel header? Thanks, Valy Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.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 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] something going on with markme.com ?
Hey is there something going on with markme.com? I can't seem to get to it from home, work, etc... -- 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] something going on with markme.com ?
Aye, changing servers: http://weblogs.macromedia.com/cantrell/archives/2005/07/markme_is_going.cfm - Original Message - From: Tarik Ahmed [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, July 05, 2005 11:38 AM Subject: [flexcoders] something going on with markme.com ? Hey is there something going on with markme.com? I can't seem to get to it from home, work, etc... -- 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] Printing whole lotta pages?
Printing in 1.5 is problematic. Unless someone has come up with a better solution, you will need to create a special print container for each multi-page control you want to print. You will only be able to print the visible part of the control, regardless of how you manipulate vPosition, so your print container needs to be the size of your page. If you get that far, the documented methods of changing the visible content and adding a page to the printJob should work. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of svktiilikainen Sent: Tuesday, July 05, 2005 10:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Printing whole lotta pages? Hi, I need to print a form having two pages. The form consists of boxes, containing layout boxes and grids, containing labels, texts etc. The contents are pretty long so that a vertical scrollbar is displayed on the form. I have studied the PrintJob class and tried various procedures with little success. How should the pages be scaled in order for them to fit to the paper (A4)? And, above all, is there any way to print the second page? Is it true that the printable contents should be visible when printing?? Now I can print (most of) the first page, with good luck, but never the second page (a blank, black page prints out). And yes, I have tried manipulating the vPosition of the VBox in question to give the PrintJob a clue as where to start the second page. This has not worked. Suggestions, anyone, please? Satu -- 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] Re: cellRender NumericStepper
Try this: http://www.cflex.net/showfiledetails.cfm?ObjectID=30 Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of AC Sent: Tuesday, July 05, 2005 5:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: cellRender NumericStepper Abdul, sounds like you have experience of this any change a a simple code example to get me off the mark. --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Are you changing value in setValue(..) method? Are you calling listOwner.editField(..) also to save the value in dataProvider when NS value is changed? -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of AC Sent: Monday, July 04, 2005 8:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] cellRender NumericStepper Hello I am trying to create a numeriStepper control as a cellRenderer component within a grid. While doing this I have come across a problem, whenever I change the value of numericStepper it fails to retain its new value and restores itself back to its original DataGrid.dataProvider value on subsequent `focusIn' event. Anybody know how I can get around this issue? I would also like to modify the value of a neighbouring cell in the grid based on the newly selected/incremented value. All help appreciated. Thank you. -- 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/
RE: [flexcoders] why does the data in datagrid cellrender lose?
Are you changing value in setValue(..) method? Are you calling listOwner.editField(..) also to save the value in dataProvider when text value is changed? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of loveewind Sent: Monday, July 04, 2005 10:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] why does the data in datagrid cellrender lose? I used the textInput cellrenderer in datagrid, and input text in textInput, but after add two items, the inputed data lost, 1.flex page: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; initialize=initDg() mx:Script ![CDATA[ import com.ActionRequiredVO; var ActionRequireds: Array; function initDg(){ dg.addItem(new ActionRequiredVO()); } ]] /mx:Script mx:VBox width=98% verticalGap=0 mx:HBox width=100% height=63 mx:Text text=Action Required: width=110 textAlign=right/ mx:DataGrid id=dg editable=true rowCount=2 width=85% dataProvider={ActionRequireds} mx:columns mx:Array mx:DataGridColumn columnName=actionRequired headerText=Action Required width={dg.width*0.7} cellRenderer=PhoneTypeRenderer/ mx:DataGridColumn columnName=assignedTo headerText=Assigned To width={dg.width*0.15}/ mx:DataGridColumn columnName=dueDate headerText=Due Date width={dg.width*0.15}/ /mx:Array /mx:columns /mx:DataGrid mx:VBox mx:Button label=+ click=dg.addItem(new ActionRequiredVO()) cornerRadius=0 borderThickness=0 width=20 height=20 toolTip=Add new item/ mx:Button label=- click=dg.removeItemAt (dg.selectedIndex) cornerRadius=0 borderThickness=0 width=20 height=20/ /mx:VBox /mx:HBox /mx:VBox /mx:Application 2.ActionRequiredVO.as class com.ActionRequiredVO { public var dueDate : String; public var assignedTo : String; public var actionRequired :String; static var registered=Object.registerClass (com.ActionRequiredVO, com.ActionRequiredVO); function ActionRequiredVO(actionRequired:String){ this.actionRequired = actionRequired; } } 3.ActionRequiredVO.java package com; public class ActionRequiredVO { private String actionRequired = null; private String assignedTo = null; private String dueDate = null; /** * @return */ public String getActionRequired() { return actionRequired; } /** * @return */ public String getAssignedTo() { return assignedTo; } /** * @return */ public String getDueDate() { return dueDate; } /** * @param string */ public void setActionRequired(String string) { actionRequired = string; } /** * @param string */ public void setAssignedTo(String string) { assignedTo = string; } /** * @param string */ public void setDueDate(String string) { dueDate = string; } } I am glad to get your help!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] Binding to Model in Application
When you use the mx.core.Application.application reference, the compiler loses the data type information it needs to correctly set up the listeners that binding uses. Such bindings typically work once, but then do not update the controls when changes occur. If you want to bind in components to things at the Application level, you can either pass in a reference the thing you want to bind to, or you can pass in a typed reference to the application itself. The type is the file name of the application. In the component public var app:MyAppFileName; //because the generator/compiler makes a class named the file name Then pass in {this} in the data object parameter. (havent actually tried this with a pop-up) You should be able to reliably bind: text={app.myCheckBox.selected} Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Samuel Vaz Sent: Sunday, July 03, 2005 4:53 PM To: flexcoders@yahoogroups.com Subject: RES: [flexcoders] Binding to Model in Application Maybe you are binding with property that will not change when a determinate event occurs. De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Em nome de JesterXL Enviada em: domingo, 3 de julho de 2005 14:54 Para: Flexcoders Assunto: [flexcoders] Binding to Model in Application I'm binding some CheckBox's to a Model in my Application. The CheckBox' reside in a PopUp. They reference the original model like so: mx.core.Application.application.myModel.someProperty. It works great, but I'm getting warnings saying that changes to all of my unknown properties won't trigger a change. Is this the compiler just getting confused? --JesterXL -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- 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] Flex over dialup?
Does anybody here have experience with using Flex applications over dialup? I would assume that the initial load time of the application would be the killer, but subsequent requests would be more user friendly and bandwidth friendly than a standard web page. I am interested to see if anybody has had the chance to see what the user experience is like on 56K. In aaddition to this post... does anybody know what the average file size of a flex swf is? If most of the content (i.e. jpgs, videos, and other swfs) are loaded dynmically at run-time, what is the expected file size of a standard shopping cart? Any information would be helpful... we would like to use flex, but we are worried that some users will have a hard time using our flex application over a slow connection. Thank you, Bob Remeika -- 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] Re: something going on with markme.com ?
it is available at: http://weblogs.macromedia.com/mchotin/ but...the links to download sample code are not working yet , eg. http://weblogs.macromedia.com/mchotin/files/data-1.zip this link does not work !! --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: Aye, changing servers: http://weblogs.macromedia.com/cantrell/archives/2005/07/markme_is_going.cfm - Original Message - From: Tarik Ahmed [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, July 05, 2005 11:38 AM Subject: [flexcoders] something going on with markme.com ? Hey is there something going on with markme.com? I can't seem to get to it from home, work, etc... -- 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/
[flexcoders] Java classes not found
Running RHEL 4, Apache 2, ColdFusionMX, Flex1.5 In an effort to get Flex and ColdFusion to run through port 80 with Apache, I've installed ColdFusion linked through Apache and integrated Flex with the ColdFusion installation as per Macromedia's instructions here: http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html Everything is running fine except Java classes for remote objects. The ColdFusion root is in /opt/coldfusionmx and after installing java classes into /opt/coldfusionmx/wwwroot/WEB-INF/classes I get errors that no such service is known to Flash Remoting MX. Any suggestions would be helpful, 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/
[flexcoders] Re: Flex over dialup?
I don't have any specific experience with dialup, but just like developing an HTML page thought has to go into it to ensure that the size doesn't get out of hand. The minimum size of a Flex app seems to be around 120KB.. The most complicated app I've made which is a shopping cart and checkout is only 270KB (minus videos and images which are loaded at runtime). So that's not bad. And that's in non-production mode with debug code still in place (not sure if production mode on the flex server makes a difference in the file size). And as you say, once the app is loaded the back and forth between the server is under your complete control so if dialup is a design parameter you can make sure the amount of info passed between the client and server is reasonable. Hope that helps. Jason --- In flexcoders@yahoogroups.com, Bob Remeika [EMAIL PROTECTED] wrote: Does anybody here have experience with using Flex applications over dialup? I would assume that the initial load time of the application would be the killer, but subsequent requests would be more user friendly and bandwidth friendly than a standard web page. I am interested to see if anybody has had the chance to see what the user experience is like on 56K. In aaddition to this post... does anybody know what the average file size of a flex swf is? If most of the content (i.e. jpgs, videos, and other swfs) are loaded dynmically at run-time, what is the expected file size of a standard shopping cart? Any information would be helpful... we would like to use flex, but we are worried that some users will have a hard time using our flex application over a slow connection. Thank you, Bob Remeika -- 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] Re: something going on with markme.com ?
i think its under updation --- sanjayd [EMAIL PROTECTED] wrote: it is available at: http://weblogs.macromedia.com/mchotin/ but...the links to download sample code are not working yet , eg. http://weblogs.macromedia.com/mchotin/files/data-1.zip this link does not work !! --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: Aye, changing servers: http://weblogs.macromedia.com/cantrell/archives/2005/07/markme_is_going.cfm - Original Message - From: Tarik Ahmed [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, July 05, 2005 11:38 AM Subject: [flexcoders] something going on with markme.com ? Hey is there something going on with markme.com? I can't seem to get to it from home, work, etc... -- 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 __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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] Re: something going on with markme.com ?
Yeah, the majority of the MM weblogs were migrating this weekend. Ill see if I can get the file situation fixed. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sanjayd Sent: Tuesday, July 05, 2005 11:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: something going on with markme.com ? it is available at: http://weblogs.macromedia.com/mchotin/ but...the links to download sample code are not working yet , eg. http://weblogs.macromedia.com/mchotin/files/data-1.zip this link does not work !! --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: Aye, changing servers: http://weblogs.macromedia.com/cantrell/archives/2005/07/markme_is_going.cfm - Original Message - From: Tarik Ahmed [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, July 05, 2005 11:38 AM Subject: [flexcoders] something going on with markme.com ? Hey is there something going on with markme.com? I can't seem to get to it from home, work, etc... -- 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 -- 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] Sort arrows in DataGrid
Title: RE: [flexcoders] Sort arrows in DataGrid Guys i also tried the suggested code - and guess what its not working . any updates on this one ? Shlomi From: Dirk Eismann [mailto:[EMAIL PROTECTED] On Behalf Of Dirk EismannSent: Monday, July 04, 2005 14:06To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Sort arrows in DataGrid Actually, the sortDirection thing was mentioned by Nigel Pegg (aka Component Guru) in the "Flash MX 2004 ActionScript - Training from the Source" book. I tried it in Flex a while back and it worked - so I never worried or even verified if it's documented or not. Sorry if this caused confusion. Dirk. Von: flexcoders@yahoogroups.com im Auftrag von Abdul QabizGesendet: Mo 04.07.2005 12:50An: flexcoders@yahoogroups.comBetreff: RE: [flexcoders] Sort arrows in DataGrid sortDirection was already discussed in flexcoders and I searchedarchives and pasted the same code :)I don't even look at docs, I read Dirk suggestions couple of days back.Agreed, it is not documented.Now I also search archives before answering, if I find an answer there Irefer the same...:)-abdul-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Manish JethaniSent: Monday, July 04, 2005 4:17 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Sort arrows in DataGridOn 7/4/05, Sean McKibben [EMAIL PROTECTED] wrote: Maybe these things belong in the documentation? Maybe in the FAQ?Huh, what are those? :)Okay, I think he forgot to mention that some of the properties he wasrecommending are indeed "undocumented" (they are private to thoseclasses). Note: a search for "sortArrow" at the site you provided yielded noresults (then again if I knew there was a property called sortArrow, Iwouldn't have needed to ask the question).It's there in the API docs. [1][1]:http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/DataGrid.html#sortArrowsortDirection is an internal variable the DataGrid uses to keep trackof which way to sort. It's not a part of the public API.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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] Sort arrows in DataGrid
Title: RE: [flexcoders] Sort arrows in DataGrid Can you please post your sample code? I am interested to see how you are using it. We might suggest some changes to your code. It is hard to predict what is going wrong in your code, without looking at it. Kindly, make a simple sample code example which represents your case and post here.. Thanks -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shlomi CohenSent: Wednesday, July 06, 2005 12:22 AMTo: 'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] Sort arrows in DataGrid Guys i also tried the suggested code - and guess what its not working . any updates on this one ? Shlomi From: Dirk Eismann [mailto:[EMAIL PROTECTED] On Behalf Of Dirk EismannSent: Monday, July 04, 2005 14:06To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Sort arrows in DataGrid Actually, the sortDirection thing was mentioned by Nigel Pegg (aka Component Guru) in the "Flash MX 2004 ActionScript - Training from the Source" book. I tried it in Flex a while back and it worked - so I never worried or even verified if it's documented or not. Sorry if this caused confusion. Dirk. Von: flexcoders@yahoogroups.com im Auftrag von Abdul QabizGesendet: Mo 04.07.2005 12:50An: flexcoders@yahoogroups.comBetreff: RE: [flexcoders] Sort arrows in DataGrid sortDirection was already discussed in flexcoders and I searchedarchives and pasted the same code :)I don't even look at docs, I read Dirk suggestions couple of days back.Agreed, it is not documented.Now I also search archives before answering, if I find an answer there Irefer the same...:)-abdul-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Manish JethaniSent: Monday, July 04, 2005 4:17 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Sort arrows in DataGridOn 7/4/05, Sean McKibben [EMAIL PROTECTED] wrote: Maybe these things belong in the documentation? Maybe in the FAQ?Huh, what are those? :)Okay, I think he forgot to mention that some of the properties he wasrecommending are indeed "undocumented" (they are private to thoseclasses). Note: a search for "sortArrow" at the site you provided yielded noresults (then again if I knew there was a property called sortArrow, Iwouldn't have needed to ask the question).It's there in the API docs. [1][1]:http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/DataGrid.html#sortArrowsortDirection is an internal variable the DataGrid uses to keep trackof which way to sort. It's not a part of the public API.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/__This email has been scanned by the MessageLabs Email Security System.For more information please visit http://www.messagelabs.com/email __--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- 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] embedded sounds
I'm trying to embed a number of mp3 sounds and play them back in various ways. The first way is to select the sound names from a comboBox. It's not working. So, for an embedded sound defined as: [Embed('beki1A.mp3')] var beki1A:String; I've defined the following function; var snd:Sound; function startSound(currentSound) { snd = new Sound; snd.attachSound(currentSound); snd.start(); } If I call this function with a button click, like this: mx:Button label=Start id=b1 click=startSound(beki1A); / it works fine. If I pass the value of currentSound from a comboBox, with the following function specified as the change event of the comboBox: function playSong() { var currentSound= songComboBox.selectedItem.label; startSound(currentSound); } it does not work. When I trace the value of beki1A in the buttonclick version, it has a resource prefix - and this appears to be lost when it's assigned to another variable via the comboBox. Or is it something even simpler? Where am I going wrong? - Tom -- 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] SpringBeanAdapter for Flex Flash Remoting
Hey all, Alex Cruikshank and I are picking our heads up after a couple months on our first major Flex development project. Weve got a lot to share and will be posting to the Carbon Five community site at http://www.carbonfive.com/community/. The version of Flash Remoting packaged with Flex allows you to register custom service adapters among other customizations. Ive just packaged and released an adapter implementation for Flash Remoting that provides easy integration with service beans managed by the Spring Framework. Read all about it at http://www.carbonfive.com/community/archives/2005/07/springbeanadapt.html. Comments and feedback are of course welcome. Coming soon a discussion of implementing remote services with Spring and Hibernate. Alon -- 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] Migrating from Cairngorm 0.95 to 0.99
I'm having some difficulty getting this to happen. I have a prototype app that works using 0.95, and am trying to migrate to 0.99. First, I deployed the cairngorm.swc and cairngorm-manifest.xml to their appropriate locations and edited flex-config.xml to add the new namespace entry. Then I replaced com.iterationtwo with org.nevis throughout the application and replaced the top-level CairngormApplication tag with the ordinary mx:Application tag. Of course a redeploy of everything and a server restart. The error I can't get past is: ---%snip%--- Error /WEB- INF/flex/user_classes/com/mydomain/myapp/view/AppView.mxml:10 Unknown attribute 'view' on com.mydomain.myapp.view.AppViewHelper Error Could not find class 'org.nevis.cairngorm.view.ViewHelper'... ---%snip%--- the line throwing the error is: myView:AppViewHelper id=appViewHelper view={ this } / Has anyone done a doc on migrating to 0.99 yet? Does anyone recognise the above problem from having migrated? -=Cliff -- 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] Functional/ GUI test tool for flex
Hello, Is any of you use a test framework for functional/GUI testing ? The only thing I found about test of flex application is http://www.iterationtwo.com/open_source_flexunit.html for unit test, does someone use it successfully ? Thanks in advance, kriss -- 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] embedded sounds
Close, do: snd = new Sound(this); - Original Message - From: Tom Fitzpatrick [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, July 05, 2005 5:13 PM Subject: [flexcoders] embedded sounds I'm trying to embed a number of mp3 sounds and play them back in various ways. The first way is to select the sound names from a comboBox. It's not working. So, for an embedded sound defined as: [Embed('beki1A.mp3')] var beki1A:String; I've defined the following function; var snd:Sound; function startSound(currentSound) { snd = new Sound; snd.attachSound(currentSound); snd.start(); } If I call this function with a button click, like this: mx:Button label=Start id=b1 click=startSound(beki1A); / it works fine. If I pass the value of currentSound from a comboBox, with the following function specified as the change event of the comboBox: function playSong() { var currentSound= songComboBox.selectedItem.label; startSound(currentSound); } it does not work. When I trace the value of beki1A in the buttonclick version, it has a resource prefix - and this appears to be lost when it's assigned to another variable via the comboBox. Or is it something even simpler? Where am I going wrong? - Tom -- 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] XML, PHP and Flex
yes it is called in result event handler On 7/4/05, Manish Jethani [EMAIL PROTECTED] wrote: On 7/2/05, juyalmanu [EMAIL PROTECTED] wrote: mx:HTTPService id=poster_srv url=http://localhost:8080/islab/poster.php; fault=faultHandler(event.fault.faultstring, event.fault.faultcode) result=customerData=poster_srv.result method=POST showBusyCursor=true useProxy=false / after the data is retrieved it was to supposed to be displayed in another view,(posteradminstack is the name of my ViewStack for the application). function popCustomer(){ posteradminstack.selectedChild = posterpanel; custlname.text = customerData.customer.customerfname; custlname.text = customerData.customer.customerlname; orderdate.text = customerData.customer.orderdate;} It is not populating the boxes. Everything on php side is fine. given below is code snippet When is popCustomer called? It should be called _after_ the data has been retreived (perhaps in the result event handler itself). -- 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. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 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 * 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] Printing whole lotta pages?
hi, I am having the printing problems too. I need to print a form (just one page) using print button. I am just not getting there. Can anyone please provide me a start point. --Manu On 7/5/05, Tracy Spratt [EMAIL PROTECTED] wrote: Printing in 1.5 is problematic. Unless someone has come up with a better solution, you will need to create a special print container for each multi-page control you want to print. You will only be able to print the visible part of the control, regardless of how you manipulate vPosition, so your print container needs to be the size of your page. If you get that far, the documented methods of changing the visible content and adding a page to the printJob should work. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of svktiilikainen Sent: Tuesday, July 05, 2005 10:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Printing whole lotta pages? Hi, I need to print a form having two pages. The form consists of boxes, containing layout boxes and grids, containing labels, texts etc. The contents are pretty long so that a vertical scrollbar is displayed on the form. I have studied the PrintJob class and tried various procedures with little success. How should the pages be scaled in order for them to fit to the paper (A4)? And, above all, is there any way to print the second page? Is it true that the printable contents should be visible when printing?? Now I can print (most of) the first page, with good luck, but never the second page (a blank, black page prints out). And yes, I have tried manipulating the vPosition of the VBox in question to give the PrintJob a clue as where to start the second page. This has not worked. Suggestions, anyone, please? Satu -- 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 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. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 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 * 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] Printing whole lotta pages?
Check the attached files, you can use the same strategy to print areas outside of print area/ inside a scroll bar. You can also scale the contents to the desired scaling, For printing two pages, you can call addPage two times after changing the look and feel of the page. Thanks, Nihit From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of svktiilikainen Sent: Tuesday, July 05, 2005 7:50 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Printing whole lotta pages? Hi, I need to print a form having two pages. The form consists of boxes, containing layout boxes and grids, containing labels, texts etc. The contents are pretty long so that a vertical scrollbar is displayed on the form. I have studied the PrintJob class and tried various procedures with little success. How should the pages be scaled in order for them to fit to the paper (A4)? And, above all, is there any way to print the second page? Is it true that the printable contents should be visible when printing?? Now I can print (most of) the first page, with good luck, but never the second page (a blank, black page prints out). And yes, I have tried manipulating the vPosition of the VBox in question to give the PrintJob a clue as where to start the second page. This has not worked. Suggestions, anyone, please? Satu -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- 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. Loader1.mxml Description: Loader1.mxml attachment: rover.jpg
Re: [flexcoders] Flex over dialup?
Also, here's another article discussing why it was so in Flash; keep in mind this is superceded by Flex since it adds a ton more functionality, effects, and other improvements: http://www.moock.org/blog/archives/32.html - Original Message - From: Bob Remeika [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, July 05, 2005 1:29 PM Subject: [flexcoders] Flex over dialup? Does anybody here have experience with using Flex applications over dialup? I would assume that the initial load time of the application would be the killer, but subsequent requests would be more user friendly and bandwidth friendly than a standard web page. I am interested to see if anybody has had the chance to see what the user experience is like on 56K. In aaddition to this post... does anybody know what the average file size of a flex swf is? If most of the content (i.e. jpgs, videos, and other swfs) are loaded dynmically at run-time, what is the expected file size of a standard shopping cart? Any information would be helpful... we would like to use flex, but we are worried that some users will have a hard time using our flex application over a slow connection. Thank you, Bob Remeika -- 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 over dialup?
The app's performance is not directly proportional to download speed. Download time is indirectly. Slower modem, more time to download the app; modems broadband have the exact same application running speed. I'm using a Label, DataGrid, HSlider, Button, ComboBox, CheckBox, Panel, TitleWindow, VBox, and HBox, along with some small sized codebase, and the resulting SWF is 188k. After opening up in Flash's bandwidth profiler (running at 56k [4.7kb/sec]), it takes: - 3 seconds to show the preloader - 45 seconds to fully download On slow DSL (32.6kb/sec), it takes: - 2 seconds to show the preloader - 5 seconds to fully download The majority of the filesize comes from components, in particular the image assets. Additionally, there is a large upfront cost of utilizing the Flex component framework; so dropping a Panel in an application incurs a large charge, but each additional component isn't so much because they all utilize the same framework, so the more components you add, the less impact they have on final filesize. Therefore, the number of components isn't a large factor, but rather the type... which really doesn't matter. There are a few ways to lessen the impact, such as using SharedLibraries, but this really only applies to an Enterprise Class level application; you'll be hard pressed to get passed the 53k crusp: (old) http://www.macromedia.com/devnet/mx/flash/articles/buildtest_comp_02.html Building web applications for the bandwidth challenged market is tough; .NET JVM are out of the question since they take lik 3+ hours to download where as Flash Player takes about 10 minutes over a modem, and then your app takes 45 seconds. It's tough making the business call... taking a Utilitarian approach, if the web application you provided has adequette functionality, then it's worth the 45 second hit, which caches afterwards anyway. Portraying that value beforehand to get them to think it's worth it is tough, I'm sure. Sorry I can't offer more; I usually develop for intranets or desktops, so it's either Broadband or already installed for me Good luck! - Original Message - From: Bob Remeika [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, July 05, 2005 1:29 PM Subject: [flexcoders] Flex over dialup? Does anybody here have experience with using Flex applications over dialup? I would assume that the initial load time of the application would be the killer, but subsequent requests would be more user friendly and bandwidth friendly than a standard web page. I am interested to see if anybody has had the chance to see what the user experience is like on 56K. In aaddition to this post... does anybody know what the average file size of a flex swf is? If most of the content (i.e. jpgs, videos, and other swfs) are loaded dynmically at run-time, what is the expected file size of a standard shopping cart? Any information would be helpful... we would like to use flex, but we are worried that some users will have a hard time using our flex application over a slow connection. Thank you, Bob Remeika -- 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/
[flexcoders] Flex external desktop application communication
Hello list, I know Flex excels at communicating with server-side data sources. Is there any way for a flex app to communicate with a desktop application installed on the same machine as where the app is being viewed (in a controlled kioskenvironment for e.g.) TIA, superabe -- 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] SpringBeanAdapter for Flex Flash Remoting
Anyway to have the AS files respond to Dependency Injection via the Bean files at runtime? - Original Message - From: Alon J Salant To: flexcoders@yahoogroups.com Sent: Tuesday, July 05, 2005 5:53 PM Subject: [flexcoders] SpringBeanAdapter for Flex Flash Remoting Hey all, Alex Cruikshank and I are picking our heads up after a couple months on our first major Flex development project. Weve got a lot to share and will be posting to the Carbon Five community site at http://www.carbonfive.com/community/. The version of Flash Remoting packaged with Flex allows you to register custom service adapters among other customizations. Ive just packaged and released an adapter implementation for Flash Remoting that provides easy integration with service beans managed by the Spring Framework. Read all about it at http://www.carbonfive.com/community/archives/2005/07/springbeanadapt.html. Comments and feedback are of course welcome. Coming soon a discussion of implementing remote services with Spring and Hibernate. Alon --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- 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: Migrating from Cairngorm 0.95 to 0.99
Hi Cliff, The new ViewHelper class no longer supports the view attribute as a public variable. The class now takes advantage of the built in 'id' tag, hence your ViewHelper declaration now becomes this: myView:AppViewHelper id=appViewHelper / By extending mx.core.MXMLObject the ViewHelper super class can leverage the initialized event by creating an initialized function. Rather than directly passing a reference to the component using view={this}, the initialized method already receives a 'view' object (the MXML document that created the view helper) and an 'id' which is used by the document to refer to your viewhelper object. On initialization the ViewHelper is registered with a ViewLocator and an 'unload' event is delegated to a local method which unregisters the viewhelper, allowing it to be re-registered at a later time (popup window is a good example). Good question, hope all this helps. Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, Clifford Hall [EMAIL PROTECTED] wrote: I'm having some difficulty getting this to happen. I have a prototype app that works using 0.95, and am trying to migrate to 0.99. First, I deployed the cairngorm.swc and cairngorm-manifest.xml to their appropriate locations and edited flex-config.xml to add the new namespace entry. Then I replaced com.iterationtwo with org.nevis throughout the application and replaced the top-level CairngormApplication tag with the ordinary mx:Application tag. Of course a redeploy of everything and a server restart. The error I can't get past is: ---%snip%--- Error /WEB- INF/flex/user_classes/com/mydomain/myapp/view/AppView.mxml:10 Unknown attribute 'view' on com.mydomain.myapp.view.AppViewHelper Error Could not find class 'org.nevis.cairngorm.view.ViewHelper'... ---%snip%--- the line throwing the error is: myView:AppViewHelper id=appViewHelper view={ this } / Has anyone done a doc on migrating to 0.99 yet? Does anyone recognise the above problem from having migrated? -=Cliff -- 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] How do I change the background color for text in htmlText property?
My objective is, by using the mx:Text's htmlText attribute, to display a block of text where some lines had a different background color for highlighting purposes. I tried this: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; initialize=initApp(); backgroundColor=#FF mx:Script ![CDATA[ function initApp() { txt.htmlText = I want span style='background- color:#FF'testing testing/span to have a background color of red; } ]] /mx:Script mx:Text id=txt width=100% height=100%/ /mx:Application but the above doesn't work. Does anyone have any suggestions? -- 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] embedded sounds
For fun I thought I'd test this out. The snd= new Sound(this); didn't make a difference for me, and I am able to reproduce Tom's problem. [Embed('test1.mp3')] var soundSymbol1:String; [Embed('test2.mp3')] var soundSymbol2:String; function playSong() { var currentSound= songComboBox.selectedItem.value; startSound(currentSound); } mx:ComboBox id=songComboBox change=playSong() dataProvider={mySamples.option} labelField=label/ Basically when you do a startSound(beki1A);- beki1A is = to something like __Resources.1387713460.beki1A_mp3 So your combo box would have to contain whatever the value of the name of the variable that your songComboBox.selectedItem.value is equal to. In CF you'd use the Evaluate function to do that, I did a little hacking and found that this did the job: function playSong() { var currentSound= songComboBox.selectedItem.label; var playThis = eval(currentSound); startSound(playThis); } Full working example attached (except for mp3s). JesterXL wrote: Close, do: snd = new Sound(this); - Original Message - From: Tom Fitzpatrick [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, July 05, 2005 5:13 PM Subject: [flexcoders] embedded sounds I'm trying to embed a number of mp3 sounds and play them back in various ways. The first way is to select the sound names from a comboBox. It's not working. So, for an embedded sound defined as: [Embed('beki1A.mp3')] var beki1A:String; I've defined the following function; var snd:Sound; function startSound(currentSound) { snd = new Sound; snd.attachSound(currentSound); snd.start(); } If I call this function with a button click, like this: mx:Button label=Start id=b1 click=startSound(beki1A); / it works fine. If I pass the value of currentSound from a comboBox, with the following function specified as the change event of the comboBox: function playSong() { var currentSound= songComboBox.selectedItem.label; startSound(currentSound); } it does not work. When I trace the value of beki1A in the buttonclick version, it has a resource prefix - and this appears to be lost when it's assigned to another variable via the comboBox. Or is it something even simpler? Where am I going wrong? - Tom -- 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/ mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=* mx:Script ![CDATA[ var snd:Sound; [Embed('test1.mp3')] var soundSymbol1:String; [Embed('test2.mp3')] var soundSymbol2:String; function startSound(playme) { snd = new Sound; snd.attachSound(playme); snd.start(); } function stopSound() { snd.stop(); } function playSong() { var currentSound= songComboBox.selectedItem.value; var playThis = eval(currentSound); startSound(playThis); } ]] /mx:Script mx:Model id=mySamples option value= label=/ option value=soundSymbol1 label=soundSymbol1/ option value=soundSymbol2 label=soundSymbol2/ /mx:Model mx:VBox mx:Button label=Start id=b1 click=startSound(soundSymbol2); / mx:Button label=Stop id=b2 click=stopSound(); / mx:ComboBox id=songComboBox change=playSong() dataProvider={mySamples.option} labelField=label/ /mx:VBox /mx:Application
[flexcoders] sample code to subClass DataGrid
Can somebody please post some sample code (or a link to sample code) that extends DataGrid..or, maybe, somebody can look at this code (see below), and tell me how to fix these compile errors: the error -- 1 Error, 1 Warning found. Warning /PagedDataGrid.as:21 The function, init, hides a function in ancestor class, 'mx.controls.DataGrid'. The return type, no type, is not assignable to the return type, Void. To override a function, the parameter types and return type must be assignable to the parameter types and return type of the overridden function. Error /Rates.mxml:138 Don't know how to parse element http://www.macromedia.com/2003/mxml:columns;. It is not a known type or a property of PagedDataGrid. -- PagedDataGrid.as --- import mx.controls.DataGrid; import mx.controls.List; import mx.controls.gridclasses.DataGridColumn; import mx.controls.gridclasses.DataGridRow; import mx.effects.Tween; class PagedDataGrid extends DataGrid { function PagedDataGrid() { } function init() { super.init(); } // Scoped to the cell editor. listOwner is the grid function editorKeyDown(Void) : Void { if (Key.isDown(Key.ESCAPE)) { this.listOwner.disposeEditor(); } else if (Key.isDown(Key.ENTER) Key.getCode() != 229) { this.listOwner.editCell(); this.listOwner.findNextEnterCell(); }else if(Key.isDown(Key.UP) || Key.isDown(Key.DOWN)){ this.listOwner.editCell(); this.listOwner.findNextUpDownCell(); } } // find the next cell within the row from the currently edited cell, and focus it. function findNextUpDownCell(Void) : Void { // modify direction with SHIFT (up or down) var incr : Number = (Key.isDown(Key.UP)) ? -1 : 1; var newIndex : Number = __focusedCell.itemIndex + incr; // only move if we're within range if (newIndexgetLength() newIndex=0) { __focusedCell.itemIndex = newIndex; } setFocusedCell(__focusedCell, true); } // find the next cell within the row from the currently edited cell, and focus it. function findNextEnterCell(Void) : Void { // modify direction with SHIFT (up or down) var incr : Number = (Key.isDown(Key.SHIFT)) ? -1 : 1; var newIndex : Number = __focusedCell.columnIndex + incr; // only move if we're within range if (newIndexcolumns.length newIndex=0) { __focusedCell.columnIndex = newIndex; } setFocusedCell(__focusedCell, true); } } --- Rates.mxml --- Usage: mine:PagedDataGrid id=dgRepoRates height=100% width=100% headerHeight=40 dataProvider={gridElementObjectsArray} editable=true !-- line #138 -- mx:columns mx:Array mx:DataGridColumn columnName=secID headerText=SecID editable=false/ mx:DataGridColumn columnName=secDesc headerText=Sec Desc editable=false width=140/ mx:DataGridColumn columnName=secType headerText=Sec Type editable=false/ mx:DataGridColumn columnName=fundingMethod headerText=Funding Method editable=false/ /mx:Array /mx:columns /mine:PagedDataGrid --- -- 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] Re: sample code to subClass DataGrid
Gday, As for your first eror on function init, be sure to type it with a return type of void -- function init():Void -- Regarding the mx:columns error, I'm assuming you are including the mx namespace where you are using your PagedDataGrid as well. For a reference of an extended datagrid, take a look at Jim Liang's WG DataGrid http://www.mail-archive.com/flexcoders@yahoogroups.com/msg06733.html Cheers, Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, sanjayd [EMAIL PROTECTED] wrote: Can somebody please post some sample code (or a link to sample code) that extends DataGrid..or, maybe, somebody can look at this code (see below), and tell me how to fix these compile errors: the error -- 1 Error, 1 Warning found. Warning /PagedDataGrid.as:21 The function, init, hides a function in ancestor class, 'mx.controls.DataGrid'. The return type, no type, is not assignable to the return type, Void. To override a function, the parameter types and return type must be assignable to the parameter types and return type of the overridden function. Error /Rates.mxml:138 Don't know how to parse element http://www.macromedia.com/2003/mxml:columns;. It is not a known type or a property of PagedDataGrid. -- PagedDataGrid.as --- import mx.controls.DataGrid; import mx.controls.List; import mx.controls.gridclasses.DataGridColumn; import mx.controls.gridclasses.DataGridRow; import mx.effects.Tween; class PagedDataGrid extends DataGrid { function PagedDataGrid() { } function init() { super.init(); } // Scoped to the cell editor. listOwner is the grid function editorKeyDown(Void) : Void { if (Key.isDown(Key.ESCAPE)) { this.listOwner.disposeEditor(); } else if (Key.isDown(Key.ENTER) Key.getCode() != 229) { this.listOwner.editCell(); this.listOwner.findNextEnterCell(); }else if(Key.isDown(Key.UP) || Key.isDown(Key.DOWN)){ this.listOwner.editCell(); this.listOwner.findNextUpDownCell(); } } // find the next cell within the row from the currently edited cell, and focus it. function findNextUpDownCell(Void) : Void { // modify direction with SHIFT (up or down) var incr : Number = (Key.isDown(Key.UP)) ? -1 : 1; var newIndex : Number = __focusedCell.itemIndex + incr; // only move if we're within range if (newIndexgetLength() newIndex=0) { __focusedCell.itemIndex = newIndex; } setFocusedCell(__focusedCell, true); } // find the next cell within the row from the currently edited cell, and focus it. function findNextEnterCell(Void) : Void { // modify direction with SHIFT (up or down) var incr : Number = (Key.isDown(Key.SHIFT)) ? -1 : 1; var newIndex : Number = __focusedCell.columnIndex + incr; // only move if we're within range if (newIndexcolumns.length newIndex=0) { __focusedCell.columnIndex = newIndex; } setFocusedCell(__focusedCell, true); } } --- Rates.mxml --- Usage: mine:PagedDataGrid id=dgRepoRates height=100% width=100% headerHeight=40 dataProvider={gridElementObjectsArray} editable=true !-- line #138 --mx:columns mx:Array mx:DataGridColumn columnName=secID headerText=SecID editable=false/ mx:DataGridColumn columnName=secDesc headerText=Sec Desc editable=false width=140/ mx:DataGridColumn columnName=secType headerText=Sec Type editable=false/ mx:DataGridColumn columnName=fundingMethod headerText=Funding Method editable=false/ /mx:Array /mx:columns /mine:PagedDataGrid --- -- 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 external desktop application communication
superabe wrote: I know Flex excels at communicating with server-side data sources. Is there any way for a flex app to communicate with a desktop application installed on the same machine as where the app is being viewed (in a controlled kiosk environment for e.g.) Key concept: You may develop a SWF in any of several ways, but this file runs within the Macromedia Flash Player, usually (but not necessarily) in a browser. So this becomes: Can plugins in browsers invoke executable code on the desktop? The answer to this is Not usually, because of the severe security risks this implies -- document browsers are designed to promiscuously visit site after site after site, so there is great risk in letting things on your hard drive invisibly execute. I don't know what type of communication you're seeking -- data exchange, switch of focus, one-way web service -- there could be ways to achieve the goal, depending on just what that goal was. Sorry I don't have a useful here ya go! answer, but the above is the background towards finding it. jd -- John Dowdell . Macromedia Developer Support . San Francisco CA USA Weblog: http://www.macromedia.com/go/blog_jd Aggregator: http://www.macromedia.com/go/weblogs Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, 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] embedded sounds
Awesome. Thanks Tarik! - Tom At 06:46 PM 7/5/2005, you wrote: For fun I thought I'd test this out. The snd= new Sound(this); didn't make a difference for me, and I am able to reproduce Tom's problem. [Embed('test1.mp3')] var soundSymbol1:String; [Embed('test2.mp3')] var soundSymbol2:String; function playSong() { var currentSound= songComboBox.selectedItem.value; startSound(currentSound); } mx:ComboBox id=songComboBox change=playSong() dataProvider={mySamples.option} labelField=label/ Basically when you do a startSound(beki1A);- beki1A is = to something like __Resources.1387713460.beki1A_mp3 So your combo box would have to contain whatever the value of the name of the variable that your songComboBox.selectedItem.value is equal to. In CF you'd use the Evaluate function to do that, I did a little hacking and found that this did the job: function playSong() { var currentSound= songComboBox.selectedItem.label; var playThis = eval(currentSound); startSound(playThis); } Full working example attached (except for mp3s). JesterXL wrote: Close, do: snd = new Sound(this); - Original Message - From: Tom Fitzpatrick [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, July 05, 2005 5:13 PM Subject: [flexcoders] embedded sounds I'm trying to embed a number of mp3 sounds and play them back in various ways. The first way is to select the sound names from a comboBox. It's not working. So, for an embedded sound defined as: [Embed('beki1A.mp3')] var beki1A:String; I've defined the following function; var snd:Sound; function startSound(currentSound) { snd = new Sound; snd.attachSound(currentSound); snd.start(); } If I call this function with a button click, like this: mx:Button label=Start id=b1 click=startSound(beki1A); / it works fine. If I pass the value of currentSound from a comboBox, with the following function specified as the change event of the comboBox: function playSong() { var currentSound= songComboBox.selectedItem.label; startSound(currentSound); } it does not work. When I trace the value of beki1A in the buttonclick version, it has a resource prefix - and this appears to be lost when it's assigned to another variable via the comboBox. Or is it something even simpler? Where am I going wrong? - Tom -- 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 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=* mx:Script ![CDATA[ var snd:Sound; [Embed('test1.mp3')] var soundSymbol1:String; [Embed('test2.mp3')] var soundSymbol2:String; function startSound(playme) { snd = new Sound; snd.attachSound(playme); snd.start(); } function stopSound() { snd.stop(); } function playSong() { var currentSound= songComboBox.selectedItem.value; var playThis = eval(currentSound); startSound(playThis); } ]] /mx:Script mx:Model id=mySamples option value= label=/ option value=soundSymbol1 label=soundSymbol1/ option value=soundSymbol2 label=soundSymbol2/ /mx:Model mx:VBox mx:Button label=Start id=b1 click=startSound(soundSymbol2); / mx:Button label=Stop id=b2 click=stopSound(); / mx:ComboBox id=songComboBox change=playSong() dataProvider={mySamples.option} labelField=label/ /mx:VBox /mx:Application -- 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] Re: sample code to subClass DataGrid
okay, so, how do I get rid of this: the error -- 1 Error found. Error /Rates.mxml:138 Don't know how to parse element http://www.macromedia.com/2003/mxml:columns;. It is not a known type or a property of PagedDataGrid. - Rates.mxml mx:Application initialize=initApp() xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:mine=* . . . . mine:PagedDataGrid id=dgRepoRates height=100% width=100% headerHeight=40 dataProvider={gridElementObjectsArray} editable=true !-- next line is line#138 -- mx:columns mx:Array mx:DataGridColumn columnName=secID headerText=SecID/ mx:DataGridColumn columnName=secDesc headerText=Sec Desc editable=false width=140/ mx:DataGridColumn columnName=secType headerText=Sec Type editable=false/ mx:DataGridColumn columnName=fundingMethod headerText=Funding Method editable=false/ /mx:Array /mx:columns /mine:PagedDataGrid . . . . -- 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] SpringBeanAdapter for Flex Flash Remoting
I dont understand your question. This is a server-side component. What are you looking for in regards to AS files? Alon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Tuesday, July 05, 2005 3:20 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] SpringBeanAdapter for Flex Flash Remoting Anyway to have the AS files respond to Dependency Injection via the Bean files at runtime? - Original Message - From: Alon J Salant To: flexcoders@yahoogroups.com Sent: Tuesday, July 05, 2005 5:53 PM Subject: [flexcoders] SpringBeanAdapter for Flex Flash Remoting Hey all, Alex Cruikshank and I are picking our heads up after a couple months on our first major Flex development project. Weve got a lot to share and will be posting to the Carbon Five community site at http://www.carbonfive.com/community/. The version of Flash Remoting packaged with Flex allows you to register custom service adapters among other customizations. Ive just packaged and released an adapter implementation for Flash Remoting that provides easy integration with service beans managed by the Spring Framework. Read all about it at http://www.carbonfive.com/community/archives/2005/07/springbeanadapt.html. Comments and feedback are of course welcome. Coming soon a discussion of implementing remote services with Spring and Hibernate. Alon -- 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] Flex external desktop application communication
Further, A Flex client app can communicate up to its host Browser, in several ways. So, if you can put an activeX control, or a signed applet, or some other sandbox breaker into your html host page, you can communicate with it fairly easily. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John Dowdell Sent: Tuesday, July 05, 2005 8:01 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex external desktop application communication superabe wrote: I know Flex excels at communicating with server-side data sources. Is there any way for a flex app to communicate with a desktop application installed on the same machine as where the app is being viewed (in a controlled kiosk environment for e.g.) Key concept: You may develop a SWF in any of several ways, but this file runs within the Macromedia Flash Player, usually (but not necessarily) in a browser. So this becomes: Can plugins in browsers invoke executable code on the desktop? The answer to this is Not usually, because of the severe security risks this implies -- document browsers are designed to promiscuously visit site after site after site, so there is great risk in letting things on your hard drive invisibly execute. I don't know what type of communication you're seeking -- data exchange, switch of focus, one-way web service -- there could be ways to achieve the goal, depending on just what that goal was. Sorry I don't have a useful here ya go! answer, but the above is the background towards finding it. jd -- John Dowdell . Macromedia Developer Support . San Francisco CA USA Weblog: http://www.macromedia.com/go/blog_jd Aggregator: http://www.macromedia.com/go/weblogs Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, 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/
[flexcoders] Re: setUsernamePassword on RemoteObject
Thanks Pete, That worked a charm. Im using the setCredentials method on the connection. Too bad there doesnt seem to be a clear method of sorts on the NetConnection, or even a removeHeader function, so I'm setting the creditials again with blank strings as my clear technique. cheers, Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Credentials sent in custom manner are never sent using HTTP Headers. The information is contained within the AMF/HTTP POST body. The Flex-only API, setUsernamePassword, works on a per request basis and sends credential information inside a special Flex Envelope type which can have per-request headers. The legacy Flash Remoting setCredentials API worked on a per AMF packet basis (which potentially contained a batch of several requests as per NetConnection) and was sent as an AMF Header. Either way, you can only have one J2EE or CF session per connection, and connections are pooled on endpoint URI in Flex. So it should be fine for you to use the old setCredentials() API in most cases. You could just call setCredentials() on the RemoteObject connection property yourself... it simply sets an AMF Header on the underlying NetConnection with an anonymous object that has two properties 'userid' and 'password'. addHeader(Credentials, false, {userid: userId, password: password}); -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Spaulding Sent: Tuesday, July 05, 2005 3:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: setUsernamePassword on RemoteObject Thanks Vinny, Im assuming theres no workaround for this? Im probably just gonna pass the username and password as variables with each call then. Im using the cairngorm framework and I have a delegate super class so I can hide it all in there ;) cheers, Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, Vinny Timmermans [EMAIL PROTECTED] wrote: This is a known bug in Flex 1.5. The setUsernamePassword API is not connected to CFLOGIN. Hope they will fix it in Flex 2. Vinny -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Spaulding Sent: dinsdag 5 juli 2005 04:38 To: flexcoders@yahoogroups.com Subject: [flexcoders] setUsernamePassword on RemoteObject Hi, I'm trying to use the flash remoting setCredentials equivalent in flex to send a username and password with my remote object requests. I can see the Credentials being set in the header when i view the traffic in the netConnectionDebugger, but nothing seems to be in the http header, and hence is not picked up in cflogin Any ideas? Andrew Spaulding www.flexdaddy.info -- 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/
RE: [flexcoders] Re: sample code to subClass DataGrid
The XML prefix for your properties must match the parent tag. So you should use mine:columns instead of mx:columns. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sanjayd Sent: Tuesday, July 05, 2005 5:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: sample code to subClass DataGrid okay, so, how do I get rid of this: the error -- 1 Error found. Error /Rates.mxml:138 Don't know how to parse element http://www.macromedia.com/2003/mxml:columns. It is not a known type or a property of PagedDataGrid. - Rates.mxml mx:Application initialize=initApp() xmlns:mx=http://www.macromedia.com/2003/mxml xmlns:mine=* . . . . mine:PagedDataGrid id=dgRepoRates height=100% width=100% headerHeight=40 dataProvider={gridElementObjectsArray} editable=true !-- next line is line#138 -- mx:columns mx:Array mx:DataGridColumn columnName=secID headerText=SecID/ mx:DataGridColumn columnName=secDesc headerText=Sec Desc editable=false width=140/ mx:DataGridColumn columnName=secType headerText=Sec Type editable=false/ mx:DataGridColumn columnName=fundingMethod headerText=Funding Method editable=false/ /mx:Array /mx:columns /mine:PagedDataGrid . . . . -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com -- 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.