I'm trying to get the print function to work from a CD projector app.
The function works fine when the swf is on its own, but when called up into the app the dialogue box appears complete but without the text on it.
This is the scrip I'm using:
function showPrintDialog(target,type,frames){
var initObj = {
_x : movieWidth/2,
_y : movieHeight/2,
target: target,
bType: type,
printFrames: frames
};
_root.mc_holder.attachMovie("printWindow", "printWindow", 50, initObj);
}
function printProceed(target,type){
switch(type.toLowerCase()){
case "bmovie":
print(target,"bmovie");
break;
case "bmax":
print(target,"bmax");
break;
case "bframe":
print(target,"bframe");
break;
}
}
#include "getMovieSize.as"
As I say the print function works, but the dialogue doesn't show up any text only the icons?
Any clues?
In the beginning the web was without shape and color, and the hype covered the darkness of the net. Then there was a Flash and life came to the web and vision became reality.
It looks like a font problem not a printing problem. I'm not an expert with fonts and the way Flash handles fonts makes my teeth itch sometimes, but have you tried embedding the font in the dialog SWF that you're loading?
When your swf2exe tool just HAS to work
there's only one choice... SWF Studio