My favorites | Sign in
Project Logo
             
Details: Show all Hide all

Last 30 days

  • Nov 29, 2009
    issue 14 (Text location bug?) Status changed by lucaslorentzlara   -   Thanks for your help. I haven't removed that lines. It is usefull when attributes x and y are set in a tspan. I've changed the position of TSpan TextField to be relative to current viewbox.
    Status: Done
    Thanks for your help. I haven't removed that lines. It is usefull when attributes x and y are set in a tspan. I've changed the position of TSpan TextField to be relative to current viewbox.
    Status: Done
  • Nov 29, 2009
    issue 15 (opacity attribute dont work) Status changed by lucaslorentzlara   -  
    Status: Done
    Status: Done

Earlier this year

  • Nov 27, 2009
    issue 15 (opacity attribute dont work) commented on by discogeorg   -   Works perfectly for me! Thanks a lot!
    Works perfectly for me! Thanks a lot!
  • Nov 24, 2009
    issue 15 (opacity attribute dont work) changed by lucaslorentzlara   -   Please, try again with source code of rev. 35 Waiting for your feedback to close this issue. Thanks for your support
    Status: Accepted
    Owner: lucaslorentzlara
    Please, try again with source code of rev. 35 Waiting for your feedback to close this issue. Thanks for your support
    Status: Accepted
    Owner: lucaslorentzlara
  • Nov 24, 2009
    r35 ([No log message]) committed by lucaslorentzlara   -   [No log message]
    [No log message]
  • Nov 12, 2009
    issue 15 (opacity attribute dont work) reported by cpartiot   -   <g style="opacity:0.5"></g> Works but <g opacity="0.5"></g> don't works
    <g style="opacity:0.5"></g> Works but <g opacity="0.5"></g> don't works
  • Oct 15, 2009
    issue 7 (Rendering a succession of SVG files in separate MCs) Status changed by lucaslorentzlara   -  
    Status: Done
    Status: Done
  • Oct 13, 2009
    issue 14 (Text location bug?) Owner changed by lucaslorentzlara   -   Thanks for your help. I haven't removed that lines. It is usefull when attributes x and y are set in a tspan. I've changed the position of TSpan TextField to atual viewbox, instead of Text sprite.
    Owner: lucaslorentzlara
    Thanks for your help. I haven't removed that lines. It is usefull when attributes x and y are set in a tspan. I've changed the position of TSpan TextField to atual viewbox, instead of Text sprite.
    Owner: lucaslorentzlara
  • Oct 13, 2009
    issue 14 (Text location bug?) Status changed by lucaslorentzlara   -   Thank's for your help. I haven't removed that lines. It is usefull when attributes x and y are set in a tspan. I've changed the position of TSpan TextField to atual viewbox, instead of Text sprite.
    Status: Fixed
    Thank's for your help. I haven't removed that lines. It is usefull when attributes x and y are set in a tspan. I've changed the position of TSpan TextField to atual viewbox, instead of Text sprite.
    Status: Fixed
  • Oct 13, 2009
    r34 (Fixed TSpan positioning when attributes X, Y are defined) committed by lucaslorentzlara   -   Fixed TSpan positioning when attributes X, Y are defined
    Fixed TSpan positioning when attributes X, Y are defined
  • Sep 07, 2009
    issue 14 (Text location bug?) reported by sherene.guindi   -   What steps will reproduce the problem? 1. Load an SVG with both text and graphics (see one attached) 2. Load in flash and you'll see that the text is misplaced What is the expected output? What do you see instead? The text location is misplaced, it gets worse as the text location is further from (0,0) What version of the product are you using? On what operating system? Latest - windows, Flash 10 Please provide any additional information below. The solution to the bug seems to be the following: comment out the following section in function visitText. It worked for me, and it makes sense: /* if(childElt.x!=null) tField.x = childElt.x; if(childElt.y!=null) tField.y = childElt.y; */ This section simply duplicates altering the coordinates, as later in the same function, the coordinates of the parent sprite itself become equal to the values above (childElt.x and childElt.y). The effective coordinates become therefore 2.x and 2.y. Thanks for a great program!
    What steps will reproduce the problem? 1. Load an SVG with both text and graphics (see one attached) 2. Load in flash and you'll see that the text is misplaced What is the expected output? What do you see instead? The text location is misplaced, it gets worse as the text location is further from (0,0) What version of the product are you using? On what operating system? Latest - windows, Flash 10 Please provide any additional information below. The solution to the bug seems to be the following: comment out the following section in function visitText. It worked for me, and it makes sense: /* if(childElt.x!=null) tField.x = childElt.x; if(childElt.y!=null) tField.y = childElt.y; */ This section simply duplicates altering the coordinates, as later in the same function, the coordinates of the parent sprite itself become equal to the values above (childElt.x and childElt.y). The effective coordinates become therefore 2.x and 2.y. Thanks for a great program!
  • Jul 25, 2009
    issue 13 (Couple return values missing) changed by lucaslorentzlara   -   Ok, fixed. I'm using Adobe Flash CS4 to develop this library and it doesn't warn it. Thanks.
    Status: Fixed
    Owner: lucaslorentzlara
    Ok, fixed. I'm using Adobe Flash CS4 to develop this library and it doesn't warn it. Thanks.
    Status: Fixed
    Owner: lucaslorentzlara
  • Jul 25, 2009
    r33 (Fixed some return values missing) committed by lucaslorentzlara   -   Fixed some return values missing
    Fixed some return values missing
  • Jul 25, 2009
    issue 13 (Couple return values missing) reported by olavic   -   com.lorentz.SVG.PathRenderer.as(34): col: 55 Warning: return value for function 'render' has no type declaration. com.lorentz.SVG.PathRenderer.as(118): col: 29 Warning: return value for function 'closePath' has no type declaration. Those two functions are missing a return value. Assumable fixed by adding ":void".
    com.lorentz.SVG.PathRenderer.as(34): col: 55 Warning: return value for function 'render' has no type declaration. com.lorentz.SVG.PathRenderer.as(118): col: 29 Warning: return value for function 'closePath' has no type declaration. Those two functions are missing a return value. Assumable fixed by adding ":void".
  • Jul 22, 2009
    issue 12 (Link support not implemented) reported by k...@pobox.com   -   What steps will reproduce the problem? 1. Load the xml file that is attached. 2. call new SVGRenderer(<xml object>) What is the expected output? What do you see instead? The expected output is that a rectangle is drawn. Ideally there would also be a cursor change around the rectangle and some default action upon clicking. The rectangle is not even drawn. What version of the product are you using? On what operating system? The latest Please provide any additional information below. For a link tag to be useful to me it would not only render the inner contents but allow me to attach handlers to (perhaps) some of the events associated with links.
    What steps will reproduce the problem? 1. Load the xml file that is attached. 2. call new SVGRenderer(<xml object>) What is the expected output? What do you see instead? The expected output is that a rectangle is drawn. Ideally there would also be a cursor change around the rectangle and some default action upon clicking. The rectangle is not even drawn. What version of the product are you using? On what operating system? The latest Please provide any additional information below. For a link tag to be useful to me it would not only render the inner contents but allow me to attach handlers to (perhaps) some of the events associated with links.
  • Jul 22, 2009
    issue 11 (Defs not used when parsing SVG) Status changed by lucaslorentzlara   -   - It looks like defs is not read. Will that be done soon? Yah, it is done. Thanks for posting it. Your explanation and svg file is very simple. I've made some fixes in r32. Please, get it from SVN.
    Status: Fixed
    - It looks like defs is not read. Will that be done soon? Yah, it is done. Thanks for posting it. Your explanation and svg file is very simple. I've made some fixes in r32. Please, get it from SVN.
    Status: Fixed
  • Jul 22, 2009
    r32 (fixed: defs was being ignored. now clipPaths are saved in de...) committed by lucaslorentzlara   -   fixed: defs was being ignored. now clipPaths are saved in defs variable by the parser.
    fixed: defs was being ignored. now clipPaths are saved in defs variable by the parser.
  • Jul 20, 2009
    issue 11 (Defs not used when parsing SVG) reported by k...@pobox.com   -   What steps will reproduce the problem? 1. Load the xml file that is attached. 2. call new SVGRenderer(<xml object>) What is the expected output? What do you see instead? The expected output is that a simple rectangle is drawn. Instead I get the following error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.lorentz.SVG::SVGRenderer/visitClipPath()[...\as3svgrenderer\com\lorentz\SVG\SVGRenderer.as:355] at com.lorentz.SVG::SVGRenderer/visit()[...\as3svgrenderer\com\lorentz\SVG\SVGRenderer.as:101] at com.lorentz.SVG::SVGRenderer/visitG()[...\as3svgrenderer\com\lorentz\SVG\SVGRenderer.as:348] at com.lorentz.SVG::SVGRenderer/visit()[...\as3svgrenderer\com\lorentz\SVG\SVGRenderer.as:80] at com.lorentz.SVG::SVGRenderer/visitSvg()[...\as3svgrenderer\com\lorentz\SVG\SVGRenderer.as:152] at com.lorentz.SVG::SVGRenderer/visit()[...\as3svgrenderer\com\lorentz\SVG\SVGRenderer.as:56] at com.lorentz.SVG::SVGRenderer()[...\as3svgrenderer\com\lorentz\SVG\SVGRenderer.as:35] What version of the product are you using? On what operating system? Version 0.3 on Windows Vista Please provide any additional information below. It looks like defs is not read. Will that be done soon?
    What steps will reproduce the problem? 1. Load the xml file that is attached. 2. call new SVGRenderer(<xml object>) What is the expected output? What do you see instead? The expected output is that a simple rectangle is drawn. Instead I get the following error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.lorentz.SVG::SVGRenderer/visitClipPath()[...\as3svgrenderer\com\lorentz\SVG\SVGRenderer.as:355] at com.lorentz.SVG::SVGRenderer/visit()[...\as3svgrenderer\com\lorentz\SVG\SVGRenderer.as:101] at com.lorentz.SVG::SVGRenderer/visitG()[...\as3svgrenderer\com\lorentz\SVG\SVGRenderer.as:348] at com.lorentz.SVG::SVGRenderer/visit()[...\as3svgrenderer\com\lorentz\SVG\SVGRenderer.as:80] at com.lorentz.SVG::SVGRenderer/visitSvg()[...\as3svgrenderer\com\lorentz\SVG\SVGRenderer.as:152] at com.lorentz.SVG::SVGRenderer/visit()[...\as3svgrenderer\com\lorentz\SVG\SVGRenderer.as:56] at com.lorentz.SVG::SVGRenderer()[...\as3svgrenderer\com\lorentz\SVG\SVGRenderer.as:35] What version of the product are you using? On what operating system? Version 0.3 on Windows Vista Please provide any additional information below. It looks like defs is not read. Will that be done soon?
  • Jul 16, 2009
    r31 (Some fixes on text and tspan support. Added a new sample: ts...) committed by lucaslorentzlara   -   Some fixes on text and tspan support. Added a new sample: tspan02.svg
    Some fixes on text and tspan support. Added a new sample: tspan02.svg
  • Jul 12, 2009
    issue 10 (Permit suscribe to events dispatched by the class SVGRendere...) commented on by lucaslorentzlara   -   Let me see if I understood. Correct me if I'm wrong! You are suggesting to add events to the library, allowing developers to change the element's(node) properties before it is rendered. It's a good ideia. Send me your modifications, and I will analyse if is interesting put this feature on the library now. I started to develop this library to use in a project, but now, I have been improving it as a hobby. Unfortenetly I have not had much free time lately, that's why I'm only doing small improvements. Now I'm trying to achieve a perfect render result, fixing issues and adding support for more svg elements. Could you send me an email telling about your use of the library, your project and company? It's very nice to discover interesting flash projects, and it's good to know how useful this library is. Regards, Lucas Lorentz Lara
    Let me see if I understood. Correct me if I'm wrong! You are suggesting to add events to the library, allowing developers to change the element's(node) properties before it is rendered. It's a good ideia. Send me your modifications, and I will analyse if is interesting put this feature on the library now. I started to develop this library to use in a project, but now, I have been improving it as a hobby. Unfortenetly I have not had much free time lately, that's why I'm only doing small improvements. Now I'm trying to achieve a perfect render result, fixing issues and adding support for more svg elements. Could you send me an email telling about your use of the library, your project and company? It's very nice to discover interesting flash projects, and it's good to know how useful this library is. Regards, Lucas Lorentz Lara
  • Jul 12, 2009
    issue 10 (Permit suscribe to events dispatched by the class SVGRendere...) commented on by lucaslorentzlara   -   Let me see if I understood. Correct me if I'm wrong! You are suggesting to add events to the library, allowing developers to change the element's(node) properties before it is rendered. It's a good ideia. Send me your modifications, and I will analyse if is interesting put this feature on the library for now. I started to develop this library to use in a project, but now, I have been improving it as a hobby. Unfortenetly I have not had much free time lately, that's why I'm only doing small improvements. Now I'm trying to achieve a perfect render result, fixing issues and adding support for more svg elements. Could you send me an email telling about your use of the library, your project and company. It's very nice to discover interesting flash projects, and is good to know how useful this library is. Regards, Lucas Lorentz Lara
    Let me see if I understood. Correct me if I'm wrong! You are suggesting to add events to the library, allowing developers to change the element's(node) properties before it is rendered. It's a good ideia. Send me your modifications, and I will analyse if is interesting put this feature on the library for now. I started to develop this library to use in a project, but now, I have been improving it as a hobby. Unfortenetly I have not had much free time lately, that's why I'm only doing small improvements. Now I'm trying to achieve a perfect render result, fixing issues and adding support for more svg elements. Could you send me an email telling about your use of the library, your project and company. It's very nice to discover interesting flash projects, and is good to know how useful this library is. Regards, Lucas Lorentz Lara
  • Jul 12, 2009
    issue 10 (Permit suscribe to events dispatched by the class SVGRendere...) changed by lucaslorentzlara   -   Let me see if I understood. Correct me if I'm wrong! You are suggesting to add events to the library, allowing developers to change the element's(node) properties before it is rendered. It's a good ideia. Send me your modifications, and I will analyse if is interesting put this feature on the library for now. I started to develop this library to use in a project, now, as a hobby, I like to spent some time improving it. But lately I'm not having much free time, that's why I'm only doing small improvements. For now I'm trying to achieve a perfect render result, fixing issues and adding support for more svg elements. Could you send me an email telling about your use of the library, about the project, company. Is very nice discover interesting flash projects, and is good to know how useful this library is.
    Owner: lucaslorentzlara
    Labels: Type-Enhancement Type-Defect
    Let me see if I understood. Correct me if I'm wrong! You are suggesting to add events to the library, allowing developers to change the element's(node) properties before it is rendered. It's a good ideia. Send me your modifications, and I will analyse if is interesting put this feature on the library for now. I started to develop this library to use in a project, now, as a hobby, I like to spent some time improving it. But lately I'm not having much free time, that's why I'm only doing small improvements. For now I'm trying to achieve a perfect render result, fixing issues and adding support for more svg elements. Could you send me an email telling about your use of the library, about the project, company. Is very nice discover interesting flash projects, and is good to know how useful this library is.
    Owner: lucaslorentzlara
    Labels: Type-Enhancement Type-Defect
  • Jul 11, 2009
    issue 5 (No Support for IMAGE tag) commented on by lucaslorentzlara   -   I have to add Image support. You can attatch here your achievements on implementing image support. It can helps me a lot.
    I have to add Image support. You can attatch here your achievements on implementing image support. It can helps me a lot.
  • Jul 11, 2009
    issue 5 (No Support for IMAGE tag) changed by lucaslorentzlara   -   I have to add Image support. You can attatch here your achieves on implementing imagem support. It will helps me a lot.
    Status: Started
    Owner: lucaslorentzlara
    I have to add Image support. You can attatch here your achieves on implementing imagem support. It will helps me a lot.
    Status: Started
    Owner: lucaslorentzlara
  • Jul 11, 2009
    r30 (Added credits to Greg. Yachuk, in PathRenderer.as) committed by lucaslorentzlara   -   Added credits to Greg. Yachuk, in PathRenderer.as
    Added credits to Greg. Yachuk, in PathRenderer.as
  • Jul 11, 2009
    issue 3 (Winding is incorrect for subPaths) commented on by lucaslorentzlara   -   I really appreciate your efforts. I didn't put it into the project yet to keep compatibility with Flash 9. Now, I merged your changes with the current library. There is no need to change anything in your code, it is very good. Thanks
    I really appreciate your efforts. I didn't put it into the project yet to keep compatibility with Flash 9. Now, I merged your changes with the current library. There is no need to change anything in your code, it is very good. Thanks
  • Jul 11, 2009
    issue 3 (Winding is incorrect for subPaths) changed by lucaslorentzlara   -   I really appreciate your efforts. I didn't put it into the project yet to keep compatibility with Flash 9. Now, I merged your changes with the current library. There is no need to change anything in your implementation, it is very good. Thanks
    Status: Fixed
    Owner: lucaslorentzlara
    I really appreciate your efforts. I didn't put it into the project yet to keep compatibility with Flash 9. Now, I merged your changes with the current library. There is no need to change anything in your implementation, it is very good. Thanks
    Status: Fixed
    Owner: lucaslorentzlara
  • Jul 11, 2009
    r29 (Changes in PathRenderer to use the new function DrawPath (av...) committed by lucaslorentzlara   -   Changes in PathRenderer to use the new function DrawPath (avaible in Flash Player 10). Now it supports "even-odd" and "nonzero" winding rules.
    Changes in PathRenderer to use the new function DrawPath (avaible in Flash Player 10). Now it supports "even-odd" and "nonzero" winding rules.
  • Jul 10, 2009
    issue 7 (Rendering a succession of SVG files in separate MCs) Status changed by lucaslorentzlara   -   There is a sample that renders only one svg per ENTER_FRAME, test it and tell me if it helps. Update your svgRendererLib to r28 before try it (it needs some changes made in SVGLoader class)
    Status: Started
    There is a sample that renders only one svg per ENTER_FRAME, test it and tell me if it helps. Update your svgRendererLib to r28 before try it (it needs some changes made in SVGLoader class)
    Status: Started
  • Jul 10, 2009
    r28 (SVGLoader improvements Added SVGEvent) committed by lucaslorentzlara   -   SVGLoader improvements Added SVGEvent
    SVGLoader improvements Added SVGEvent
  • Jul 09, 2009
    issue 10 (Permit suscribe to events dispatched by the class SVGRendere...) reported by rmaceissoft   -   Let me discuss with you an idea I have in mind and I've developed. Well, imagine that this parser allows developers to hook their business logic the result of an import svg, and not directly get the final product(Sprite). I would like to know what are your ambitions with this tool, cheers, Reiner.
    Let me discuss with you an idea I have in mind and I've developed. Well, imagine that this parser allows developers to hook their business logic the result of an import svg, and not directly get the final product(Sprite). I would like to know what are your ambitions with this tool, cheers, Reiner.
  • Jul 08, 2009
    issue 7 (Rendering a succession of SVG files in separate MCs) changed by lucaslorentzlara   -   If you load one after other will solve the problem. In fact, the 'hang' occurs because of the ammount of processing needed to render the svg file. If you have other doubts, send me an email: lucaslorentzlara@gmail.com
    Status: Done
    Owner: lucaslorentzlara
    If you load one after other will solve the problem. In fact, the 'hang' occurs because of the ammount of processing needed to render the svg file. If you have other doubts, send me an email: lucaslorentzlara@gmail.com
    Status: Done
    Owner: lucaslorentzlara
  • Jul 08, 2009
    issue 9 (Certain SVGs are displaying skewed lines) changed by lucaslorentzlara   -   I've fixed this issue in r27, but the flower isn't inside the visible area.
    Status: Fixed
    Owner: lucaslorentzlara
    I've fixed this issue in r27, but the flower isn't inside the visible area.
    Status: Fixed
    Owner: lucaslorentzlara
  • Jul 08, 2009
    r27 (Fixes in function ParseArgsData to ignore tab, line feed, ca...) committed by lucaslorentzlara   -   Fixes in function ParseArgsData to ignore tab, line feed, carriage return
    Fixes in function ParseArgsData to ignore tab, line feed, carriage return
  • Jun 29, 2009
    issue 9 (Certain SVGs are displaying skewed lines) reported by bthibault   -   What steps will reproduce the problem? 1. See attached SVG 2. 3. What is the expected output? What do you see instead? A flower shape but instead seeing a skewed set of lines What version of the product are you using? On what operating system? r26 Please provide any additional information below. Not sure why this svg is not loading properly, but I have a bunch that are like this. SVG loades normally in Illustrator or Inkscape. Its one color.
    What steps will reproduce the problem? 1. See attached SVG 2. 3. What is the expected output? What do you see instead? A flower shape but instead seeing a skewed set of lines What version of the product are you using? On what operating system? r26 Please provide any additional information below. Not sure why this svg is not loading properly, but I have a bunch that are like this. SVG loades normally in Illustrator or Inkscape. Its one color.
  • Jun 17, 2009
    issue 8 (Will not render SVG files from illustrator) commented on by bthibault   -   So far so good! Thanks!
    So far so good! Thanks!
  • Jun 17, 2009
    issue 8 (Will not render SVG files from illustrator) changed by lucaslorentzlara   -   This issue was fixed in r26. I've made changes to consider the initial value to the "fill" property as black. I've got the samples from http://www.w3.org/TR/SVG/ and croczilla http://croczilla.com/bits_and_pieces/svg/
    Status: Fixed
    Owner: lucaslorentzlara
    This issue was fixed in r26. I've made changes to consider the initial value to the "fill" property as black. I've got the samples from http://www.w3.org/TR/SVG/ and croczilla http://croczilla.com/bits_and_pieces/svg/
    Status: Fixed
    Owner: lucaslorentzlara
  • Jun 17, 2009
    r26 ([No log message]) committed by lucaslorentzlara   -   [No log message]
    [No log message]
  • Jun 16, 2009
    issue 8 (Will not render SVG files from illustrator) reported by bthibault   -   What steps will reproduce the problem? 1. See attached SVG that was created in illustrator 2. 3. What is the expected output? What do you see instead? Expected a 2 color dump truck, got the back layer instead. the yellow layer behind. What version of the product are you using? On what operating system? r25 Please provide any additional information below. I've even opened up your sample files and saved them w/ illustrator, coreldraw, and inkscape and can't get them to load properly. I guess I'm not sure how you're creating the SVGs in the first place??
    What steps will reproduce the problem? 1. See attached SVG that was created in illustrator 2. 3. What is the expected output? What do you see instead? Expected a 2 color dump truck, got the back layer instead. the yellow layer behind. What version of the product are you using? On what operating system? r25 Please provide any additional information below. I've even opened up your sample files and saved them w/ illustrator, coreldraw, and inkscape and can't get them to load properly. I guess I'm not sure how you're creating the SVGs in the first place??
  • Jun 16, 2009
    issue 7 (Rendering a succession of SVG files in separate MCs) reported by nawtwrong   -   This is a question more than an issue as it may be possible to do but I cannot seem to get it to work. Basically I have a script that loops through an array of data and for each item a new movie clip is created on the stage. I want to load an SVG inside each one of these movieclips once they have been created, so inside my loop I have called this function: this.targetMC = targetMC; //updates the class variable which is uses in xmlComplete function loadSVG("svg/svgtest.svg"); The functions that load the SVG are as follows: public function loadSVG(filename:String){ trace("Loading"); var loader:URLLoader = new URLLoader(); loader.addEventListener(Event.COMPLETE, xmlComplete); loader.addEventListener(IOErrorEvent.IO_ERROR, onError); loader.load(new URLRequest(filename)); } public function xmlComplete(e:Event) { trace("Rendering"); var shp:Sprite = new Sprite(); var svg:XML = new XML(e.target.data); shp = new SVGRenderer(svg); var diff:Number = (FW/shp.width) shp.width = FW-20; shp.height = (shp.height*diff)-20; shp.x = (FW-shp.width)/2; shp.y = (FH-shp.height)/2; this.targetMC.loading.alpha = 0; this.targetMC.addChild(shp); } I've lifted these functions form the tests.fla and modified them, the SVG loads but only into 1 movieclip. Also I've noticed that if I load say 10 SVGs at a time, the flash file 'hangs'. How do I stop this hapenning, is it possible to load one after the other and would this solve the issue?
    This is a question more than an issue as it may be possible to do but I cannot seem to get it to work. Basically I have a script that loops through an array of data and for each item a new movie clip is created on the stage. I want to load an SVG inside each one of these movieclips once they have been created, so inside my loop I have called this function: this.targetMC = targetMC; //updates the class variable which is uses in xmlComplete function loadSVG("svg/svgtest.svg"); The functions that load the SVG are as follows: public function loadSVG(filename:String){ trace("Loading"); var loader:URLLoader = new URLLoader(); loader.addEventListener(Event.COMPLETE, xmlComplete); loader.addEventListener(IOErrorEvent.IO_ERROR, onError); loader.load(new URLRequest(filename)); } public function xmlComplete(e:Event) { trace("Rendering"); var shp:Sprite = new Sprite(); var svg:XML = new XML(e.target.data); shp = new SVGRenderer(svg); var diff:Number = (FW/shp.width) shp.width = FW-20; shp.height = (shp.height*diff)-20; shp.x = (FW-shp.width)/2; shp.y = (FH-shp.height)/2; this.targetMC.loading.alpha = 0; this.targetMC.addChild(shp); } I've lifted these functions form the tests.fla and modified them, the SVG loads but only into 1 movieclip. Also I've noticed that if I load say 10 SVGs at a time, the flash file 'hangs'. How do I stop this hapenning, is it possible to load one after the other and would this solve the issue?
  • May 24, 2009
    issue 6 (Importing a this svg in our flex drawing application shows a...) commented on by lucaslorentzlara   -   Revision: r25 adds Gradient Strokes support. The result is much better.
    Revision: r25 adds Gradient Strokes support. The result is much better.
  • May 24, 2009
    r25 (Added support for Stroke gradients) committed by lucaslorentzlara   -   Added support for Stroke gradients
    Added support for Stroke gradients
  • May 23, 2009
    issue 2 (Rendering fails on attached SVG file) Owner changed by lucaslorentzlara   -  
    Owner: lucaslorentzlara
    Owner: lucaslorentzlara
  • May 23, 2009
    issue 1 (fl.motion in Flexbuilder) Owner changed by lucaslorentzlara   -  
    Owner: lucaslorentzlara
    Owner: lucaslorentzlara
  • May 23, 2009
    issue 6 (Importing a this svg in our flex drawing application shows a...) changed by lucaslorentzlara   -   The Revision: r24 fixes the main error. But the image isn't perfect yet. I'm working on it.
    Status: Started
    Owner: lucaslorentzlara
    The Revision: r24 fixes the main error. But the image isn't perfect yet. I'm working on it.
    Status: Started
    Owner: lucaslorentzlara
  • May 23, 2009
    r24 (I've optimized the parseArgsData function in SVGParser.as an...) committed by lucaslorentzlara   -   I've optimized the parseArgsData function in SVGParser.as and fixed an error when it has an Exponential Number (2.3e-3) in input string. It fixes the issue ID:6
    I've optimized the parseArgsData function in SVGParser.as and fixed an error when it has an Exponential Number (2.3e-3) in input string. It fixes the issue ID:6
  • May 20, 2009
    issue 6 (Importing a this svg in our flex drawing application shows a...) reported by florinjurca   -   You have in the attchements - broken figure in our app - how it looks in firefox (OK) - and the file For the moment this is the only file who fails from many others. Please see what is the problem. Thank you Best regards, Florin Jurca - www.reea.net
    You have in the attchements - broken figure in our app - how it looks in firefox (OK) - and the file For the moment this is the only file who fails from many others. Please see what is the problem. Thank you Best regards, Florin Jurca - www.reea.net
  • Apr 09, 2009
    issue 5 (No Support for IMAGE tag) reported by manvesh   -   What steps will reproduce the problem? 1. If you have raster image embedded in SVG, it is not rendered in the final Sprite. What is the expected output? What do you see instead? I expected sprite painted with Image bitmapdata. What version of the product are you using? On what operating system? - Doesn't matter Please provide any additional information below. - I'm implementing it locally, can commit if its useful.
    What steps will reproduce the problem? 1. If you have raster image embedded in SVG, it is not rendered in the final Sprite. What is the expected output? What do you see instead? I expected sprite painted with Image bitmapdata. What version of the product are you using? On what operating system? - Doesn't matter Please provide any additional information below. - I'm implementing it locally, can commit if its useful.
  • Apr 04, 2009
    issue 4 (Image is not clipped to the current View Box.) reported by Greg.Yachuk   -   What steps will reproduce the problem? 1. Create an SVG with a viewBox of 1024 x 1024 and with drawing points well outside these boundaries. 2. Render it. What is the expected output? What do you see instead? The resulting movieClip should be 1024 x 1024. Instead, it is the size of the outermost draw points. What version of the product are you using? On what operating system? Flash CS4 Professional on Windows. Please provide any additional information below. I have a file that illustrates the problem. I'll see if I can have permission to post it. It is copyrighted work. The characteristics are that the resulting movie clip is 10965.7 x 10965.2, even though the viewBox is 1024 x 1024. Is there some way to clip the draw commands to the viewBox?
    What steps will reproduce the problem? 1. Create an SVG with a viewBox of 1024 x 1024 and with drawing points well outside these boundaries. 2. Render it. What is the expected output? What do you see instead? The resulting movieClip should be 1024 x 1024. Instead, it is the size of the outermost draw points. What version of the product are you using? On what operating system? Flash CS4 Professional on Windows. Please provide any additional information below. I have a file that illustrates the problem. I'll see if I can have permission to post it. It is copyrighted work. The characteristics are that the resulting movie clip is 10965.7 x 10965.2, even though the viewBox is 1024 x 1024. Is there some way to clip the draw commands to the viewBox?
  • Apr 04, 2009
    issue 3 (Winding is incorrect for subPaths) reported by Greg.Yachuk   -   What steps will reproduce the problem? 1. Render the included file "Begin_B.svg". What is the expected output? What do you see instead? The bottom loop of the letter "B" should not be filled in. What version of the product are you using? On what operating system? Flash CS4 on Windows. Please provide any additional information below. I'm including the files I've changed to fix this problem. I'm using the graphics.drawPath method which unfortunately seems to be Flash Player 10 only.
    What steps will reproduce the problem? 1. Render the included file "Begin_B.svg". What is the expected output? What do you see instead? The bottom loop of the letter "B" should not be filled in. What version of the product are you using? On what operating system? Flash CS4 on Windows. Please provide any additional information below. I'm including the files I've changed to fix this problem. I'm using the graphics.drawPath method which unfortunately seems to be Flash Player 10 only.
 
Hosted by Google Code