Comments (8)
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.
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.
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.
[deleted comment]
from alivepdf.
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.
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.
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.
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)
- ASDoc error
- writeHtmlText + addMulticell
- addBookmark supports only eight colors
- Can't override header or footer method HOT 1
- how can i open Local drive pdf file through AS3?
- Adding multiple image freeze the ui
- Grid problem
- addImage with displayObjects is not working
- AlivePDF does not print content of Flash Pro CS5.5 Stage
- AddImage() problem HOT 1
- Security error #3769 breaks navigateToUrl() while trying to save PDF HOT 5
- savePDF() method HOT 1
- problems with mx cavas scaled on add image
- Chinese characters won't show on iOS
- PNG error "Missing palette in current picture" HOT 1
- Some addGrid bugs HOT 1
- .. HOT 1
- setAutoPageBreak(true) does not restore margin HOT 1
- Problems exporting IPA with AIR SDK 15 & especially 16 in Flash Builder
- AlivePDF Page elements are messed up with AIR SDK 16+
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alivepdf.