Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AddImage() problem #368

Open
GoogleCodeExporter opened this issue Oct 22, 2015 · 1 comment
Open

AddImage() problem #368

GoogleCodeExporter opened this issue Oct 22, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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

@GoogleCodeExporter
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants