[flexcoders] LineSeries datapoint lookup

2008-05-27 Thread switchthreed
Hi all,

Currently i have a linechart with a single lineseries, using
annotationElements and extending ChartElement, i created a custom
"chart cursor" which draws vertical lines across the chart (using
graphics object) at specified intervals. For each vertical line that i
am drawing i am also trying to display the datapoint which it
intersects, and this is where i run into problems.
I use findDataPoints method on the lineseries object but it doesn't
always return the value of the point that i intersect but instead
return closest datapoint to the x/y coordinates that i pass ( as it
should per documentation ). what would be a better way to go about
this problem? Basically i know my X coordinate but dont know where the
data is on the Y axis so i cant get close to the intersection point.

Thanks



[flexcoders] Re: webtier flexbuilder license

2008-05-27 Thread switchthreed
Anyone found a solution or a workaround for this issue?  looks like 
adobe has a bug open for this but no solution yet. Very annoying.

http://bugs.adobe.com/jira/browse/SDK-15489


--- In flexcoders@yahoogroups.com, "Ronen Naor" <[EMAIL PROTECTED]> 
wrote:
>
> Hi,
> I'm using the webtier compiler environment under Tomcat and 
everything works
> fine except the license issue.
> When I uncomment this section in flex-config.xml file:
> *
>   
>   *
> I get :
> INFO Loading configuration file ..WEB-INF\flex\flex-webtier-
config.xml
> *INFO Loading configuration file ..WEB-INF\flex\flex-config.xml
> ..\WEB-INF\flex\flex-config.xml(342): Error: unknown 
configuration
> variable 'licenses'
> WARN: failed FlexMxmlServlet
> javax.servlet.ServletException: javax.servlet.ServletException:
> .WEB-INF\flex\flex-config.xml(342): Error: unknown configuration
> variable 'licenses'
> 
> *And when I changed the file license.properties with the entry
> flexbuilder3=[My license] I get:
> *flex.webtier.services.license.InvalidLicenseException: An invalid
> flexbuilder3 license key was entered. To enable a trial, which does 
not
> required a license, please remove the invalid flexbuilder3 license 
key from
> license.properties.
> 
> *Anyone can help?
> *
> *Thanks,
> Ronen.*
> 
> 
> *
>




[flexcoders] Re: Need Advice on browser buttons

2008-05-27 Thread switchthreed
I would probably start with onunload javascript function for the html
that loads your movie. 

this snippet should do the trick :
http://www.javascript-page.com/onunload.html

--- In flexcoders@yahoogroups.com, "Body Works Studio"
<[EMAIL PROTECTED]> wrote:
>
> Hi all,
> 
> gotten some user feedback on the app I am working on. big complaints
> are when a user clicks back by accident or the refresh button. What
> are you doing to limit how the user works in the browser so they don't
> kill the app and their work.
> 
> Thanks
> 
> Jeff
>