Hi, I was wondering if anyone had any experience or examples floating around? Looking to use Melomel with RobotLegs and have commands call the relevant functionality methods that need testing. Cheers Ant.
When your AS3 app starts up, you should just need to call: Melomel.connect(); And then in your Ruby script, require melomel and call Melomel.connect(). You can find documentation on the Ruby side here: http://melomel.info/Ruby Let me know if you still need a hand hooking it up. Ben ________________________________ From: cisnky <cisnky@gmail.com> To: melomel@librelist.com Sent: Wed, July 6, 2011 10:25:56 AM Subject: [melomel] Melomel with Pure AS3 Hi, I was wondering if anyone had any experience or examples floating around? Looking to use Melomel with RobotLegs and have commands call the relevant functionality methods that need testing. Cheers Ant.
Thanks for the documentation. Makes sense and I'll give it a go in a bit. I was wondering if anyone had tried it with a RobotLegs project and had any best practice for invoking commands. Cheers Ant. On 06/07/2011 17:56, Ben Johnson wrote: > When your AS3 app starts up, you should just need to call: > > Melomel.connect(); > > And then in your Ruby script, require melomel and call Melomel.connect(). > > You can find documentation on the Ruby side here: > > http://melomel.info/Ruby > > Let me know if you still need a hand hooking it up. > > > Ben > > ------------------------------------------------------------------------ > *From:* cisnky <cisnky@gmail.com> > *To:* melomel@librelist.com > *Sent:* Wed, July 6, 2011 10:25:56 AM > *Subject:* [melomel] Melomel with Pure AS3 > > Hi, > > I was wondering if anyone had any experience or examples floating around? > > Looking to use Melomel with RobotLegs and have commands call the > relevant functionality methods that need testing. > > Cheers > > Ant.
I haven't used it with RobotLegs. There's not necessarily any best practices. Once you grab a reference to the object with Melomel, you just need to call the name of the method directly on it. Are you trying to access a singleton? Or a display object? What kind of object are you calling methods on? Ben On Jul 6, 2011, at 4:40 PM, Anthony Onumonu wrote: > Thanks for the documentation. Makes sense and I'll give it a go in a bit. > > I was wondering if anyone had tried it with a RobotLegs project and had any best practice for invoking commands. > > Cheers > > Ant. > > > On 06/07/2011 17:56, Ben Johnson wrote: >> >> When your AS3 app starts up, you should just need to call: >> >> Melomel.connect(); >> >> And then in your Ruby script, require melomel and call Melomel.connect(). >> >> You can find documentation on the Ruby side here: >> >> http://melomel.info/Ruby >> >> Let me know if you still need a hand hooking it up. >> >> >> Ben >> >> From: cisnky <cisnky@gmail.com> >> To: melomel@librelist.com >> Sent: Wed, July 6, 2011 10:25:56 AM >> Subject: [melomel] Melomel with Pure AS3 >> >> Hi, >> >> I was wondering if anyone had any experience or examples floating around? >> >> Looking to use Melomel with RobotLegs and have commands call the relevant functionality methods that need testing. >> >> Cheers >> >> Ant.
Was thinking about accessing commands but it might be easier to just call mediator methods. Will let you know how I get on. Ant On 7 July 2011 00:35, Ben Johnson <benbjohnson@yahoo.com> wrote: > I haven't used it with RobotLegs. There's not necessarily any best > practices. Once you grab a reference to the object with Melomel, you just > need to call the name of the method directly on it. > > Are you trying to access a singleton? Or a display object? What kind of > object are you calling methods on? > > > Ben > > > > On Jul 6, 2011, at 4:40 PM, Anthony Onumonu wrote: > > Thanks for the documentation. Makes sense and I'll give it a go in a bit. > > I was wondering if anyone had tried it with a RobotLegs project and had any > best practice for invoking commands. > > Cheers > > Ant. > > > On 06/07/2011 17:56, Ben Johnson wrote: > > When your AS3 app starts up, you should just need to call: > > Melomel.connect(); > > And then in your Ruby script, require melomel and call Melomel.connect(). > > You can find documentation on the Ruby side here: > > http://melomel.info/Ruby > > Let me know if you still need a hand hooking it up. > > > Ben > > ------------------------------ > *From:* cisnky <cisnky@gmail.com> <cisnky@gmail.com> > *To:* melomel@librelist.com > *Sent:* Wed, July 6, 2011 10:25:56 AM > *Subject:* [melomel] Melomel with Pure AS3 > > Hi, > > I was wondering if anyone had any experience or examples floating around? > > Looking to use Melomel with RobotLegs and have commands call the relevant > functionality methods that need testing. > > Cheers > > Ant. > > >