BloggerLoadSingle1 Actionscript
Table of contents | Previous document | Download BloggerLoadSingle1.as | SWF!T Homepage RCSfile: BloggerLoadSingle1.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 I loads data for just one newsbrief - preparing for a crossfade. See BloggerLoadSingle II and BloggerLoadSingle III for details.
author Olaf Havnes
version Revision: 1.3 Date: 2003/01/29 16:40:19
since SWFIT1.0
Do we have separate buttons for emailing the user
DEFAULT_HAS_USERBUT = true;
has_ubut = has_userbut eq "" ? DEFAULT_HAS_USERBUT : has_userbut;
Set this clip visible
_visible = true;
next_clip = false;
Wrap the counter
if (current_clip < 0) current_clip = num_user - 1;
if (current_clip > num_user - 1) current_clip = 0;
Clear the data for the previous post
username = "";
usermail = "";
userbio = "";
urlval = "";
urltxt = "";
title = "";
post = "";
image_title = "";
image_credits = "";
cdate_short = "";
cdate_long = "";
mdate_short = "";
mdate_long = "";
Should we hide the usermail button ?
if (has_ubut)
user_but._visible = false;
Should we hide the url button ?
link_but._visible = false;
Load the image data for a single post
image_path = eval (PUB_IMAGE_PATH add current_clip);
Load the image
if (image_path ne "")
{
image_path = image_prepend add image_path add image_append;
placeholder_1._visible = true;
loadMovie (image_path, "placeholder_1");
}
else
{
placeholder_1._visible = false;
}
|
|