Code Monkey home page Code Monkey logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
i noted now that if i use the same object twice, the function addimage only 
returns
the first data of that object..

i think this is a problem.. is there a simple fix?

Original comment by [email protected] on 6 Feb 2008 at 5:00

from alivepdf.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
i really need this because, i have a canvas, and all the content of that canvas 
is
loaded by a array of objects with positions, dimensions z-index bla bla bla 
bla, and
then i need to save the content of that canvas on each page of the pdf, but if 
the
addImage function dont acept new data for the same object how do i would do 
that?

help help help please

Original comment by [email protected] on 6 Feb 2008 at 5:29

from alivepdf.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
hehe i solved!

i just change the image:dicionary to image:arraycollection

and in the this.images[pDisplayObject] = info;
i put this.images.addItem(info);

and voila thats it!

i guess i'm not fired xD

Original comment by [email protected] on 6 Feb 2008 at 6:57

from alivepdf.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
[deleted comment]

from alivepdf.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
Hi info.ruicruz,

sorry for this late answer !

this behavior is not a bug, this was done to prevent from having copies of the 
same
(DisplayObject) images in the final PDF, which would lead to extra size for 
nothing.

But you are right, this behavior would be a problem, in a situation like yours.

I'm gonna add a new behavior in the next release, which would detect that
automatically . 

Thanks for tracking ;)

Thibault

Original comment by thibault.imbert on 6 Feb 2008 at 11:42

from alivepdf.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
Whow to made this modification?
I need to modify source of an image to generate some images in my pdf file with 
different sources of the database. Understand me?
I'm sorry if my english text is wrong.

Original comment by [email protected] on 20 Feb 2008 at 5:19

from alivepdf.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
sorry late answer.. 

insted of using swc, use the source actionscript files. then search for
"image:dicionary" and replace with "image:arraycollection
", then you need to change the way that data is stored on array collection, 
search
for "this.images[pDisplayObject] = info" and replace with
"this.images.addItem(info)". i think thats it, don't remember now, but if gives 
error
you'll fix it without any problems :)


best regards,
rui cruz

Original comment by [email protected] on 27 Feb 2008 at 9:51

from alivepdf.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 23, 2024
Another option would be to clone imageLoaded, or draw it to a new bitmap, so 
that the 
dictionary would have a different key for each image.

Original comment by macleod.tyler on 24 Sep 2009 at 12:35

from alivepdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.