home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Canadian Forces: Prepare for Takeoff as a Pilot
/
CF_FS_Air.iso.iso
/
pc
/
data
/
swf
/
flashpaper
/
102_fr.swf
/
scripts
/
frame_2
/
DoAction_3.as
< prev
next >
Wrap
Text File
|
2004-09-01
|
460b
|
19 lines
FPModel = function()
{
this.currentPage = 0;
this.numPages = 0;
this.dpi = _root.dpi;
this.width = 0;
ASBroadcaster.initialize(this);
};
FPModel.prototype.addPage = function(width_i, height_i)
{
this.numPages = this.numPages + 1;
this.broadcastMessage("onAddPage",width_i,height_i);
};
FPModel.prototype.setPage = function(pageNum_i)
{
this.currentPage = pageNum_i;
this.broadcastMessage("onSetPage",pageNum_i);
};