Hi all

         We create a SVG file like follows:
      <svg xmlns="http://www.w3.org/2000/svg"; width="100" height="100">
      <circle cx="50" cy="50" r="50" fill="green" onclick="showFrame()"/>
        <script type="text/ecmascript">
         importPackage(Packages.SVG);
        function showFrame() {  
          var frame = Packages.SVG.SVGCreator.getmin();
          alert(frame);  
          }
          </script>
         </svg>
       It is located in the same postion as package "SVG", the getmain() method
       in class SVGCreator is very simple,just return a float value. However, 
when 
       We use batik-squiggle to display it ,we have error messages like 
"getmain  is
       not a function ,it is org.mozilla.javascript.NativeJavaPackage "
       Any insight would be appreciated. Thanks!




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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

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