;

PDA

Click to See Complete Forum and Search --> : please, help still wanted, printing ext. data


oec
04-30-2002, 11:15 AM
I have a smartclip scrollbar that loads external data from a text file. I would like to be able to include a print button in the main .swf that prints all this external text not just what you see in the scrollbar.
Is this possible?

Please any hints or points towards the right direction are very much appreciated.

HereNt
05-01-2002, 03:05 AM
I haven't really looked at printing much (but have thought that Flash could be great as a variable data print generator) but I think that what you would need to do is make a level in the movie that had the information that needed to be printed (though not neccessarily visible) and a bounding box that defined what was going to be printed...

look at print, printAsBitmap, and printNum in the actionscript dictionary and I think that would put you in the right direction...

The main thing that I have thought about using flash printing for is making "on the fly" coupons and such - using flash to lay out the graphics for the coupon and the text about what the offer was, and who it was for. But so far, I haven't made it work (or done more than think about it) but I believe that it would be possible. The only thing that kind of sucks is using RGB to specify printer colors...

Anyway, that's my two cents for whatever it's worth....

coolmilo
05-16-2002, 01:03 PM
may not be right but it worked for me,

I made a file (printmc.fla) (frame set out like a4 page)
don't worry if your movie is small.

Next on the print button I told it to load movie (printmc.swf) in level say "5" .
On the first frame of (printmc.swf) it's blank (with a stop) and the next it has all the text necessary to print, images what ever you want.
just add the #p
Tell the blank frame to print when loaded.

The actual movie you loaded can stay there as much as you want cause you never see it.

If you have another it can just go on the same level, and if you want you can unload when clicked somewhere else.

hope I made sence