From keithshaw26 at gmail.com Wed Jul 30 11:51:28 2008 From: keithshaw26 at gmail.com (keith shaw) Date: Wed, 30 Jul 2008 11:51:28 -0400 Subject: [Funfx-user] Finding an object within a VBox that contains two object Message-ID: Hello FunFX Users, I have recently ran into a problem with some of my FunFX scripts. In one section of our application there is a VBox that contains two objects. The first object is an image (thumbnail) which the user can drag to other parts of the application. The next object is a label that was recently added. Since the addition of the label below the image I have not been able to use FunFX to drag the images to other parts of the application. It seems as though FunFX can not longer find the images by their automationName although with some logging I was able to make sure the automationName is correct. When trying to drag the image from the VBox I get the following error from FunFX: 1) Error: > testPhotobook(Photobook): > RuntimeError: No draggable item contains the value on the > object with the name > /opt/local/lib/ruby/gems/1.8/gems/FunFX-0.0.4/lib/xml_parser.rb:155:in > `drag_start' The thing to remember here is that if I remove the Label from the mxml all the scripts I've written run fine. Here is a snippet of code that contains the mxml where the VBox is used: verticalAlign="middle" alpha="0.0" styleName="standardPadding"> > id="liImage" > horizontalAlign="center" > width="100" > height="100" > name="thumbnail" > source="{data.thumbnailImageUrl}" > click="buttonDo(event)" > complete="loadCompleteHandler(event);" > automationName="{data.thumbnailImageUrl}" > buttonMode="true" useHandCursor="true" mouseChildren="false" /> > > Any information or ideas anyone can contribute will be greatly appreciated. -Keith -- Keith Shaw KeithShaw26 at gmail.com (919) 656-3164 -------------- next part -------------- An HTML attachment was scrubbed... URL: From LBernstein at demandbase.com Thu Jul 31 12:38:04 2008 From: LBernstein at demandbase.com (Larry Bernstein) Date: Thu, 31 Jul 2008 09:38:04 -0700 Subject: [Funfx-user] Instructions for getting FunFX running on MacOS? Message-ID: Hi, Can someone send out the information for getting FunFX working on MacOS. I?ve seen indications that it can be done but I?m not having any luck. My efforts have run into the following: Although I have the gems installed I'm getting a load error with require 'funfx'. I added require 'rubygems' which resulted in a load error for rbosa. I tried to install the rbosa gem (since I figured AppleEvents might be needed for Safari?) but that led to a number of other issues. I?m hoping someone who has had success getting it up and running on Mac can respond with some instructions. Thanks. Larry. Larry Bernstein | larry.bernstein at demandbase.com | demandbase | 415.683.2670 -------------- next part -------------- An HTML attachment was scrubbed... URL: