printing flash
- Started
- Last post
- 9 Responses
- legspin
on (release) {
printNum(0, "bmovie");
}this goes to a frame with label #p and prints everything in that frame. But I have this swf file loaded into another and the print action wont work.
Any suggestions?
- jkosoy0
Did you try printAsBitmap?
- jkosoy0
followup...
I read this in O'Reilly's book:
printNum Global Function:
The printNum() function is nearly identical to print(), except that it requires the target LEVEL of the print operation to be specified as a number rather than as a string. This means that printNum() can print document levels only, not movie clips. It normally is used to dynamically assign the level of a movie to print as in:
var x = 3;
printNum(x,"bmax");which can also be achieved using string concatenation with the regular print() function:
print("_level"+x,"bmax);
--
- stewart0
and how about multiple page printing?
that's what i want to know.
- stewart0
kewl
- legspin0
I can get it to print now but it prints it about 25% smaller than it should be.
on (release) {
printNum("print_root", "bmovie");
}Not sure why???
- System-Idle0
dosent it look at the loaded swf's stage size and use that for the dimentions, if its not that couldnt you scale it before sending it to print.
- legspin0
how can I resize it before printing it? I have tried physically resizing it but it didn't work. Just printed the same wrong size.
- System-Idle0
_level1._xscale=200
_level1._yscale=200not sure if it will work, just an idea.