BloggerLoadSingle2 Actionscript
Table of contents | Previous document | Download BloggerLoadSingle2.as | SWF!T Homepage RCSfile: BloggerLoadSingle2.as,v Revision: 1.3 Date: 2003/01/29 16:40:19
Copyright 2003 Orgdot AS. All Rights Reserved. http://dev.swfit.com
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
BloggerLoadSingle II sets data for one newsbrief visible - and prepares for a new crossfade. See BloggerLoadSingle I and BloggerLoadSingle III for details.
author Olaf Havnes
version Revision: 1.3 Date: 2003/01/29 16:40:19
since SWFIT1.0
Load all the data for a single post
username = eval (PUB_USERNAME add current_clip);
usermail = eval (PUB_USERMAIL add current_clip);
userbio = eval (PUB_USERBIO add current_clip);
urlval = eval (PUB_URL_VAL add current_clip);
urltxt = eval (PUB_URL_TXT add current_clip);
title = eval (PUB_TITLE add current_clip);
post = eval (PUB_POST add current_clip);
image_title = eval (PUB_IMAGE_TITLE add current_clip);
image_credits = eval (PUB_IMAGE_CREDITS add current_clip);
cdate_short = eval (PUB_CDATE_SHORT add current_clip);
cdate_long = eval (PUB_CDATE_LONG add current_clip);
mdate_short = eval (PUB_MDATE_SHORT add current_clip);
mdate_long = eval (PUB_MDATE_LONG add current_clip);
Should we hide the usermail button ?
if (has_ubut)
user_but._visible = usermail ne "";
Should we hide the url button ?
link_but._visible = urlval ne "";
We need to load the image once again to prepare for the next fade
if (image_path ne "")
{
placeholder_0._visible = true;
loadMovie (image_path, "placeholder_0");
}
else
{
placeholder_0._visible = false;
}
|
|