Hi Guy,

is it crashing or "not working"? If you still see the error messages, I suppose 
it isn't 
crashing?

It looks like either the svgPoint or the matrix isn't properly defined? Maybe 
check the input 
parameters to mapApp.prototype.calcCoord(evt,ctmNode). Maybe either "evt" or 
"ctmNode" is an empty reference. If you just want to calculate the 
transformations up to 
the element where the event occured, it is enough to just pass over the "evt" 
object, you 
may omit "ctmNode" in this case or set it to "undefined".

The function that you mention works fine in my Opera installation, so I suspect 
there is 
something wrong with your code.

Does it work in other implementations? Firefox, Batik, ASV6? with no error 
message?

Hope this helps,
Andreas

> Opera crashes on my SVG app. I'm using the carto mapApp lib and it 
> appears to take exception to this line
> 
>       svgPoint = svgPoint.matrixTransform(matrix.inverse());
> 
> It says "message: Statement on line 71: Could not convert undefined or 
> null to object"
> 
> Any ideas anyone?
> 
> Guy
> 
> Jim Ley wrote:
> > "Jonathan Watt" <[EMAIL PROTECTED]> wrote in message 
> > news:[EMAIL PROTECTED]
> > On 5/8/06, Jonathan Chetwynd <[EMAIL PROTECTED]> wrote:
> >   
> >>> two alert dialogues
> >>> "Object   SVGGElement"          (evt.Target)
> >>> "symbol2"                                       (evt.Target.id)
> >>> Firefox1.5
> >>>
> >>>       
> >> Mozilla shouldn't be doing that.
> >>     
> >
> > Oh yes it should!
> >
> >   
> >> You should use .getAttribute('id') instead of .id
> >>     
> >
> > but if you're going to do that, then you might want to read this excellent 
> > article by one Jonathon Watt:
> >
> > http://jwatt.org/svg/authoring/#namespace-aware-methods
> >
> > Jim. 
> >
> >
> >
> >
> >
> >
> > -----
> > To unsubscribe send a message to: [EMAIL PROTECTED]
> > -or-
> > visit http://groups.yahoo.com/group/svg-developers and click "edit my 
> > membership"
> > ---- 
> > Yahoo! Groups Links
> >
> >
> >
> >  
> >
> >
> >
> >   
> 
> 
> [Non-text portions of this message have been removed]
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> 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/
 


Reply via email to