Issue 650 in svgweb: Flash Player 11 - class not found flash.display.GraphicsPath

5 views
Skip to first unread message

svg...@googlecode.com

unread,
Oct 29, 2012, 5:43:17 AM10/29/12
to svg-w...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Low

New issue 650 by Johann.N...@gmail.com: Flash Player 11 - class not found
flash.display.GraphicsPath
http://code.google.com/p/svgweb/issues/detail?id=650

>> What steps will reproduce the problem?
1. Install Flash Player 11.2.
2. Test Flash based SVG Renderer

>> What is the expected output? What do you see instead?
Rendered SVG. Error Message.

>> What version of the product are you using? On what operating system,
browser, and version of Flash?
The newest svgweb. On Windows 7. Flash Player 11.2.202

Please provide any additional information below. Reduced test cases are
always appreciated!


svg...@googlecode.com

unread,
Oct 29, 2012, 5:45:58 AM10/29/12
to svg-w...@googlegroups.com

Comment #1 on issue 650 by Johann.N...@gmail.com: Flash Player 11 - class
not found flash.display.GraphicsPath
http://code.google.com/p/svgweb/issues/detail?id=650

Browser Mozilla Firefox 16.0.1

svg...@googlecode.com

unread,
Oct 30, 2012, 5:49:47 AM10/30/12
to svg-w...@googlegroups.com

Comment #2 on issue 650 by Johann.N...@gmail.com: Flash Player 11 - class
not found flash.display.GraphicsPath
http://code.google.com/p/svgweb/issues/detail?id=650

I have found in asdraw project - but now Graphics.drawPath is undefined

svg...@googlecode.com

unread,
Oct 30, 2012, 7:50:02 AM10/30/12
to svg-w...@googlegroups.com

Comment #3 on issue 650 by Johann.N...@gmail.com: Flash Player 11 - class
not found flash.display.GraphicsPath
http://code.google.com/p/svgweb/issues/detail?id=650

wrote my own

public function drawPath( graphics : Graphics ) : void {
var j : int = 0;
for( var i : int = 0; i < commands.length; i++ ) {
switch( commands[i] ) {
case GraphicsPathCommand.CURVE_TO:
graphics.curveTo( data[j], data[j+1], data[j+2], data[j+3] );
j+=4;
break;
case GraphicsPathCommand.LINE_TO:
graphics.lineTo( data[j], data[j+1] );
j+=2;
break;
case GraphicsPathCommand.MOVE_TO:
graphics.moveTo( data[j], data[j+1] );
j+=2;
break;
case GraphicsPathCommand.WIDE_LINE_TO:
graphics.lineTo( data[j], data[j+1] );
j+=4;
break;
case GraphicsPathCommand.WIDE_MOVE_TO:
graphics.moveTo( data[j], data[j+1] );
j+=4;
break;
}
}
}

Reply all
Reply to author
Forward
0 new messages