home *** CD-ROM | disk | FTP | other *** search
- class games.externalmethods.PastelPortalMethods
- {
- var gameId;
- var gameName;
- var gameYear;
- var commentsLink;
- function PastelPortalMethods(id, name, year)
- {
- this.gameId = id;
- this.gameName = name;
- this.gameYear = year;
- this.commentsLink = "http://www.pastelportal.com/stories/" + this.gameId + "/#respond";
- }
- function getComments()
- {
- getURL(this.commentsLink,"");
- }
- function setFooter(footer, sendcomments)
- {
- footer._visible = true;
- footer.TF.htmlText = "<p align=\'center\'>" + this.gameName + " | created by ";
- footer.TF.htmlText += "<u><a href=\'http://www.pastelgames.com\' target=\'_blank\'>Pastel Games</a></u>";
- footer.TF.htmlText += " | © " + this.gameYear;
- if(sendcomments != false)
- {
- footer.TF.htmlText += " | <u><a href=\'" + this.commentsLink + "\' target=\'_blank\'>comment this game</a></u>";
- }
- footer.TF.htmlText += "</p>";
- }
- }
-