AlivePDF
AlivePDF copied to clipboard
AddImage() problem
What steps will reproduce the problem?
1. in a for loop, i add a page and add a image
2.
3.
What is the expected output? What do you see instead?
it should comeout with a some pages with the same image
What version of the product are you using? On what operating system?
AlivePDF 0.1.5 Beta Sources
Please provide any additional information below.
for each (var sce:XML in xml.descendants("scene"))
{
addPage();
setXY(20, 10);
writeText(20, 'scene' + idx);
var vo:SceneVo = new SceneVo();
var sp:Sprite = new Sprite();
sp.graphics.beginFill(0x000000);
sp.graphics.drawCircle(0, 0, 100);
sp.graphics.endFill();
addImage(sp, null);
setXY(20, 190);
writeText(20, 'Scene after');
idx ++;
}
Original issue reported on code.google.com by [email protected] on 20 Jun 2014 at 9:36
currently it only has the first page have the image, the following page all
blank
Original comment by [email protected] on 20 Jun 2014 at 9:38