[flexcoders] Re: changing project settings
I always thought that was a british saying. Anyway, originally New Zealand and now North Carolina ;-} --- In flexcoders@yahoogroups.com, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: you must be from the midwest :) On Tue, Jul 22, 2008 at 11:42 AM, valdhor [EMAIL PROTECTED] wrote: I don't normally do it that way but yes, just set the source and the endpoint and Bob's your auntie ;-} --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, [p e r c e p t i c o n] percepticon@ wrote: it appears easier to do if FB3 than FB2...using remoteobject means you need a destination...which is set in the config...is there a way to specify a destination without it being in a config...if so that would work out for me... thanks percy On Tue, Jul 22, 2008 at 8:53 AM, valdhor stevedepp@ wrote: Just add config files to the project and change your compiler settings to point to the config file(s)... or Create RemoteObject instances and explicitly set the properties. All that the setting does in the project wizard is add the most used items (Like config files) to your project and setup the compiler settings for you. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.comflexcoders% 40yahoogroups.com, [p e r c e p t i c o n] percepticon@ wrote: Hi all, i started a project and at the time i didn't need a server, but now i do. is there a way to modify the settings to use a server after the fact? thanks and cheers percy
[flexcoders] Re: changing project settings
My bad. You need a Destination to send to on the server (The page where the method resides that you are calling). I wrote out an example that doesn't have any config files and no compiler arguments... var channelSet:ChannelSet = new ChannelSet(); var amfChannel:AMFChannel = new AMFChannel(my-amf, http://myserver.com/WebORB30/weborb.php;); channelSet.addChannel(amfChannel); myService = new RemoteObject(); myService.channelSet = channelSet; myService.destination = MyClasses.MyService; myService.getVariables.addEventListener(ResultEvent.RESULT, VariablesHandler); myService.addEventListener(FaultEvent.FAULT, faultHandler); myService.getVariables(); This uses WebOrb for PHP. My class file with the getVariables method resides in the file MyService.php which is in the directory MyClasses in the Services directory of WebOrb. --- In flexcoders@yahoogroups.com, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: sorry but i get this... [MessagingError message='A destination name must be specified.'] percy On Tue, Jul 22, 2008 at 3:00 PM, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: you must be from the midwest :) On Tue, Jul 22, 2008 at 11:42 AM, valdhor [EMAIL PROTECTED] wrote: I don't normally do it that way but yes, just set the source and the endpoint and Bob's your auntie ;-} --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, [p e r c e p t i c o n] percepticon@ wrote: it appears easier to do if FB3 than FB2...using remoteobject means you need a destination...which is set in the config...is there a way to specify a destination without it being in a config...if so that would work out for me... thanks percy On Tue, Jul 22, 2008 at 8:53 AM, valdhor stevedepp@ wrote: Just add config files to the project and change your compiler settings to point to the config file(s)... or Create RemoteObject instances and explicitly set the properties. All that the setting does in the project wizard is add the most used items (Like config files) to your project and setup the compiler settings for you. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.comflexcoders% 40yahoogroups.com, [p e r c e p t i c o n] percepticon@ wrote: Hi all, i started a project and at the time i didn't need a server, but now i do. is there a way to modify the settings to use a server after the fact? thanks and cheers percy
Re: [flexcoders] Re: changing project settings
ah...never heard anyone say it but canadians and midwesterners... :) On Wed, Jul 23, 2008 at 5:45 AM, valdhor [EMAIL PROTECTED] wrote: I always thought that was a british saying. Anyway, originally New Zealand and now North Carolina ;-} --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: you must be from the midwest :) On Tue, Jul 22, 2008 at 11:42 AM, valdhor [EMAIL PROTECTED] wrote: I don't normally do it that way but yes, just set the source and the endpoint and Bob's your auntie ;-} --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.comflexcoders% 40yahoogroups.com, [p e r c e p t i c o n] percepticon@ wrote: it appears easier to do if FB3 than FB2...using remoteobject means you need a destination...which is set in the config...is there a way to specify a destination without it being in a config...if so that would work out for me... thanks percy On Tue, Jul 22, 2008 at 8:53 AM, valdhor stevedepp@ wrote: Just add config files to the project and change your compiler settings to point to the config file(s)... or Create RemoteObject instances and explicitly set the properties. All that the setting does in the project wizard is add the most used items (Like config files) to your project and setup the compiler settings for you. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com flexcoders%40yahoogroups.comflexcoders% 40yahoogroups.com, [p e r c e p t i c o n] percepticon@ wrote: Hi all, i started a project and at the time i didn't need a server, but now i do. is there a way to modify the settings to use a server after the fact? thanks and cheers percy
Re: [flexcoders] Re: changing project settings
worked like a charm! thanks mate! percy On Wed, Jul 23, 2008 at 7:36 AM, valdhor [EMAIL PROTECTED] wrote: My bad. You need a Destination to send to on the server (The page where the method resides that you are calling). I wrote out an example that doesn't have any config files and no compiler arguments... var channelSet:ChannelSet = new ChannelSet(); var amfChannel:AMFChannel = new AMFChannel(my-amf, http://myserver.com/WebORB30/weborb.php;); channelSet.addChannel(amfChannel); myService = new RemoteObject(); myService.channelSet = channelSet; myService.destination = MyClasses.MyService; myService.getVariables.addEventListener(ResultEvent.RESULT, VariablesHandler); myService.addEventListener(FaultEvent.FAULT, faultHandler); myService.getVariables(); This uses WebOrb for PHP. My class file with the getVariables method resides in the file MyService.php which is in the directory MyClasses in the Services directory of WebOrb. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: sorry but i get this... [MessagingError message='A destination name must be specified.'] percy On Tue, Jul 22, 2008 at 3:00 PM, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: you must be from the midwest :) On Tue, Jul 22, 2008 at 11:42 AM, valdhor [EMAIL PROTECTED] wrote: I don't normally do it that way but yes, just set the source and the endpoint and Bob's your auntie ;-} --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.comflexcoders% 40yahoogroups.com, [p e r c e p t i c o n] percepticon@ wrote: it appears easier to do if FB3 than FB2...using remoteobject means you need a destination...which is set in the config...is there a way to specify a destination without it being in a config...if so that would work out for me... thanks percy On Tue, Jul 22, 2008 at 8:53 AM, valdhor stevedepp@ wrote: Just add config files to the project and change your compiler settings to point to the config file(s)... or Create RemoteObject instances and explicitly set the properties. All that the setting does in the project wizard is add the most used items (Like config files) to your project and setup the compiler settings for you. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com flexcoders%40yahoogroups.comflexcoders% 40yahoogroups.com, [p e r c e p t i c o n] percepticon@ wrote: Hi all, i started a project and at the time i didn't need a server, but now i do. is there a way to modify the settings to use a server after the fact? thanks and cheers percy
[flexcoders] Re: changing project settings
Just add config files to the project and change your compiler settings to point to the config file(s)... or Create RemoteObject instances and explicitly set the properties. All that the setting does in the project wizard is add the most used items (Like config files) to your project and setup the compiler settings for you. --- In flexcoders@yahoogroups.com, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: Hi all, i started a project and at the time i didn't need a server, but now i do. is there a way to modify the settings to use a server after the fact? thanks and cheers percy
Re: [flexcoders] Re: changing project settings
it appears easier to do if FB3 than FB2...using remoteobject means you need a destination...which is set in the config...is there a way to specify a destination without it being in a config...if so that would work out for me... thanks percy On Tue, Jul 22, 2008 at 8:53 AM, valdhor [EMAIL PROTECTED] wrote: Just add config files to the project and change your compiler settings to point to the config file(s)... or Create RemoteObject instances and explicitly set the properties. All that the setting does in the project wizard is add the most used items (Like config files) to your project and setup the compiler settings for you. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: Hi all, i started a project and at the time i didn't need a server, but now i do. is there a way to modify the settings to use a server after the fact? thanks and cheers percy
[flexcoders] Re: changing project settings
I don't normally do it that way but yes, just set the source and the endpoint and Bob's your auntie ;-} --- In flexcoders@yahoogroups.com, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: it appears easier to do if FB3 than FB2...using remoteobject means you need a destination...which is set in the config...is there a way to specify a destination without it being in a config...if so that would work out for me... thanks percy On Tue, Jul 22, 2008 at 8:53 AM, valdhor [EMAIL PROTECTED] wrote: Just add config files to the project and change your compiler settings to point to the config file(s)... or Create RemoteObject instances and explicitly set the properties. All that the setting does in the project wizard is add the most used items (Like config files) to your project and setup the compiler settings for you. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, [p e r c e p t i c o n] percepticon@ wrote: Hi all, i started a project and at the time i didn't need a server, but now i do. is there a way to modify the settings to use a server after the fact? thanks and cheers percy
Re: [flexcoders] Re: changing project settings
you must be from the midwest :) On Tue, Jul 22, 2008 at 11:42 AM, valdhor [EMAIL PROTECTED] wrote: I don't normally do it that way but yes, just set the source and the endpoint and Bob's your auntie ;-} --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: it appears easier to do if FB3 than FB2...using remoteobject means you need a destination...which is set in the config...is there a way to specify a destination without it being in a config...if so that would work out for me... thanks percy On Tue, Jul 22, 2008 at 8:53 AM, valdhor [EMAIL PROTECTED] wrote: Just add config files to the project and change your compiler settings to point to the config file(s)... or Create RemoteObject instances and explicitly set the properties. All that the setting does in the project wizard is add the most used items (Like config files) to your project and setup the compiler settings for you. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.comflexcoders% 40yahoogroups.com, [p e r c e p t i c o n] percepticon@ wrote: Hi all, i started a project and at the time i didn't need a server, but now i do. is there a way to modify the settings to use a server after the fact? thanks and cheers percy
Re: [flexcoders] Re: changing project settings
sorry but i get this... [MessagingError message='A destination name must be specified.'] percy On Tue, Jul 22, 2008 at 3:00 PM, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: you must be from the midwest :) On Tue, Jul 22, 2008 at 11:42 AM, valdhor [EMAIL PROTECTED] wrote: I don't normally do it that way but yes, just set the source and the endpoint and Bob's your auntie ;-} --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: it appears easier to do if FB3 than FB2...using remoteobject means you need a destination...which is set in the config...is there a way to specify a destination without it being in a config...if so that would work out for me... thanks percy On Tue, Jul 22, 2008 at 8:53 AM, valdhor [EMAIL PROTECTED] wrote: Just add config files to the project and change your compiler settings to point to the config file(s)... or Create RemoteObject instances and explicitly set the properties. All that the setting does in the project wizard is add the most used items (Like config files) to your project and setup the compiler settings for you. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.comflexcoders% 40yahoogroups.com, [p e r c e p t i c o n] percepticon@ wrote: Hi all, i started a project and at the time i didn't need a server, but now i do. is there a way to modify the settings to use a server after the fact? thanks and cheers percy