How to embed in Flash/Very large documents

Publishing Flash documents by embedding them in Flash movies
Post Reply
nrschmid
Posts: 5
Joined: Tue May 06, 2008 11:17 am

How to embed in Flash/Very large documents

Post by nrschmid » Fri Dec 19, 2008 7:35 am

I used to use the following code for Flashpaper swf's in my Fla file.

function loadFlashPaper(
path_s, // path of SWF to load
dest_mc, // MC which we should replace with the SWF
width_i, // new size of the dest MC
height_i, // new size of the dest MC
loaded_o) // optional: object to be notified that loading is complete
{
var intervalID = 0;
var loadFunc = function()
{
dest_mc._visible = false;
var fp = dest_mc.getIFlashPaper();
if (!fp)
return;
if (fp.setSize(width_i, height_i) == false)
return;
dest_mc._visible = true;
clearInterval(intervalID);
loaded_o.onLoaded(fp);
}
intervalID = setInterval(loadFunc, 100);
dest_mc.loadMovie(path_s);
}
function onLoaded(fp)
{
// loading is complete, so we can now adjust the current page, zoom, etc.
// go to page 50.
fp.setCurrentPage(1);
// change magnification to 59%
fp.setCurrentZoom(59);
}
loadFlashPaper("SEParks.swf", Movie9b1, 660, 370, this);


What can I use for Print2Flash?

On a separate note, I have a very large graphic (30"x42"). I am running the free version of Print2Flash. Does Print2Flash work with these large files? Flashpaper used to work great, but I have Vista on this PC, and Flashpaper and Vista are incompatible.

Thanks-

Post Reply