Skip to content

AddImage() problem #368

@GoogleCodeExporter

Description

@GoogleCodeExporter
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 YUNING.M...@gmail.com on 20 Jun 2014 at 9:36

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions