RE : [flexcoders] startDrag() not working
It doesn' t work in a Canvas either, that is what I was trying to do in first place, been looking in the archives too. I won't ask why, I supposed that as playing in the flash player sandbox, apply a startDrag() on a MovieClip wouldn't be voodoo ;) but I was wrong. I will go the Manish way, clean and simple, thanks a lot. Cheers, Philippe De: flexcoders@yahoogroups.com de la part de Abdul Qabiz Date: mer. 3/08/2005 17:23 À: flexcoders@yahoogroups.com Objet : RE: [flexcoders] startDrag() not working Hi, Put Image in Canvas container, your code should work. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; width=100% height=100% mx:Canvas width=100% height=100% mx:Image contentPath=ph_1.jpg id=ph_1_mc width=100 height=100 mouseDown=event.target.startDrag(); mouseUp=event.target.stopDrag()/\ /mx:Canvas /mx:Application Search the archives also, in case you have further queries. I had posted a drag and drop example using startDrag(..) and stopDrag(..). I believe, there are better ways of doing drag-drop in flex. -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Philippe Maegerman Sent: Wednesday, August 03, 2005 8:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] startDrag() not working Hi, trying to implement drag functions to move images in a configurator but my code doesn't seem to do anything. Here's an example code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; width=100% height=100% mx:Image contentPath=ph_1.jpg id=ph_1_mc width=100 height=100 mouseDown=event.target.startDrag(); mouseUp=event.target.stopDrag()/ /mx:Application If I use event.target.startDrag(true), it will move its origin to the mouse, first that's not what I'm looking for, second it doesn't even drag after moving :((( This was something piece of cake in flash, what am I doing wrong? Philippe Maegerman -- **STATEMENT OF CONFIDENTIALITY** This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited. We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus. -- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing http://groups.yahoo.com/gads?t=msk=Computer+software+testingw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=kh2CguJwmatU5oBXjFo9Rg Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=dAUcEV7do91-wrRtVS641g Development http://groups.yahoo.com/gads?t=msk=Developmentw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=AlxNUQBOI7Io7S7nhmxV0Q Software developer http://groups.yahoo.com/gads?t=msk=Software+developerw1=Computer+software+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93.sig=QWIit8JayomoIHLVkV3FDg 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/ . Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hi8gkjl/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123096669/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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:
Re: [flexcoders] Editable ComboBox Display Problem
On 8/3/05, matthew_zju [EMAIL PROTECTED] wrote: Listed is a simple case, mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:ComboBox width=120 editable=true mx:dataProvider mx:Array mx:Object label=Engineering / mx:Object label=Product Management / mx:Object label=Marketing / /mx:Array /mx:dataProvider /mx:ComboBox /mx:Application For example, when select Product Management, the text field value is Management. Any ideas? Workaround: mx:ComboBox width=120 editable=true change=doLater(Selection, 'setSelection', [0, 0]) Manish Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hrrmnp3/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123098715/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] Performace please some suggestion
On 8/2/05, devis [EMAIL PROTECTED] wrote: Hi, if you can see my code, work fine ok, but when flex go to render the performance it's very very slow. function Init_Taglie() { dgmisure.removeAllColumns(); myColumn= new DataGridColumn(); myColumn.headerText = Stato; myColumn.width=50; myColumn.columnName=strecz; dgmisure.addColumn(myColumn); [...] Does creating the columns array first and then setting them all at once help? var columns:Array = []; // build array dgmisure.columns = columns; Manish Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h2mg9ib/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123098980/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- 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] startDrag() not working
Hi Philippe, You can probably try using a HorizontalList with a cellrenderer. You can then use implement Action Scripts functions for the drag and drop events. The Flex store that comes with the examples shows how to do that. Philippe Maegerman To: flexcoders@yahoogroups.com [EMAIL PROTECTED] cc: Sent by: Subject: RE : [flexcoders] startDrag() not working flexcoders@yahoogroups.com 08/03/2005 01:17 PM Please respond to flexcoders Sun Life Financial: An attachment named WINMAIL.DAT was removed. It doesn' t work in a Canvas either, that is what I was trying to do in first place, been looking in the archives too. I won't ask why, I supposed that as playing in the flash player sandbox, apply a startDrag() on a MovieClip wouldn't be voodoo ;) but I was wrong. I will go the Manish way, clean and simple, thanks a lot. Cheers, Philippe De: flexcoders@yahoogroups.com de la part de Abdul Qabiz Date: mer. 3/08/2005 17:23 À: flexcoders@yahoogroups.com Objet : RE: [flexcoders] startDrag() not working Hi, Put Image in Canvas container, your code should work. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; width=100% height=100% mx:Canvas width=100% height=100% mx:Image contentPath=ph_1.jpg id=ph_1_mc width=100 height=100 mouseDown=event.target.startDrag(); mouseUp=event.target.stopDrag()/\ Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hh3ed0m/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123099048/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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: hideEffect and deletePopUp
On 8/3/05, zipo13 [EMAIL PROTECTED] wrote: I have another problem because of this - since the effect I'm using is actually a Sequence of effects how do I know when the last effect was executed. I thought about counting the number of times the end effect method is called but I just doesn't feel right. I would just do it in the effectEnd event of the last effect in the Sequence. Manish Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hl79p6a/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123099160/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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 : RE : [flexcoders] startDrag() not working
I am no trying to drag items from a component to another in fact. I have a canvas with several 'layers' and I need to be able to reposition one of them. The nice thing with startDrag() and stopDrag() is that it's short syntax, and you have the ability to specify a constraint rectangle in the parameters. Thank you for the suggestion, Philippe De: flexcoders@yahoogroups.com de la part de [EMAIL PROTECTED] Date: mer. 3/08/2005 19:53 À: flexcoders@yahoogroups.com Objet : RE : [flexcoders] startDrag() not working Hi Philippe, You can probably try using a HorizontalList with a cellrenderer. You can then use implement Action Scripts functions for the drag and drop events. The Flex store that comes with the examples shows how to do that. Philippe Maegerman To: flexcoders@yahoogroups.com [EMAIL PROTECTED] cc: Sent by: Subject: RE : [flexcoders] startDrag() not working flexcoders@yahoogroups.com 08/03/2005 01:17 PM Please respond to flexcoders Sun Life Financial: An attachment named WINMAIL.DAT was removed. It doesn' t work in a Canvas either, that is what I was trying to do in first place, been looking in the archives too. I won't ask why, I supposed that as playing in the flash player sandbox, apply a startDrag() on a MovieClip wouldn't be voodoo ;) but I was wrong. I will go the Manish way, clean and simple, thanks a lot. Cheers, Philippe De: flexcoders@yahoogroups.com de la part de Abdul Qabiz Date: mer. 3/08/2005 17:23 À: flexcoders@yahoogroups.com Objet : RE: [flexcoders] startDrag() not working Hi, Put Image in Canvas container, your code should work. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; width=100% height=100% mx:Canvas width=100% height=100% mx:Image contentPath=ph_1.jpg id=ph_1_mc width=100 height=100 mouseDown=event.target.startDrag(); mouseUp=event.target.stopDrag()/\ -- 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/ . -- **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. -- Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12ht3v732/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123099862/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- Flexcoders Mailing List FAQ:
[flexcoders] Array of VOs class loading issue
I'm getting an error when working with a VO that is an array of VOs. The error is The class 'myV0' could not be loaded. The class is clearly imported. What am I missing? Code for the myListVO.as import org.nevis.cairngorm.vo.ValueObject; import com.company.app.vo.myVO; class com.company.app.vo.myListVO implements ValueObject { public static function fromXML( xml:Object ) : myListVO { var newObj = new myListVO; var displayOrder:Number; /*error on this line*/ var test:myV0 = new myV0; ... return newObj; } public var qArray:Array = new Array(); } -- Regards, Rob Rusher Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h35sfji/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123100155/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] Manish Custom DateField
On 8/2/05, joao_m_fernandes [EMAIL PROTECTED] wrote: Manish posted this custom Editable Datefield ( http://manish.revise.org/archives/2005_04_01_archive.html ) wich is very usefull but when editing the field it doesn't dispatch de correct change event. If I pick the date from the pulldown it does dispatch the change event correctly but if I edit it, selectedDate is set but no event is dispatched. if (!_showingPullDown __dateFunction != undefined) { pullDown.selectedDate = __dateFunction(text_mc.text); dispatchEvent({ type: change }); } You can dispatch the change event there. I tried to force the dispatch Event but with no luck , i'm getting a weird behavior, the textfield is overwriten. It works for me. Try this specific code and see if it's still giving weird behaviour. Manish Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hgrb1qu/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123100429/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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] Array of VOs class loading issue
myV0 != myVO One is a zero, the other is the letter o, right? - Original Message - From: Rob Rusher [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, August 03, 2005 2:15 PM Subject: [flexcoders] Array of VOs class loading issue I'm getting an error when working with a VO that is an array of VOs. The error is The class 'myV0' could not be loaded. The class is clearly imported. What am I missing? Code for the myListVO.as import org.nevis.cairngorm.vo.ValueObject; import com.company.app.vo.myVO; class com.company.app.vo.myListVO implements ValueObject { public static function fromXML( xml:Object ) : myListVO { var newObj = new myListVO; var displayOrder:Number; /*error on this line*/ var test:myV0 = new myV0; ... return newObj; } public var qArray:Array = new Array(); } -- Regards, Rob Rusher -- 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hf180e8/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123100466/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] How to handle a returned Java Collection in Flex - RemoteObject call
Can you post your code snippet? What you described in your email is right way and should work if your code is doing right thing. Thanks From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, August 03, 2005 9:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to handle a returned Java Collection in Flex - RemoteObject call I have a Java function that returns a Collection of VOs. I declared a RemoteObject in Flex, and tried to assign the event.result to an Array variable, but it actually didn't work. I want to use this data as the DataProvider of ComboBoxes, or List, etc. How can I read this data in Flex? Thanks, -Oscar. --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- -- 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] Array of VOs class loading issue
I think your are missing the parenthesis... var test:myV0 = new myV0(); JesterXLTo: flexcoders@yahoogroups.com [EMAIL PROTECTED]cc: Sent by: Subject: Re: [flexcoders] Array of VOs class loading issue flexcoders@yahoogroups.com 08/03/2005 02:20 PM Please respond to flexcoders myV0 != myVO One is a zero, the other is the letter o, right? - Original Message - From: Rob Rusher [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, August 03, 2005 2:15 PM Subject: [flexcoders] Array of VOs class loading issue I'm getting an error when working with a VO that is an array of VOs. The error is The class 'myV0' could not be loaded. The class is clearly imported. What am I missing? Code for the myListVO.as import org.nevis.cairngorm.vo.ValueObject; import com.company.app.vo.myVO; class com.company.app.vo.myListVO implements ValueObject { public static function fromXML( xml:Object ) : myListVO { var newObj = new myListVO; var displayOrder:Number; /*error on this line*/ var test:myV0 = new myV0; ... return newObj; } public var qArray:Array = new Array(); } -- Regards, Rob Rusher -- 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 --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h1akkes/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123100910/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] Loading MXML via JSP on WebLogic
Hi guys, We are just getting ready to deploy a new Flex app and we encountered something we did not in our previous endeavors. This new Flex app is located inside a JSP page and seems to take a good 45 secs to load, if you access the MXML directly it comes up in 4 secs or so. In a previous app, we had the same setup but it loads quickly. The only difference here is the new app is running on WebLogic 8.1 SP3 and existing Flex app runs on JRun 4 SP5. Anyone else encounter this problem? It is a two server cluster. On local PCs this works fine... Occurs for both Flash Player 7 and 8 beta. Thanks for any help! Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. -- 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] Array of VOs class loading issue
var test:myVO = new myVO; gives this error The class 'myV0' could not be loaded. var test = new myVO; gives this error There is no method with the name 'myVO'. Adding the parenthesis has no effect. (e.g. new myVO()) Regards, Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Wednesday, August 03, 2005 2:20 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Array of VOs class loading issue myV0 != myVO One is a zero, the other is the letter o, right? - Original Message - From: Rob Rusher [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, August 03, 2005 2:15 PM Subject: [flexcoders] Array of VOs class loading issue I'm getting an error when working with a VO that is an array of VOs. The error is The class 'myV0' could not be loaded. The class is clearly imported. What am I missing? Code for the myListVO.as import org.nevis.cairngorm.vo.ValueObject; import com.company.app.vo.myVO; class com.company.app.vo.myListVO implements ValueObject { public static function fromXML( xml:Object ) : myListVO { var newObj = new myListVO; var displayOrder:Number; /*error on this line*/ var test:myV0 = new myV0; ... return newObj; } public var qArray:Array = new Array(); } -- Regards, Rob Rusher -- 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hmpa9n8/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123101462/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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: Installing Flex CF
Jeff, I've tried this on multiple machines and tried following the directions at http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html and while it serves up CF and MXML pages fine, Remote Objects are Web Services don't work. Web services give Could not load WSDL and with ColdFusion 6.1, I get errors for Remote Objects that the service is not know to Flash Remoting MX. (Remote Objects work with ColdFusion 7, but not Web Services) Any tips? --- In flexcoders@yahoogroups.com, Jeff Steiner [EMAIL PROTECTED] wrote: The way that I do it? I install CF 6.1 / or 7 Enterprise as a self contained server. I either point it at IIS or at Apache (depending upon which machine I installed it on). That installs (assuming Windows) JRun as the server with CF integrated to x:\cfusionmx. That actually sets up your machine to now accept everything on port 80 through IIS - your extensions are routed through jrun.dll. Now - install Flex J2EE style (without the testing server) and find flex.war in the install directory. Extract flex.war to c:\temp and you should see 2 directories; web-inf and meta-inf. Disregard meta-inf and delve into the web-inf directory. Copy the Flex directory to c:\cfusionmx\wwwroot\web-inf and do the same with the libs directory contents (to the same wwwroot\web-inf\libs\*. Now comes the fun part. Merge web.xml following the directions that you can find in multiple locations on the web - including locations earlier in this chain of emails. After doing so - restart the ColdFusion service and head into IIS Configuration Manager. Under properties of your website, find the configuration button and add the file extensions .mxml and .swf to point at the same jrun.dll that .cfm is pointing to. At this point I restart the website and viola - should serve up your mxml pages right away. The above makes it so that you can drop every file into the same directory and call them like a normal file (without regard to port number) Jeff Founder Flex Authority http://www.flexauthority.com http://www.flexauthority.com We are actively seeking contributors for the site. Have a sample that you want to share with the world? Send it to us! Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hr5hb1e/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123102004/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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 Install on IIS
Title: Message Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html, restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error Either the Macromedia application server is unreachable or it does not have a mapping to process this request. Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Wednesday, August 03, 2005 9:54 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS No, because you're running CF/Flex using a connector. If you're running CF/Flex integrated, your top level MXML files would reside right in your webroot of IIS. If you wish to build a mxml/AS class hierarchy, these would normally reside in c:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\user_classes. You can change this location by editing flex-config.xml. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 12:45 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS Ok, so if I understood this article correct then it means that I can install Flex to run under CF, which is running with IIS and Ill be able to get to the flex apps. I can store my files under c:\jrun4\servers\flex\appName and I can get to it by http://localhost/appName, right? Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ashish Goyal Sent: Wednesday, August 03, 2005 9:31 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS This technote should help http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 9:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Install on IIS Hi all, How do I install Flex with IIS? CF is already configured to run under IIS. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Flex Install on IIS
If you are running Standalone Install of ColdFusion and integrated Flex, you need to put the Flex files in your ISS webroot (default c:\inetpub\wwwroot) --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ Either the Macromedia application server is unreachable or it does not have a mapping to process this request. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Wednesday, August 03, 2005 9:54 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS No, because you're running CF/Flex using a connector. If you're running CF/Flex integrated, your top level MXML files would reside right in your webroot of IIS. If you wish to build a mxml/AS class hierarchy, these would normally reside in c:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\user_classes. You can change this location by editing flex-config.xml. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 12:45 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS Ok, so if I understood this article correct then it means that I can install Flex to run under CF, which is running with IIS and I'll be able to get to the flex apps. I can store my files under c:\jrun4\servers\flex\appName and I can get to it by http://localhost/appName http://localhost/appName , right? Thanks Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ashish Goyal Sent: Wednesday, August 03, 2005 9:31 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS This technote should help http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 -Ashish _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 9:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Install on IIS Hi all, How do I install Flex with IIS? CF is already configured to run under IIS. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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! http://docs.yahoo.com/info/terms/ Terms of Service. _ Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hn9g7gf/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123102763/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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 Install on IIS
With an integrated installation of CF/Flex you need to put your pages in IIS Webroot ( default C:\inetpub\wwwroot ) --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ Either the Macromedia application server is unreachable or it does not have a mapping to process this request. Agha Mehdi IDT - eBusiness Program Manager Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hiqp0io/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123102798/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- 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 Install on IIS
I suspect you haven't configured the IIS web connectior. Valy --- Mehdi, Agha [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ Either the Macromedia application server is unreachable or it does not have a mapping to process this request. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Wednesday, August 03, 2005 9:54 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS No, because you're running CF/Flex using a connector. If you're running CF/Flex integrated, your top level MXML files would reside right in your webroot of IIS. If you wish to build a mxml/AS class hierarchy, these would normally reside in c:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\user_classes. You can change this location by editing flex-config.xml. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 12:45 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS Ok, so if I understood this article correct then it means that I can install Flex to run under CF, which is running with IIS and I'll be able to get to the flex apps. I can store my files under c:\jrun4\servers\flex\appName and I can get to it by http://localhost/appName http://localhost/appName , right? Thanks Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ashish Goyal Sent: Wednesday, August 03, 2005 9:31 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS This technote should help http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 -Ashish _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 9:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Install on IIS Hi all, How do I install Flex with IIS? CF is already configured to run under IIS. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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! http://docs.yahoo.com/info/terms/ Terms of Service. _ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h7h9g14/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123102857/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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 Install on IIS
Title: RE: [flexcoders] Flex Install on IIS And that is??? I did configure the mappings in IIS by adding .mxml and .swf and pointed them at the same jrun_iis6.dll that .cfm uses. Am I missing more? Thanks Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Valy Sivec Sent: Wednesday, August 03, 2005 12:01 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS I suspect you haven't configured the IIS web connectior. Valy --- Mehdi, Agha [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ Either the Macromedia application server is unreachable or it does not have a mapping to process this request. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Wednesday, August 03, 2005 9:54 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS No, because you're running CF/Flex using a connector. If you're running CF/Flex integrated, your top level MXML files would reside right in your webroot of IIS. If you wish to build a mxml/AS class hierarchy, these would normally reside in c:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\user_classes. You can change this location by editing flex-config.xml. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 12:45 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS Ok, so if I understood this article correct then it means that I can install Flex to run under CF, which is running with IIS and I'll be able to get to the flex apps. I can store my files under c:\jrun4\servers\flex\appName and I can get to it by http://localhost/appName http://localhost/appName , right? Thanks Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ashish Goyal Sent: Wednesday, August 03, 2005 9:31 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS This technote should help http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 -Ashish _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 9:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Install on IIS Hi all, How do I install Flex with IIS? CF is already configured to run under IIS. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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! http://docs.yahoo.com/info/terms/ Terms of Service. _ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Yahoo! Groups Sponsor ~-- font face=arial size=-1a href="" href="http://us.ard.yahoo.com/SIG=12h7h9g14/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123102857/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992" TARGET="_blank">http://us.ard.yahoo.com/SIG=12h7h9g14/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123102857/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- Flexcoders Mailing List FAQ:
RE: [flexcoders] Login session problem:
Hi, Once a user logs in successfully (via login.jsp), you should save his data to the session and then load the MXML and the Flex UI can then load the session data to know who the user is.Also, you should configure the security section of your web.xml to allow only the properly roles to access the various services. And for re-directing, you can do this as follows: response.sendRedirect( "somepage.jsp" ); Hope that helps. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of endofadam228Sent: Wednesday, August 03, 2005 6:17 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Login session problem: Hi AllI am building web admin tools by Flex interface.But I got a big problem about the session login, I tried to build thislogin page under jsp, but I wanna call .mxml directly.So any one can let me know any session data in Flex? and I wanna knowhow redircent the URL after checked the session data is fault?thx a lot! -- 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 Install on IIS
Agha, try this...hope it helps. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 Valy --- Mehdi, Agha [EMAIL PROTECTED] wrote: And that is??? I did configure the mappings in IIS by adding .mxml and .swf and pointed them at the same jrun_iis6.dll that .cfm uses. Am I missing more? Thanks Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Valy Sivec Sent: Wednesday, August 03, 2005 12:01 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS I suspect you haven't configured the IIS web connectior. Valy --- Mehdi, Agha [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ Either the Macromedia application server is unreachable or it does not have a mapping to process this request. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall, Jeff Sent: Wednesday, August 03, 2005 9:54 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS No, because you're running CF/Flex using a connector. If you're running CF/Flex integrated, your top level MXML files would reside right in your webroot of IIS. If you wish to build a mxml/AS class hierarchy, these would normally reside in c:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\user_classes. You can change this location by editing flex-config.xml. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 12:45 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS Ok, so if I understood this article correct then it means that I can install Flex to run under CF, which is running with IIS and I'll be able to get to the flex apps. I can store my files under c:\jrun4\servers\flex\appName and I can get to it by http://localhost/appName http://localhost/appName , right? Thanks Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ashish Goyal Sent: Wednesday, August 03, 2005 9:31 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS This technote should help http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 -Ashish _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 9:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Install on IIS Hi all, How do I install Flex with IIS? CF is already configured to run under IIS. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.mail-archive.com/flexcoders%40yahoogroups.com _ YAHOO! GROUPS LINKS *Visit your group flexcoders http://groups.yahoo.com/group/flexcoders on the web. === message truncated === Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h3sjk8v/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123103660/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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 *
RE: [flexcoders] Re: Flex Install on IIS
Title: RE: [flexcoders] Re: Flex Install on IIS That's exactly where I have the flex files. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of charlespaz1 Sent: Wednesday, August 03, 2005 11:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Install on IIS If you are running Standalone Install of ColdFusion and integrated Flex, you need to put the Flex files in your ISS webroot (default c:\inetpub\wwwroot) --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ Either the Macromedia application server is unreachable or it does not have a mapping to process this request. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Wednesday, August 03, 2005 9:54 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS No, because you're running CF/Flex using a connector. If you're running CF/Flex integrated, your top level MXML files would reside right in your webroot of IIS. If you wish to build a mxml/AS class hierarchy, these would normally reside in c:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\user_classes. You can change this location by editing flex-config.xml. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 12:45 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS Ok, so if I understood this article correct then it means that I can install Flex to run under CF, which is running with IIS and I'll be able to get to the flex apps. I can store my files under c:\jrun4\servers\flex\appName and I can get to it by http://localhost/appName http://localhost/appName , right? Thanks Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ashish Goyal Sent: Wednesday, August 03, 2005 9:31 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS This technote should help http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 -Ashish _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 9:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Install on IIS Hi all, How do I install Flex with IIS? CF is already configured to run under IIS. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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! http://docs.yahoo.com/info/terms/ Terms of Service. _ Yahoo! Groups Sponsor ~-- font face=arial size=-1a href="" href="http://us.ard.yahoo.com/SIG=12hn9g7gf/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123102763/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992" TARGET="_blank">http://us.ard.yahoo.com/SIG=12hn9g7gf/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123102763/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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:
Re: [flexcoders] Re: Flex Install on IIS
One other thing. Try setting your Execute Permissions to Scripts and Executables. Mehdi, Agha wrote: RE: [flexcoders] Re: Flex Install on IIS That's exactly where I have the flex files. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of charlespaz1 Sent: Wednesday, August 03, 2005 11:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Install on IIS If you are running Standalone Install of ColdFusion and integrated Flex, you need to put the Flex files in your ISS webroot (default c:\inetpub\wwwroot) --- In flexcoders@yahoogroups.com, "Mehdi, Agha" [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ -- 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 Install on IIS
Title: RE: [flexcoders] Flex Install on IIS Valy, I did find the file but it's under c:\jrun4\lib\wsconfig instead of c:\jrun4\lib\wsconfig\1 and the name of the file is jrun_iis6.ini instead of jrun.ini as mentioned in the article. I did add ignoresuffixmap=false to the ini file, restarted jrun server. Same error. I am running CF 7.0 and I'm assuming the examples are from CF 6.1. Can that be an issue? Thanks Server Error Either the Macromedia application server is unreachable or it does not have a mapping to process this request. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Valy Sivec Sent: Wednesday, August 03, 2005 12:14 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS Agha, try this...hope it helps. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 Valy --- Mehdi, Agha [EMAIL PROTECTED] wrote: And that is??? I did configure the mappings in IIS by adding .mxml and .swf and pointed them at the same jrun_iis6.dll that .cfm uses. Am I missing more? Thanks Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Valy Sivec Sent: Wednesday, August 03, 2005 12:01 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS I suspect you haven't configured the IIS web connectior. Valy --- Mehdi, Agha [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ Either the Macromedia application server is unreachable or it does not have a mapping to process this request. Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Wednesday, August 03, 2005 9:54 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS No, because you're running CF/Flex using a connector. If you're running CF/Flex integrated, your top level MXML files would reside right in your webroot of IIS. If you wish to build a mxml/AS class hierarchy, these would normally reside in c:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\user_classes. You can change this location by editing flex-config.xml. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 12:45 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS Ok, so if I understood this article correct then it means that I can install Flex to run under CF, which is running with IIS and I'll be able to get to the flex apps. I can store my files under c:\jrun4\servers\flex\appName and I can get to it by http://localhost/appName http://localhost/appName , right? Thanks Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ashish Goyal Sent: Wednesday, August 03, 2005 9:31 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS This technote should help http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 -Ashish _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 9:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Install on IIS Hi all, How do I install Flex with IIS? CF is already configured to run under IIS. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.mail-archive.com/flexcoders%40yahoogroups.com _ YAHOO! GROUPS LINKS
[flexcoders] Interesting news on Zorn
from Mike Chambers ... http://weblogs.macromedia.com/mesh/archives/2005/08/will_zorn_requi.cfm -- 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] Interesting news on Zorn
Like I posted there, I think this will allow a lot more people to start working with Flex. I'm quite sure that lots of open-source html projects will/could be migrated to a flex environmnent even if the framework available will be limited compared to the server version one. I'll be glad to develop at work for our server edition and at home for my hobby and be able to host it anywhere. João Fernandes -Original Message- From: flexcoders@yahoogroups.com on behalf of Ian Welsh Sent: Wed 03-Aug-05 10:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Interesting news on Zorn from Mike Chambers ... http://weblogs.macromedia.com/mesh/archives/2005/08/will_zorn_requi.cfm Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h2u6t7l/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123112112/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ winmail.dat
RE: [flexcoders] Re: Flex Install on IIS
Title: RE: [flexcoders] Re: Flex Install on IIS Tariq, Same thing. I set to execute Scripts and Executables. João, Yeah, I did copy the lib from flex.war to CF environment. Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tariq Ahmed Sent: Wednesday, August 03, 2005 12:27 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex Install on IIS One other thing. Try setting your Execute Permissions to Scripts and Executables. Mehdi, Agha wrote: That's exactly where I have the flex files. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of charlespaz1 Sent: Wednesday, August 03, 2005 11:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Install on IIS If you are running Standalone Install of ColdFusion and integrated Flex, you need to put the Flex files in your ISS webroot (default c:\inetpub\wwwroot) --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] JSP code under .mxml page
Hi All In Flex application, may I use jsp code under .mxml application? If yes, any one could tell me the syntax? Thank you very much! Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hb158jp/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123113698/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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: Array of VOs class loading issue SOLVED
public static function fromXML( xml:Object ) : myListVO { var o = new myListVO(); for (var i=0; i xml.length; i++) { var q:Object = xml[i]; var j = q.DisplayOrder - 1; o.qArray[j] = myVO(myVO.fromXML(q)); } return o; } joke:tongueInCheek acceptCriticism=inSpirtItWasIntended / Did you know that Flex allows variable names of more than one letter that express the intent of the code ? :-) Incidentally, in your previous code, the line: var test:myV0 = new myV0(); looks on my screen like you're using the numeral zero rather than the capital letter O in your class name, so the compiler is correctly telling you The class my-vee-nought could not be loaded. Should save you your work around above... Best, Steven PS. If you rename the variable to t, don't bother strictly typing it and drop the brackets in the object instantiation, you should save 8 keypresses and remove the possible places for typing a nought instead of an O to 1 instead of 2 ;) -- Steven Webster Technical Director iteration::two 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. Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hjopi7d/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123114734/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] Array of VOs class loading issue
I should catchup on email from top to bottom, not bottom to top. Sorry ... hadn't seen Jesse's post. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: 03 August 2005 19:20 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Array of VOs class loading issue myV0 != myVO One is a zero, the other is the letter o, right? Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12higuhss/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123114783/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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: Flex Jusitification (Was: if I buy a flex license can I host other peoples apps on the license?)
Adding to the personal experiences in the Flex dev venture, I work in a financial services company ( we develop core banking systems, latam based ). My first encounter with flex happened during mid 2004. Since then I have been trying to introduce the technology in every single project. The functionality gains were crystal clear! Nevertheless, not a single serious Flex project happened ( I built a zillion POCs, and a pair of dashboards ) until evidence that BOFA, BKB, SAP and other big players were betting some cards on Flex. Monkey see, monkey do!... now every bank is jumping in. Common widgets, like dashboards and simulators are soon to be the order of the day. My personal quick advices: - Sell proven concepts (usually things where flex excels and are not extremely hard to develop) and use the competition as leverage. - Target business people instead of IT, as they will value the differentiating factor to a greater extent. They won't get lost in tech-isms and the but-its-not-an-open-standard attack. - Specifically: leverage multimedia, OCC, charts, online presence and collab. Best, Aldo On 7/19/05, Douglas Knudsen [EMAIL PROTECTED] wrote: good post. We just convinced the big boys to spring for Flex. Got a couple licenses at a vendor pricing, we have over 30 CF liceneses around here. Pricing was not so bad, we are a big oracle shop, Oracle is far from cheap. We also are a Siebel and Websphere shop in the enterprise area. We happen to have all Enterprise CF, so we can use JRun, I'm sure Tomcat could have been used just as well if we didn't have JRun around. I'm the lucky guinea pig that gets to churn out the first app. yeehaw! BTW, nice breezo on synergy Scott. DK On 7/19/05, Scott Barnes [EMAIL PROTECTED] wrote: Firstly, moved this to a separate thread (no use hijacking an existing one - hope no1 minds much) I've moaned and groaned about the price tag since it was first announced. I've been on both ends in trying to implement the technology. The thing is, it is selling, and since I last heard - selling well. If you only have 1x Application that needs building and can't afford the price tag, again seek the OEM edition(s) as they can be more approachable. As for recouping costs? We have approx 5-6 developers dedicated to FLEX/CFMX development here, all costing around $70k+ AUD a year. Now, if you broke down their output capabilities it would be safe to argue that they could probably churn out about 9-15 Enterprise level applications that suite the business a year. Now, at this point use products like Laszlo (I mean especially now with Flash Player 8's capabilties...again, yet another reason to keep close to Macromedia) or DHTML in reality how many applications could be made per year? My point, is that it certainly can be justified in terms of why you should buy it, but you have to target the right people with the right information which underpins my comments I guess, as for me it was a dramatic awakening here locally. In a nutshell, we bought FLEX, it was great - except - I'm the only developer here who knows the language, the rest look to me for guidance how do i center the titlewindow popup etc. I once broke down the pricing in reality terms, via my blog. I think I guesstimated it would cost around 50k AUD in the first year, just to implement it. http://www.mossyblog.com/archives/235.cfm - Flex the Hidden Costs. Now, looking back on it, so far it hasn't cost us as much. Mainly as we are kind dodge in the way we implemented our FLEX environment (ie using Single CPU servers for a start). Development machine is more of a staging machine and we use the developers edition locally on pc's to dev with. We bypassed training costs, as in truth management were reluctant to send all developers to Sydney so they can train. The development team are taking baby steps into the product, at present I've been the only one working on larger applications (which isn't that bad i guess) while the others are easing into the product. One thing I personally overlooked was the fact we also needed a J2EE server. I had assumed that FLEX Commercial was much like Flex Developer, in that it comes bundled with a standalone server. ..ok I'm a moron and should of read the System Requirements a bit more closely. So we had to upgrade Coldfusion 7 Prof to Coldfusion 7 Ent. My point? at this stage if I were to be hauled into an office and justify on why we should pursue with FLEX, I'd reluctantly have to take a sobering step back and ponder if it does hold merit? For me as a developer personally, I've done more work in the last few months then i would of if were forced to use DHTML or FLASH MX 2004. That's for sure. As for the other developers? hard to say on whether they gained traction in terms of development speed. Part of me
[flexcoders] Re: Interesting news on Zorn
Holy cow that's HUGE news! Excellent move, very glad to see this! Jason --- In flexcoders@yahoogroups.com, Ian Welsh [EMAIL PROTECTED] wrote: from Mike Chambers ... http://weblogs.macromedia.com/mesh/archives/2005/08/will_zorn_requi.cfm Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h3ijtle/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123115018/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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: Array of VOs class loading issue SOLVED
Just in case the 0 vs. O is a typo in the email, a static function requires dependency variables as well. var o:myListVO = new myListVO(); Always type your variables, and when it seems like a class isnt being created like this example make sure you have an instance variable declared (static if the problem is in a static function) to help the compiler see the dependency. You dont need to assign the variable to anything, just having it declared is enough. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Steven Webster Sent: Wednesday, August 03, 2005 3:16 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Array of VOs class loading issue SOLVED public static function fromXML( xml:Object ) : myListVO { var o = new myListVO(); for (var i=0; i xml.length; i++) { var q:Object = xml[i]; var j = q.DisplayOrder - 1; o.qArray[j] = myVO(myVO.fromXML(q)); } return o; } joke:tongueInCheek acceptCriticism=inSpirtItWasIntended / Did you know that Flex allows variable names of more than one letter that express the intent of the code ? :-) Incidentally, in your previous code, the line: var test:myV0 = new myV0(); looks on my screen like you're using the numeral zero rather than the capital letter O in your class name, so the compiler is correctly telling you The class my-vee-nought could not be loaded. Should save you your work around above... Best, Steven PS. If you rename the variable to t, don't bother strictly typing it and drop the brackets in the object instantiation, you should save 8 keypresses and remove the possible places for typing a nought instead of an O to 1 instead of 2 ;) -- Steven Webster Technical Director iteration::two 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. -- 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: Array of VOs class loading issue SOLVED
I too hate one letter variable names. :) One of the other developers actually wrote the solution. Another created the problem in the first place. A few people mentioned the zeros. Courier New makes it hard to spot. Regards, Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steven Webster Sent: Wednesday, August 03, 2005 6:16 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Array of VOs class loading issue SOLVED public static function fromXML( xml:Object ) : myListVO { var o = new myListVO(); for (var i=0; i xml.length; i++) { var q:Object = xml[i]; var j = q.DisplayOrder - 1; o.qArray[j] = myVO(myVO.fromXML(q)); } return o; } joke:tongueInCheek acceptCriticism=inSpirtItWasIntended / Did you know that Flex allows variable names of more than one letter that express the intent of the code ? :-) Incidentally, in your previous code, the line: var test:myV0 = new myV0(); looks on my screen like you're using the numeral zero rather than the capital letter O in your class name, so the compiler is correctly telling you The class my-vee-nought could not be loaded. Should save you your work around above... Best, Steven PS. If you rename the variable to t, don't bother strictly typing it and drop the brackets in the object instantiation, you should save 8 keypresses and remove the possible places for typing a nought instead of an O to 1 instead of 2 ;) -- Steven Webster Technical Director iteration::two 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. -- 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hs6f48u/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123116443/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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: Flex Install on IIS
Did you take a look at your coldfusion instance logs? does it have any errors? -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Wed 03-Aug-05 9:33 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex Install on IIS Tariq, Same thing. I set to execute Scripts and Executables. João, Yeah, I did copy the lib from flex.war to CF environment. Thanks Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tariq Ahmed Sent: Wednesday, August 03, 2005 12:27 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex Install on IIS One other thing. Try setting your Execute Permissions to Scripts and Executables. Mehdi, Agha wrote: That's exactly where I have the flex files. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of charlespaz1 Sent: Wednesday, August 03, 2005 11:57 AM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Install on IIS If you are running Standalone Install of ColdFusion and integrated Flex, you need to put the Flex files in your ISS webroot (default c:\inetpub\wwwroot) --- In flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com , Mehdi, Agha mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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! http://docs.yahoo.com/info/terms/ Terms of Service. _ Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hrghs8b/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123118117/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ winmail.dat
[flexcoders] Dynamically created components and resizing
Hi All, I'm sure this is gonna be a really simple solution, but it's driving me nuts. I've got a custom component defined in AS in which I'm creating various numbers of sub-components using createClassObject... My issue is that I can't figure out how to tell the parent component to re-measure itself after all children have been created. The parent component is an expandable/collapsable container that will contain dynamic number of child elements. I need to figure out it's proper height to make the expand/collapse work properly. Thanks in advance... Brendan Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hel0qf3/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123118684/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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: Flex Install on IIS
Title: RE: [flexcoders] Re: Flex Install on IIS There are no errors in the CF Logs. The server is running secure certificate. Can that be an issue? Can CF 7 be an issue (I seriously doubt that one) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: João Fernandes [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes Sent: Wednesday, August 03, 2005 4:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex Install on IIS Did you take a look at your coldfusion instance logs? does it have any errors? -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Wed 03-Aug-05 9:33 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex Install on IIS Tariq, Same thing. I set to execute Scripts and Executables. João, Yeah, I did copy the lib from flex.war to CF environment. Thanks Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tariq Ahmed Sent: Wednesday, August 03, 2005 12:27 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex Install on IIS One other thing. Try setting your Execute Permissions to Scripts and Executables. Mehdi, Agha wrote: That's exactly where I have the flex files. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of charlespaz1 Sent: Wednesday, August 03, 2005 11:57 AM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Install on IIS If you are running Standalone Install of ColdFusion and integrated Flex, you need to put the Flex files in your ISS webroot (default c:\inetpub\wwwroot) --- In flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com , Mehdi, Agha mailto:[EMAIL PROTECTED]... [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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! http://docs.yahoo.com/info/terms/ Terms of Service. _ Yahoo! Groups Sponsor ~-- font face=arial size=-1a href="" low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- 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 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] Problem With TileList...
All: I am having a major problem with a tilelist.. Here is a simple explanation of what is happening: I have a tilelist that is using a cellrenderer.. I have 14 total rows (or more according to dynamic data) I have room for 11 rows at once... The 1st row and the 12th row are mysteriously LINKED together... though they have different static labels, etc. anything dynamic that I change about them is changed on both of them... Does this make sense? Anyone have had this problem? Thanks. sj Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hdj1beo/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123119414/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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] Reverse-binding repeater items
So, I attempted the following: mx:Repeater id=PrerequisitesRepeater dataProvider={ModelLocator.curCourse.prerequisites} mx:HBox width=100% mx:TextInput id=Prerequisite editable=true width=300 text={ModelLocator.curCourse.prerequisites [PrerequisitesRepeater.currentIndex].text}/ mx:Binding source=Prerequisite destination=ModelLocator.curCourse.prerequisites [PrerequisitesRepeater.currentIndex].text/ mx:Link label=Delete click=/ /mx:HBox /mx:Repeater It works if I don't use the mx:Binding expression, if I do use it, the first item doesn't work so good, but successive items seem to work. I'm guessing this falls into the category of binding to dynamically generated elements. What is the 'right' way to do this? Should I just use a viewHelper to handle each Prerequisite's change event to update the model? Sometimes it seems easier to just do everything in actionscript... but that is just because mxml is still pretty foreign to me... Sean Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hc5ekr4/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123119820/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font ~- -- 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: Flex Install on IIS
Title: RE: [flexcoders] Re: Flex Install on IIS Hmmm.. well I would say try Ben and Peter's web.xml file: http://www.cflex.net/showfiledetails.cfm?ObjectID=177 If that doesn't work... If it's not too painful, I probably would uninstall everything and re-install from fresh and meticulously go through the steps. Otherwise you can spend forever trying to troubleshoot this. Mehdi, Agha wrote: There are no errors in the CF Logs. The server is running secure certificate. Can that be an issue? Can CF 7 be an issue (I seriously doubt that one) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: Joo Fernandes [mailto:flexcoders@yahoogroups.com] On Behalf Of Joo Fernandes Sent: Wednesday, August 03, 2005 4:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex Install on IIS Did you take a look at your coldfusion instance logs? does it have any errors? -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Wed 03-Aug-05 9:33 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex Install on IIS Tariq, Same thing. I set to execute Scripts and Executables. Joo, Yeah, I did copy the lib from flex.war to CF environment. Thanks Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tariq Ahmed Sent: Wednesday, August 03, 2005 12:27 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex Install on IIS One other thing. Try setting your Execute Permissions to Scripts and Executables. Mehdi, Agha wrote: That's exactly where I have the flex files. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of charlespaz1 Sent: Wednesday, August 03, 2005 11:57 AM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Install on IIS If you are running Standalone Install of ColdFusion and integrated Flex, you need to put the Flex files in your ISS webroot (default c:\inetpub\wwwroot) --- In flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com , "Mehdi, Agha" mailto:[EMAIL PROTECTED]... [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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! http://docs.yahoo.com/info/terms/ Terms of Service. _ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Dynamically created components and resizing
Ok, so apparently I shouldn't have been using createClassObject... Used createChild instead, and worked like a charm... Brendan --- In flexcoders@yahoogroups.com, brendansjunk [EMAIL PROTECTED] wrote: Hi All, I'm sure this is gonna be a really simple solution, but it's driving me nuts. I've got a custom component defined in AS in which I'm creating various numbers of sub-components using createClassObject... My issue is that I can't figure out how to tell the parent component to re-measure itself after all children have been created. The parent component is an expandable/collapsable container that will contain dynamic number of child elements. I need to figure out it's proper height to make the expand/collapse work properly. Thanks in advance... Brendan Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h8ou3ec/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123121957/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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: Flex Install on IIS
Title: RE: [flexcoders] Re: Flex Install on IIS Ok, I like this suggestion no matter how painful it is. Before I do that though, Ill appreciate if someone can give me step by step guide to install CF to run under IIS, which is running on a secure server and be able to make flex work with it. Thats my first time configuring CF7 with IIS so dont know what to expect and frankly speaking, MM docs are of no help (what a surprise) Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tariq Ahmed Sent: Wednesday, August 03, 2005 4:53 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex Install on IIS Hmmm.. well I would say try Ben and Peter's web.xml file: http://www.cflex.net/showfiledetails.cfm?ObjectID=177 If that doesn't work... If it's not too painful, I probably would uninstall everything and re-install from fresh and meticulously go through the steps. Otherwise you can spend forever trying to troubleshoot this. Mehdi, Agha wrote: There are no errors in the CF Logs. The server is running secure certificate. Can that be an issue? Can CF 7 be an issue (I seriously doubt that one) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: João Fernandes [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes Sent: Wednesday, August 03, 2005 4:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex Install on IIS Did you take a look at your coldfusion instance logs? does it have any errors? -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Wed 03-Aug-05 9:33 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex Install on IIS Tariq, Same thing. I set to execute Scripts and Executables. João, Yeah, I did copy the lib from flex.war to CF environment. Thanks Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tariq Ahmed Sent: Wednesday, August 03, 2005 12:27 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex Install on IIS One other thing. Try setting your Execute Permissions to Scripts and Executables. Mehdi, Agha wrote: That's exactly where I have the flex files. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of charlespaz1 Sent: Wednesday, August 03, 2005 11:57 AM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Install on IIS If you are running Standalone Install of ColdFusion and integrated Flex, you need to put the Flex files in your ISS webroot (default c:\inetpub\wwwroot) --- In flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com , Mehdi, Agha mailto:[EMAIL PROTECTED]... [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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! http://docs.yahoo.com/info/terms/ Terms of Service. _ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Computer software testing Macromedia flex Development Software developer YAHOO! GROUPS LINKS Visit your group
RE: [flexcoders] Re: Flex Install on IIS
Title: RE: [flexcoders] Re: Flex Install on IIS Tariq, I am not sure if you got my last email. I have uninstalled CFMX, Flex and reinstalling CF. What is the best resource available to install flex to work with CF under IIS (no MM Docs) Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tariq Ahmed Sent: Wednesday, August 03, 2005 4:53 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex Install on IIS Hmmm.. well I would say try Ben and Peter's web.xml file: http://www.cflex.net/showfiledetails.cfm?ObjectID=177 If that doesn't work... If it's not too painful, I probably would uninstall everything and re-install from fresh and meticulously go through the steps. Otherwise you can spend forever trying to troubleshoot this. Mehdi, Agha wrote: There are no errors in the CF Logs. The server is running secure certificate. Can that be an issue? Can CF 7 be an issue (I seriously doubt that one) Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: João Fernandes [mailto:flexcoders@yahoogroups.com] On Behalf Of João Fernandes Sent: Wednesday, August 03, 2005 4:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex Install on IIS Did you take a look at your coldfusion instance logs? does it have any errors? -Original Message- From: flexcoders@yahoogroups.com on behalf of Mehdi, Agha Sent: Wed 03-Aug-05 9:33 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Flex Install on IIS Tariq, Same thing. I set to execute Scripts and Executables. João, Yeah, I did copy the lib from flex.war to CF environment. Thanks Agha Mehdi IDT - eBusiness Program Manager _ From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tariq Ahmed Sent: Wednesday, August 03, 2005 12:27 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Flex Install on IIS One other thing. Try setting your Execute Permissions to Scripts and Executables. Mehdi, Agha wrote: That's exactly where I have the flex files. Agha Mehdi IDT - eBusiness Program Manager -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of charlespaz1 Sent: Wednesday, August 03, 2005 11:57 AM To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Install on IIS If you are running Standalone Install of ColdFusion and integrated Flex, you need to put the Flex files in your ISS webroot (default c:\inetpub\wwwroot) --- In flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com , Mehdi, Agha mailto:[EMAIL PROTECTED]... [EMAIL PROTECTED] wrote: Alright, I followed all the steps listed here http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf.html , restarted CF server, made sure CF was running fine after merging web.xml files. Created a sample file under CF web root in IIS c:\inetpub\wwwroot\[appname]\test\index.mxml. Created the mapping in IIS for .mxml and .swf, tried to run it and got the following error. Any ideas? Server Error _ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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! http://docs.yahoo.com/info/terms/ Terms of Service. _ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Re: hideEffect and deletePopUp
Im not sure the docs say it but the effectStart and effectEnd events should have a reference to the effect. You could catch in the effectStart the first event (which would be the sequence I hope), store it and then in every effectEnd see if that stored value is the effect. If it is, youre done, if not, move on. The counting might be an easy thing to do as well though. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of zipo13 Sent: Tuesday, August 02, 2005 11:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: hideEffect and deletePopUp Thanks, I have another problem because of this - since the effect I'm using is actually a Sequence of effects how do I know when the last effect was executed. I thought about counting the number of times the end effect method is called but I just doesn't feel right. Any ideas? --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Use the effectEnd event as a trigger for calling deletePopUp Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of zipo13 Sent: Tuesday, August 02, 2005 6:35 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] hideEffect and deletePopUp Hi, I have a PopUp window that has a hide effect. if I do popup.visible = false; then everything works fine and the effect is shown properly, But I want to delete the window too. The problem is that if I do: popup.visible = false; popup.deletePopUp(); or popup.visible = false; doLater(popup,deletePopUp); The effect is not shown. I think I understand why - because both actions are done in the same frames but I don't know how to get around it. -- 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 http://groups.yahoo.com/gads?t=msk=Computer+software+testingw1=Comput er+software+testingw2=Macromedia+flexw3=Developmentw4=Software+develo perc=4s=93.sig=kh2CguJwmatU5oBXjFo9Rg Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Computer+softwar e+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s= 93.sig=dAUcEV7do91-wrRtVS641g Development http://groups.yahoo.com/gads?t=msk=Developmentw1=Computer+software+te stingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4s=93. sig=AlxNUQBOI7Io7S7nhmxV0Q Software developer http://groups.yahoo.com/gads?t=msk=Software+developerw1=Computer+soft ware+testingw2=Macromedia+flexw3=Developmentw4=Software+developerc=4 s=93.sig=QWIit8JayomoIHLVkV3FDg 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 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] Dynamic controls
Title: Dynamic controls Im not sure what your question is. This kind of data looks like itd work well inside a DataGrid. So you can just create the grid and set this as your dataProvider, no? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 9:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dynamic controls Hi, I need suggestions to implement generating dynamic controls. Here's the scenario. From CF, I get the following. Array[0][Struct Element][0][name] = abc Array[0][ Struct Element][0][value] = def Array[0][ Struct Element][0][label] = ghi Array[0][ Struct Element][0][Parent] = Struct Element Array[0][ Struct Element][0][controlType] = Slider Array[0][ Struct Element][0][minValue] = 2 Array[0][ Struct Element][0][maxValue] = 18 Array[0][ Struct Element][0][interval] = 2 Array[1][Struct Element2][0][name] = abc Array[1][ Struct Element2][0][value] = def Array[1][ Struct Element2][0][label] = ghi Array[1][ Struct Element2][0][Parent] = Struct Element2 Array[1][ Struct Element2][0][controlType] = CheckBox Array[1][ Struct Element2][0][minValue] = Array[1][ Struct Element2][0][maxValue] = Array[1][ Struct Element2][0][interval] = What is the best way to build UI in Flex with this kind of data. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- 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] accessing returned ValueObject properties in mxml file
Just pull off the properties. If you didnt do a registerClass youll get a regular object back that should have the properties for anything where you had a getter in your Java class. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of cruegger2000 Sent: Wednesday, August 03, 2005 9:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] accessing returned ValueObject properties in mxml file I want to access the properties of a Value Object returned from a Java business delegate to populate some flex controls (label text, grid data, etc.). However, I do not want to have to write an analogous Value Object class in ActionScript code (don't want to have to keep them in synch). Is this possible? If so, how? I have not been able to find documentation that addresses this. Here are background details: On the server side I have: -- public class HelloDelegate { public HelloVO getHello() { return new HelloVO(); } } public class HelloVO implements Serializable { private int id; private String name; // get accessors for id and name } On the client side I have: -- hello.mxml: mx:RemoteObject id=helloDelegate type=stateless-class result=event.call.resultHandler(event.result) source=com.delegate.hello.HelloDelegate mx:method name=getHello/ /mx:RemoteObject mx:Panel title=Hello App mx:Button label=Invoke Hello Service click=getHello()/ /mx:Panel public function getHello():Void { var pendingCall = helloDelegate.getHello(); pendingCall.resultHandler = mx.utils.Delegate.create(this,gotHello); } private function gotHello(result) : Void { // At this point result is a HelloVO value object. How can I // access id and name properties here? } -- 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] Loading MXML via JSP on WebLogic
Is the flex app itself slow or does it just seem like its taking forever to compile? Whats the CPU like on the WebLogic machine? Maybe the JSP is somehow re-generating each time and not caching the MXML? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dimitrios Gianninas Sent: Wednesday, August 03, 2005 11:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Loading MXML via JSP on WebLogic Hi guys, We are just getting ready to deploy a new Flex app and we encountered something we did not in our previous endeavors. This new Flex app is located inside a JSP page and seems to take a good 45 secs to load, if you access the MXML directly it comes up in 4 secs or so. In a previous app, we had the same setup but it loads quickly. The only difference here is the new app is running on WebLogic 8.1 SP3 and existing Flex app runs on JRun 4 SP5. Anyone else encounter this problem? It is a two server cluster. On local PCs this works fine... Occurs for both Flash Player 7 and 8 beta. Thanks for any help! Dimitrios Jimmy Gianninas RIADeveloper Optimal Payments Inc. -- 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] JSP code under .mxml page
Nope, MXML is not interpreted by a JSP engine. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of endofadam228 Sent: Wednesday, August 03, 2005 1:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] JSP code under .mxml page Hi All In Flex application, may I use jsp code under .mxml application? If yes, any one could tell me the syntax? Thank you very much! -- 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] Reverse-binding repeater items
Yeah, Binding tags dont work inside repeaters. Youll need to use AS to do this one, sorry. Were looking into better 2-way binding support in a future version of Flex. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sean McKibben Sent: Wednesday, August 03, 2005 4:43 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Reverse-binding repeater items So, I attempted the following: mx:Repeater id=PrerequisitesRepeater dataProvider={ModelLocator.curCourse.prerequisites} mx:HBox width=100% mx:TextInput id=Prerequisite editable=true width=300 text={ModelLocator.curCourse.prerequisites [PrerequisitesRepeater.currentIndex].text}/ mx:Binding source=Prerequisite destination=ModelLocator.curCourse.prerequisites [PrerequisitesRepeater.currentIndex].text/ mx:Link label=Delete click=/ /mx:HBox /mx:Repeater It works if I don't use the mx:Binding _expression_, if I do use it, the first item doesn't work so good, but successive items seem to work. I'm guessing this falls into the category of binding to dynamically generated elements. What is the 'right' way to do this? Should I just use a viewHelper to handle each Prerequisite's change event to update the model? Sometimes it seems easier to just do everything in actionscript... but that is just because mxml is still pretty foreign to me... Sean -- 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] Problem With TileList...
Well the 12th row is the first one that comes from offscreen right? So the TileList is re-using the cells from the 1st row and redrawing the data for the 12th row. Maybe your setvalue method isnt updating everything that it should in the cell renderer? If you shorten the TileList to only show 5 rows Im guessing that the 1st and the 6th would have the same problem? Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sir_janksalot Sent: Wednesday, August 03, 2005 4:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problem With TileList... All: I am having a major problem with a tilelist.. Here is a simple explanation of what is happening: I have a tilelist that is using a cellrenderer.. I have 14 total rows (or more according to dynamic data) I have room for 11 rows at once... The 1st row and the 12th row are mysteriously LINKED together... though they have different static labels, etc. anything dynamic that I change about them is changed on both of them... Does this make sense? Anyone have had this problem? Thanks. sj -- 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] Loading MXML via JSP on WebLogic
Its neither actuallyquite weird. Every time the JSP is accessed it takes over a minute for the app to load. Accessing the mxml directly, when app has to compile, takes about 12 secs. Even after the app has compiledJSP still takes over a minute while the mxml takes about 4 secs. Also, when loading via jsp, some warning show up at the top of the screen (dont have the specifics handy) with the app belowand this is with production settings! This only seems to be happening on Solaris platform thus far. Development PCs are OK. -Stace From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin Sent: Thursday, August 04, 2005 12:09 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Loading MXML via JSP on WebLogic Is the flex app itself slow or does it just seem like its taking forever to compile? Whats the CPU like on the WebLogic machine? Maybe the JSP is somehow re-generating each time and not caching the MXML? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dimitrios Gianninas Sent: Wednesday, August 03, 2005 11:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Loading MXML via JSP on WebLogic Hi guys, We are just getting ready to deploy a new Flex app and we encountered something we did not in our previous endeavors. This new Flex app is located inside a JSP page and seems to take a good 45 secs to load, if you access the MXML directly it comes up in 4 secs or so. In a previous app, we had the same setup but it loads quickly. The only difference here is the new app is running on WebLogic 8.1 SP3 and existing Flex app runs on JRun 4 SP5. Anyone else encounter this problem? It is a two server cluster. On local PCs this works fine... Occurs for both Flash Player 7 and 8 beta. Thanks for any help! Dimitrios Jimmy Gianninas RIADeveloper Optimal Payments Inc. -- 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: Custom event inheritance
Hi, and thanks so far. Obviusly, event inheritance does not work the way I described. What I really wanted to know was that [Event] metadata should be inherited by the subclasses, not needing to do anything else to use an inherited event in a subclass. So now 'it's time for something completely different', meaning, the event inheritance must be done another way. Thanks for the information! Satu Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hbetumg/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123139548/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] creationPolicy=queued only works in application mxml?
Title: creationPolicy=queued only works in application mxml? Hi, Just wanted to make sure I'm not missing something. I tried changing the Flex doc example at http://livedocs.macromedia.com/flex/15/flex_docs_en/1152.htm to application.mxml... mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml xmlns=* container/ /mx:Application container.mxml mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml mx:Panel id=panel1 creationPolicy=queued mx:Button id=button1a / mx:Button id=button1b / /mx:Panel mx:Panel id=panel2 creationPolicy=queued mx:Button id=button2a / mx:Button id=button2b / /mx:Panel mx:Panel id=panel3 creationPolicy=queued mx:Button id=button3a / mx:Button id=button3b / /mx:Panel /mx:VBox and all of a sudden the panel children aren't created. Am I missing something or can you only use the queued creationPolicy at the application level? Cheers, Paul. ~~--- This e-mail may contain confidential information. If you are not the intended recipient, please notify the sender immediately and delete this e-mail from your system. You must not disclose this e-mail to anyone without express permission from the sender. The contents of all e-mails sent to and received from Optus may be scanned, stored, or disclosed to others at Optus discretion. Optus has exercised care to avoid errors in the information contained in this e-mail but does not warrant that the information is error or omission free. The information (including any pricing information) contained in this e-mail is subject to change. This e-mail is not a quotation or proposal and no contractual obligations arise until you and Optus sign a formal written contract or formal variation to your existing contract. Any pricing contained in this e-mail is exclusive of GST unless otherwise stated. -- 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] Another take on FAQ question: Warning: Changes to unknown property ... detected
We recently ran into the Warning: Changes to unknown property ... will not be detected compiler issue. All the usual tricks did not work and the FAQ did not help. This problem is often the result of the binding being more agressive than needed in dot down situations. The curly brace syntax is being used for both binding and expression evaluation So, if you are referencing foo.bar.baz.boz, you can often get away with a binding trigger on a prefix of the expression, (e.g., foo.bar) and then evaluating the rest without binding (e.g., .baz.bar). That is, it is often the case that baz and boz change if and only if foo or bar changes (and that flex knows the types of foo and bar) I suspect this is true in most deeply nested dot down situations. In this case you can get around the compiler warning by tricking Flex to trigger on the prefix. For example: public static function bindingFixer(object:Object) : Object { return object; } mx:Label text={Util.bindingFixer(foo.bar).baz.buz}/ The function call is enough to cause flex to trigger binding on foo.bar alone, but the expression is evaluated more/less as foo.bar.baz.buz. Is this worthy of incorporation into the FAQ? Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hvocqag/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123141573/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!/a./font ~- -- 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] Login session problem:
Hi All I am building web admin tools by Flex interface. But I got a big problem about the session login, I tried to build this login page under jsp, but I wanna call .mxml directly. So any one can let me know any session data in Flex? and I wanna know how redircent the URL after checked the session data is fault? thx a lot! Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hn56pie/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123072192/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] Passing variables into an alert handler
Hmm... looks interesting. I'll give it a shot, thanks! /** * Jeff Beeman **/ -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin Sent: Tuesday, August 02, 2005 7:37 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Passing variables into an alert handler You could essentially use an anonymous function in there. Something like this: Alert(..., Delegate.create(this, function(event) { this.alertHandler({myVar: 'apples'}); }); Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ashish Goyal Sent: Tuesday, August 02, 2005 2:37 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Passing variables into an alert handler I just reread your question and it seems like you already got that part which I have mentioned in my previous post. About the passing of events, I tried adding event as the 3rd parameter and getting the event.target value but it returns blank. Somebody on the flexcodes who have played around with events should be able to answer your question.. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ashish Goyal Sent: Tuesday, August 02, 2005 2:23 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Passing variables into an alert handler How about simple passing the parameters like: Alert(... ..., Delegate.create(this, this.alertHandler('apples','Bar')); And in your alertHandler(myVar,myFoo), you can get the values of your parameters. Does this answer your question? Thanks -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beeman Sent: Tuesday, August 02, 2005 9:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Passing variables into an alert handler I'm trying to pass variables into the Delegate that I have run during an alert. Here is the code I currently have: alert(Delete record?, Alert, mx.controls.Alert.OK | mx.controls.Alert.CANCEL, Delegate.create(this, this.alertHandler), mx.controls.Alert.CANCEL); I would like to be able to pass variables into the alertHandler, i.e.: Alert(... ..., Delegate.create(this, this.alertHandler({ myVar:'apples', myFoo:'Bar' }); This works... but the problem is that the 'event' is no longer passed. Trying to add 'myEvent:event' to that object doesn't work, as I get an error returned saying 'event' doesn't exist. Is there a way to pass variables using the method above while still capturing the event details? /*** * Jeff Beeman * Digital Media Instructional Technologies * Arizona State University ***/ Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hn4jb9f/M=362131.6882499.7 825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123006875 /A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font -- --~- -- 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12htq29fs/M=362329.6886308.7 839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123024998 /A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?p age_id=1992 Fair play? Video games influencing politics. Click and talk back!/a./font -- --~- -- 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 Yahoo! Groups Sponsor ~-- font face=arial size=-1a
Re: [flexcoders] Exchanging custom objects between Flex .NET
Hmm AFAIK, you cannot return a custom class from .Net back to Flex like that (yet)..I could be wrong here so if somebody knows otherwise...please do tell :-) Try this instead : //= public ASObject getEmployee(string au_id) { conn = new SqlConnection(data source=dt1305-priyanka\\netsdk; database=pubs;uid=sa;pwd=welcome;); conn.Open(); SqlCommand sqlcomm = new SqlCommand(); sqlcomm.Connection=conn; sqlcomm.CommandType = CommandType.Text; sqlcomm.CommandText = SELECT * FROM titleauthor WHERE au_id =' + au_id + '; SqlDataReader readerObj = sqlcomm.ExecuteReader(); ASObject title = title.ASType = RemoteTest.Title new ASObject(); while (readerObj.Read()) { title.AddKey(au_id,au_id); title.AddKey(title_id , readerObj.GetString(1)); title.AddKey(au_ord, (System.Byte)readerObj.GetValue(2)); title.AddKey(royaltyper, (Int32)readerObj.GetValue(3)); } return title; } HTH - superabe On 8/3/05, priya s [EMAIL PROTECTED] wrote: Hi all, I m trying to return a custom object from .NET to Flex. It s returning Nothing. But I m able to send the same custom object from Flex to .NET. 1) The addTitle method, in which I am passing a custom object from Flex to .NET is working fine. 2) In GetTitle method, where I am returning a custom object from .NET to Flex, I am getting undefined. (I have data in the database, for the same inputs, the method is working fine from an .aspx page, so its not that there is no data) Is there something that I am missing out? MXML ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; backgroundColor=#FF initialize=initApp() mx:Script import RemoteTest.Title; var title:RemoteTest.Title; function initApp() { title=new Title(); } function addTitle() { title.au_id=au_id.text; title.title_id=title_id.text; title.au_ord=Number(au_ord.text); title.royaltyper=Number(royaltyper.text); srv.addEmployee(title); } function getTitle() { srv.getEmployee(au_id.text); } function onGetData(event:Object):Void { title = event.result; title_id.text = title.title_id; } /mx:Script mx:RemoteObject id=srv source=RemoteTest.Sample mx:method name=addEmployee/ mx:method name=getEmployee result = onGetData(event) / /mx:RemoteObject mx:Form mx:FormItem label=au_id mx:TextInput id=au_id/ /mx:FormItem mx:FormItem label=title_id mx:TextInput id=title_id/ /mx:FormItem mx:FormItem label=au_ord mx:TextInput id=au_ord/ /mx:FormItem mx:FormItem label=royaltyper mx:TextInput id=royaltyper/ /mx:FormItem mx:FormItem mx:Button label=Add Employee click=addTitle()/ /mx:FormItem mx:FormItem mx:Button label=Get Employee click=getTitle()/ /mx:FormItem /mx:Form /mx:Application ActionScript // ActionScript Document class RemoteTest.Title { public var au_id : String; public var title_id : String; public var au_ord : Number; public var royaltyper : Number; static var registered= Object.registerClass(RemoteTest.Title, RemoteTest.Title); } .NET class usingSystem; usingFlashGateway.IO; usingSystem.Xml; usingSystem.Data; usingSystem.Data.SqlClient; usingSystem.IO; usingSystem.Text; usingSystem.Collections; namespaceRemoteTest { public class Sample { private SqlConnection conn; public void addEmployee(Title employee) { conn =new SqlConnection(data source=dt1305-priyanka\\netsdk; database=pubs;uid=sa;pwd=welcome;); conn.Open(); SqlCommand sqlcomm = new SqlCommand(); sqlcomm.Connection=conn; sqlcomm.CommandType = CommandType.Text; sqlcomm.CommandText = INSERT INTO titleauthor (au_id,title_id,au_ord,royaltyper) VALUES('+employee.au_id + ',' +employee.title_id +',+employee.au_ord +,+employee.royaltyper +); sqlcomm.ExecuteNonQuery(); } publicTitle getEmployee(string au_id) { conn =new SqlConnection(data source=dt1305-priyanka\\netsdk; database=pubs;uid=sa;pwd=welcome;); conn.Open(); SqlCommand sqlcomm = new SqlCommand(); sqlcomm.Connection=conn; sqlcomm.CommandType = CommandType.Text; sqlcomm.CommandText = SELECT * FROM titleauthor WHERE au_id =' + au_id + '; SqlDataReader readerObj = sqlcomm.ExecuteReader(); Title title = new Title(); while (readerObj.Read()) { title.au_id = au_id; title.title_id = readerObj.GetString(1); title.au_ord = (System.Byte)readerObj.GetValue(2); title.royaltyper = (Int32)readerObj.GetValue(3); } return title; } } } DataObject class in .NET usingSystem;
Re: [flexcoders] Exchanging custom objects between Flex .NET
sorry typo (or cut'n'pasto) === ASObject title = title.ASType = RemoteTest.Title new ASObject(); === SHOULD BE ASObject title = new ASObject(); title.ASType = RemoteTest.Title - superabe On 8/3/05, superabe superabe [EMAIL PROTECTED] wrote: Hmm AFAIK, you cannot return a custom class from .Net back to Flex like that (yet)..I could be wrong here so if somebody knows otherwise...please do tell :-) Try this instead : //= public ASObject getEmployee(string au_id) { conn = new SqlConnection(data source=dt1305-priyanka\\netsdk; database=pubs;uid=sa;pwd=welcome;); conn.Open(); SqlCommand sqlcomm = new SqlCommand(); sqlcomm.Connection=conn; sqlcomm.CommandType = CommandType.Text; sqlcomm.CommandText = SELECT * FROM titleauthor WHERE au_id =' + au_id + '; SqlDataReader readerObj = sqlcomm.ExecuteReader(); ASObject title = title.ASType = RemoteTest.Title new ASObject(); while (readerObj.Read()) { title.AddKey(au_id,au_id); title.AddKey(title_id , readerObj.GetString(1)); title.AddKey(au_ord, (System.Byte)readerObj.GetValue(2)); title.AddKey(royaltyper, (Int32)readerObj.GetValue(3)); } return title; } HTH - superabe On 8/3/05, priya s [EMAIL PROTECTED] wrote: Hi all, I m trying to return a custom object from .NET to Flex. It s returning Nothing. But I m able to send the same custom object from Flex to .NET. 1) The addTitle method, in which I am passing a custom object from Flex to .NET is working fine. 2) In GetTitle method, where I am returning a custom object from .NET to Flex, I am getting undefined. (I have data in the database, for the same inputs, the method is working fine from an .aspx page, so its not that there is no data) Is there something that I am missing out? MXML ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; backgroundColor=#FF initialize=initApp() mx:Script import RemoteTest.Title; var title:RemoteTest.Title; function initApp() { title=new Title(); } function addTitle() { title.au_id=au_id.text; title.title_id=title_id.text; title.au_ord=Number(au_ord.text); title.royaltyper=Number(royaltyper.text); srv.addEmployee(title); } function getTitle() { srv.getEmployee(au_id.text); } function onGetData(event:Object):Void { title = event.result; title_id.text = title.title_id; } /mx:Script mx:RemoteObject id=srv source=RemoteTest.Sample mx:method name=addEmployee/ mx:method name=getEmployee result = onGetData(event) / /mx:RemoteObject mx:Form mx:FormItem label=au_id mx:TextInput id=au_id/ /mx:FormItem mx:FormItem label=title_id mx:TextInput id=title_id/ /mx:FormItem mx:FormItem label=au_ord mx:TextInput id=au_ord/ /mx:FormItem mx:FormItem label=royaltyper mx:TextInput id=royaltyper/ /mx:FormItem mx:FormItem mx:Button label=Add Employee click=addTitle()/ /mx:FormItem mx:FormItem mx:Button label=Get Employee click=getTitle()/ /mx:FormItem /mx:Form /mx:Application ActionScript // ActionScript Document class RemoteTest.Title { public var au_id : String; public var title_id : String; public var au_ord : Number; public var royaltyper : Number; static var registered= Object.registerClass(RemoteTest.Title, RemoteTest.Title); } .NET class usingSystem; usingFlashGateway.IO; usingSystem.Xml; usingSystem.Data; usingSystem.Data.SqlClient; usingSystem.IO; usingSystem.Text; usingSystem.Collections; namespaceRemoteTest { public class Sample { private SqlConnection conn; public void addEmployee(Title employee) { conn =new SqlConnection(data source=dt1305-priyanka\\netsdk; database=pubs;uid=sa;pwd=welcome;); conn.Open(); SqlCommand sqlcomm = new SqlCommand(); sqlcomm.Connection=conn; sqlcomm.CommandType = CommandType.Text; sqlcomm.CommandText = INSERT INTO titleauthor (au_id,title_id,au_ord,royaltyper) VALUES('+employee.au_id + ',' +employee.title_id +',+employee.au_ord +,+employee.royaltyper +); sqlcomm.ExecuteNonQuery(); } publicTitle getEmployee(string au_id) { conn =new SqlConnection(data source=dt1305-priyanka\\netsdk; database=pubs;uid=sa;pwd=welcome;); conn.Open(); SqlCommand sqlcomm = new SqlCommand(); sqlcomm.Connection=conn; sqlcomm.CommandType = CommandType.Text; sqlcomm.CommandText = SELECT * FROM titleauthor WHERE au_id =' + au_id + '; SqlDataReader
[flexcoders] startDrag() not working
Hi, trying to implement drag functions to move images in a configuratorbutmy codedoesn't seem to do anything. Here's an example code: ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" width="100%" height="100%"mx:Image contentPath="ph_1.jpg" id="ph_1_mc" width="100" height="100" mouseDown="event.target.startDrag();" mouseUp="event.target.stopDrag()"//mx:Application If I use event.target.startDrag(true), it will move its origin to the mouse, first that's not what I'm looking for, second it doesn't even drag after moving :((( This was something piece of cake in flash, what am I doing wrong? Philippe Maegerman -- 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] Flex Install on IIS
Title: Flex Install on IIS Hi all, How do I install Flex with IIS? CF is already configured to run under IIS. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- 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 Install on IIS
Title: Flex Install on IIS This technote should help http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, AghaSent: Wednesday, August 03, 2005 9:22 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex Install on IIS Hi all, How do I install Flex with IIS? CF is already configured to run under IIS. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- 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] How to handle a returned Java Collection in Flex - RemoteObject call
I have a Java function that returns a Collection of VOs. I declared a RemoteObject in Flex, and tried to assign the event.result to an Array variable, but it actually didn't work. I want to use this data as the DataProvider of ComboBoxes, or List, etc. How can I read this data in Flex? Thanks, -Oscar. --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --- Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h887cvk/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123094162/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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] accessing returned ValueObject properties in mxml file
I want to access the properties of a Value Object returned from a Java business delegate to populate some flex controls (label text, grid data, etc.). However, I do not want to have to write an analogous Value Object class in ActionScript code (don't want to have to keep them in synch). Is this possible? If so, how? I have not been able to find documentation that addresses this. Here are background details: On the server side I have: -- public class HelloDelegate { public HelloVO getHello() { return new HelloVO(); } } public class HelloVO implements Serializable { private int id; private String name; // get accessors for id and name } On the client side I have: -- hello.mxml: mx:RemoteObject id=helloDelegate type=stateless-class result=event.call.resultHandler(event.result) source=com.delegate.hello.HelloDelegate mx:method name=getHello/ /mx:RemoteObject mx:Panel title=Hello App mx:Button label=Invoke Hello Service click=getHello()/ /mx:Panel public function getHello():Void { var pendingCall = helloDelegate.getHello(); pendingCall.resultHandler = mx.utils.Delegate.create(this,gotHello); } private function gotHello(result) : Void { // At this point result is a HelloVO value object. How can I // access id and name properties here? } Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12h7d998l/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123094472/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy/a./font ~- -- 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 Install on IIS
Title: Flex Install on IIS Ok, so if I understood this article correct then it means that I can install Flex to run under CF, which is running with IIS and Ill be able to get to the flex apps. I can store my files under c:\jrun4\servers\flex\appName and I can get to it by http://localhost/appName, right? Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ashish Goyal Sent: Wednesday, August 03, 2005 9:31 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex Install on IIS This technote should help http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha Sent: Wednesday, August 03, 2005 9:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Install on IIS Hi all, How do I install Flex with IIS? CF is already configured to run under IIS. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- 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 Install on IIS
Title: Message No, because you're running CF/Flex using a connector. If you're running CF/Flex integrated, your top level MXML files would reside right in your webroot of IIS. If you wish to build a mxml/AS class hierarchy, these would normally reside in c:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\user_classes. You can change this location by editing flex-config.xml. Jeff -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, AghaSent: Wednesday, August 03, 2005 12:45 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex Install on IIS Ok, so if I understood this article correct then it means that I can install Flex to run under CF, which is running with IIS and Ill be able to get to the flex apps. I can store my files under c:\jrun4\servers\flex\appName and I can get to it by http://localhost/appName, right? Thanks Agha Mehdi IDT - eBusiness Program Manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ashish GoyalSent: Wednesday, August 03, 2005 9:31 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex Install on IIS This technote should help http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=96611248 -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, AghaSent: Wednesday, August 03, 2005 9:22 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex Install on IIS Hi all, How do I install Flex with IIS? CF is already configured to run under IIS. Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766 -- 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.