RE: [flexcoders] Problem with Cairngorm 2 version of Phones app.
You'll be able to compile the app with Flex Builder 2 beta3, but to run it you'll need ColdFusion. The original app from the Adobe Labs is very basic in terms of architecture. So the goal of this version is to show how to properly architectures based on best practices/design patterns and integrate Cairngorm2 with a ColdFusion backend: - Cairngorm 2 framework onthe Flexclient side, - service CFC, DAO CFC, DG CFC on the ColdFusionserver side (so you could very easilyuse a ColdSpringframeworkfor your server side model). Benoit Hediard De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Mahmoud ElsayessEnvoyé: samedi 13 mai 2006 18:11À: flexcoders@yahoogroups.comObjet: Re: [flexcoders] Problem with Cairngorm 2 version of Phones app. Hi Benoit, I do not have coldfusion on my machine, but I have Macromedia full suite, is there a way to run your sample? Thank you. Mahmoud Elsayesswww.readverse.com - Original Message - From: Benoit Hediard To: flexcoders@yahoogroups.com Sent: Saturday, May 13, 2006 2:30 AM Subject: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Hi Kevin, You should upgrade to beta3. I've put an updated version for beta3, that works with the new Cairngorm2 beta3: http://www.benorama.com/flex/samples/PhonesCairngorm2.zip I onlydid some minor changes (updated the responder onResult and onFault signatures with null default arguments). Benoit Hediard De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Kevin RocheEnvoyé: vendredi 12 mai 2006 20:00À: flexcoders@yahoogroups.comObjet: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Benoit, That's what I did! I'm stuck now. Kevin -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Benoit HediardSent: 12 May 2006 14:58To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. You need to unzip all the files in the root folderof a new Flex Builder project and compile it. And it should work. Benoit Hediard De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Kevin RocheEnvoyé: vendredi 12 mai 2006 15:47À: flexcoders@yahoogroups.comObjet: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Yes, the file is there but I gues it may not be in the right place. I am assuming that placing the whole thing under the place where the mxml file is is correct or does it nee to be in some path so that flex can find it? -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:59To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problem with Cairngorm 2 version of Phones app.Stupid question - the file exists? On 5/12/06, Kevin Roche [EMAIL PROTECTED] wrote: Hi Nik, I found the problem, needed to add all the mxml files to the application. Now I have another problem. Error message says: Unable to locate specified base class 'org.nevis.cairngorm.business.ServiceLocator' for component class 'ApplicationServices' I do have the cairngorm directorystructure (org.. etc) in the same directory as main.mxml. Any ideas why its not found? Kevin -Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:09To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problen with Cairngorm 2 version of Phones app.Hi Kevin,Good to see you on here.Could you post the line(s) in question? It might be that you need to do some CheersNiklas On 5/12/06, Kevin Roche [EMAIL PROTECTED] wrote: Hi,I am having difficult getting the Flex 2 Phones application working withFlex2 Beta 2 (Did not want to try Beta3 until it works)When I try to save and compile I get the following error:Implicit coercion of a value with static type 'Object' to a possibly unrelated type 'Array' Line 33 PhoneListGetCommand.asAnyone know why or what went wrong?I am still learning ActionScript andcant see quite what is wrong here.Kevin Roche Yahoo! Groups Sponsor ~--Protect your PC from spy ware with award winning anti spy technology. It's free.http
RE: [flexcoders] Problem with Cairngorm 2 version of Phones app.
The default flex-enterprise-services.xml with the ColdFusion destination should look like this, for a standalone ColdFusion install: ?xml version=1.0 encoding=UTF-8? services-config xmlns=http://www.macromedia.com/2005/flex-service-config services service id=coldfusionsamples-service class=flex.messaging.services.RemotingService messageTypes=flex.messaging.messages.RemotingMessage adapters adapter-definition id=cf-object class=coldfusion.flash.messaging.ColdFusionAdapter default=true/ /adapters destination id=ColdFusion channels channel ref=my-cfamf/ /channels properties source*/source !-- define the resolution rules and access level of the cfc being invoked -- access !-- Use the ColdFusion mappings to find CFCs, by default only CFC files under your webroot can be found. -- use-mappingsfalse/use-mappings !-- allow public and remote or just remote methods to be invoked -- method-access-levelremote/method-access-level /access property-case !-- cfc property names -- force-cfc-lowercasefalse/force-cfc-lowercase !-- Query column names -- force-query-lowercasefalse/force-query-lowercase !-- struct keys -- force-struct-lowercasefalse/force-struct-lowercase /property-case /properties /destination /service /services security login-command class=flex.messaging.security.JRunLoginCommand server=JRun/ /security channels channel-definition id=my-cfamf class=mx.messaging.channels.AMFChannel endpoint uri=http://{server.name}:{server.port}{context.root}/flex2gateway/ class=flex.messaging.endpoints.AMFEndpoint/ properties polling-enabledfalse/polling-enabled serialization instantiate-typesfalse/instantiate-types /serialization /properties /channel-definition /channels logging target class=flex.messaging.log.ConsoleTarget level=Debug properties prefix[Flex] /prefix includeDatefalse/includeDate includeTimefalse/includeTime includeLevelfalse/includeLevel includeCategoryfalse/includeCategory /properties filters patternEndpoint.*/pattern patternService.*/pattern patternConfiguration/pattern patternMessage.*/pattern /filters /target /logging system locale default-localeen/default-locale supported-localede/supported-locale supported-localefr/supported-locale supported-localees/supported-locale /locale redeploy enabledtrue/enabled watch-interval20/watch-interval watch-file{context.root}/WEB-INF/flex/flex-enterprise-services.xml/watch- file touch-file{context.root}/WEB-INF/web.xml/touch-file /redeploy /system /services-config Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Kevin Roche Envoyé : samedi 13 mai 2006 19:10 À : flexcoders@yahoogroups.com Objet : RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Thanks Ben, I installed the new Beta3 and CF Beta, It almost works When It calls the CF app. mx:RemoteObject id=phoneService destination=ColdFusion result=event.call.resultHandler(event) fault=event.call.faultHandler(event) showBusyCursor=true source=com.mycompany.phones.service.PhoneService / I get a message saying that it cant find ColdFusion. It seems that the flex-enterprise-services.xml doesn't have the definition for ColdFusion in it. The Documentation seems to be out of date. Can you tell me what you have in your flex-enterprise-services.xml file? Thanks again Kevin Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM ~- -- 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Problem with Cairngorm 2 version of Phones app.
The readme.txt says - move the content of coldfusion folder to your ColdFusion wwwroot, but there is no content in the coldfusion folder when I extract the files (and I don't see any cfc's or a test.cfm in the zip list). Do we need to get them from the previous version? thx, Helen Benoit Hediard wrote: I've put an updated version for beta3, that works with the new Cairngorm2 beta3 : http://www.benorama.com/flex/samples/PhonesCairngorm2.zip -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Problem with Cairngorm 2 version of Phones app.
Indeed, the server side was missing... ;) This is corrected. Thanks! Benoit Hediard -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Helen Triolo Envoyé : dimanche 14 mai 2006 15:08 À : flexcoders@yahoogroups.com Objet : Re: [flexcoders] Problem with Cairngorm 2 version of Phones app. The readme.txt says - move the content of coldfusion folder to your ColdFusion wwwroot, but there is no content in the coldfusion folder when I extract the files (and I don't see any cfc's or a test.cfm in the zip list). Do we need to get them from the previous version? thx, Helen Benoit Hediard wrote: I've put an updated version for beta3, that works with the new Cairngorm2 beta3 : http://www.benorama.com/flex/samples/PhonesCairngorm2.zip Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM ~- -- 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 SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Problem with Cairngorm 2 version of Phones app.
Hi Kevin, You should upgrade to beta3. I've put an updated version for beta3, that works with the new Cairngorm2 beta3: http://www.benorama.com/flex/samples/PhonesCairngorm2.zip I onlydid some minor changes (updated the responder onResult and onFault signatures with null default arguments). Benoit Hediard De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Kevin RocheEnvoyé: vendredi 12 mai 2006 20:00À: flexcoders@yahoogroups.comObjet: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Benoit, That's what I did! I'm stuck now. Kevin -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Benoit HediardSent: 12 May 2006 14:58To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. You need to unzip all the files in the root folderof a new Flex Builder project and compile it. And it should work. Benoit Hediard De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Kevin RocheEnvoyé: vendredi 12 mai 2006 15:47À: flexcoders@yahoogroups.comObjet: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Yes, the file is there but I gues it may not be in the right place. I am assuming that placing the whole thing under the place where the mxml file is is correct or does it nee to be in some path so that flex can find it? -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:59To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problem with Cairngorm 2 version of Phones app.Stupid question - the file exists? On 5/12/06, Kevin Roche [EMAIL PROTECTED] wrote: Hi Nik, I found the problem, needed to add all the mxml files to the application. Now I have another problem. Error message says: Unable to locate specified base class 'org.nevis.cairngorm.business.ServiceLocator' for component class 'ApplicationServices' I do have the cairngorm directorystructure (org.. etc) in the same directory as main.mxml. Any ideas why its not found? Kevin -Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:09To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problen with Cairngorm 2 version of Phones app.Hi Kevin,Good to see you on here.Could you post the line(s) in question? It might be that you need to do some CheersNiklas On 5/12/06, Kevin Roche [EMAIL PROTECTED] wrote: Hi,I am having difficult getting the Flex 2 Phones application working withFlex2 Beta 2 (Did not want to try Beta3 until it works)When I try to save and compile I get the following error:Implicit coercion of a value with static type 'Object' to a possibly unrelated type 'Array' Line 33 PhoneListGetCommand.asAnyone know why or what went wrong?I am still learning ActionScript andcant see quite what is wrong here.Kevin Roche Yahoo! Groups Sponsor ~--Protect your PC from spy ware with award winning anti spy technology. It's free.http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM ~---Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Niklas RichardsonPrismix LtdUK based Flex and ColdFusion Specialists --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this g
Re: [flexcoders] Problem with Cairngorm 2 version of Phones app.
Hi Benoit, I do not have coldfusion on my machine, but I have Macromedia full suite, is there a way to run your sample? Thank you. Mahmoud Elsayesswww.readverse.com - Original Message - From: Benoit Hediard To: flexcoders@yahoogroups.com Sent: Saturday, May 13, 2006 2:30 AM Subject: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Hi Kevin, You should upgrade to beta3. I've put an updated version for beta3, that works with the new Cairngorm2 beta3: http://www.benorama.com/flex/samples/PhonesCairngorm2.zip I onlydid some minor changes (updated the responder onResult and onFault signatures with null default arguments). Benoit Hediard De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Kevin RocheEnvoyé: vendredi 12 mai 2006 20:00À: flexcoders@yahoogroups.comObjet: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Benoit, That's what I did! I'm stuck now. Kevin -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Benoit HediardSent: 12 May 2006 14:58To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. You need to unzip all the files in the root folderof a new Flex Builder project and compile it. And it should work. Benoit Hediard De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Kevin RocheEnvoyé: vendredi 12 mai 2006 15:47À: flexcoders@yahoogroups.comObjet: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Yes, the file is there but I gues it may not be in the right place. I am assuming that placing the whole thing under the place where the mxml file is is correct or does it nee to be in some path so that flex can find it? -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:59To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problem with Cairngorm 2 version of Phones app.Stupid question - the file exists? On 5/12/06, Kevin Roche [EMAIL PROTECTED] wrote: Hi Nik, I found the problem, needed to add all the mxml files to the application. Now I have another problem. Error message says: Unable to locate specified base class 'org.nevis.cairngorm.business.ServiceLocator' for component class 'ApplicationServices' I do have the cairngorm directorystructure (org.. etc) in the same directory as main.mxml. Any ideas why its not found? Kevin -Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:09To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problen with Cairngorm 2 version of Phones app.Hi Kevin,Good to see you on here.Could you post the line(s) in question? It might be that you need to do some CheersNiklas On 5/12/06, Kevin Roche [EMAIL PROTECTED] wrote: Hi,I am having difficult getting the Flex 2 Phones application working withFlex2 Beta 2 (Did not want to try Beta3 until it works)When I try to save and compile I get the following error:Implicit coercion of a value with static type 'Object' to a possibly unrelated type 'Array' Line 33 PhoneListGetCommand.asAnyone know why or what went wrong?I am still learning ActionScript andcant see quite what is wrong here.Kevin Roche Yahoo! Groups Sponsor ~--Protect your PC from spy ware with award winning anti spy technology. It's free.http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM ~---Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Niklas RichardsonPrismix LtdUK based Flex and ColdFusion Specialists --Flexcoders
RE: [flexcoders] Problem with Cairngorm 2 version of Phones app.
Thanks Ben, I installed the new Beta3 and CF Beta, It almost works When It calls the CF app. mx:RemoteObject id=phoneService destination=ColdFusion result=event.call.resultHandler(event) fault=event.call.faultHandler(event) showBusyCursor=true source=com.mycompany.phones.service.PhoneService / I get a message saying that it cant find ColdFusion. It seems that the flex-enterprise-services.xml doesn't have the definition for ColdFusion in it. The Documentation seems to be out of date. Can you tell me what you have in your flex-enterprise-services.xml file? Thanks again Kevin -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Problem with Cairngorm 2 version of Phones app.
Hi Nik, I found the problem, needed to add all the mxml files to the application. Now I have another problem. Error message says: Unable to locate specified base class 'org.nevis.cairngorm.business.ServiceLocator' for component class 'ApplicationServices' I do have the cairngorm directorystructure (org.. etc) in the same directory as main.mxml. Any ideas why its not found? Kevin -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:09To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problen with Cairngorm 2 version of Phones app.Hi Kevin,Good to see you on here.Could you post the line(s) in question? It might be that you need to do some CheersNiklas On 5/12/06, Kevin Roche [EMAIL PROTECTED] wrote: Hi,I am having difficult getting the Flex 2 Phones application working withFlex2 Beta 2 (Did not want to try Beta3 until it works)When I try to save and compile I get the following error:Implicit coercion of a value with static type 'Object' to a possibly unrelated type 'Array' Line 33 PhoneListGetCommand.asAnyone know why or what went wrong?I am still learning ActionScript andcant see quite what is wrong here.Kevin Roche Yahoo! Groups Sponsor ~--Protect your PC from spy ware with award winning anti spy technology. It's free.http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Niklas RichardsonPrismix LtdUK based Flex and ColdFusion Specialists -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] Problem with Cairngorm 2 version of Phones app.
Stupid question - the file exists?On 5/12/06, Kevin Roche [EMAIL PROTECTED] wrote: Hi Nik, I found the problem, needed to add all the mxml files to the application. Now I have another problem. Error message says: Unable to locate specified base class 'org.nevis.cairngorm.business.ServiceLocator' for component class 'ApplicationServices' I do have the cairngorm directorystructure (org.. etc) in the same directory as main.mxml. Any ideas why its not found? Kevin -Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:09To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problen with Cairngorm 2 version of Phones app.Hi Kevin,Good to see you on here.Could you post the line(s) in question? It might be that you need to do some CheersNiklas On 5/12/06, Kevin Roche [EMAIL PROTECTED] wrote: Hi,I am having difficult getting the Flex 2 Phones application working withFlex2 Beta 2 (Did not want to try Beta3 until it works)When I try to save and compile I get the following error:Implicit coercion of a value with static type 'Object' to a possibly unrelated type 'Array' Line 33 PhoneListGetCommand.asAnyone know why or what went wrong?I am still learning ActionScript andcant see quite what is wrong here.Kevin Roche Yahoo! Groups Sponsor ~--Protect your PC from spy ware with award winning anti spy technology. It's free.http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM ~---Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Niklas RichardsonPrismix LtdUK based Flex and ColdFusion Specialists -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Niklas RichardsonPrismix LtdUK based Flex and ColdFusion Specialists -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Problem with Cairngorm 2 version of Phones app.
Yes, the file is there but I gues it may not be in the right place. I am assuming that placing the whole thing under the place where the mxml file is is correct or does it nee to be in some path so that flex can find it? -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:59To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problem with Cairngorm 2 version of Phones app.Stupid question - the file exists? On 5/12/06, Kevin Roche [EMAIL PROTECTED] wrote: Hi Nik, I found the problem, needed to add all the mxml files to the application. Now I have another problem. Error message says: Unable to locate specified base class 'org.nevis.cairngorm.business.ServiceLocator' for component class 'ApplicationServices' I do have the cairngorm directorystructure (org.. etc) in the same directory as main.mxml. Any ideas why its not found? Kevin -Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:09To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problen with Cairngorm 2 version of Phones app.Hi Kevin,Good to see you on here.Could you post the line(s) in question? It might be that you need to do some CheersNiklas On 5/12/06, Kevin Roche [EMAIL PROTECTED] wrote: Hi,I am having difficult getting the Flex 2 Phones application working withFlex2 Beta 2 (Did not want to try Beta3 until it works)When I try to save and compile I get the following error:Implicit coercion of a value with static type 'Object' to a possibly unrelated type 'Array' Line 33 PhoneListGetCommand.asAnyone know why or what went wrong?I am still learning ActionScript andcant see quite what is wrong here.Kevin Roche Yahoo! Groups Sponsor ~--Protect your PC from spy ware with award winning anti spy technology. It's free.http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM ~---Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Niklas RichardsonPrismix LtdUK based Flex and ColdFusion Specialists --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Niklas RichardsonPrismix LtdUK based Flex and ColdFusion Specialists -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] Problem with Cairngorm 2 version of Phones app.
You need to unzip all the files in the root folderof a new Flex Builder project and compile it. And it should work. Benoit Hediard De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Kevin RocheEnvoyé: vendredi 12 mai 2006 15:47À: flexcoders@yahoogroups.comObjet: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Yes, the file is there but I gues it may not be in the right place. I am assuming that placing the whole thing under the place where the mxml file is is correct or does it nee to be in some path so that flex can find it? -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:59To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problem with Cairngorm 2 version of Phones app.Stupid question - the file exists? On 5/12/06, Kevin Roche [EMAIL PROTECTED] wrote: Hi Nik, I found the problem, needed to add all the mxml files to the application. Now I have another problem. Error message says: Unable to locate specified base class 'org.nevis.cairngorm.business.ServiceLocator' for component class 'ApplicationServices' I do have the cairngorm directorystructure (org.. etc) in the same directory as main.mxml. Any ideas why its not found? Kevin -Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:09To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problen with Cairngorm 2 version of Phones app.Hi Kevin,Good to see you on here.Could you post the line(s) in question? It might be that you need to do some CheersNiklas On 5/12/06, Kevin Roche [EMAIL PROTECTED] wrote: Hi,I am having difficult getting the Flex 2 Phones application working withFlex2 Beta 2 (Did not want to try Beta3 until it works)When I try to save and compile I get the following error:Implicit coercion of a value with static type 'Object' to a possibly unrelated type 'Array' Line 33 PhoneListGetCommand.asAnyone know why or what went wrong?I am still learning ActionScript andcant see quite what is wrong here.Kevin Roche Yahoo! Groups Sponsor ~--Protect your PC from spy ware with award winning anti spy technology. It's free.http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM ~---Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Niklas RichardsonPrismix LtdUK based Flex and ColdFusion Specialists --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Niklas RichardsonPrismix LtdUK based Flex and ColdFusion Specialists -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject
RE: [flexcoders] Problem with Cairngorm 2 version of Phones app.
Alternatively you could unzip them anywhere and import the files into a new, empty F2B3 project. I had to do that with a bunch of Cg.99 and Cg2 samples to get them to work. Also, just about every sample Cg app I've run across has something in it somewhere that won't compile in F2B23... Link instead of LinkButton... coersion of UIComponent into possibly unrelated Container... the www.macromedia.com/2005/mxml and http://www.iterationtwo.com/cairngorm namespaces... can't find ServiceLocator the Cg.99 code not residing in packages (which AS 3 requires) stopping the IDE from being able to find them when I'm lookin right at 'em. There hasn't been a single Cg sample app that's worked OOTB for me without having to change something (even the Cg2 CairngormLogin example needs tweaking.) Beta is certainly fun, but it can be awfully frustrating at times too :-) Darren From: Benoit Hediard [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Date: Fri, 12 May 2006 15:57:44 +0200 You need to unzip all the files in the root folder of a new Flex Builder project and compile it. And it should work. Benoit Hediard _ De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Kevin Roche Envoyé : vendredi 12 mai 2006 15:47 À : flexcoders@yahoogroups.com Objet : RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Yes, the file is there but I gues it may not be in the right place. I am assuming that placing the whole thing under the place where the mxml file is is correct or does it nee to be in some path so that flex can find it? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Niklas Richardson Sent: 12 May 2006 11:59 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Problem with Cairngorm 2 version of Phones app. Stupid question - the file exists? On 5/12/06, Kevin Roche [EMAIL PROTECTED] wrote: Hi Nik, I found the problem, needed to add all the mxml files to the application. Now I have another problem. Error message says: Unable to locate specified base class 'org.nevis.cairngorm.business.ServiceLocator' for component class 'ApplicationServices' I do have the cairngorm directory structure (org.. etc) in the same directory as main.mxml. Any ideas why its not found? Kevin -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Niklas Richardson Sent: 12 May 2006 11:09 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Problen with Cairngorm 2 version of Phones app. Hi Kevin, Good to see you on here. Could you post the line(s) in question? It might be that you need to do some Cheers Niklas On 5/12/06, Kevin Roche [EMAIL PROTECTED] wrote: Hi, I am having difficult getting the Flex 2 Phones application working with Flex2 Beta 2 (Did not want to try Beta3 until it works) When I try to save and compile I get the following error: Implicit coercion of a value with static type 'Object' to a possibly unrelated type 'Array' Line 33 PhoneListGetCommand.as Anyone know why or what went wrong? I am still learning ActionScript and cant see quite what is wrong here. Kevin Roche -- 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 Yahoo! Groups Links http://groups.yahoo.com/group/flexcoders/ -- Niklas Richardson Prismix Ltd UK based Flex and ColdFusion Specialists -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site +design+developmentw2=Computer+software+developmentw3=Software+design+and+ developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1 66.sig=L-4QTvxB_quFDtMyhrQaHQComputer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+si te+design+developmentw2=Computer+software+developmentw3=Software+design+an d+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s =166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+ site+design+developmentw2=Computer+software+developmentw3=Software+design+ and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5 s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+deve lopmentw2=Computer+software+developmentw3=Software+design+and+development w4=Macromedia+flexw5=Software+development+best+practicec
RE: [flexcoders] Problem with Cairngorm 2 version of Phones app.
Benoit, That's what I did! I'm stuck now. Kevin -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Benoit HediardSent: 12 May 2006 14:58To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. You need to unzip all the files in the root folderof a new Flex Builder project and compile it. And it should work. Benoit Hediard De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Kevin RocheEnvoyé: vendredi 12 mai 2006 15:47À: flexcoders@yahoogroups.comObjet: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Yes, the file is there but I gues it may not be in the right place. I am assuming that placing the whole thing under the place where the mxml file is is correct or does it nee to be in some path so that flex can find it? -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:59To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problem with Cairngorm 2 version of Phones app.Stupid question - the file exists? On 5/12/06, Kevin Roche [EMAIL PROTECTED] wrote: Hi Nik, I found the problem, needed to add all the mxml files to the application. Now I have another problem. Error message says: Unable to locate specified base class 'org.nevis.cairngorm.business.ServiceLocator' for component class 'ApplicationServices' I do have the cairngorm directorystructure (org.. etc) in the same directory as main.mxml. Any ideas why its not found? Kevin -Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Niklas RichardsonSent: 12 May 2006 11:09To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Problen with Cairngorm 2 version of Phones app.Hi Kevin,Good to see you on here.Could you post the line(s) in question? It might be that you need to do some CheersNiklas On 5/12/06, Kevin Roche [EMAIL PROTECTED] wrote: Hi,I am having difficult getting the Flex 2 Phones application working withFlex2 Beta 2 (Did not want to try Beta3 until it works)When I try to save and compile I get the following error:Implicit coercion of a value with static type 'Object' to a possibly unrelated type 'Array' Line 33 PhoneListGetCommand.asAnyone know why or what went wrong?I am still learning ActionScript andcant see quite what is wrong here.Kevin Roche Yahoo! Groups Sponsor ~--Protect your PC from spy ware with award winning anti spy technology. It's free.http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM ~---Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links * To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ -- Niklas RichardsonPrismix LtdUK based Flex and ColdFusion Specialists --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . -- Niklas RichardsonPrismix LtdUK based Flex and ColdFusion Specialists -- 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
RE: [flexcoders] Problem with Cairngorm 2 version of Phones app.
You have the actual ServiceLocator file in your folders, so open it up and check and to see if the ServiceLocator code in the file is wrapped with an outer package {} definition. If not then the files trying to import that class won't find that class in the proper package. For instance... in the app your building (or in the phones example app) you might have a Services.mxml file in the business folder. The contents are: cairngorm:ServiceLocator xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:cairngorm=org.nevis.cairngorm.business.* mx:HTTPService id=dummyDelegate url=assets/dummy.xml result=event.call.resultHandler( event ) fault=event.call.faultHandler( event ) showBusyCursor=true useProxy=false / /cairngorm:ServiceLocator xmlns:cairngorm=org.nevis.cairngorm.business.* says look in org.nevis.cairngorm.business for the ServiceLocator package. Meanwhile, the beginning of you ServiceLocator.as file needs to read: - package org.nevis.cairngorm.business { import mx.core.UIComponent; import mx.rpc.AbstractService; import mx.rpc.http.HTTPService; public class ServiceLocator extends UIComponent { ... - so that the ServiceLocator class lives inside the org.nevis.cairngorm.business package. If your Services.mxml namespace is wrong it won't be able to find the business package, and if the namespace is correct but the ServiceLocator isn't IN the business package - wrapped with the package {} definition - then the compiler will tell you it can't locate the ServiceLocator. Make sense? Darren From: Kevin Roche [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Date: Fri, 12 May 2006 19:00:02 +0100 Benoit, That's what I did! I'm stuck now. Kevin -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Benoit Hediard Sent: 12 May 2006 14:58 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. You need to unzip all the files in the root folder of a new Flex Builder project and compile it. And it should work. Benoit Hediard -- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Kevin Roche Envoyé : vendredi 12 mai 2006 15:47 À : flexcoders@yahoogroups.com Objet : RE: [flexcoders] Problem with Cairngorm 2 version of Phones app. Yes, the file is there but I gues it may not be in the right place. I am assuming that placing the whole thing under the place where the mxml file is is correct or does it nee to be in some path so that flex can find it? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Niklas Richardson Sent: 12 May 2006 11:59 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Problem with Cairngorm 2 version of Phones app. Stupid question - the file exists? On 5/12/06, Kevin Roche [EMAIL PROTECTED] wrote: Hi Nik, I found the problem, needed to add all the mxml files to the application. Now I have another problem. Error message says: Unable to locate specified base class 'org.nevis.cairngorm.business.ServiceLocator' for component class 'ApplicationServices' I do have the cairngorm directory structure (org.. etc) in the same directory as main.mxml. Any ideas why its not found? Kevin -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Niklas Richardson Sent: 12 May 2006 11:09 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Problen with Cairngorm 2 version of Phones app. Hi Kevin, Good to see you on here. Could you post the line(s) in question? It might be that you need to do some Cheers Niklas On 5/12/06, Kevin Roche [EMAIL PROTECTED] wrote: Hi, I am having difficult getting the Flex 2 Phones application working with Flex2 Beta 2 (Did not want to try Beta3 until it works) When I try to save and compile I get the following error: Implicit coercion of a value with static type 'Object' to a possibly unrelated type 'Array' Line 33 PhoneListGetCommand.as Anyone know why or what went wrong? I am still learning ActionScript and cant see quite what is wrong here. Kevin Roche Yahoo! Groups Sponsor