LinkBoxLoop Actionscript

Table of contents | Previous document | Download LinkBoxLoop.as | SWF!T Homepage

RCSfile: LinkBoxLoop.as,v  Revision: 1.6  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.


This loop shows/hides a linkbox. This script is embedded inside a clip named after the url it observes.
author      Olaf Havnes
version     Revision: 1.6  Date: 2003/01/29 16:40:19  
since       SWFIT1.0


name should be url + NAME_ENDING

NAME_ENDING = "_box";
url = eval ("../:" add substring (_name, 1, length(_name) - length (NAME_ENDING)));
_visible = url ne "";