root/Tools/Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm
Showing without highlighting since it looks like a big file and may slow your browser - show with highlighting
Show/hide line numbers<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0051)http://www.kirupa.com/forum/showthread.php?t=245468 -->
<HTML xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"><HEAD><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="generator" content="vBulletin 3.8.1">
<META name="keywords" content=" Scrollbars & Code structure - Actionscript 3.0, kirupa, kirupaforum, tutorials, flash, php, help, discussion, conversation, random">
<META name="description" content=" Scrollbars & Code structure - Actionscript 3.0 Best of Kirupa.com">
<!-- CSS Stylesheet -->
<STYLE type="text/css" id="vbulletin_css">
/**
* vBulletin 3.8.1 CSS
* Style: 'kirupa.com'; Style ID: 104
*/
body
{
background: #ffffff url(http://www.kirupa.com/images/backgradient2.jpg) top left repeat-x;;
color: #000000;
font: 10pt arial, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
margin: 5px 5px 10px 5px;
}
a:link, body_alink
{
color: #003366;
text-decoration: none;
}
a:visited, body_avisited
{
color: #003366;
text-decoration: none;
}
a:hover, a:active, body_ahover
{
color: #0066FF;
text-decoration: none;
}
.page
{
background: #FFFFFF;
color: #000000;
}
td, th, p, li
{
font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.tborder
{
background: #E2E2E2;
color: #000000;
}
.tcat
{
background: #BFD8EF;
color: #000052;
font: bold 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.tcat a:link, .tcat_alink
{
background: transparent;
color: #000000;
text-decoration: none;
}
.tcat a:visited, .tcat_avisited
{
background: transparent;
color: #333333;
text-decoration: none;
}
.tcat a:hover, .tcat a:active, .tcat_ahover
{
background: transparent;
color: #0000CC;
text-decoration: none;
}
.thead
{
background: #D7E3F2;
color: #000000;
font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.thead a:link, .thead_alink
{
color: #003366;
}
.thead a:visited, .thead_avisited
{
color: #003399;
}
.thead a:hover, .thead a:active, .thead_ahover
{
color: #3366CC;
}
.tfoot
{
background: #FFFFFF;
color: #E0E0F6;
}
.tfoot a:link, .tfoot_alink
{
color: #003366;
}
.tfoot a:visited, .tfoot_avisited
{
color: #003366;
}
.tfoot a:hover, .tfoot a:active, .tfoot_ahover
{
color: #0066CC;
}
.alt1, .alt1Active
{
background: #F7FAFD;
color: #000000;
}
.alt1 a:hover, .alt1 a:active, .alt1_ahover, .alt1Active a:hover, .alt1Active a:active, .alt1Active_ahover
{
text-decoration: underline;
}
.alt2, .alt2Active
{
background: #EFF4FA;
color: #000000;
}
.inlinemod
{
background: #FFFFCC;
color: #000000;
}
.wysiwyg
{
background: #F5F5FF;
color: #000000;
font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
margin: 5px 10px 10px 10px;
padding: 0px;
}
.wysiwyg a:link, .wysiwyg_alink
{
color: #22229C;
}
.wysiwyg a:visited, .wysiwyg_avisited
{
color: #22229C;
}
.wysiwyg a:hover, .wysiwyg a:active, .wysiwyg_ahover
{
color: #FF4400;
}
textarea, .bginput
{
font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.bginput option, .bginput optgroup
{
font-size: 10pt;
font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.button
{
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
select
{
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
option, optgroup
{
font-size: 11px;
font-family: verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.smallfont
{
color: #000000;
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.time
{
color: #003366;
}
.navbar
{
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.highlight
{
color: #FF0000;
font-weight: bold;
}
.fjsel
{
background: #EFEFEF;
color: #3E3E3E;
}
.fjdpth0
{
background: #F7F7F7;
color: #000000;
}
.panel
{
background: #E4E7F5 url(images/gradients/gradient_panel.gif) repeat-x top left;
color: #000000;
padding: 10px;
border: 2px outset;
}
.panelsurround
{
background: #D1D4E0 url(images/gradients/gradient_panelsurround.gif) repeat-x top left;
color: #000000;
}
legend
{
color: #22229C;
font: 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.vbmenu_control
{
background: #A2C7E8;
color: #1F414E;
font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
padding: 3px 6px 3px 6px;
white-space: nowrap;
}
.vbmenu_control a:link, .vbmenu_control_alink
{
color: #1F414E;
text-decoration: none;
}
.vbmenu_control a:visited, .vbmenu_control_avisited
{
color: #1F414E;
text-decoration: none;
}
.vbmenu_control a:hover, .vbmenu_control a:active, .vbmenu_control_ahover
{
color: #003366;
text-decoration: underline;
}
.vbmenu_popup
{
background: #FFFFFF;
color: #000000;
border: 1px solid #0B198C;
}
.vbmenu_option
{
background: #F8F8F8;
color: #000000;
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
white-space: nowrap;
cursor: pointer;
}
.vbmenu_option a:link, .vbmenu_option_alink
{
color: #003366;
text-decoration: none;
}
.vbmenu_option a:visited, .vbmenu_option_avisited
{
color: #003366;
text-decoration: none;
}
.vbmenu_option a:hover, .vbmenu_option a:active, .vbmenu_option_ahover
{
color: #0066FF;
text-decoration: none;
}
.vbmenu_hilite
{
background: #EEEEEE;
color: #656565;
font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
white-space: nowrap;
cursor: pointer;
}
.vbmenu_hilite a:link, .vbmenu_hilite_alink
{
color: #003366;
text-decoration: none;
}
.vbmenu_hilite a:visited, .vbmenu_hilite_avisited
{
color: #003366;
text-decoration: none;
}
.vbmenu_hilite a:hover, .vbmenu_hilite a:active, .vbmenu_hilite_ahover
{
color: #0033FF;
text-decoration: none;
}
/* ***** styling for 'big' usernames on postbit etc. ***** */
.bigusername { font-size: 14pt; }
/* ***** small padding on 'thead' elements ***** */
td.thead, div.thead { padding: 4px; }
/* ***** basic styles for multi-page nav elements */
.pagenav a { text-decoration: none; }
.pagenav td { padding: 2px 4px 2px 4px; }
/* ***** define margin and font-size for elements inside panels ***** */
.fieldset { margin-bottom: 6px; }
.fieldset, .fieldset td, .fieldset p, .fieldset li { font-size: 11px; }
.buttonStyle {
font-size: 10px;
font-family: Arial, Helvetica, sans-serif;
margin-left: 4px;
border-color: black;
border-width: 1px;
}
.textInputStyle {
font-size: 11px;
font-family: Arial, Helvetica, sans-serif;
margin-left: 4px;
border-color: black;
border-width: 1px;
text-indent: 2px;
}
.InputTextStyle {
background-image: url('http://www.kirupa.com/mini_icons/magnifier.gif');
background-repeat: no-repeat;
background-position: 3px 2px;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
color: #333333;
border-width: 1px;
border-color: #999999;
padding-left: 20px;
}
/* ***** don't change the following ***** */
form { display: inline; }
label { cursor: default; }
.normal { font-weight: normal; }
.inlineimg { vertical-align: middle; }
</STYLE>
<LINK rel="stylesheet" type="text/css" href="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/vbulletin_important.css">
<!-- / CSS Stylesheet -->
<SCRIPT type="text/javascript" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/yahoo-dom-event.js"></SCRIPT>
<SCRIPT type="text/javascript" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/connection-min.js"></SCRIPT>
<SCRIPT type="text/javascript">
<!--
var SESSIONURL = "";
var SECURITYTOKEN = "guest";
var IMGDIR_MISC = "styles/kirupaProblue/misc";
var vb_disable_ajax = parseInt("0", 10);
// -->
</SCRIPT>
<SCRIPT type="text/javascript" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/vbulletin_global.js"></SCRIPT>
<SCRIPT type="text/javascript" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/vbulletin_menu.js"></SCRIPT>
<LINK rel="alternate" type="application/rss+xml" title="kirupaForum RSS Feed" href="http://www.kirupa.com/forum/external.php?type=RSS2">
<LINK rel="alternate" type="application/rss+xml" title="kirupaForum - Best of Kirupa.com - RSS Feed" href="http://www.kirupa.com/forum/external.php?type=RSS2&forumids=12">
<TITLE> Scrollbars & Code structure - Actionscript 3.0 - kirupaForum</TITLE>
<SCRIPT type="text/javascript" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/vbulletin_post_loader.js"></SCRIPT>
<STYLE type="text/css" id="vbulletin_showthread_css">
<!--
#links div { white-space: nowrap; }
#links img { vertical-align: middle; }
-->
</STYLE>
</HEAD><BODY onload="">
<!-- logo -->
<TABLE border="0" width="850" cellpadding="0" cellspacing="0" align="center">
<TBODY><TR>
<TD align="left"><A href="http://www.kirupa.com/forum/index.php?"></A></TD>
<TD align="right">
<!--
NEW HEADER & NAVBAR
Now that the nav buttons are in the
navbar template, you can stick whatever
you like into this space.
This makes it much easier for novice
admins to customize their header
template without affecting important
navigation elements.
-->
</TD>
</TR>
</TBODY></TABLE>
<!-- /logo -->
<SCRIPT type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</SCRIPT><SCRIPT src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/ga.js" type="text/javascript"></SCRIPT>
<SCRIPT type="text/javascript">
var pageTracker = _gat._getTracker("UA-1952673-1");
pageTracker._trackPageview();
</SCRIPT>
<SCRIPT language="javascript" type="text/javascript" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/msAnalytics.js"></SCRIPT>
<SCRIPT language="javascript" type="text/javascript">
msAnalytics.ProfileId = 'C86A';
msAnalytics.CookieDomain = 'kirupa.com';
msAnalytics.TrackPage();
</SCRIPT>
<TABLE cellpadding="2" cellspacing="0" style="width: 100%">
<TBODY><TR>
<TD>
<DIV align="center">
<TABLE border="0" width="850" cellspacing="0" cellpadding="5" style="border: 1px solid #999999">
<TBODY><TR>
<TD bgcolor="#FFFFFF" style="background-image: url('http://www.kirupa.com/new_layout/modules/headerBG.png')">
<SCRIPT type="text/javascript" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/swfobject.js"></SCRIPT>
<TABLE style="width: 100%">
<TBODY><TR>
<TD style="width: 4px">
<A href="http://www.kirupa.com/">
<IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/orange.gif" width="17" height="18" border="0"></A></TD>
<TD>
<A href="http://www.kirupa.com/">
<IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/kirupaLogoGIF.gif" width="152" height="28" border="0" style="float: left"></A></TD>
<TD style="text-align: right">
<FORM action="http://search.atomz.com/search" style="margin-bottom: 0px">
<INPUT type="hidden" value="sp040c2f00" name="sp_a">
<INPUT type="hidden" value="iso-8859-1" name="sp_f">
<INPUT name="sp_q" id="sbi" class="InputTextStyle" type="text" style="height: 16px">
</FORM>
</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
</TD>
</TR>
<TR>
<TD>
<DIV align="center">
<!--
<table border="0" width="850" cellspacing="0" cellpadding="0" background="http://www.kirupa.com/new_layout/modules/blue_bg_grayborder2.gif " height="30">
<tr>
<td height="19">
<div align="left">
<table border="0" width="728" cellspacing="0" cellpadding="0">
<tr>
<td width="4"> </td>
<td>
<script type="text/javascript">
google_ad_client = "pub-0633423995889665";
google_ad_width = 728;
google_ad_height = 15;
google_ad_format = "728x15_0ads_al_s";
google_ad_channel ="4661413043";
google_color_border = "EFF4FA";
google_color_bg = "EFF4FA";
google_color_link = "999999";
google_color_url = "999999";
google_color_text = "000000";
</script>
<script type="text/javascript" src=" http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
--><TABLE cellpadding="3" cellspacing="0" width="850" height="30" style="border: 1px solid #CCCCCC; background-color: #EFF4FA">
<TBODY><TR>
<TD>
<P style="font-size: xx-small; font-family: Verdana; text-align: left;">
<SPAN style="color: #005D89">
<A href="http://www.wix.com/?utm_campaign=kirupa.com&experiment_id=flash" target="_blank" onclick="javascript: pageTracker._trackPageview('/outgoing/wixForumsHeader.com');">
Free flash website</A></SPAN><SPAN style="color: #999999"> |
<A href="http://www.wix.com/?utm_campaign=kirupa.com&experiment_id=flash1" target="_blank" onclick="javascript: pageTracker._trackPageview('/outgoing/wixForumsHeader.com');">
Flash website</A> |
<A href="http://www.wix.com/?utm_campaign=kirupa.com&experiment_id=flash2" target="_blank" onclick="javascript: pageTracker._trackPageview('/outgoing/wixForumsHeader.com');">
Flash website builder</A> |
<A href="http://www.wix.com/free/website?utm_campaign=kirupa.com&experiment_id=flash3" target="_blank" onclick="javascript: pageTracker._trackPageview('/outgoing/wixForumsHeader.com');">
Free website</A> |
<A href="http://www.wix.com/?utm_campaign=kirupa.com&experiment_id=flash4" target="_blank" onclick="javascript: pageTracker._trackPageview('/outgoing/wixForumsHeader.com');">
flash website templates</A> |
<A href="http://www.wix.com/?utm_campaign=kirupa.com&experiment_id=flash5" target="_blank" onclick="javascript: pageTracker._trackPageview('/outgoing/wixForumsHeader.com');">
Free flash templates</A></SPAN></P>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
</TD>
</TR>
</TBODY></TABLE>
<!-- content table -->
<!-- open content container -->
<DIV align="center">
<DIV class="page" style="width:850px; text-align:left">
<DIV style="padding:0px 0px 0px 0px" align="left">
<BR>
<!-- breadcrumb, login, pm info -->
<TABLE class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<TBODY><TR>
<TD class="alt1" width="100%">
<TABLE cellpadding="0" cellspacing="0" border="0">
<TBODY><TR valign="bottom">
<TD><A href="http://www.kirupa.com/forum/showthread.php?t=245468#" onclick="history.back(1); return false;"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/navbits_start.gif" alt="Go Back" border="0" title="Go Back"></A></TD>
<TD> </TD>
<TD width="100%"><SPAN class="navbar"><A href="http://www.kirupa.com/forum/index.php" accesskey="1">kirupaForum</A></SPAN>
<SPAN class="navbar">> <A href="http://www.kirupa.com/forum/forumdisplay.php?f=6">Flash</A></SPAN>
<SPAN class="navbar">> <A href="http://www.kirupa.com/forum/forumdisplay.php?f=12">Best of Kirupa.com</A></SPAN>
</TD>
</TR>
<TR>
<TD class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><A href="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm.0 - kirupaForum"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/navbits_finallink_ltr.gif" alt="Reload this Page" border="0" title="Reload this Page"></A> <STRONG>
Scrollbars & Code structure - Actionscript 3.0
</STRONG></TD>
</TR>
</TBODY></TABLE>
</TD>
<TD class="alt2" nowrap="nowrap" style="padding:0px">
<!-- login form -->
<FORM action="http://www.kirupa.com/forum/login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0)">
<SCRIPT type="text/javascript" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/vbulletin_md5.js"></SCRIPT>
<TABLE cellpadding="0" cellspacing="3" border="0">
<TBODY><TR>
<TD class="smallfont" style="white-space: nowrap;"><LABEL for="navbar_username">User Name</LABEL></TD>
<TD><INPUT type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="User Name" onfocus="if (this.value == 'User Name') this.value = '';"></TD>
<TD class="smallfont" nowrap="nowrap"><LABEL for="cb_cookieuser_navbar"><INPUT type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c">Remember Me?</LABEL></TD>
</TR>
<TR>
<TD class="smallfont"><LABEL for="navbar_password">Password</LABEL></TD>
<TD><INPUT type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102"></TD>
<TD><INPUT type="submit" class="button" value="Log in" tabindex="104" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." accesskey="s"></TD>
</TR>
</TBODY></TABLE>
<INPUT type="hidden" name="s" value="">
<INPUT type="hidden" name="securitytoken" value="guest">
<INPUT type="hidden" name="do" value="login">
<INPUT type="hidden" name="vb_login_md5password">
<INPUT type="hidden" name="vb_login_md5password_utf">
</FORM>
<!-- / login form -->
</TD>
</TR>
</TBODY></TABLE>
<!-- / breadcrumb, login, pm info -->
<!-- nav buttons bar -->
<DIV class="tborder" style="padding:1px; border-top-width:0px">
<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<TBODY><TR align="center">
<TD class="vbmenu_control"><A href="http://www.kirupa.com/forum/register.php" rel="nofollow">Register</A></TD>
<TD class="vbmenu_control"><A rel="help" href="http://www.kirupa.com/forum/faq.php" accesskey="5">FAQ</A></TD>
<TD class="vbmenu_control"><A href="http://www.kirupa.com/forum/calendar.php">Calendar</A></TD>
</TR>
</TBODY></TABLE>
</DIV>
<!-- / nav buttons bar -->
<BR>
<!-- NAVBAR POPUP MENUS -->
<!-- / NAVBAR POPUP MENUS -->
<!-- PAGENAV POPUP -->
<DIV class="vbmenu_popup" id="pagenav_menu" style="display: none; position: absolute; z-index: 50; ">
<TABLE cellpadding="4" cellspacing="1" border="0">
<TBODY><TR>
<TD class="thead" nowrap="nowrap">Go to Page...</TD>
</TR>
<TR>
<TD class="vbmenu_option" title="">
<FORM action="http://www.kirupa.com/forum/index.php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<INPUT type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4">
<INPUT type="button" class="button" id="pagenav_ibtn" value="Go">
</FORM>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!-- / PAGENAV POPUP -->
<A name="poststop" id="poststop"></A>
<!-- controls above postbits -->
<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<TBODY><TR valign="bottom">
<TD class="smallfont"><A href="http://www.kirupa.com/forum/newreply.php?do=newreply&noquote=1&p=2032255" rel="nofollow"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/reply.gif" alt="Reply" border="0" title="Reply"></A></TD>
<TD align="right"><DIV class="pagenav" align="right">
<TABLE class="tborder" cellpadding="3" cellspacing="1" border="0">
<TBODY><TR>
<TD class="vbmenu_control" style="font-weight:normal">Page 1 of 2</TD>
<TD class="alt2"><SPAN class="smallfont" title="Showing results 1 to 15 of 30"><STRONG>1</STRONG></SPAN></TD>
<TD class="alt1"><A class="smallfont" href="http://www.kirupa.com/forum/showthread.php?t=245468&page=2" title="Show results 16 to 30 of 30">2</A></TD>
<TD class="alt1"><A rel="next" class="smallfont" href="http://www.kirupa.com/forum/showthread.php?t=245468&page=2" title="Next Page - Results 16 to 30 of 30">></A></TD>
<TD class="vbmenu_control" title="" id="pagenav.32" style="cursor: pointer; "> <IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/menu_open.gif" border="0" title="" alt=""></TD>
</TR>
</TBODY></TABLE>
</DIV></TD>
</TR>
</TBODY></TABLE>
<!-- / controls above postbits -->
<!-- toolbar -->
<TABLE class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center" style="border-bottom-width:0px">
<TBODY><TR>
<TD class="tcat" width="100%">
<DIV class="smallfont">
<A href="http://www.kirupa.com/forum/showthread.php?t=245468&goto=newpost"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/firstnew.gif" alt="View First Unread" border="0" title="View First Unread"></A>
<A href="http://www.kirupa.com/forum/showthread.php?t=245468&goto=newpost"><STRONG>View First Unread</STRONG></A>
</DIV>
</TD>
<TD class="vbmenu_control" id="threadtools" nowrap="nowrap" style="cursor: pointer; ">
<A href="http://www.kirupa.com/forum/showthread.php?t=245468&nojs=1#goto_threadtools">Thread Tools</A>
<SCRIPT type="text/javascript"> vbmenu_register("threadtools"); </SCRIPT> <IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/menu_open.gif" border="0" title="" alt="">
</TD>
<TD class="vbmenu_control" id="displaymodes" nowrap="nowrap" style="cursor: pointer; ">
<A href="http://www.kirupa.com/forum/showthread.php?t=245468&nojs=1#goto_displaymodes">Display Modes</A>
<SCRIPT type="text/javascript"> vbmenu_register("displaymodes"); </SCRIPT> <IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/menu_open.gif" border="0" title="" alt="">
</TD>
</TR>
</TBODY></TABLE>
<!-- / toolbar -->
<!-- end content table -->
</DIV>
</DIV>
</DIV>
<!-- / close content container -->
<!-- / end content table -->
<DIV id="posts"><!-- post #2032255 -->
<!-- open content container -->
<DIV align="center">
<DIV class="page" style="width:850px; text-align:left">
<DIV style="padding:0px 0px 0px 0px" align="left">
<DIV id="edit2032255" style="padding:0px 0px 6px 0px">
<!-- this is not the last post shown on the page -->
<TABLE id="post2032255" class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<TBODY><TR>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-right: 0px">
<!-- status icon and date -->
<A name="post2032255"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/post_old.gif" alt="Old" border="0" title="Old"></A>
12-31-2006, 03:21 PM
<!-- / status icon and date -->
</TD>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-left: 0px" align="right">
#<A href="http://www.kirupa.com/forum/showpost.php?p=2032255&postcount=1" target="new" rel="nofollow" id="postcount2032255" name="1"><STRONG>1</STRONG></A>
</TD>
</TR>
<TR valign="top">
<TD class="alt2" width="175" style="border: 1px solid #E2E2E2; border-top: 0px; border-bottom: 0px">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; text-align: center; vertical-align:middle; height: 125px; background-color: #FFFFFF;" cellpadding="10" cellspacing="0">
<TBODY><TR>
<TD>
<DIV id="postmenu_2032255">
<A class="bigusername" href="http://www.kirupa.com/forum/member.php?u=19066">MichaelxxOA</A>
<SCRIPT type="text/javascript"> vbmenu_register("postmenu_2032255", true); </SCRIPT>
</DIV>
<DIV class="smallfont">Registered User</DIV>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<DIV class="smallfont">
<IMG height="6" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Location" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/icon_world.gif" width="16" title="Location"></TD>
<TD style="font-size: x-small">Victorville, California</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!---->
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Posts" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/comment.png" width="16" title="Posts"></TD>
<TD style="font-size: x-small">713</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Forum style" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/color_swatch.png" width="16" title="Forum style"></TD>
<TD style="font-size: x-small">
<A href="http://blog.kirupa.com/?p=236" target="_blank">Choose a Custom Style
</A>
</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!--<div> </div>-->
</DIV>
</TD>
<TD class="alt1" id="td_post_2032255" style="border-right: 1px solid #E2E2E2">
<!-- icon and title -->
<DIV class="smallfont">
<STRONG>Actionscript 3.0 Scrollbars</STRONG>
</DIV>
<HR size="1" style="color:#E2E2E2; background-color:#E2E2E2">
<!-- / icon and title -->
<!-- message -->
<DIV id="post_message_2032255">So this thread actually began from another thread, I am just moving it over here... I got asked to write a tutorial about this, is anyone else interested?<BR>
<BR>
The purpose of this thread is more about the code design then it is about the functionality although this is a very practical and very usable solution.<BR>
<B><BR>
Scrooooooooooollbars</B><BR>
<BR>
A scrollbar isn't nearly as much as people assume it to be. In fact a scrollbar can be broken down into a composite of a few simpler components. <BR>
<BR>
The approach here is to make this as abstract as possible. First thoughts should be focusing on what a scrollbar is and what a scrollbar isn't. This is important because it relates directly to the complexity of our design. If we couple together a scrollbar with content we have to design specifically for that. Instead we need to assume less. <BR>
<BR>
<BR>
<B>Scrollbars and Sliders</B><BR>
<BR>
At the core of just about every scrollbar is the slider. A slider can be described as a track and a marker. The marker can be dragged along the length of the track where it's position along the track is the visual representation of some percentage that we can read and write.<BR>
<BR>
To promote a more flexible design we will be decoupling the way in which anything becomes aware of the scrollbar. Instead of the scrollbar modifying an object based on it's percentage we will instead notify objects that the scrollbar has changed, providing them with the new percentage.<BR>
<BR>
At this point we are discussing two agents in the design, a slider (which is itself a component that can be used 100% independently of the scrollbar ), and the event which our slider will broadcast.<BR>
<BR>
These can be defined programatically as Slider and SliderEvent with the following classes:<BR>
<BR>
<B> Slider<BR>
</B><DIV style="margin:20px; margin-top:5px">
<DIV class="smallfont" style="margin-bottom:2px">ActionScript Code:</DIV>
<PRE class="alt2" style="margin:0px; padding:6px; border:1px inset; width:500px; height:516px; overflow:auto"><DIV dir="ltr" style="text-align:left;"><DIV class="actionscript">package<BR><SPAN style="color: #000000;">{</SPAN><BR> <SPAN style="color: #0000FF;">import</SPAN> flash.<SPAN style="color: #000080;">display</SPAN>.<SPAN style="color: #000080;">Sprite</SPAN>;<BR> <SPAN style="color: #0000FF;">import</SPAN> flash.<SPAN style="color: #000080;">events</SPAN>.<SPAN style="color: #000080;">MouseEvent</SPAN>;<BR> <SPAN style="color: #0000FF;">import</SPAN> flash.<SPAN style="color: #000080;">geom</SPAN>.<SPAN style="color: #000080;">Rectangle</SPAN>;<BR><BR> <SPAN style="color: #808080; font-style: italic;">/**<BR> * Represents the base functionality for Sliders.<BR> * <BR> * Broadcasts 1 event:<BR> * -SliderEvent.CHANGE<BR> */</SPAN><BR> <SPAN style="color: #0000FF;">public</SPAN> <SPAN style="color: #000000; font-weight: bold;">class</SPAN> Slider <SPAN style="color: #0000FF;">extends</SPAN> Sprite<BR> <SPAN style="color: #000000;">{</SPAN><BR> <SPAN style="color: #808080; font-style: italic;">// elements</SPAN><BR> protected <SPAN style="color: #000000; font-weight: bold;">var</SPAN> track:Sprite;<BR> protected <SPAN style="color: #000000; font-weight: bold;">var</SPAN> marker:Sprite;<BR> <BR> <SPAN style="color: #808080; font-style: italic;">// percentage</SPAN><BR> protected <SPAN style="color: #000000; font-weight: bold;">var</SPAN> percentage:<SPAN style="color: #0000FF;">Number</SPAN> = <SPAN style="color: #000080;">0</SPAN>;<BR> <SPAN style="color: #808080; font-style: italic;">/**<BR> * The percent is represented as a value between 0 and 1.<BR> */</SPAN><BR> <SPAN style="color: #0000FF;">public</SPAN> <SPAN style="color: #000000; font-weight: bold;">function</SPAN> <SPAN style="color: #0000FF;">get</SPAN> percent<SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>:<SPAN style="color: #0000FF;">Number</SPAN> <SPAN style="color: #000000;">{</SPAN> <SPAN style="color: #0000FF;">return</SPAN> percentage; <SPAN style="color: #000000;">}</SPAN><BR> <SPAN style="color: #808080; font-style: italic;">/**<BR> * The percent is represented as a value between 0 and 1.<BR> */</SPAN><BR> <SPAN style="color: #0000FF;">public</SPAN> <SPAN style="color: #000000; font-weight: bold;">function</SPAN> <SPAN style="color: #0000FF;">set</SPAN> percent<SPAN style="color: #000000;">(</SPAN> p:<SPAN style="color: #0000FF;">Number</SPAN> <SPAN style="color: #000000;">)</SPAN>:<SPAN style="color: #0000FF;">void</SPAN><BR> <SPAN style="color: #000000;">{</SPAN><BR> percentage = <SPAN style="color: #0000FF;">Math</SPAN>.<SPAN style="color: #0000FF;">min</SPAN><SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #000080;">1</SPAN>, <SPAN style="color: #0000FF;">Math</SPAN>.<SPAN style="color: #0000FF;">max</SPAN><SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #000080;">0</SPAN>, p <SPAN style="color: #000000;">)</SPAN> <SPAN style="color: #000000;">)</SPAN>;<BR> marker.<SPAN style="color: #000080;">y</SPAN> = percentage * <SPAN style="color: #000000;">(</SPAN>track.<SPAN style="color: #0000FF;">height</SPAN> - marker.<SPAN style="color: #0000FF;">height</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> <BR> dispatchEvent<SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #000000; font-weight: bold;">new</SPAN> SliderEvent<SPAN style="color: #000000;">(</SPAN> SliderEvent.<SPAN style="color: #000080;">CHANGE</SPAN>, percentage <SPAN style="color: #000000;">)</SPAN> <SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #000000;">}</SPAN><BR> <BR> <SPAN style="color: #808080; font-style: italic;">/**<BR> * Constructor<BR> */</SPAN><BR> <SPAN style="color: #0000FF;">public</SPAN> <SPAN style="color: #000000; font-weight: bold;">function</SPAN> Slider<SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN><BR> <SPAN style="color: #000000;">{</SPAN><BR> createElements<SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #000000;">}</SPAN><BR> <BR> <SPAN style="color: #808080; font-style: italic;">// ends the sliding session</SPAN><BR> protected <SPAN style="color: #000000; font-weight: bold;">function</SPAN> stopSliding<SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #0000FF;">e</SPAN>:MouseEvent <SPAN style="color: #000000;">)</SPAN>:<SPAN style="color: #0000FF;">void</SPAN><BR> <SPAN style="color: #000000;">{</SPAN><BR> marker.<SPAN style="color: #0000FF;">stopDrag</SPAN><SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #0000FF;">stage</SPAN>.<SPAN style="color: #000080;">removeEventListener</SPAN><SPAN style="color: #000000;">(</SPAN> MouseEvent.<SPAN style="color: #000080;">MOUSE_MOVE</SPAN>, updatePercent <SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #0000FF;">stage</SPAN>.<SPAN style="color: #000080;">removeEventListener</SPAN><SPAN style="color: #000000;">(</SPAN> MouseEvent.<SPAN style="color: #000080;">MOUSE_UP</SPAN>, stopSliding <SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #000000;">}</SPAN> <BR> <SPAN style="color: #808080; font-style: italic;">// updates the data to reflect the visuals</SPAN><BR> protected <SPAN style="color: #000000; font-weight: bold;">function</SPAN> updatePercent<SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #0000FF;">e</SPAN>:MouseEvent <SPAN style="color: #000000;">)</SPAN>:<SPAN style="color: #0000FF;">void</SPAN><BR> <SPAN style="color: #000000;">{</SPAN><BR> <SPAN style="color: #0000FF;">e</SPAN>.<SPAN style="color: #0000FF;">updateAfterEvent</SPAN><SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> percentage = marker.<SPAN style="color: #000080;">y</SPAN> / <SPAN style="color: #000000;">(</SPAN>track.<SPAN style="color: #0000FF;">height</SPAN> - marker.<SPAN style="color: #0000FF;">height</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> <BR> dispatchEvent<SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #000000; font-weight: bold;">new</SPAN> SliderEvent<SPAN style="color: #000000;">(</SPAN> SliderEvent.<SPAN style="color: #000080;">CHANGE</SPAN>, percentage <SPAN style="color: #000000;">)</SPAN> <SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #000000;">}</SPAN><BR> <BR> <SPAN style="color: #808080; font-style: italic;">// Executed when the marker is pressed by the user.</SPAN><BR> protected <SPAN style="color: #000000; font-weight: bold;">function</SPAN> markerPress<SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #0000FF;">e</SPAN>:MouseEvent <SPAN style="color: #000000;">)</SPAN>:<SPAN style="color: #0000FF;">void</SPAN><BR> <SPAN style="color: #000000;">{</SPAN><BR> marker.<SPAN style="color: #0000FF;">startDrag</SPAN><SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #000000; font-weight: bold;">false</SPAN>, <SPAN style="color: #000000; font-weight: bold;">new</SPAN> Rectangle<SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #000080;">0</SPAN>, <SPAN style="color: #000080;">0</SPAN>, <SPAN style="color: #000080;">0</SPAN>, track.<SPAN style="color: #0000FF;">height</SPAN> - marker.<SPAN style="color: #0000FF;">height</SPAN> <SPAN style="color: #000000;">)</SPAN> <SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #0000FF;">stage</SPAN>.<SPAN style="color: #000080;">addEventListener</SPAN><SPAN style="color: #000000;">(</SPAN> MouseEvent.<SPAN style="color: #000080;">MOUSE_MOVE</SPAN>, updatePercent <SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #0000FF;">stage</SPAN>.<SPAN style="color: #000080;">addEventListener</SPAN><SPAN style="color: #000000;">(</SPAN> MouseEvent.<SPAN style="color: #000080;">MOUSE_UP</SPAN>, stopSliding <SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #000000;">}</SPAN> <BR> <BR> <SPAN style="color: #808080; font-style: italic;">/**<BR> * Creates and initializes the marker/track elements.<BR> */</SPAN><BR> protected <SPAN style="color: #000000; font-weight: bold;">function</SPAN> createElements<SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>:<SPAN style="color: #0000FF;">void</SPAN><BR> <SPAN style="color: #000000;">{</SPAN><BR> track = <SPAN style="color: #000000; font-weight: bold;">new</SPAN> Sprite<SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> marker = <SPAN style="color: #000000; font-weight: bold;">new</SPAN> Sprite<SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> <BR> track.<SPAN style="color: #000080;">graphics</SPAN>.<SPAN style="color: #0000FF;">beginFill</SPAN><SPAN style="color: #000000;">(</SPAN> 0xCCCCCC, <SPAN style="color: #000080;">1</SPAN> <SPAN style="color: #000000;">)</SPAN>;<BR> track.<SPAN style="color: #000080;">graphics</SPAN>.<SPAN style="color: #000080;">drawRect</SPAN><SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000080;">0</SPAN>, <SPAN style="color: #000080;">0</SPAN>, <SPAN style="color: #000080;">10</SPAN>, <SPAN style="color: #000080;">100</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> track.<SPAN style="color: #000080;">graphics</SPAN>.<SPAN style="color: #0000FF;">endFill</SPAN><SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> <BR> marker.<SPAN style="color: #000080;">graphics</SPAN>.<SPAN style="color: #0000FF;">beginFill</SPAN><SPAN style="color: #000000;">(</SPAN> 0x333333, <SPAN style="color: #000080;">1</SPAN> <SPAN style="color: #000000;">)</SPAN>;<BR> marker.<SPAN style="color: #000080;">graphics</SPAN>.<SPAN style="color: #000080;">drawRect</SPAN><SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000080;">0</SPAN>, <SPAN style="color: #000080;">0</SPAN>, <SPAN style="color: #000080;">10</SPAN>, <SPAN style="color: #000080;">15</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> marker.<SPAN style="color: #000080;">graphics</SPAN>.<SPAN style="color: #0000FF;">endFill</SPAN><SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> <BR> marker.<SPAN style="color: #000080;">addEventListener</SPAN><SPAN style="color: #000000;">(</SPAN> MouseEvent.<SPAN style="color: #000080;">MOUSE_DOWN</SPAN>, markerPress <SPAN style="color: #000000;">)</SPAN>;<BR> <BR> addChild<SPAN style="color: #000000;">(</SPAN> track <SPAN style="color: #000000;">)</SPAN>;<BR> addChild<SPAN style="color: #000000;">(</SPAN> marker <SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #000000;">}</SPAN><BR> <SPAN style="color: #000000;">}</SPAN><BR><SPAN style="color: #000000;">}</SPAN></DIV></DIV></PRE>
</DIV><BR>
<BR>
<B>SliderEvent</B><BR>
<DIV style="margin:20px; margin-top:5px">
<DIV class="smallfont" style="margin-bottom:2px">ActionScript Code:</DIV>
<PRE class="alt2" style="margin:0px; padding:6px; border:1px inset; width:500px; height:484px; overflow:auto"><DIV dir="ltr" style="text-align:left;"><DIV class="actionscript">package<BR><SPAN style="color: #000000;">{</SPAN><BR> <SPAN style="color: #0000FF;">import</SPAN> flash.<SPAN style="color: #000080;">events</SPAN>.<SPAN style="color: #000080;">Event</SPAN>;<BR><BR> <SPAN style="color: #0000FF;">public</SPAN> <SPAN style="color: #000000; font-weight: bold;">class</SPAN> SliderEvent <SPAN style="color: #0000FF;">extends</SPAN> Event<BR> <SPAN style="color: #000000;">{</SPAN><BR> <SPAN style="color: #808080; font-style: italic;">// events</SPAN><BR> <SPAN style="color: #0000FF;">public</SPAN> <SPAN style="color: #0000FF;">static</SPAN> const CHANGE:<SPAN style="color: #0000FF;">String</SPAN> = <SPAN style="color: #ff0000;">"change"</SPAN>;<BR> <BR> protected <SPAN style="color: #000000; font-weight: bold;">var</SPAN> percentage:<SPAN style="color: #0000FF;">Number</SPAN>;<BR> <SPAN style="color: #808080; font-style: italic;">/**<BR> * Read-Only<BR> */</SPAN><BR> <SPAN style="color: #0000FF;">public</SPAN> <SPAN style="color: #000000; font-weight: bold;">function</SPAN> <SPAN style="color: #0000FF;">get</SPAN> percent<SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>:<SPAN style="color: #0000FF;">Number</SPAN><BR> <SPAN style="color: #000000;">{</SPAN><BR> <SPAN style="color: #0000FF;">return</SPAN> percentage;<BR> <SPAN style="color: #000000;">}</SPAN><BR> <BR> <SPAN style="color: #808080; font-style: italic;">/**<BR> * Constructor<BR> */</SPAN><BR> <SPAN style="color: #0000FF;">public</SPAN> <SPAN style="color: #000000; font-weight: bold;">function</SPAN> SliderEvent<SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #0000FF;">type</SPAN>:<SPAN style="color: #0000FF;">String</SPAN>, percent:<SPAN style="color: #0000FF;">Number</SPAN> <SPAN style="color: #000000;">)</SPAN><BR> <SPAN style="color: #000000;">{</SPAN><BR> <SPAN style="color: #0000FF;">super</SPAN><SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #0000FF;">type</SPAN> <SPAN style="color: #000000;">)</SPAN>;<BR> percentage = percent;<BR> <SPAN style="color: #000000;">}</SPAN><BR> <SPAN style="color: #000000;">}</SPAN><BR><SPAN style="color: #000000;">}</SPAN></DIV></DIV></PRE>
</DIV><BR>
<BR>
This code should be failry intuitive and require very little explanation if at all, so if there is something that is not understood, please ask and I will explain it.<BR>
<BR>
<B>Scrollbars</B><BR>
<BR>
Since scrollbars are a composite of simpler components, the definition of a scrollbar is going to simply manage these components. We will talk about this design before showing the code.<BR>
<BR>
Think about what differentiates a scrollbar and a slider (minus the context within which they operate). In data scrollbars and sliders represent the same thing, some percentage. The difference is the means in which the percentage can be modified.<BR>
<BR>
A slider has a marker and a track, where the marker's position is the 'visual' representation of the slider's percentage. This marker can be dragged, allowing the user to modify the percentage.<BR>
<BR>
A scrollbar is everything that a slider is in addition to allowing the user to press 'arrows' that increment/decrement the percentage by some predefined or calculated amount. You can remember in the design of the slider we allowed ourselves a means of modifying a sliders percentage programatically. This flexibility is what will allow us to implement the scrollbar.<BR>
<BR>
Since what the scrollbar and slider represent in data are the same thing, we can use the same means of notifying a listener about changes in data. So our scrollbar class will be used merely to encapsulate the composition of the arrows and track. Remember that the way in which we notify the objects is the same, as a note instead of re-broadcasting the events we will simply register listeners for the Slider directly.<BR>
<BR>
A simple implementation of the Scrollbar follows.<BR>
<BR>
<B> Scrollbar</B><BR>
<DIV style="margin:20px; margin-top:5px">
<DIV class="smallfont" style="margin-bottom:2px">ActionScript Code:</DIV>
<PRE class="alt2" style="margin:0px; padding:6px; border:1px inset; width:500px; height:516px; overflow:auto"><DIV dir="ltr" style="text-align:left;"><DIV class="actionscript">package<BR><SPAN style="color: #000000;">{</SPAN><BR> <SPAN style="color: #0000FF;">import</SPAN> flash.<SPAN style="color: #000080;">display</SPAN>.<SPAN style="color: #000080;">Sprite</SPAN>;<BR> <SPAN style="color: #0000FF;">import</SPAN> flash.<SPAN style="color: #000080;">events</SPAN>.<SPAN style="color: #000080;">MouseEvent</SPAN>;<BR><BR> <SPAN style="color: #0000FF;">public</SPAN> <SPAN style="color: #000000; font-weight: bold;">class</SPAN> Scrollbar <SPAN style="color: #0000FF;">extends</SPAN> Sprite<BR> <SPAN style="color: #000000;">{</SPAN><BR> <SPAN style="color: #808080; font-style: italic;">// elements</SPAN><BR> protected <SPAN style="color: #000000; font-weight: bold;">var</SPAN> slider:Slider;<BR> protected <SPAN style="color: #000000; font-weight: bold;">var</SPAN> up_arrow:Sprite;<BR> protected <SPAN style="color: #000000; font-weight: bold;">var</SPAN> down_arrow:Sprite;<BR> <BR> protected <SPAN style="color: #000000; font-weight: bold;">var</SPAN> scrollSpeed:<SPAN style="color: #0000FF;">Number</SPAN> = .<SPAN style="color: #000080;">1</SPAN>;<BR> <BR> <SPAN style="color: #808080; font-style: italic;">// read/write percentage value relates directly to the slider</SPAN><BR> <SPAN style="color: #0000FF;">public</SPAN> <SPAN style="color: #000000; font-weight: bold;">function</SPAN> <SPAN style="color: #0000FF;">get</SPAN> percent<SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>:<SPAN style="color: #0000FF;">Number</SPAN> <SPAN style="color: #000000;">{</SPAN> <SPAN style="color: #0000FF;">return</SPAN> slider.<SPAN style="color: #000080;">percent</SPAN>; <SPAN style="color: #000000;">}</SPAN><BR> <SPAN style="color: #0000FF;">public</SPAN> <SPAN style="color: #000000; font-weight: bold;">function</SPAN> <SPAN style="color: #0000FF;">set</SPAN> percent<SPAN style="color: #000000;">(</SPAN> p:<SPAN style="color: #0000FF;">Number</SPAN> <SPAN style="color: #000000;">)</SPAN>:<SPAN style="color: #0000FF;">void</SPAN> <SPAN style="color: #000000;">{</SPAN> slider.<SPAN style="color: #000080;">percent</SPAN> = p; <SPAN style="color: #000000;">}</SPAN><BR> <BR> <SPAN style="color: #808080; font-style: italic;">/**<BR> * Constructor<BR> */</SPAN><BR> <SPAN style="color: #0000FF;">public</SPAN> <SPAN style="color: #000000; font-weight: bold;">function</SPAN> Scrollbar<SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN><BR> <SPAN style="color: #000000;">{</SPAN><BR> createElements<SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #000000;">}</SPAN><BR> <BR> <SPAN style="color: #808080; font-style: italic;">// executes when the up arrow is pressed</SPAN><BR> protected <SPAN style="color: #000000; font-weight: bold;">function</SPAN> arrowPressed<SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #0000FF;">e</SPAN>:MouseEvent <SPAN style="color: #000000;">)</SPAN>:<SPAN style="color: #0000FF;">void</SPAN><BR> <SPAN style="color: #000000;">{</SPAN><BR> <SPAN style="color: #000000; font-weight: bold;">var</SPAN> dir:<SPAN style="color: #0000FF;">int</SPAN> = <SPAN style="color: #000000;">(</SPAN><SPAN style="color: #0000FF;">e</SPAN>.<SPAN style="color: #0000FF;">target</SPAN> == up_arrow<SPAN style="color: #000000;">)</SPAN> ? -<SPAN style="color: #000080;">1</SPAN> : <SPAN style="color: #000080;">1</SPAN>;<BR> slider.<SPAN style="color: #000080;">percent</SPAN> += dir * scrollSpeed;<BR> <SPAN style="color: #000000;">}</SPAN><BR> <BR> <SPAN style="color: #808080; font-style: italic;">/**<BR> * Create and initialize the slider and arrow elements.<BR> */</SPAN><BR> protected <SPAN style="color: #000000; font-weight: bold;">function</SPAN> createElements<SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>:<SPAN style="color: #0000FF;">void</SPAN><BR> <SPAN style="color: #000000;">{</SPAN><BR> slider = <SPAN style="color: #000000; font-weight: bold;">new</SPAN> Slider<SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> <BR> up_arrow = <SPAN style="color: #000000; font-weight: bold;">new</SPAN> Sprite<SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> up_arrow.<SPAN style="color: #000080;">graphics</SPAN>.<SPAN style="color: #0000FF;">beginFill</SPAN><SPAN style="color: #000000;">(</SPAN> 0x666666, <SPAN style="color: #000080;">1</SPAN> <SPAN style="color: #000000;">)</SPAN>;<BR> up_arrow.<SPAN style="color: #000080;">graphics</SPAN>.<SPAN style="color: #000080;">drawRect</SPAN><SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #000080;">0</SPAN>, <SPAN style="color: #000080;">0</SPAN>, <SPAN style="color: #000080;">10</SPAN>, <SPAN style="color: #000080;">10</SPAN> <SPAN style="color: #000000;">)</SPAN>;<BR> up_arrow.<SPAN style="color: #000080;">graphics</SPAN>.<SPAN style="color: #0000FF;">endFill</SPAN><SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> <BR> down_arrow = <SPAN style="color: #000000; font-weight: bold;">new</SPAN> Sprite<SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> down_arrow.<SPAN style="color: #000080;">graphics</SPAN>.<SPAN style="color: #0000FF;">beginFill</SPAN><SPAN style="color: #000000;">(</SPAN> 0x666666, <SPAN style="color: #000080;">1</SPAN> <SPAN style="color: #000000;">)</SPAN>;<BR> down_arrow.<SPAN style="color: #000080;">graphics</SPAN>.<SPAN style="color: #000080;">drawRect</SPAN><SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #000080;">0</SPAN>, <SPAN style="color: #000080;">0</SPAN>, <SPAN style="color: #000080;">10</SPAN>, <SPAN style="color: #000080;">10</SPAN> <SPAN style="color: #000000;">)</SPAN>;<BR> down_arrow.<SPAN style="color: #000080;">graphics</SPAN>.<SPAN style="color: #0000FF;">endFill</SPAN><SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> <BR> slider.<SPAN style="color: #000080;">y</SPAN> = up_arrow.<SPAN style="color: #0000FF;">height</SPAN>;<BR> down_arrow.<SPAN style="color: #000080;">y</SPAN> = slider.<SPAN style="color: #000080;">y</SPAN> + slider.<SPAN style="color: #0000FF;">height</SPAN>;<BR> <BR> up_arrow.<SPAN style="color: #000080;">addEventListener</SPAN><SPAN style="color: #000000;">(</SPAN> MouseEvent.<SPAN style="color: #000080;">MOUSE_DOWN</SPAN>, arrowPressed <SPAN style="color: #000000;">)</SPAN>;<BR> down_arrow.<SPAN style="color: #000080;">addEventListener</SPAN><SPAN style="color: #000000;">(</SPAN> MouseEvent.<SPAN style="color: #000080;">MOUSE_DOWN</SPAN>, arrowPressed <SPAN style="color: #000000;">)</SPAN>;<BR> <BR> addChild<SPAN style="color: #000000;">(</SPAN> slider <SPAN style="color: #000000;">)</SPAN>;<BR> addChild<SPAN style="color: #000000;">(</SPAN> up_arrow <SPAN style="color: #000000;">)</SPAN>;<BR> addChild<SPAN style="color: #000000;">(</SPAN> down_arrow <SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #000000;">}</SPAN><BR> <BR> <SPAN style="color: #808080; font-style: italic;">/**<BR> * Override the add and remove event listeners, so that SliderEvent.CHANGE events will be <BR> * subscribed to the Slider directly.<BR> * <BR> * There is issues with this however, Event.CHANGE events will get subscribed directly too Slider as well.<BR> */</SPAN><BR> <SPAN style="color: #0000FF;">public</SPAN> override <SPAN style="color: #000000; font-weight: bold;">function</SPAN> addEventListener<SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #0000FF;">type</SPAN>:<SPAN style="color: #0000FF;">String</SPAN>, listener:<SPAN style="color: #000000; font-weight: bold;">Function</SPAN>, useCapture:<SPAN style="color: #0000FF;">Boolean</SPAN>=<SPAN style="color: #000000; font-weight: bold;">false</SPAN>, priority:<SPAN style="color: #0000FF;">int</SPAN>=<SPAN style="color: #000080;">0</SPAN>, useWeakReference:<SPAN style="color: #0000FF;">Boolean</SPAN>=<SPAN style="color: #000000; font-weight: bold;">false</SPAN> <SPAN style="color: #000000;">)</SPAN>:<SPAN style="color: #0000FF;">void</SPAN><BR> <SPAN style="color: #000000;">{</SPAN><BR> <SPAN style="color: #0000FF;">if</SPAN> <SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #0000FF;">type</SPAN> === SliderEvent.<SPAN style="color: #000080;">CHANGE</SPAN> <SPAN style="color: #000000;">)</SPAN><BR> <SPAN style="color: #000000;">{</SPAN><BR> slider.<SPAN style="color: #000080;">addEventListener</SPAN><SPAN style="color: #000000;">(</SPAN> SliderEvent.<SPAN style="color: #000080;">CHANGE</SPAN>, listener, useCapture, priority, useWeakReference <SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #0000FF;">return</SPAN>;<BR> <SPAN style="color: #000000;">}</SPAN><BR> <SPAN style="color: #0000FF;">super</SPAN>.<SPAN style="color: #000080;">addEventListener</SPAN><SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #0000FF;">type</SPAN>, listener, useCapture, priority, useWeakReference <SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #000000;">}</SPAN><BR> <SPAN style="color: #0000FF;">public</SPAN> override <SPAN style="color: #000000; font-weight: bold;">function</SPAN> removeEventListener<SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #0000FF;">type</SPAN>:<SPAN style="color: #0000FF;">String</SPAN>, listener:<SPAN style="color: #000000; font-weight: bold;">Function</SPAN>, useCapture:<SPAN style="color: #0000FF;">Boolean</SPAN>=<SPAN style="color: #000000; font-weight: bold;">false</SPAN> <SPAN style="color: #000000;">)</SPAN>:<SPAN style="color: #0000FF;">void</SPAN><BR> <SPAN style="color: #000000;">{</SPAN><BR> <SPAN style="color: #0000FF;">if</SPAN> <SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #0000FF;">type</SPAN> === SliderEvent.<SPAN style="color: #000080;">CHANGE</SPAN> <SPAN style="color: #000000;">)</SPAN><BR> <SPAN style="color: #000000;">{</SPAN><BR> slider.<SPAN style="color: #000080;">removeEventListener</SPAN><SPAN style="color: #000000;">(</SPAN> SliderEvent.<SPAN style="color: #000080;">CHANGE</SPAN>, listener, useCapture <SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #0000FF;">return</SPAN>;<BR> <SPAN style="color: #000000;">}</SPAN><BR> <SPAN style="color: #0000FF;">super</SPAN>.<SPAN style="color: #000080;">removeEventListener</SPAN><SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #0000FF;">type</SPAN>, listener, useCapture <SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #000000;">}</SPAN><BR> <SPAN style="color: #000000;">}</SPAN><BR><SPAN style="color: #000000;">}</SPAN></DIV></DIV></PRE>
</DIV><BR>
<BR>
Once again this code should be failry intuitive, but I will actually go over this one.<BR>
<BR>
Pretty much all we are doing here is creating the slider and the arrows and assigning their functionality. When either of the arrows are pressed the arrowPressed method gets invoked, we see which arrow was pressed, then we update the slider accordingly. The slider retains all of it's previous functionality... because we haven't touched it.<BR>
<BR>
So now we have all of this... but still, it's really not a scrollbar.<BR>
<BR>
<B>Content?</B><BR>
<BR>
This part is by far the easiest, and can be thought of as yet another abstraction. We can build a ScrollContent class that is a composition of a scrollbar and some content. <BR>
<BR>
We will assume that all content wishing to be scrolled is a Sprite. We will utilize various properties of the sprite to set up the scroll. The method in which we will scroll the content is simple and is explained in this post: <A href="http://www.createage.com/blog/?p=105" target="_blank">http://www.createage.com/blog/?p=105</A>.<BR>
<BR>
Here is a simple implementation of the ScrollContent class.<BR>
<BR>
<B>ScrollContent</B><BR>
<DIV style="margin:20px; margin-top:5px">
<DIV class="smallfont" style="margin-bottom:2px">ActionScript Code:</DIV>
<PRE class="alt2" style="margin:0px; padding:6px; border:1px inset; width:500px; height:516px; overflow:auto"><DIV dir="ltr" style="text-align:left;"><DIV class="actionscript">package<BR><SPAN style="color: #000000;">{</SPAN><BR> <SPAN style="color: #0000FF;">import</SPAN> flash.<SPAN style="color: #000080;">display</SPAN>.<SPAN style="color: #000080;">Sprite</SPAN>;<BR> <SPAN style="color: #0000FF;">import</SPAN> flash.<SPAN style="color: #000080;">geom</SPAN>.<SPAN style="color: #000080;">Rectangle</SPAN>;<BR><BR> <SPAN style="color: #0000FF;">public</SPAN> <SPAN style="color: #000000; font-weight: bold;">class</SPAN> ScrollContent <SPAN style="color: #0000FF;">extends</SPAN> Sprite<BR> <SPAN style="color: #000000;">{</SPAN><BR> <SPAN style="color: #808080; font-style: italic;">// elements</SPAN><BR> protected <SPAN style="color: #000000; font-weight: bold;">var</SPAN> content:Sprite;<BR> protected <SPAN style="color: #000000; font-weight: bold;">var</SPAN> scrollbar:Scrollbar;<BR> protected <SPAN style="color: #000000; font-weight: bold;">var</SPAN> contentHeight:<SPAN style="color: #0000FF;">Number</SPAN>;<BR> <BR> <SPAN style="color: #808080; font-style: italic;">/**<BR> * Constructor<BR> */</SPAN><BR> <SPAN style="color: #0000FF;">public</SPAN> <SPAN style="color: #000000; font-weight: bold;">function</SPAN> ScrollContent<SPAN style="color: #000000;">(</SPAN> clip:Sprite, scroller:Scrollbar, scrollRect:Rectangle <SPAN style="color: #000000;">)</SPAN><BR> <SPAN style="color: #000000;">{</SPAN><BR> content = clip;<BR> contentHeight = clip.<SPAN style="color: #0000FF;">height</SPAN>;<BR> content.<SPAN style="color: #000080;">scrollRect</SPAN> = scrollRect;<BR> <BR> scrollbar = scroller;<BR> <BR> scrollbar.<SPAN style="color: #000080;">addEventListener</SPAN><SPAN style="color: #000000;">(</SPAN> SliderEvent.<SPAN style="color: #000080;">CHANGE</SPAN>, updateContent <SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #000000;">}</SPAN><BR> <BR> <SPAN style="color: #0000FF;">public</SPAN> <SPAN style="color: #000000; font-weight: bold;">function</SPAN> updateContent<SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #0000FF;">e</SPAN>:SliderEvent <SPAN style="color: #000000;">)</SPAN>:<SPAN style="color: #0000FF;">void</SPAN><BR> <SPAN style="color: #000000;">{</SPAN><BR> <SPAN style="color: #000000; font-weight: bold;">var</SPAN> scrollable:<SPAN style="color: #0000FF;">Number</SPAN> = contentHeight - content.<SPAN style="color: #000080;">scrollRect</SPAN>.<SPAN style="color: #0000FF;">height</SPAN>;<BR> <SPAN style="color: #000000; font-weight: bold;">var</SPAN> sr:Rectangle = content.<SPAN style="color: #000080;">scrollRect</SPAN>.<SPAN style="color: #000080;">clone</SPAN><SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR><BR> sr.<SPAN style="color: #000080;">y</SPAN> = scrollable * <SPAN style="color: #0000FF;">e</SPAN>.<SPAN style="color: #000080;">percent</SPAN>;<BR> <BR> content.<SPAN style="color: #000080;">scrollRect</SPAN> = sr;<BR> <SPAN style="color: #000000;">}</SPAN><BR> <SPAN style="color: #000000;">}</SPAN><BR><SPAN style="color: #000000;">}</SPAN></DIV></DIV></PRE>
</DIV><BR>
<BR>
You can see that this is yet again another simple abstraction. It was a little more of a process to get started, but once complete you have a very flexible, very reusable base from which you can implement many different kinds of scrolling components.<BR>
<BR>
The main class that was used to test this follows (it's simple, you shouldn't have an issue understanding it).<BR>
<BR>
<B>ScrollbarExample</B><BR>
<DIV style="margin:20px; margin-top:5px">
<DIV class="smallfont" style="margin-bottom:2px">ActionScript Code:</DIV>
<PRE class="alt2" style="margin:0px; padding:6px; border:1px inset; width:500px; height:516px; overflow:auto"><DIV dir="ltr" style="text-align:left;"><DIV class="actionscript">package <SPAN style="color: #000000;">{</SPAN><BR> <SPAN style="color: #0000FF;">import</SPAN> flash.<SPAN style="color: #000080;">display</SPAN>.<SPAN style="color: #000080;">Sprite</SPAN>;<BR> <SPAN style="color: #0000FF;">import</SPAN> flash.<SPAN style="color: #000080;">events</SPAN>.<SPAN style="color: #000080;">Event</SPAN>;<BR> <SPAN style="color: #0000FF;">import</SPAN> flash.<SPAN style="color: #000080;">geom</SPAN>.<SPAN style="color: #000080;">Rectangle</SPAN>;<BR><BR> <SPAN style="color: #0000FF;">public</SPAN> <SPAN style="color: #000000; font-weight: bold;">class</SPAN> ScrollbarExample <SPAN style="color: #0000FF;">extends</SPAN> Sprite<BR> <SPAN style="color: #000000;">{</SPAN><BR> <SPAN style="color: #0000FF;">public</SPAN> <SPAN style="color: #000000; font-weight: bold;">function</SPAN> ScrollbarExample<SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN><BR> <SPAN style="color: #000000;">{</SPAN><BR> <SPAN style="color: #000000; font-weight: bold;">var</SPAN> content:Sprite = <SPAN style="color: #000000; font-weight: bold;">new</SPAN> Sprite<SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #000000; font-weight: bold;">var</SPAN> scrollbar:Scrollbar = <SPAN style="color: #000000; font-weight: bold;">new</SPAN> Scrollbar<SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #000000; font-weight: bold;">var</SPAN> scroll_rect:Rectangle = <SPAN style="color: #000000; font-weight: bold;">new</SPAN> Rectangle<SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #000080;">0</SPAN>, <SPAN style="color: #000080;">0</SPAN>, <SPAN style="color: #000080;">100</SPAN>, <SPAN style="color: #000080;">50</SPAN> <SPAN style="color: #000000;">)</SPAN>;<BR> <BR> content.<SPAN style="color: #000080;">graphics</SPAN>.<SPAN style="color: #0000FF;">beginFill</SPAN><SPAN style="color: #000000;">(</SPAN> 0xFF0000, <SPAN style="color: #000080;">1</SPAN> <SPAN style="color: #000000;">)</SPAN>;<BR> content.<SPAN style="color: #000080;">graphics</SPAN>.<SPAN style="color: #000080;">drawRect</SPAN><SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #000080;">0</SPAN>, <SPAN style="color: #000080;">0</SPAN>, <SPAN style="color: #000080;">100</SPAN>, <SPAN style="color: #000080;">50</SPAN> <SPAN style="color: #000000;">)</SPAN>;<BR> content.<SPAN style="color: #000080;">graphics</SPAN>.<SPAN style="color: #0000FF;">beginFill</SPAN><SPAN style="color: #000000;">(</SPAN> 0x00FF00, <SPAN style="color: #000080;">1</SPAN> <SPAN style="color: #000000;">)</SPAN>;<BR> content.<SPAN style="color: #000080;">graphics</SPAN>.<SPAN style="color: #000080;">drawRect</SPAN><SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #000080;">0</SPAN>, <SPAN style="color: #000080;">50</SPAN>, <SPAN style="color: #000080;">100</SPAN>, <SPAN style="color: #000080;">50</SPAN> <SPAN style="color: #000000;">)</SPAN>;<BR> content.<SPAN style="color: #000080;">graphics</SPAN>.<SPAN style="color: #0000FF;">beginFill</SPAN><SPAN style="color: #000000;">(</SPAN> 0x0000FF, <SPAN style="color: #000080;">1</SPAN> <SPAN style="color: #000000;">)</SPAN>;<BR> content.<SPAN style="color: #000080;">graphics</SPAN>.<SPAN style="color: #000080;">drawRect</SPAN><SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #000080;">0</SPAN>, <SPAN style="color: #000080;">100</SPAN>, <SPAN style="color: #000080;">100</SPAN>, <SPAN style="color: #000080;">50</SPAN> <SPAN style="color: #000000;">)</SPAN>;<BR> content.<SPAN style="color: #000080;">graphics</SPAN>.<SPAN style="color: #0000FF;">endFill</SPAN><SPAN style="color: #000000;">(</SPAN><SPAN style="color: #000000;">)</SPAN>;<BR> <BR> <SPAN style="color: #000000; font-weight: bold;">var</SPAN> rect:Rectangle = <SPAN style="color: #000000; font-weight: bold;">new</SPAN> Rectangle<SPAN style="color: #000000;">(</SPAN> <SPAN style="color: #000080;">0</SPAN>, <SPAN style="color: #000080;">0</SPAN>, <SPAN style="color: #000080;">100</SPAN>, <SPAN style="color: #000080;">50</SPAN> <SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #000000; font-weight: bold;">var</SPAN> sc:ScrollContent = <SPAN style="color: #000000; font-weight: bold;">new</SPAN> ScrollContent<SPAN style="color: #000000;">(</SPAN> content, scrollbar, rect <SPAN style="color: #000000;">)</SPAN>;<BR> <BR> scrollbar.<SPAN style="color: #000080;">x</SPAN> = content.<SPAN style="color: #0000FF;">width</SPAN>;<BR> <BR> addChild<SPAN style="color: #000000;">(</SPAN> content <SPAN style="color: #000000;">)</SPAN>;<BR> addChild<SPAN style="color: #000000;">(</SPAN> scrollbar <SPAN style="color: #000000;">)</SPAN>;<BR> <SPAN style="color: #000000;">}</SPAN><BR> <SPAN style="color: #000000;">}</SPAN><BR><SPAN style="color: #000000;">}</SPAN></DIV></DIV></PRE>
</DIV><BR>
<BR>
Take care, if anyone has any questions I will do my best to answer as quickly as I can.<BR>
<BR>
Michael</DIV>
<!-- / message -->
<!-- sig -->
<DIV><BR>
__________________<BR>
<A href="http://www.specialrelativity.org/blog" target="_blank">http://www.specialrelativity.org/blog</A>
</DIV>
<!-- / sig -->
<!-- edit note -->
<DIV class="smallfont">
<HR size="1" style="color:#E2E2E2; background-color:#E2E2E2">
<EM>
Last edited by MichaelxxOA; 12-31-2006 at <SPAN class="time">03:30 PM</SPAN>..
</EM>
</DIV>
<!-- / edit note -->
</TD>
</TR>
<TR>
<TD class="alt2" style="border: 1px solid #E2E2E2; border-top: 0px">
<IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/user_offline.gif" alt="MichaelxxOA is offline" border="0" title="MichaelxxOA is offline">
</TD>
<TD class="alt1" align="right" style="border: 1px solid #E2E2E2; border-left: 0px; border-top: 0px">
<!-- controls -->
<A href="http://www.kirupa.com/forum/newreply.php?do=newreply&p=2032255" rel="nofollow"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/quote.gif" alt="Reply With Quote" border="0" title="Reply With Quote"></A>
<!-- / controls -->
</TD>
</TR>
</TBODY></TABLE>
<!-- post 2032255 popup menu -->
<DIV class="vbmenu_popup" id="postmenu_2032255_menu" style="display:none">
<TABLE cellpadding="4" cellspacing="1" border="0">
<TBODY><TR>
<TD class="thead">MichaelxxOA</TD>
</TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/member.php?u=19066">View Public Profile</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.createage.com/">Visit MichaelxxOA's homepage!</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/search.php?do=finduser&u=19066" rel="nofollow">Find More Posts by MichaelxxOA</A></TD></TR>
</TBODY></TABLE>
</DIV>
<!-- / post 2032255 popup menu -->
<!-- Begin Adsense Code -->
<BR>
<DIV align="center">
<TABLE id="post2032255" class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" bgcolor="#FFFFFF">
<TBODY><TR>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2" bgcolor="#FFFFFF">
Sponsored Links (Guests Only) -
<A href="http://www.kirupa.com/forum/register.php">Register</A> |
<A href="http://www.kirupa.com/forumGuide/registration.htm">Need Help?</A>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!-- End Adsense After First Post -->
<TABLE border="0" width="100%" cellspacing="0" bgcolor="#FFFFFF" style="border-left: 1px solid #F3F3F3; border-right: 1px solid #F3F3F3; border-bottom: 1px solid #F3F3F3">
<TBODY><TR>
<TD align="center">
<SCRIPT type="text/javascript"><!--
google_ad_client = "pub-0633423995889665";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="6505164574";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0066CC";
google_color_url = "336699";
google_color_text = "333333";
//--></SCRIPT>
<SCRIPT type="text/javascript" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/show_ads.js">
</SCRIPT><SCRIPT src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/expansion_embed.js"></SCRIPT><SCRIPT src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/test_domain.js"></SCRIPT><SCRIPT>window.google_render_ad();</SCRIPT><INS style="display:inline-table;border:none;height:90px;margin:0;padding:0;position:relative;visibility:visible;width:728px"><INS style="display:block;border:none;height:90px;margin:0;padding:0;position:relative;visibility:visible;width:728px"><IFRAME allowtransparency="true" frameborder="0" height="90" hspace="0" id="google_ads_frame1" marginheight="0" marginwidth="0" name="google_ads_frame" scrolling="no" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/ads.htm" style="left:0;position:absolute;top:0" vspace="0" width="728"></IFRAME></INS></INS>
<SCRIPT src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/urchin.js" type="text/javascript">
</SCRIPT>
<SCRIPT type="text/javascript">
_uacct = "UA-1952673-1";
urchinTracker();
</SCRIPT>
<P align="center">
</P></TD>
</TR>
</TBODY></TABLE>
<!-- / GOOGLE AD -->
</DIV>
</DIV>
</DIV>
</DIV>
<!-- / close content container -->
<!-- / post #2032255 --><!-- post #2032587 -->
<!-- open content container -->
<DIV align="center">
<DIV class="page" style="width:850px; text-align:left">
<DIV style="padding:0px 0px 0px 0px" align="left">
<DIV id="edit2032587" style="padding:0px 0px 6px 0px">
<!-- this is not the last post shown on the page -->
<TABLE id="post2032587" class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<TBODY><TR>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-right: 0px">
<!-- status icon and date -->
<A name="post2032587"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/post_old.gif" alt="Old" border="0" title="Old"></A>
01-01-2007, 04:37 AM
<!-- / status icon and date -->
</TD>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-left: 0px" align="right">
#<A href="http://www.kirupa.com/forum/showpost.php?p=2032587&postcount=2" target="new" rel="nofollow" id="postcount2032587" name="2"><STRONG>2</STRONG></A>
</TD>
</TR>
<TR valign="top">
<TD class="alt2" width="175" style="border: 1px solid #E2E2E2; border-top: 0px; border-bottom: 0px">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; text-align: center; vertical-align:middle; height: 125px; background-color: #FFFFFF;" cellpadding="10" cellspacing="0">
<TBODY><TR>
<TD>
<DIV id="postmenu_2032587">
<A class="bigusername" href="http://www.kirupa.com/forum/member.php?u=29340">devonair</A>
<SCRIPT type="text/javascript"> vbmenu_register("postmenu_2032587", true); </SCRIPT>
</DIV>
<DIV class="smallfont">Registered User</DIV>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<DIV class="smallfont">
<IMG height="6" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<!---->
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Posts" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/comment.png" width="16" title="Posts"></TD>
<TD style="font-size: x-small">874</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Forum style" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/color_swatch.png" width="16" title="Forum style"></TD>
<TD style="font-size: x-small">
<A href="http://blog.kirupa.com/?p=236" target="_blank">Choose a Custom Style
</A>
</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!--<div> </div>-->
</DIV>
</TD>
<TD class="alt1" id="td_post_2032587" style="border-right: 1px solid #E2E2E2">
<!-- message -->
<DIV id="post_message_2032587">Playing around with this now.. Cool stuff..<BR>
<BR>
<BR>
<FONT size="1">(you should post this over at SP as well...)</FONT></DIV>
<!-- / message -->
<!-- sig -->
<DIV><BR>
__________________<BR>
<A href="http://www.onebyonedesign.com/" target="_blank">flash a-go-go</A> | <A href="http://free.onebyonedesign.com/" target="_blank">schwag</A>
</DIV>
<!-- / sig -->
</TD>
</TR>
<TR>
<TD class="alt2" style="border: 1px solid #E2E2E2; border-top: 0px">
<IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/user_offline.gif" alt="devonair is offline" border="0" title="devonair is offline">
</TD>
<TD class="alt1" align="right" style="border: 1px solid #E2E2E2; border-left: 0px; border-top: 0px">
<!-- controls -->
<A href="http://www.kirupa.com/forum/newreply.php?do=newreply&p=2032587" rel="nofollow"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/quote.gif" alt="Reply With Quote" border="0" title="Reply With Quote"></A>
<!-- / controls -->
</TD>
</TR>
</TBODY></TABLE>
<!-- post 2032587 popup menu -->
<DIV class="vbmenu_popup" id="postmenu_2032587_menu" style="display:none">
<TABLE cellpadding="4" cellspacing="1" border="0">
<TBODY><TR>
<TD class="thead">devonair</TD>
</TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/member.php?u=29340">View Public Profile</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.onebyonedesign.com/">Visit devonair's homepage!</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/search.php?do=finduser&u=29340" rel="nofollow">Find More Posts by devonair</A></TD></TR>
</TBODY></TABLE>
</DIV>
<!-- / post 2032587 popup menu -->
<!-- Begin Adsense Code -->
<!-- / GOOGLE AD -->
</DIV>
</DIV>
</DIV>
</DIV>
<!-- / close content container -->
<!-- / post #2032587 --><!-- post #2032616 -->
<!-- open content container -->
<DIV align="center">
<DIV class="page" style="width:850px; text-align:left">
<DIV style="padding:0px 0px 0px 0px" align="left">
<DIV id="edit2032616" style="padding:0px 0px 6px 0px">
<!-- this is not the last post shown on the page -->
<TABLE id="post2032616" class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<TBODY><TR>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-right: 0px">
<!-- status icon and date -->
<A name="post2032616"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/post_old.gif" alt="Old" border="0" title="Old"></A>
01-01-2007, 07:23 AM
<!-- / status icon and date -->
</TD>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-left: 0px" align="right">
#<A href="http://www.kirupa.com/forum/showpost.php?p=2032616&postcount=3" target="new" rel="nofollow" id="postcount2032616" name="3"><STRONG>3</STRONG></A>
</TD>
</TR>
<TR valign="top">
<TD class="alt2" width="175" style="border: 1px solid #E2E2E2; border-top: 0px; border-bottom: 0px">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; text-align: center; vertical-align:middle; height: 125px; background-color: #FFFFFF;" cellpadding="10" cellspacing="0">
<TBODY><TR>
<TD>
<DIV id="postmenu_2032616">
<A class="bigusername" href="http://www.kirupa.com/forum/member.php?u=5060"><B>stringy</B></A>
<SCRIPT type="text/javascript"> vbmenu_register("postmenu_2032616", true); </SCRIPT>
</DIV>
<DIV class="smallfont">Aged Member</DIV>
<DIV class="smallfont">
<BR><A href="http://www.kirupa.com/forum/member.php?u=5060"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/harley.gif" alt="stringy's Avatar" border="0" title="stringy's Avatar"></A>
</DIV>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<DIV class="smallfont">
<IMG height="6" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Location" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/icon_world.gif" width="16" title="Location"></TD>
<TD style="font-size: x-small">Leeds uk</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!---->
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Posts" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/comment.png" width="16" title="Posts"></TD>
<TD style="font-size: x-small">5,039</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Forum style" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/color_swatch.png" width="16" title="Forum style"></TD>
<TD style="font-size: x-small">
<A href="http://blog.kirupa.com/?p=236" target="_blank">Choose a Custom Style
</A>
</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!--<div> </div>-->
</DIV>
</TD>
<TD class="alt1" id="td_post_2032616" style="border-right: 1px solid #E2E2E2">
<!-- message -->
<DIV id="post_message_2032616">great stuff. Thanks for sharing <IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/happy.gif" border="0" alt="" title="Smilie" class="inlineimg"></DIV>
<!-- / message -->
</TD>
</TR>
<TR>
<TD class="alt2" style="border: 1px solid #E2E2E2; border-top: 0px">
<IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/user_offline.gif" alt="stringy is offline" border="0" title="stringy is offline">
</TD>
<TD class="alt1" align="right" style="border: 1px solid #E2E2E2; border-left: 0px; border-top: 0px">
<!-- controls -->
<A href="http://www.kirupa.com/forum/newreply.php?do=newreply&p=2032616" rel="nofollow"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/quote.gif" alt="Reply With Quote" border="0" title="Reply With Quote"></A>
<!-- / controls -->
</TD>
</TR>
</TBODY></TABLE>
<!-- post 2032616 popup menu -->
<DIV class="vbmenu_popup" id="postmenu_2032616_menu" style="display:none">
<TABLE cellpadding="4" cellspacing="1" border="0">
<TBODY><TR>
<TD class="thead">stringy</TD>
</TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/member.php?u=5060">View Public Profile</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.fmx6.com/index.html">Visit stringy's homepage!</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/search.php?do=finduser&u=5060" rel="nofollow">Find More Posts by stringy</A></TD></TR>
</TBODY></TABLE>
</DIV>
<!-- / post 2032616 popup menu -->
<!-- Begin Adsense Code -->
<!-- / GOOGLE AD -->
</DIV>
</DIV>
</DIV>
</DIV>
<!-- / close content container -->
<!-- / post #2032616 --><!-- post #2032714 -->
<!-- open content container -->
<DIV align="center">
<DIV class="page" style="width:850px; text-align:left">
<DIV style="padding:0px 0px 0px 0px" align="left">
<DIV id="edit2032714" style="padding:0px 0px 6px 0px">
<!-- this is not the last post shown on the page -->
<TABLE id="post2032714" class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<TBODY><TR>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-right: 0px">
<!-- status icon and date -->
<A name="post2032714"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/post_old.gif" alt="Old" border="0" title="Old"></A>
01-01-2007, 01:13 PM
<!-- / status icon and date -->
</TD>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-left: 0px" align="right">
#<A href="http://www.kirupa.com/forum/showpost.php?p=2032714&postcount=4" target="new" rel="nofollow" id="postcount2032714" name="4"><STRONG>4</STRONG></A>
</TD>
</TR>
<TR valign="top">
<TD class="alt2" width="175" style="border: 1px solid #E2E2E2; border-top: 0px; border-bottom: 0px">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; text-align: center; vertical-align:middle; height: 125px; background-color: #FFFFFF;" cellpadding="10" cellspacing="0">
<TBODY><TR>
<TD>
<DIV id="postmenu_2032714">
<A class="bigusername" href="http://www.kirupa.com/forum/member.php?u=15316">mprzybylski</A>
<SCRIPT type="text/javascript"> vbmenu_register("postmenu_2032714", true); </SCRIPT>
</DIV>
<DIV class="smallfont">hi there lil buddy</DIV>
<DIV class="smallfont">
<BR><A href="http://www.kirupa.com/forum/member.php?u=15316"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/officeguy6.gif" alt="mprzybylski's Avatar" border="0" title="mprzybylski's Avatar"></A>
</DIV>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<DIV class="smallfont">
<IMG height="6" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Location" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/icon_world.gif" width="16" title="Location"></TD>
<TD style="font-size: x-small">Illinois</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!---->
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Posts" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/comment.png" width="16" title="Posts"></TD>
<TD style="font-size: x-small">1,217</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Forum style" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/color_swatch.png" width="16" title="Forum style"></TD>
<TD style="font-size: x-small">
<A href="http://blog.kirupa.com/?p=236" target="_blank">Choose a Custom Style
</A>
</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!--<div> </div>-->
</DIV>
</TD>
<TD class="alt1" id="td_post_2032714" style="border-right: 1px solid #E2E2E2">
<!-- message -->
<DIV id="post_message_2032714">i wouldnt mind reading a tutorial about it.<BR>
<BR>
devonair, whats SP?</DIV>
<!-- / message -->
<!-- sig -->
<DIV><BR>
__________________<BR>
<FONT size="2"><A href="http://www.reintroducing.com/" target="_blank">reintroducing - My Portfolio</A><BR>
<A href="http://evolve.reintroducing.com/" target="_blank">EVOLVE - AS2/AS3 Flash Source Blog<BR>
</A></FONT>
</DIV>
<!-- / sig -->
</TD>
</TR>
<TR>
<TD class="alt2" style="border: 1px solid #E2E2E2; border-top: 0px">
<IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/user_offline.gif" alt="mprzybylski is offline" border="0" title="mprzybylski is offline">
</TD>
<TD class="alt1" align="right" style="border: 1px solid #E2E2E2; border-left: 0px; border-top: 0px">
<!-- controls -->
<A href="http://www.kirupa.com/forum/newreply.php?do=newreply&p=2032714" rel="nofollow"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/quote.gif" alt="Reply With Quote" border="0" title="Reply With Quote"></A>
<!-- / controls -->
</TD>
</TR>
</TBODY></TABLE>
<!-- post 2032714 popup menu -->
<DIV class="vbmenu_popup" id="postmenu_2032714_menu" style="display:none">
<TABLE cellpadding="4" cellspacing="1" border="0">
<TBODY><TR>
<TD class="thead">mprzybylski</TD>
</TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/member.php?u=15316">View Public Profile</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.reintroducing.com/">Visit mprzybylski's homepage!</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/search.php?do=finduser&u=15316" rel="nofollow">Find More Posts by mprzybylski</A></TD></TR>
</TBODY></TABLE>
</DIV>
<!-- / post 2032714 popup menu -->
<!-- Begin Adsense Code -->
<!-- / GOOGLE AD -->
</DIV>
</DIV>
</DIV>
</DIV>
<!-- / close content container -->
<!-- / post #2032714 --><!-- post #2032788 -->
<!-- open content container -->
<DIV align="center">
<DIV class="page" style="width:850px; text-align:left">
<DIV style="padding:0px 0px 0px 0px" align="left">
<DIV id="edit2032788" style="padding:0px 0px 6px 0px">
<!-- this is not the last post shown on the page -->
<TABLE id="post2032788" class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<TBODY><TR>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-right: 0px">
<!-- status icon and date -->
<A name="post2032788"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/post_old.gif" alt="Old" border="0" title="Old"></A>
01-01-2007, 04:13 PM
<!-- / status icon and date -->
</TD>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-left: 0px" align="right">
#<A href="http://www.kirupa.com/forum/showpost.php?p=2032788&postcount=5" target="new" rel="nofollow" id="postcount2032788" name="5"><STRONG>5</STRONG></A>
</TD>
</TR>
<TR valign="top">
<TD class="alt2" width="175" style="border: 1px solid #E2E2E2; border-top: 0px; border-bottom: 0px">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; text-align: center; vertical-align:middle; height: 125px; background-color: #FFFFFF;" cellpadding="10" cellspacing="0">
<TBODY><TR>
<TD>
<DIV id="postmenu_2032788">
<A class="bigusername" href="http://www.kirupa.com/forum/member.php?u=46355">sepu</A>
<SCRIPT type="text/javascript"> vbmenu_register("postmenu_2032788", true); </SCRIPT>
</DIV>
<DIV class="smallfont">LDEA</DIV>
<DIV class="smallfont">
<BR><A href="http://www.kirupa.com/forum/member.php?u=46355"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/image.php" width="50" height="50" alt="sepu's Avatar" border="0" title="sepu's Avatar"></A>
</DIV>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<DIV class="smallfont">
<IMG height="6" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Location" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/icon_world.gif" width="16" title="Location"></TD>
<TD style="font-size: x-small">San Francisco, CA</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!---->
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Posts" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/comment.png" width="16" title="Posts"></TD>
<TD style="font-size: x-small">354</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Forum style" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/color_swatch.png" width="16" title="Forum style"></TD>
<TD style="font-size: x-small">
<A href="http://blog.kirupa.com/?p=236" target="_blank">Choose a Custom Style
</A>
</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!--<div> </div>-->
</DIV>
</TD>
<TD class="alt1" id="td_post_2032788" style="border-right: 1px solid #E2E2E2">
<!-- message -->
<DIV id="post_message_2032788">thanks for sharing ! very nice stuff! <IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/crazy.gif" border="0" alt="" title="Crazy" class="inlineimg"></DIV>
<!-- / message -->
</TD>
</TR>
<TR>
<TD class="alt2" style="border: 1px solid #E2E2E2; border-top: 0px">
<IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/user_offline.gif" alt="sepu is offline" border="0" title="sepu is offline">
</TD>
<TD class="alt1" align="right" style="border: 1px solid #E2E2E2; border-left: 0px; border-top: 0px">
<!-- controls -->
<A href="http://www.kirupa.com/forum/newreply.php?do=newreply&p=2032788" rel="nofollow"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/quote.gif" alt="Reply With Quote" border="0" title="Reply With Quote"></A>
<!-- / controls -->
</TD>
</TR>
</TBODY></TABLE>
<!-- post 2032788 popup menu -->
<DIV class="vbmenu_popup" id="postmenu_2032788_menu" style="display:none">
<TABLE cellpadding="4" cellspacing="1" border="0">
<TBODY><TR>
<TD class="thead">sepu</TD>
</TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/member.php?u=46355">View Public Profile</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.hsdesign.org/">Visit sepu's homepage!</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/search.php?do=finduser&u=46355" rel="nofollow">Find More Posts by sepu</A></TD></TR>
</TBODY></TABLE>
</DIV>
<!-- / post 2032788 popup menu -->
<!-- Begin Adsense Code -->
<!-- / GOOGLE AD -->
</DIV>
</DIV>
</DIV>
</DIV>
<!-- / close content container -->
<!-- / post #2032788 --><!-- post #2032882 -->
<!-- open content container -->
<DIV align="center">
<DIV class="page" style="width:850px; text-align:left">
<DIV style="padding:0px 0px 0px 0px" align="left">
<DIV id="edit2032882" style="padding:0px 0px 6px 0px">
<!-- this is not the last post shown on the page -->
<TABLE id="post2032882" class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<TBODY><TR>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-right: 0px">
<!-- status icon and date -->
<A name="post2032882"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/post_old.gif" alt="Old" border="0" title="Old"></A>
01-01-2007, 07:38 PM
<!-- / status icon and date -->
</TD>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-left: 0px" align="right">
#<A href="http://www.kirupa.com/forum/showpost.php?p=2032882&postcount=6" target="new" rel="nofollow" id="postcount2032882" name="6"><STRONG>6</STRONG></A>
</TD>
</TR>
<TR valign="top">
<TD class="alt2" width="175" style="border: 1px solid #E2E2E2; border-top: 0px; border-bottom: 0px">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; text-align: center; vertical-align:middle; height: 125px; background-color: #FFFFFF;" cellpadding="10" cellspacing="0">
<TBODY><TR>
<TD>
<DIV id="postmenu_2032882">
<A class="bigusername" href="http://www.kirupa.com/forum/member.php?u=19066">MichaelxxOA</A>
<SCRIPT type="text/javascript"> vbmenu_register("postmenu_2032882", true); </SCRIPT>
</DIV>
<DIV class="smallfont">Registered User</DIV>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<DIV class="smallfont">
<IMG height="6" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Location" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/icon_world.gif" width="16" title="Location"></TD>
<TD style="font-size: x-small">Victorville, California</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!---->
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Posts" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/comment.png" width="16" title="Posts"></TD>
<TD style="font-size: x-small">713</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Forum style" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/color_swatch.png" width="16" title="Forum style"></TD>
<TD style="font-size: x-small">
<A href="http://blog.kirupa.com/?p=236" target="_blank">Choose a Custom Style
</A>
</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!--<div> </div>-->
</DIV>
</TD>
<TD class="alt1" id="td_post_2032882" style="border-right: 1px solid #E2E2E2">
<!-- message -->
<DIV id="post_message_2032882">From talking to a couple people now it seems that you guys would prefer me talking about design then the actual scrollbars. So I'm thinking that instead of re-writing this all fancy (as it's pretty clear and to the point right now), I will put together an Introduction to Software Design write up, and maybe an advanced one if I ever find the time.<BR>
<BR>
Is this preferred? If so I would like to talk to you guys about what you'd really like to hear about.<BR>
<BR>
Looking forward to hearing from you guys.<BR>
Michael</DIV>
<!-- / message -->
<!-- sig -->
<DIV><BR>
__________________<BR>
<A href="http://www.specialrelativity.org/blog" target="_blank">http://www.specialrelativity.org/blog</A>
</DIV>
<!-- / sig -->
</TD>
</TR>
<TR>
<TD class="alt2" style="border: 1px solid #E2E2E2; border-top: 0px">
<IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/user_offline.gif" alt="MichaelxxOA is offline" border="0" title="MichaelxxOA is offline">
</TD>
<TD class="alt1" align="right" style="border: 1px solid #E2E2E2; border-left: 0px; border-top: 0px">
<!-- controls -->
<A href="http://www.kirupa.com/forum/newreply.php?do=newreply&p=2032882" rel="nofollow"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/quote.gif" alt="Reply With Quote" border="0" title="Reply With Quote"></A>
<!-- / controls -->
</TD>
</TR>
</TBODY></TABLE>
<!-- post 2032882 popup menu -->
<DIV class="vbmenu_popup" id="postmenu_2032882_menu" style="display:none">
<TABLE cellpadding="4" cellspacing="1" border="0">
<TBODY><TR>
<TD class="thead">MichaelxxOA</TD>
</TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/member.php?u=19066">View Public Profile</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.createage.com/">Visit MichaelxxOA's homepage!</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/search.php?do=finduser&u=19066" rel="nofollow">Find More Posts by MichaelxxOA</A></TD></TR>
</TBODY></TABLE>
</DIV>
<!-- / post 2032882 popup menu -->
<!-- Begin Adsense Code -->
<!-- / GOOGLE AD -->
</DIV>
</DIV>
</DIV>
</DIV>
<!-- / close content container -->
<!-- / post #2032882 --><!-- post #2033912 -->
<!-- open content container -->
<DIV align="center">
<DIV class="page" style="width:850px; text-align:left">
<DIV style="padding:0px 0px 0px 0px" align="left">
<DIV id="edit2033912" style="padding:0px 0px 6px 0px">
<!-- this is not the last post shown on the page -->
<TABLE id="post2033912" class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<TBODY><TR>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-right: 0px">
<!-- status icon and date -->
<A name="post2033912"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/post_old.gif" alt="Old" border="0" title="Old"></A>
01-03-2007, 11:06 AM
<!-- / status icon and date -->
</TD>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-left: 0px" align="right">
#<A href="http://www.kirupa.com/forum/showpost.php?p=2033912&postcount=7" target="new" rel="nofollow" id="postcount2033912" name="7"><STRONG>7</STRONG></A>
</TD>
</TR>
<TR valign="top">
<TD class="alt2" width="175" style="border: 1px solid #E2E2E2; border-top: 0px; border-bottom: 0px">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; text-align: center; vertical-align:middle; height: 125px; background-color: #FFFFFF;" cellpadding="10" cellspacing="0">
<TBODY><TR>
<TD>
<DIV id="postmenu_2033912">
<A class="bigusername" href="http://www.kirupa.com/forum/member.php?u=29340">devonair</A>
<SCRIPT type="text/javascript"> vbmenu_register("postmenu_2033912", true); </SCRIPT>
</DIV>
<DIV class="smallfont">Registered User</DIV>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<DIV class="smallfont">
<IMG height="6" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<!---->
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Posts" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/comment.png" width="16" title="Posts"></TD>
<TD style="font-size: x-small">874</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Forum style" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/color_swatch.png" width="16" title="Forum style"></TD>
<TD style="font-size: x-small">
<A href="http://blog.kirupa.com/?p=236" target="_blank">Choose a Custom Style
</A>
</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!--<div> </div>-->
</DIV>
</TD>
<TD class="alt1" id="td_post_2033912" style="border-right: 1px solid #E2E2E2">
<!-- message -->
<DIV id="post_message_2033912">I don't think the two things are mutually exclusive. I definitely think the Flash community needs more tutorials on general design over specific effects, etc. It's always easier to make sense of theory with concrete examples though, so putting the two together I think would make for a very good read. But that's just me.. <IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/happy.gif" border="0" alt="" title="Smilie" class="inlineimg"><BR>
<BR>
<BR>
<BR>
<DIV style="margin:20px; margin-top:5px; ">
<DIV class="smallfont" style="margin-bottom:2px">Quote:</DIV>
<TABLE cellpadding="6" cellspacing="0" border="0" width="100%">
<TBODY><TR>
<TD class="alt2" style="border:1px inset">
<DIV>
Originally Posted by <STRONG>mprzybylski</STRONG>
<A href="http://www.kirupa.com/forum/showthread.php?p=2032714#post2032714" rel="nofollow"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/viewpost.gif" border="0" alt="View Post" title="View Post"></A>
</DIV>
<DIV style="font-style:italic">devonair, whats SP?</DIV>
</TD>
</TR>
</TBODY></TABLE>
</DIV>SP = ShavedPlatypus - a much smaller forum than Kirupa, but fairly tight knit and friendly. MichaelxxOA is a member over there...</DIV>
<!-- / message -->
<!-- sig -->
<DIV><BR>
__________________<BR>
<A href="http://www.onebyonedesign.com/" target="_blank">flash a-go-go</A> | <A href="http://free.onebyonedesign.com/" target="_blank">schwag</A>
</DIV>
<!-- / sig -->
</TD>
</TR>
<TR>
<TD class="alt2" style="border: 1px solid #E2E2E2; border-top: 0px">
<IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/user_offline.gif" alt="devonair is offline" border="0" title="devonair is offline">
</TD>
<TD class="alt1" align="right" style="border: 1px solid #E2E2E2; border-left: 0px; border-top: 0px">
<!-- controls -->
<A href="http://www.kirupa.com/forum/newreply.php?do=newreply&p=2033912" rel="nofollow"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/quote.gif" alt="Reply With Quote" border="0" title="Reply With Quote"></A>
<!-- / controls -->
</TD>
</TR>
</TBODY></TABLE>
<!-- post 2033912 popup menu -->
<DIV class="vbmenu_popup" id="postmenu_2033912_menu" style="display:none">
<TABLE cellpadding="4" cellspacing="1" border="0">
<TBODY><TR>
<TD class="thead">devonair</TD>
</TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/member.php?u=29340">View Public Profile</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.onebyonedesign.com/">Visit devonair's homepage!</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/search.php?do=finduser&u=29340" rel="nofollow">Find More Posts by devonair</A></TD></TR>
</TBODY></TABLE>
</DIV>
<!-- / post 2033912 popup menu -->
<!-- Begin Adsense Code -->
<!-- / GOOGLE AD -->
</DIV>
</DIV>
</DIV>
</DIV>
<!-- / close content container -->
<!-- / post #2033912 --><!-- post #2034079 -->
<!-- open content container -->
<DIV align="center">
<DIV class="page" style="width:850px; text-align:left">
<DIV style="padding:0px 0px 0px 0px" align="left">
<DIV id="edit2034079" style="padding:0px 0px 6px 0px">
<!-- this is not the last post shown on the page -->
<TABLE id="post2034079" class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<TBODY><TR>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-right: 0px">
<!-- status icon and date -->
<A name="post2034079"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/post_old.gif" alt="Old" border="0" title="Old"></A>
01-03-2007, 02:02 PM
<!-- / status icon and date -->
</TD>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-left: 0px" align="right">
#<A href="http://www.kirupa.com/forum/showpost.php?p=2034079&postcount=8" target="new" rel="nofollow" id="postcount2034079" name="8"><STRONG>8</STRONG></A>
</TD>
</TR>
<TR valign="top">
<TD class="alt2" width="175" style="border: 1px solid #E2E2E2; border-top: 0px; border-bottom: 0px">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; text-align: center; vertical-align:middle; height: 125px; background-color: #FFFFFF;" cellpadding="10" cellspacing="0">
<TBODY><TR>
<TD>
<DIV id="postmenu_2034079">
<A class="bigusername" href="http://www.kirupa.com/forum/member.php?u=19066">MichaelxxOA</A>
<SCRIPT type="text/javascript"> vbmenu_register("postmenu_2034079", true); </SCRIPT>
</DIV>
<DIV class="smallfont">Registered User</DIV>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<DIV class="smallfont">
<IMG height="6" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Location" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/icon_world.gif" width="16" title="Location"></TD>
<TD style="font-size: x-small">Victorville, California</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!---->
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Posts" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/comment.png" width="16" title="Posts"></TD>
<TD style="font-size: x-small">713</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Forum style" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/color_swatch.png" width="16" title="Forum style"></TD>
<TD style="font-size: x-small">
<A href="http://blog.kirupa.com/?p=236" target="_blank">Choose a Custom Style
</A>
</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!--<div> </div>-->
</DIV>
</TD>
<TD class="alt1" id="td_post_2034079" style="border-right: 1px solid #E2E2E2">
<!-- message -->
<DIV id="post_message_2034079"><DIV style="margin:20px; margin-top:5px; ">
<DIV class="smallfont" style="margin-bottom:2px">Quote:</DIV>
<TABLE cellpadding="6" cellspacing="0" border="0" width="100%">
<TBODY><TR>
<TD class="alt2" style="border:1px inset">
<DIV>
Originally Posted by <STRONG>devonair</STRONG>
<A href="http://www.kirupa.com/forum/showthread.php?p=2033912#post2033912" rel="nofollow"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/viewpost.gif" border="0" alt="View Post" title="View Post"></A>
</DIV>
<DIV style="font-style:italic">I don't think the two things are mutually exclusive. I definitely think the Flash community needs more tutorials on general design over specific effects, etc. It's always easier to make sense of theory with concrete examples though, so putting the two together I think would make for a very good read. But that's just me.. <IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/happy.gif" border="0" alt="" title="Smilie" class="inlineimg"><BR>
<BR>
<BR>
<BR>
<BR>
<BR>
SP = ShavedPlatypus - a much smaller forum than Kirupa, but fairly tight knit and friendly. MichaelxxOA is a member over there...</DIV>
</TD>
</TR>
</TBODY></TABLE>
</DIV>I haven't been to SP in a while, I will be sure to start making my way over there soon. I'm just so darn cut for time right now it's rediculous.<BR>
<BR>
And I also agree with what you are saying. I have every intent on using an example project to work through, I just don't want to use something like this which already has a fairly decent explanation.<BR>
<BR>
Make sense? What kind of simple framework do you guys want to see?<BR>
<BR>
Michael<BR>
<BR>
Michael</DIV>
<!-- / message -->
<!-- sig -->
<DIV><BR>
__________________<BR>
<A href="http://www.specialrelativity.org/blog" target="_blank">http://www.specialrelativity.org/blog</A>
</DIV>
<!-- / sig -->
</TD>
</TR>
<TR>
<TD class="alt2" style="border: 1px solid #E2E2E2; border-top: 0px">
<IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/user_offline.gif" alt="MichaelxxOA is offline" border="0" title="MichaelxxOA is offline">
</TD>
<TD class="alt1" align="right" style="border: 1px solid #E2E2E2; border-left: 0px; border-top: 0px">
<!-- controls -->
<A href="http://www.kirupa.com/forum/newreply.php?do=newreply&p=2034079" rel="nofollow"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/quote.gif" alt="Reply With Quote" border="0" title="Reply With Quote"></A>
<!-- / controls -->
</TD>
</TR>
</TBODY></TABLE>
<!-- post 2034079 popup menu -->
<DIV class="vbmenu_popup" id="postmenu_2034079_menu" style="display:none">
<TABLE cellpadding="4" cellspacing="1" border="0">
<TBODY><TR>
<TD class="thead">MichaelxxOA</TD>
</TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/member.php?u=19066">View Public Profile</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.createage.com/">Visit MichaelxxOA's homepage!</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/search.php?do=finduser&u=19066" rel="nofollow">Find More Posts by MichaelxxOA</A></TD></TR>
</TBODY></TABLE>
</DIV>
<!-- / post 2034079 popup menu -->
<!-- Begin Adsense Code -->
<!-- / GOOGLE AD -->
</DIV>
</DIV>
</DIV>
</DIV>
<!-- / close content container -->
<!-- / post #2034079 --><!-- post #2034508 -->
<!-- open content container -->
<DIV align="center">
<DIV class="page" style="width:850px; text-align:left">
<DIV style="padding:0px 0px 0px 0px" align="left">
<DIV id="edit2034508" style="padding:0px 0px 6px 0px">
<!-- this is not the last post shown on the page -->
<TABLE id="post2034508" class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<TBODY><TR>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-right: 0px">
<!-- status icon and date -->
<A name="post2034508"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/post_old.gif" alt="Old" border="0" title="Old"></A>
01-04-2007, 02:43 AM
<!-- / status icon and date -->
</TD>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-left: 0px" align="right">
#<A href="http://www.kirupa.com/forum/showpost.php?p=2034508&postcount=9" target="new" rel="nofollow" id="postcount2034508" name="9"><STRONG>9</STRONG></A>
</TD>
</TR>
<TR valign="top">
<TD class="alt2" width="175" style="border: 1px solid #E2E2E2; border-top: 0px; border-bottom: 0px">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; text-align: center; vertical-align:middle; height: 125px; background-color: #FFFFFF;" cellpadding="10" cellspacing="0">
<TBODY><TR>
<TD>
<DIV id="postmenu_2034508">
<A class="bigusername" href="http://www.kirupa.com/forum/member.php?u=62843">agilius</A>
<SCRIPT type="text/javascript"> vbmenu_register("postmenu_2034508", true); </SCRIPT>
</DIV>
<DIV class="smallfont">Registered User</DIV>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<DIV class="smallfont">
<IMG height="6" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<!---->
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Posts" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/comment.png" width="16" title="Posts"></TD>
<TD style="font-size: x-small">5</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Forum style" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/color_swatch.png" width="16" title="Forum style"></TD>
<TD style="font-size: x-small">
<A href="http://blog.kirupa.com/?p=236" target="_blank">Choose a Custom Style
</A>
</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!--<div> </div>-->
</DIV>
</TD>
<TD class="alt1" id="td_post_2034508" style="border-right: 1px solid #E2E2E2">
<!-- message -->
<DIV id="post_message_2034508">Nice and usefull. Thx for sharing. I'll play with this asap! <IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/d_smile.gif" border="0" alt="" title="Big Smile" class="inlineimg"></DIV>
<!-- / message -->
</TD>
</TR>
<TR>
<TD class="alt2" style="border: 1px solid #E2E2E2; border-top: 0px">
<IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/user_offline.gif" alt="agilius is offline" border="0" title="agilius is offline">
</TD>
<TD class="alt1" align="right" style="border: 1px solid #E2E2E2; border-left: 0px; border-top: 0px">
<!-- controls -->
<A href="http://www.kirupa.com/forum/newreply.php?do=newreply&p=2034508" rel="nofollow"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/quote.gif" alt="Reply With Quote" border="0" title="Reply With Quote"></A>
<!-- / controls -->
</TD>
</TR>
</TBODY></TABLE>
<!-- post 2034508 popup menu -->
<DIV class="vbmenu_popup" id="postmenu_2034508_menu" style="display:none">
<TABLE cellpadding="4" cellspacing="1" border="0">
<TBODY><TR>
<TD class="thead">agilius</TD>
</TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/member.php?u=62843">View Public Profile</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/search.php?do=finduser&u=62843" rel="nofollow">Find More Posts by agilius</A></TD></TR>
</TBODY></TABLE>
</DIV>
<!-- / post 2034508 popup menu -->
<!-- Begin Adsense Code -->
<!-- / GOOGLE AD -->
</DIV>
</DIV>
</DIV>
</DIV>
<!-- / close content container -->
<!-- / post #2034508 --><!-- post #2119949 -->
<!-- open content container -->
<DIV align="center">
<DIV class="page" style="width:850px; text-align:left">
<DIV style="padding:0px 0px 0px 0px" align="left">
<DIV id="edit2119949" style="padding:0px 0px 6px 0px">
<!-- this is not the last post shown on the page -->
<TABLE id="post2119949" class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<TBODY><TR>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-right: 0px">
<!-- status icon and date -->
<A name="post2119949"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/post_old.gif" alt="Old" border="0" title="Old"></A>
05-05-2007, 03:58 PM
<!-- / status icon and date -->
</TD>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-left: 0px" align="right">
#<A href="http://www.kirupa.com/forum/showpost.php?p=2119949&postcount=10" target="new" rel="nofollow" id="postcount2119949" name="10"><STRONG>10</STRONG></A>
</TD>
</TR>
<TR valign="top">
<TD class="alt2" width="175" style="border: 1px solid #E2E2E2; border-top: 0px; border-bottom: 0px">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; text-align: center; vertical-align:middle; height: 125px; background-color: #FFFFFF;" cellpadding="10" cellspacing="0">
<TBODY><TR>
<TD>
<DIV id="postmenu_2119949">
<A class="bigusername" href="http://www.kirupa.com/forum/member.php?u=75692">herk</A>
<SCRIPT type="text/javascript"> vbmenu_register("postmenu_2119949", true); </SCRIPT>
</DIV>
<DIV class="smallfont">Registered User</DIV>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<DIV class="smallfont">
<IMG height="6" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<!---->
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Posts" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/comment.png" width="16" title="Posts"></TD>
<TD style="font-size: x-small">1</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Forum style" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/color_swatch.png" width="16" title="Forum style"></TD>
<TD style="font-size: x-small">
<A href="http://blog.kirupa.com/?p=236" target="_blank">Choose a Custom Style
</A>
</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!--<div> </div>-->
</DIV>
</TD>
<TD class="alt1" id="td_post_2119949" style="border-right: 1px solid #E2E2E2">
<!-- icon and title -->
<DIV class="smallfont">
<IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/fla_script.gif" alt="Fla Script" border="0" title="Fla Script">
<STRONG>Addition to the scrollbars</STRONG>
</DIV>
<HR size="1" style="color:#E2E2E2; background-color:#E2E2E2">
<!-- / icon and title -->
<!-- message -->
<DIV id="post_message_2119949">hi, thanks for sharing the code <IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/happy.gif" border="0" alt="" title="Smilie" class="inlineimg"><BR>
<BR>
i wanted to have the slider.marker and slider.track auto adjustable to the content, so i have added the following code on the ScrollbarExample Class.<BR>
<BR>
<DIV style="margin:20px; margin-top:5px">
<DIV class="smallfont" style="margin-bottom:2px">Code:</DIV>
<PRE class="alt2" dir="ltr" style="
margin: 0px;
padding: 6px;
border: 1px inset;
width: 500px;
height: 66px;
text-align: left;
overflow: auto">//change track and marker acording to content
scrollbar.slider.track.height = rect.height - 20;
scrollbar.slider.marker.height = Math.round( ( rect.height / content.height ) * 100 ) ;</PRE>
</DIV>i also had to change the corresponding properties and methods in the Slider and Scrollbar Classes to public, so i can access them from the ScrollbarExample Class.</DIV>
<!-- / message -->
</TD>
</TR>
<TR>
<TD class="alt2" style="border: 1px solid #E2E2E2; border-top: 0px">
<IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/user_offline.gif" alt="herk is offline" border="0" title="herk is offline">
</TD>
<TD class="alt1" align="right" style="border: 1px solid #E2E2E2; border-left: 0px; border-top: 0px">
<!-- controls -->
<A href="http://www.kirupa.com/forum/newreply.php?do=newreply&p=2119949" rel="nofollow"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/quote.gif" alt="Reply With Quote" border="0" title="Reply With Quote"></A>
<!-- / controls -->
</TD>
</TR>
</TBODY></TABLE>
<!-- post 2119949 popup menu -->
<DIV class="vbmenu_popup" id="postmenu_2119949_menu" style="display:none">
<TABLE cellpadding="4" cellspacing="1" border="0">
<TBODY><TR>
<TD class="thead">herk</TD>
</TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/member.php?u=75692">View Public Profile</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/search.php?do=finduser&u=75692" rel="nofollow">Find More Posts by herk</A></TD></TR>
</TBODY></TABLE>
</DIV>
<!-- / post 2119949 popup menu -->
<!-- Begin Adsense Code -->
<!-- / GOOGLE AD -->
</DIV>
</DIV>
</DIV>
</DIV>
<!-- / close content container -->
<!-- / post #2119949 --><!-- post #2155007 -->
<!-- open content container -->
<DIV align="center">
<DIV class="page" style="width:850px; text-align:left">
<DIV style="padding:0px 0px 0px 0px" align="left">
<DIV id="edit2155007" style="padding:0px 0px 6px 0px">
<!-- this is not the last post shown on the page -->
<TABLE id="post2155007" class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<TBODY><TR>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-right: 0px">
<!-- status icon and date -->
<A name="post2155007"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/post_old.gif" alt="Old" border="0" title="Old"></A>
06-21-2007, 04:16 PM
<!-- / status icon and date -->
</TD>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-left: 0px" align="right">
#<A href="http://www.kirupa.com/forum/showpost.php?p=2155007&postcount=11" target="new" rel="nofollow" id="postcount2155007" name="11"><STRONG>11</STRONG></A>
</TD>
</TR>
<TR valign="top">
<TD class="alt2" width="175" style="border: 1px solid #E2E2E2; border-top: 0px; border-bottom: 0px">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; text-align: center; vertical-align:middle; height: 125px; background-color: #FFFFFF;" cellpadding="10" cellspacing="0">
<TBODY><TR>
<TD>
<DIV id="postmenu_2155007">
<A class="bigusername" href="http://www.kirupa.com/forum/member.php?u=77491">dail</A>
<SCRIPT type="text/javascript"> vbmenu_register("postmenu_2155007", true); </SCRIPT>
</DIV>
<DIV class="smallfont">noponies</DIV>
<DIV class="smallfont">
<BR><A href="http://www.kirupa.com/forum/member.php?u=77491"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/image(1).php" width="50" height="50" alt="dail's Avatar" border="0" title="dail's Avatar"></A>
</DIV>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<DIV class="smallfont">
<IMG height="6" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Location" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/icon_world.gif" width="16" title="Location"></TD>
<TD style="font-size: x-small">New Zealand</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!---->
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Posts" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/comment.png" width="16" title="Posts"></TD>
<TD style="font-size: x-small">727</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Forum style" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/color_swatch.png" width="16" title="Forum style"></TD>
<TD style="font-size: x-small">
<A href="http://blog.kirupa.com/?p=236" target="_blank">kirupa.com
</A>
</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!--<div> </div>-->
</DIV>
</TD>
<TD class="alt1" id="td_post_2155007" style="border-right: 1px solid #E2E2E2">
<!-- message -->
<DIV id="post_message_2155007">Pretty interesting code example.<BR>
<BR>
I understand how the AS is working, but I'm totally new to AS3 and more so to classes. So, where to I place each of the AS samples you have provided to get this to work?</DIV>
<!-- / message -->
</TD>
</TR>
<TR>
<TD class="alt2" style="border: 1px solid #E2E2E2; border-top: 0px">
<IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/user_offline.gif" alt="dail is offline" border="0" title="dail is offline">
</TD>
<TD class="alt1" align="right" style="border: 1px solid #E2E2E2; border-left: 0px; border-top: 0px">
<!-- controls -->
<A href="http://www.kirupa.com/forum/newreply.php?do=newreply&p=2155007" rel="nofollow"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/quote.gif" alt="Reply With Quote" border="0" title="Reply With Quote"></A>
<!-- / controls -->
</TD>
</TR>
</TBODY></TABLE>
<!-- post 2155007 popup menu -->
<DIV class="vbmenu_popup" id="postmenu_2155007_menu" style="display:none">
<TABLE cellpadding="4" cellspacing="1" border="0">
<TBODY><TR>
<TD class="thead">dail</TD>
</TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/member.php?u=77491">View Public Profile</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.blog.noponies.com/">Visit dail's homepage!</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/search.php?do=finduser&u=77491" rel="nofollow">Find More Posts by dail</A></TD></TR>
</TBODY></TABLE>
</DIV>
<!-- / post 2155007 popup menu -->
<!-- Begin Adsense Code -->
<!-- / GOOGLE AD -->
</DIV>
</DIV>
</DIV>
</DIV>
<!-- / close content container -->
<!-- / post #2155007 --><!-- post #2178371 -->
<!-- open content container -->
<DIV align="center">
<DIV class="page" style="width:850px; text-align:left">
<DIV style="padding:0px 0px 0px 0px" align="left">
<DIV id="edit2178371" style="padding:0px 0px 6px 0px">
<!-- this is not the last post shown on the page -->
<TABLE id="post2178371" class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<TBODY><TR>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-right: 0px">
<!-- status icon and date -->
<A name="post2178371"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/post_old.gif" alt="Old" border="0" title="Old"></A>
07-23-2007, 12:32 PM
<!-- / status icon and date -->
</TD>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-left: 0px" align="right">
#<A href="http://www.kirupa.com/forum/showpost.php?p=2178371&postcount=12" target="new" rel="nofollow" id="postcount2178371" name="12"><STRONG>12</STRONG></A>
</TD>
</TR>
<TR valign="top">
<TD class="alt2" width="175" style="border: 1px solid #E2E2E2; border-top: 0px; border-bottom: 0px">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; text-align: center; vertical-align:middle; height: 125px; background-color: #FFFFFF;" cellpadding="10" cellspacing="0">
<TBODY><TR>
<TD>
<DIV id="postmenu_2178371">
<A class="bigusername" href="http://www.kirupa.com/forum/member.php?u=82967">toniabc</A>
<SCRIPT type="text/javascript"> vbmenu_register("postmenu_2178371", true); </SCRIPT>
</DIV>
<DIV class="smallfont">Registered User</DIV>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<DIV class="smallfont">
<IMG height="6" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<!---->
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Posts" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/comment.png" width="16" title="Posts"></TD>
<TD style="font-size: x-small">1</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Forum style" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/color_swatch.png" width="16" title="Forum style"></TD>
<TD style="font-size: x-small">
<A href="http://blog.kirupa.com/?p=236" target="_blank">Choose a Custom Style
</A>
</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!--<div> </div>-->
</DIV>
</TD>
<TD class="alt1" id="td_post_2178371" style="border-right: 1px solid #E2E2E2">
<!-- icon and title -->
<DIV class="smallfont">
<STRONG>How to update scroller</STRONG>
</DIV>
<HR size="1" style="color:#E2E2E2; background-color:#E2E2E2">
<!-- / icon and title -->
<!-- message -->
<DIV id="post_message_2178371">Hi!<BR>
<BR>
I have textField that I scroll with your class but when I change text in the textField the scroller object needs to be updated with new data.<BR>
<BR>
Can aynone help me please!<BR>
<BR>
Thx, Toni</DIV>
<!-- / message -->
</TD>
</TR>
<TR>
<TD class="alt2" style="border: 1px solid #E2E2E2; border-top: 0px">
<IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/user_offline.gif" alt="toniabc is offline" border="0" title="toniabc is offline">
</TD>
<TD class="alt1" align="right" style="border: 1px solid #E2E2E2; border-left: 0px; border-top: 0px">
<!-- controls -->
<A href="http://www.kirupa.com/forum/newreply.php?do=newreply&p=2178371" rel="nofollow"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/quote.gif" alt="Reply With Quote" border="0" title="Reply With Quote"></A>
<!-- / controls -->
</TD>
</TR>
</TBODY></TABLE>
<!-- post 2178371 popup menu -->
<DIV class="vbmenu_popup" id="postmenu_2178371_menu" style="display:none">
<TABLE cellpadding="4" cellspacing="1" border="0">
<TBODY><TR>
<TD class="thead">toniabc</TD>
</TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/member.php?u=82967">View Public Profile</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/search.php?do=finduser&u=82967" rel="nofollow">Find More Posts by toniabc</A></TD></TR>
</TBODY></TABLE>
</DIV>
<!-- / post 2178371 popup menu -->
<!-- Begin Adsense Code -->
<!-- / GOOGLE AD -->
</DIV>
</DIV>
</DIV>
</DIV>
<!-- / close content container -->
<!-- / post #2178371 --><!-- post #2235574 -->
<!-- open content container -->
<DIV align="center">
<DIV class="page" style="width:850px; text-align:left">
<DIV style="padding:0px 0px 0px 0px" align="left">
<DIV id="edit2235574" style="padding:0px 0px 6px 0px">
<!-- this is not the last post shown on the page -->
<TABLE id="post2235574" class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<TBODY><TR>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-right: 0px">
<!-- status icon and date -->
<A name="post2235574"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/post_old.gif" alt="Old" border="0" title="Old"></A>
10-30-2007, 05:26 AM
<!-- / status icon and date -->
</TD>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-left: 0px" align="right">
#<A href="http://www.kirupa.com/forum/showpost.php?p=2235574&postcount=13" target="new" rel="nofollow" id="postcount2235574" name="13"><STRONG>13</STRONG></A>
</TD>
</TR>
<TR valign="top">
<TD class="alt2" width="175" style="border: 1px solid #E2E2E2; border-top: 0px; border-bottom: 0px">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; text-align: center; vertical-align:middle; height: 125px; background-color: #FFFFFF;" cellpadding="10" cellspacing="0">
<TBODY><TR>
<TD>
<DIV id="postmenu_2235574">
<A class="bigusername" href="http://www.kirupa.com/forum/member.php?u=92810">tomfrederick</A>
<SCRIPT type="text/javascript"> vbmenu_register("postmenu_2235574", true); </SCRIPT>
</DIV>
<DIV class="smallfont">Registered User</DIV>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<DIV class="smallfont">
<IMG height="6" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<!---->
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Posts" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/comment.png" width="16" title="Posts"></TD>
<TD style="font-size: x-small">2</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Forum style" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/color_swatch.png" width="16" title="Forum style"></TD>
<TD style="font-size: x-small">
<A href="http://blog.kirupa.com/?p=236" target="_blank">Choose a Custom Style
</A>
</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!--<div> </div>-->
</DIV>
</TD>
<TD class="alt1" id="td_post_2235574" style="border-right: 1px solid #E2E2E2">
<!-- message -->
<DIV id="post_message_2235574">Thanx for this code I m searching this code for more time</DIV>
<!-- / message -->
<!-- sig -->
<DIV><BR>
__________________<BR>
<A href="http://www.christiandebtfreedom.com/" target="_blank">Christian debt consolidation</A> And <A href="http://www.christiandebtfreedom.com/christian-debt-management.php" target="_blank">Christian debt management</A>
</DIV>
<!-- / sig -->
</TD>
</TR>
<TR>
<TD class="alt2" style="border: 1px solid #E2E2E2; border-top: 0px">
<IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/user_offline.gif" alt="tomfrederick is offline" border="0" title="tomfrederick is offline">
</TD>
<TD class="alt1" align="right" style="border: 1px solid #E2E2E2; border-left: 0px; border-top: 0px">
<!-- controls -->
<A href="http://www.kirupa.com/forum/newreply.php?do=newreply&p=2235574" rel="nofollow"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/quote.gif" alt="Reply With Quote" border="0" title="Reply With Quote"></A>
<!-- / controls -->
</TD>
</TR>
</TBODY></TABLE>
<!-- post 2235574 popup menu -->
<DIV class="vbmenu_popup" id="postmenu_2235574_menu" style="display:none">
<TABLE cellpadding="4" cellspacing="1" border="0">
<TBODY><TR>
<TD class="thead">tomfrederick</TD>
</TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/member.php?u=92810">View Public Profile</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/search.php?do=finduser&u=92810" rel="nofollow">Find More Posts by tomfrederick</A></TD></TR>
</TBODY></TABLE>
</DIV>
<!-- / post 2235574 popup menu -->
<!-- Begin Adsense Code -->
<!-- / GOOGLE AD -->
</DIV>
</DIV>
</DIV>
</DIV>
<!-- / close content container -->
<!-- / post #2235574 --><!-- post #2235962 -->
<!-- open content container -->
<DIV align="center">
<DIV class="page" style="width:850px; text-align:left">
<DIV style="padding:0px 0px 0px 0px" align="left">
<DIV id="edit2235962" style="padding:0px 0px 6px 0px">
<!-- this is not the last post shown on the page -->
<TABLE id="post2235962" class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<TBODY><TR>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-right: 0px">
<!-- status icon and date -->
<A name="post2235962"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/post_old.gif" alt="Old" border="0" title="Old"></A>
10-30-2007, 06:26 PM
<!-- / status icon and date -->
</TD>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-left: 0px" align="right">
#<A href="http://www.kirupa.com/forum/showpost.php?p=2235962&postcount=14" target="new" rel="nofollow" id="postcount2235962" name="14"><STRONG>14</STRONG></A>
</TD>
</TR>
<TR valign="top">
<TD class="alt2" width="175" style="border: 1px solid #E2E2E2; border-top: 0px; border-bottom: 0px">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; text-align: center; vertical-align:middle; height: 125px; background-color: #FFFFFF;" cellpadding="10" cellspacing="0">
<TBODY><TR>
<TD>
<DIV id="postmenu_2235962">
<A class="bigusername" href="http://www.kirupa.com/forum/member.php?u=91612">livingegg</A>
<SCRIPT type="text/javascript"> vbmenu_register("postmenu_2235962", true); </SCRIPT>
</DIV>
<DIV class="smallfont">Registered User</DIV>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<DIV class="smallfont">
<IMG height="6" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<!---->
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Posts" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/comment.png" width="16" title="Posts"></TD>
<TD style="font-size: x-small">4</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Forum style" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/color_swatch.png" width="16" title="Forum style"></TD>
<TD style="font-size: x-small">
<A href="http://blog.kirupa.com/?p=236" target="_blank">Choose a Custom Style
</A>
</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!--<div> </div>-->
</DIV>
</TD>
<TD class="alt1" id="td_post_2235962" style="border-right: 1px solid #E2E2E2">
<!-- message -->
<DIV id="post_message_2235962"><DIV style="margin:20px; margin-top:5px; ">
<DIV class="smallfont" style="margin-bottom:2px">Quote:</DIV>
<TABLE cellpadding="6" cellspacing="0" border="0" width="100%">
<TBODY><TR>
<TD class="alt2" style="border:1px inset">
<DIV>
Originally Posted by <STRONG>MichaelxxOA</STRONG>
<A href="http://www.kirupa.com/forum/showthread.php?p=2032255#post2032255" rel="nofollow"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/viewpost.gif" border="0" alt="View Post" title="View Post"></A>
</DIV>
<DIV style="font-style:italic">A scrollbar isn't nearly as much as people assume it to be. In fact a scrollbar can be broken down into a composite of a few simpler components.</DIV>
</TD>
</TR>
</TBODY></TABLE>
</DIV>Thanks a ton Michael. I found your post very useful to help me understand the bigger picture with how scrollbars work. The way you write your code looks just like mine - so i'm assuming your also a thinker who values clarity and grokking the bigger concepts before bothering with the details. Right on! <IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/pope.gif" border="0" alt="" title="Pope" class="inlineimg"> Personally I would like to see a lot more material exactly as you have presented it - just the overview with a few code examples and not wasting too much time in the realm of details and functionality because that can always be worked on once you understand the bigger concepts.<BR>
<BR>
As this was articulated very well and on simple terms I grasp everything except for the use of the Rectangle. Is it somehow acting as a mask? I have reviewed this a few times and played with the code a bit and I still don't understand whats going on here with the Rectangle at all.<BR>
<BR>
I also have a bit of a repost from another thread that I was wondering if you have any insight on? :<BR>
<BR>
I am writing a display engine that uses sprites nested recursively in order to position and display content. I tried to integrate a custom scrollbar into this by creating a mask of the desired size of my sprite containing content, and then using a scrollbar similar to yours to scroll the content sprite underneath the mask. That works fine, however when the content sprite takes on a larger height than its parent (even though it is masked) then its parent stretches, in turn stretching its parent, all the way up the tree breaking my relative positioning! Is there some way to prevent this from happening? Is there a way to prevent a parent Sprite from stretching when its child Sprite becomes larger than it is?<BR>
<BR>
I do not want to have to resort to using the ScrollPane component but i'm afraid I might have to, because this seems to circumvent this problem. When I add a sprite as the .source property of the ScrollPane, that sprite is removed from its parent's display list and so it doesn't break the layout. However -- where does it go? I can not find what new display list it has been added to. Does anyone understand how the ScrollPane works in terms of the display list?<BR>
<BR>
Thanks---<BR>
<BR>
-egg</DIV>
<!-- / message -->
</TD>
</TR>
<TR>
<TD class="alt2" style="border: 1px solid #E2E2E2; border-top: 0px">
<IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/user_offline.gif" alt="livingegg is offline" border="0" title="livingegg is offline">
</TD>
<TD class="alt1" align="right" style="border: 1px solid #E2E2E2; border-left: 0px; border-top: 0px">
<!-- controls -->
<A href="http://www.kirupa.com/forum/newreply.php?do=newreply&p=2235962" rel="nofollow"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/quote.gif" alt="Reply With Quote" border="0" title="Reply With Quote"></A>
<!-- / controls -->
</TD>
</TR>
</TBODY></TABLE>
<!-- post 2235962 popup menu -->
<DIV class="vbmenu_popup" id="postmenu_2235962_menu" style="display:none">
<TABLE cellpadding="4" cellspacing="1" border="0">
<TBODY><TR>
<TD class="thead">livingegg</TD>
</TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/member.php?u=91612">View Public Profile</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/search.php?do=finduser&u=91612" rel="nofollow">Find More Posts by livingegg</A></TD></TR>
</TBODY></TABLE>
</DIV>
<!-- / post 2235962 popup menu -->
<!-- Begin Adsense Code -->
<!-- / GOOGLE AD -->
</DIV>
</DIV>
</DIV>
</DIV>
<!-- / close content container -->
<!-- / post #2235962 --><!-- post #2236139 -->
<!-- open content container -->
<DIV align="center">
<DIV class="page" style="width:850px; text-align:left">
<DIV style="padding:0px 0px 0px 0px" align="left">
<DIV id="edit2236139" style="padding:0px 0px 6px 0px">
<TABLE id="post2236139" class="tborder" cellpadding="6" cellspacing="0" border="0" width="100%" align="center">
<TBODY><TR>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-right: 0px">
<!-- status icon and date -->
<A name="post2236139"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/post_old.gif" alt="Old" border="0" title="Old"></A>
10-31-2007, 05:36 AM
<!-- / status icon and date -->
</TD>
<TD class="thead" style="font-weight:normal; border: 1px solid #E2E2E2; border-left: 0px" align="right">
#<A href="http://www.kirupa.com/forum/showpost.php?p=2236139&postcount=15" target="new" rel="nofollow" id="postcount2236139" name="15"><STRONG>15</STRONG></A>
</TD>
</TR>
<TR valign="top">
<TD class="alt2" width="175" style="border: 1px solid #E2E2E2; border-top: 0px; border-bottom: 0px">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; text-align: center; vertical-align:middle; height: 125px; background-color: #FFFFFF;" cellpadding="10" cellspacing="0">
<TBODY><TR>
<TD>
<DIV id="postmenu_2236139">
<A class="bigusername" href="http://www.kirupa.com/forum/member.php?u=91670">Graymalkin</A>
<SCRIPT type="text/javascript"> vbmenu_register("postmenu_2236139", true); </SCRIPT>
</DIV>
<DIV class="smallfont">Registered User</DIV>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<DIV class="smallfont">
<IMG height="6" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<!---->
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5">
<DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Posts" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/comment.png" width="16" title="Posts"></TD>
<TD style="font-size: x-small">1</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<IMG height="5" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/spacer.png" width="5"><DIV>
<TABLE style="border: 1px solid #CCCCCC; width: 100%; vertical-align:top; background-color: #FFFFFF;" cellpadding="2" cellspacing="0">
<TBODY><TR>
<TD>
<TABLE style="width: 100%" cellpadding="3" cellspacing="0">
<TBODY><TR>
<TD style="width: 4px" valign="top">
<IMG alt="Forum style" height="16" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/color_swatch.png" width="16" title="Forum style"></TD>
<TD style="font-size: x-small">
<A href="http://blog.kirupa.com/?p=236" target="_blank">Choose a Custom Style
</A>
</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
</DIV>
<!--<div> </div>-->
</DIV>
</TD>
<TD class="alt1" id="td_post_2236139" style="border-right: 1px solid #E2E2E2">
<!-- message -->
<DIV id="post_message_2236139">Very nice. Thanks a lot.</DIV>
<!-- / message -->
</TD>
</TR>
<TR>
<TD class="alt2" style="border: 1px solid #E2E2E2; border-top: 0px">
<IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/user_offline.gif" alt="Graymalkin is offline" border="0" title="Graymalkin is offline">
</TD>
<TD class="alt1" align="right" style="border: 1px solid #E2E2E2; border-left: 0px; border-top: 0px">
<!-- controls -->
<A href="http://www.kirupa.com/forum/newreply.php?do=newreply&p=2236139" rel="nofollow"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/quote.gif" alt="Reply With Quote" border="0" title="Reply With Quote"></A>
<!-- / controls -->
</TD>
</TR>
</TBODY></TABLE>
<!-- post 2236139 popup menu -->
<DIV class="vbmenu_popup" id="postmenu_2236139_menu" style="display:none">
<TABLE cellpadding="4" cellspacing="1" border="0">
<TBODY><TR>
<TD class="thead">Graymalkin</TD>
</TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/member.php?u=91670">View Public Profile</A></TD></TR>
<TR><TD class="vbmenu_option"><A href="http://www.kirupa.com/forum/search.php?do=finduser&u=91670" rel="nofollow">Find More Posts by Graymalkin</A></TD></TR>
</TBODY></TABLE>
</DIV>
<!-- / post 2236139 popup menu -->
<!-- Begin Adsense Code -->
<!-- / GOOGLE AD -->
</DIV>
</DIV>
</DIV>
</DIV>
<!-- / close content container -->
<!-- / post #2236139 --><DIV id="lastpost"></DIV></DIV>
<!-- start content table -->
<!-- open content container -->
<DIV align="center">
<DIV class="page" style="width:850px; text-align:left">
<DIV style="padding:0px 0px 0px 0px" align="left">
<!-- / start content table -->
<!-- controls below postbits -->
<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:-3px">
<TBODY><TR valign="top">
<TD class="smallfont"><A href="http://www.kirupa.com/forum/newreply.php?do=newreply&noquote=1&p=2236139" rel="nofollow"><IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/reply.gif" alt="Reply" border="0" title="Reply"></A></TD>
<TD align="right"><DIV class="pagenav" align="right">
<TABLE class="tborder" cellpadding="3" cellspacing="1" border="0">
<TBODY><TR>
<TD class="vbmenu_control" style="font-weight:normal">Page 1 of 2</TD>
<TD class="alt2"><SPAN class="smallfont" title="Showing results 1 to 15 of 30"><STRONG>1</STRONG></SPAN></TD>
<TD class="alt1"><A class="smallfont" href="http://www.kirupa.com/forum/showthread.php?t=245468&page=2" title="Show results 16 to 30 of 30">2</A></TD>
<TD class="alt1"><A rel="next" class="smallfont" href="http://www.kirupa.com/forum/showthread.php?t=245468&page=2" title="Next Page - Results 16 to 30 of 30">></A></TD>
<TD class="vbmenu_control" title="" id="pagenav.317" style="cursor: pointer; "> <IMG src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/menu_open.gif" border="0" title="" alt=""></TD>
</TR>
</TBODY></TABLE>
</DIV>
</TD>
</TR>
</TBODY></TABLE>
<!-- / controls below postbits -->
<!-- lightbox scripts -->
<SCRIPT type="text/javascript" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/vbulletin_lightbox.js"></SCRIPT>
<SCRIPT type="text/javascript">
<!--
vBulletin.register_control("vB_Lightbox_Container", "posts", 1);
//-->
</SCRIPT>
<!-- / lightbox scripts -->
<!-- next / previous links -->
<BR>
<DIV class="smallfont" align="center">
<STRONG>«</STRONG>
<A href="http://www.kirupa.com/forum/showthread.php?t=245468&goto=nextoldest" rel="nofollow">Previous Thread</A>
|
<A href="http://www.kirupa.com/forum/showthread.php?t=245468&goto=nextnewest" rel="nofollow">Next Thread</A>
<STRONG>»</STRONG>
</DIV>
<!-- / next / previous links -->
<!-- currently active users -->
<BR>
<TABLE class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<TBODY><TR>
<TD class="tcat" colspan="2">
Currently Active Users Viewing This Thread: 1 <SPAN class="normal">(0 members and 1 guests)</SPAN>
</TD>
</TR>
<TR>
<TD class="alt1" colspan="2">
<SPAN class="smallfont"> </SPAN>
</TD>
</TR>
</TBODY></TABLE>
<!-- end currently active users -->
<!-- popup menu contents -->
<BR>
<!-- thread tools menu -->
<DIV class="vbmenu_popup" id="threadtools_menu" style="display:none">
<FORM action="http://www.kirupa.com/forum/postings.php?t=245468&pollid=" method="post" name="threadadminform">
<TABLE cellpadding="4" cellspacing="1" border="0">
<TBODY><TR>
<TD class="thead">Thread Tools<A name="goto_threadtools"></A></TD>
</TR>
<TR>
<TD class="vbmenu_option"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/printer.gif" alt="Show Printable Version" title="Show Printable Version"> <A href="http://www.kirupa.com/forum/printthread.php?t=245468" accesskey="3" rel="nofollow">Show Printable Version</A></TD>
</TR>
</TBODY></TABLE>
</FORM>
</DIV>
<!-- / thread tools menu -->
<!-- **************************************************** -->
<!-- thread display mode menu -->
<DIV class="vbmenu_popup" id="displaymodes_menu" style="display:none">
<TABLE cellpadding="4" cellspacing="1" border="0">
<TBODY><TR>
<TD class="thead">Display Modes<A name="goto_displaymodes"></A></TD>
</TR>
<TR>
<TD class="vbmenu_option" title="nohilite"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/mode_linear.gif" alt="Linear Mode" title="Linear Mode"> <STRONG>Linear Mode</STRONG></TD>
</TR>
<TR>
<TD class="vbmenu_option"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/mode_hybrid.gif" alt="Hybrid Mode" title="Hybrid Mode"> <A href="http://www.kirupa.com/forum/showthread.php?mode=hybrid&t=245468">Switch to Hybrid Mode</A></TD>
</TR>
<TR>
<TD class="vbmenu_option"><IMG class="inlineimg" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/mode_threaded.gif" alt="Threaded Mode" title="Threaded Mode"> <A href="http://www.kirupa.com/forum/showthread.php?p=2032255&mode=threaded#post2032255">Switch to Threaded Mode</A></TD>
</TR>
</TBODY></TABLE>
</DIV>
<!-- / thread display mode menu -->
<!-- **************************************************** -->
<!-- **************************************************** -->
<!-- / popup menu contents -->
<!-- forum rules and admin links -->
<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<TBODY><TR valign="bottom">
<TD width="100%" valign="top">
<TABLE class="tborder" cellpadding="6" cellspacing="1" border="0" width="210">
<THEAD>
<TR>
<TD class="thead">
<A style="float:right" href="http://www.kirupa.com/forum/showthread.php?t=245468#top" onclick="return toggle_collapse('forumrules')"><IMG id="collapseimg_forumrules" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/collapse_thead.gif" alt="" border="0"></A>
Posting Rules
</TD>
</TR>
</THEAD>
<TBODY id="collapseobj_forumrules" style="">
<TR>
<TD class="alt1" nowrap="nowrap"><DIV class="smallfont">
<DIV>You <STRONG>may not</STRONG> post new threads</DIV>
<DIV>You <STRONG>may not</STRONG> post replies</DIV>
<DIV>You <STRONG>may not</STRONG> post attachments</DIV>
<DIV>You <STRONG>may not</STRONG> edit your posts</DIV>
<HR>
<DIV><A href="http://www.kirupa.com/forum/misc.php?do=bbcode" target="_blank">BB code</A> is <STRONG>On</STRONG></DIV>
<DIV><A href="http://www.kirupa.com/forum/misc.php?do=showsmilies" target="_blank">Smilies</A> are <STRONG>On</STRONG></DIV>
<DIV><A href="http://www.kirupa.com/forum/misc.php?do=bbcode#imgcode" target="_blank">[IMG]</A> code is <STRONG>On</STRONG></DIV>
<DIV>HTML code is <STRONG>Off</STRONG></DIV>
<HR>
<DIV><A href="http://www.kirupa.com/forum/misc.php?do=showrules" target="_blank">Forum Rules</A></DIV>
</DIV></TD>
</TR>
</TBODY>
</TABLE>
</TD>
<TD class="smallfont" align="right">
<TABLE cellpadding="0" cellspacing="0" border="0">
<TBODY><TR>
<TD>
<DIV class="smallfont" style="text-align:left; white-space:nowrap">
<FORM action="http://www.kirupa.com/forum/forumdisplay.php" method="get">
<INPUT type="hidden" name="s" value="">
<INPUT type="hidden" name="daysprune" value="">
<STRONG>Forum Jump</STRONG><BR>
<SELECT name="f" onchange="this.form.submit();">
<OPTGROUP label="Site Areas">
<OPTION value="cp">User Control Panel</OPTION>
<OPTION value="pm">Private Messages</OPTION>
<OPTION value="subs">Subscriptions</OPTION>
<OPTION value="wol">Who's Online</OPTION>
<OPTION value="search">Search Forums</OPTION>
<OPTION value="home">Forums Home</OPTION>
</OPTGROUP>
<OPTGROUP label="Forums">
<OPTION value="3" class="fjdpth0"> Talk</OPTION>
<OPTION value="4" class="fjdpth1"> Random</OPTION>
<OPTION value="144" class="fjdpth2"> Music</OPTION>
<OPTION value="57" class="fjdpth2"> KirupArcade</OPTION>
<OPTION value="142" class="fjdpth2"> Reviews</OPTION>
<OPTION value="55" class="fjdpth1"> Kool Sites</OPTION>
<OPTION value="22" class="fjdpth1"> Showcase & Critiques</OPTION>
<OPTION value="38" class="fjdpth1"> Computers & Games/Tech</OPTION>
<OPTION value="64" class="fjdpth1"> Source/Experiments</OPTION>
<OPTION value="36" class="fjdpth1"> TechNews</OPTION>
<OPTION value="6" class="fjdpth0"> Flash</OPTION>
<OPTION value="147" class="fjdpth1"> Flash CS4</OPTION>
<OPTION value="140" class="fjdpth1"> Flash CS3</OPTION>
<OPTION value="127" class="fjdpth1"> Flash 8 (and earlier)</OPTION>
<OPTION value="35" class="fjdpth2"> Flash MX 2004</OPTION>
<OPTION value="7" class="fjdpth2"> Flash MX</OPTION>
<OPTION value="8" class="fjdpth2"> Flash 5</OPTION>
<OPTION value="141" class="fjdpth1"> ActionScript 3.0</OPTION>
<OPTION value="9" class="fjdpth1"> ActionScript 1.0/2.0</OPTION>
<OPTION value="42" class="fjdpth1"> Game/AI Programming</OPTION>
<OPTION value="12" class="fjsel" selected="selected"> Best of Kirupa.com</OPTION>
<OPTION value="150" class="fjdpth0"> Expression Blend / Visual Studio</OPTION>
<OPTION value="148" class="fjdpth1"> Silverlight and WPF</OPTION>
<OPTION value="149" class="fjdpth1"> C# Development</OPTION>
<OPTION value="40" class="fjdpth0"> Development</OPTION>
<OPTION value="137" class="fjdpth1"> Other Programming (Java, C, C++, etc.)</OPTION>
<OPTION value="11" class="fjdpth1"> Server-Side (PHP, SQL, ASP.NET, etc.)</OPTION>
<OPTION value="19" class="fjdpth1"> Client-Side (HTML, CSS, JavaScript)</OPTION>
<OPTION value="39" class="fjdpth0"> Art and Design</OPTION>
<OPTION value="90" class="fjdpth1"> Drawing and Design</OPTION>
<OPTION value="117" class="fjdpth2"> kirupaVille</OPTION>
<OPTION value="23" class="fjdpth2"> Site of the Week</OPTION>
<OPTION value="29" class="fjdpth1"> Battle</OPTION>
<OPTION value="53" class="fjdpth2"> Completed Battles</OPTION>
<OPTION value="51" class="fjdpth1"> kirupaLab</OPTION>
<OPTION value="152" class="fjdpth2"> Just Draw Yourself</OPTION>
<OPTION value="151" class="fjdpth2"> FXpression 09</OPTION>
<OPTION value="139" class="fjdpth2"> KMatch</OPTION>
<OPTION value="143" class="fjdpth2"> Transport Design Contest</OPTION>
<OPTION value="145" class="fjdpth2"> Header Contest</OPTION>
<OPTION value="146" class="fjdpth2"> Smilies Contest</OPTION>
<OPTION value="138" class="fjdpth2"> Footer Contest No.3</OPTION>
<OPTION value="135" class="fjdpth2"> Magazine Cover Design Contest</OPTION>
<OPTION value="134" class="fjdpth2"> kVille: Pixel City</OPTION>
<OPTION value="125" class="fjdpth2"> pixelPeople</OPTION>
<OPTION value="133" class="fjdpth2"> 25 Line AS Contest</OPTION>
<OPTION value="122" class="fjdpth2"> kirupaStamps</OPTION>
<OPTION value="124" class="fjdpth2"> FXpression 05</OPTION>
<OPTION value="126" class="fjdpth2"> Footer Contest #2</OPTION>
<OPTION value="59" class="fjdpth2"> Aids Awareness Contest</OPTION>
<OPTION value="52" class="fjdpth2"> Flash Game Contest</OPTION>
<OPTION value="37" class="fjdpth2"> T-Shirt Design Contest</OPTION>
<OPTION value="28" class="fjdpth2"> Footer Contest</OPTION>
<OPTION value="33" class="fjdpth2"> Grid Contest</OPTION>
<OPTION value="47" class="fjdpth0"> Careers</OPTION>
<OPTION value="48" class="fjdpth1"> Job Seekers</OPTION>
<OPTION value="46" class="fjdpth1"> Job Offers</OPTION>
<OPTION value="69" class="fjdpth2"> Free / Barter System</OPTION>
<OPTION value="70" class="fjdpth2"> Low Profile</OPTION>
<OPTION value="71" class="fjdpth2"> High Profile</OPTION>
<OPTION value="25" class="fjdpth0"> Forum Information</OPTION>
<OPTION value="26" class="fjdpth1"> Forum Guidelines/Suggestions</OPTION>
<OPTION value="24" class="fjdpth1"> Test Forum</OPTION>
</OPTGROUP>
</SELECT><INPUT type="submit" class="button" value="Go">
</FORM>
</DIV>
</TD>
</TR>
</TBODY></TABLE>
</TD>
</TR>
</TBODY></TABLE>
<!-- /forum rules and admin links -->
<BR>
<BR>
<DIV class="smallfont" align="center">All times are GMT -4. The time now is <SPAN class="time">08:45 AM</SPAN>.</DIV>
<BR>
</DIV>
</DIV>
</DIV>
<!-- / close content container -->
<!-- /content area table -->
<FORM action="http://www.kirupa.com/forum/index.php" method="get">
<TABLE cellpadding="6" cellspacing="0" border="0" width="850" class="page" align="center">
<TBODY><TR>
<TD class="tfoot">
<SELECT name="styleid" onchange="switch_id(this, 'style')">
<OPTGROUP label="Quick Style Chooser">
<OPTION value="104" class="" selected="selected">-- kirupa.com</OPTION>
<OPTION value="106" class="">---- Soaring Plane by Krilnon</OPTION>
<OPTION value="108" class="">---- Cloudy by kirupa</OPTION>
<OPTION value="109" class="">---- Zelda by kirupa</OPTION>
<OPTION value="105" class="">---- Canada by TheCanadian</OPTION>
<OPTION value="107" class="">---- Clever Title by Darkmotion</OPTION>
</OPTGROUP>
</SELECT>
</TD>
<TD class="tfoot" align="right" width="100%">
<DIV class="smallfont">
<STRONG>
<A href="http://www.kirupa.com/">kirupa.com</A> -
<A href="http://www.kirupa.com/forum/archive/index.php">Archive</A> -
<A href="http://www.kirupa.com/forum/showthread.php?t=245468#top" onclick="self.scrollTo(0, 0); return false;">Top</A>
</STRONG>
</DIV>
</TD>
</TR>
</TBODY></TABLE>
<TABLE border="0" width="850" cellspacing="0" cellpadding="3" align="center">
<TBODY><TR>
<TD align="center">
<DIV align="center">
<TABLE border="0" id="table1" cellspacing="0" cellpadding="10" width="990">
<TBODY><TR>
<TD class="style1">
<DIV align="center">
<A href="http://www.kirupa.com/me/ad.htm" onclick="javascript: pageTracker._trackPageview('/outgoing/advertiseKirupaForum.com');">
<!--
<img src="http://www.kirupa.com/supporter/placeAd_lightblue.png" alt="Learn how to advertise directly on kirupa.com without going through any intermediary." style="border-width: 0px"></a>
-->
<TABLE id="table3" cellspacing="0" cellpadding="0" background="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/blue_large_bg_gif6.gif" width="753" height="113" style="border: 1px solid #CCCCCC; background-color: #EFF4FA; color: #CCCCCC;">
<TBODY><TR>
<TD width="7"> </TD>
<TD width="746">
<SCRIPT type="text/javascript">
google_ad_client = "pub-0633423995889665";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_ad_channel ="6505164574";
google_color_border = "EFF4FA";
google_color_bg = "EFF4FA";
google_color_link = "0066CC";
google_color_url = "336699";
google_color_text = "333333";
</SCRIPT>
<SCRIPT type="text/javascript" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/show_ads.js">
</SCRIPT><SCRIPT>window.google_render_ad();</SCRIPT><INS style="display:inline-table;border:none;height:90px;margin:0;padding:0;position:relative;visibility:visible;width:728px"><INS style="display:block;border:none;height:90px;margin:0;padding:0;position:relative;visibility:visible;width:728px"><IFRAME allowtransparency="true" frameborder="0" height="90" hspace="0" id="google_ads_frame2" marginheight="0" marginwidth="0" name="google_ads_frame" scrolling="no" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/ads(1).htm" style="left:0;position:absolute;top:0" vspace="0" width="728"></IFRAME></INS></INS>
</TD>
</TR>
</TBODY></TABLE>
</A></DIV><A href="http://www.kirupa.com/me/ad.htm" onclick="javascript: pageTracker._trackPageview('/outgoing/advertiseKirupaForum.com');">
</A></TD>
</TR>
</TBODY></TABLE>
</DIV>
<TABLE border="0" width="100%" cellspacing="0">
<TBODY><TR>
<TD>
<HR color="#D3D2CB" size="1" style="width: 1000"></TD>
</TR>
</TBODY></TABLE>
<DIV align="center">
<TABLE border="0" cellspacing="0" cellpadding="10" style="width: 1000">
<TBODY><TR>
<TD style="border-right: 1px solid #D3D2CB; " align="center">
<SPAN class="homeLinkSM">
<A href="http://www.kirupa.com/"><FONT color="#0066CC">
Home</FONT></A></SPAN></TD>
<TD style="border-right: 1px solid #D3D2CB; " align="center" class="style1">
<SPAN class="homeLinkSM"><A href="http://www.kirupa.com/me/index.htm">
<FONT color="#0066CC">About kirupa.com</FONT></A></SPAN></TD>
<TD style="border-right: 1px solid #D3D2CB; " align="center" class="style1">
<SPAN class="homeLinkSM">
<A href="http://www.kirupa.com/me/mods.htm">
<FONT color="#0066CC">Meet the Moderators</FONT></A></SPAN></TD>
<TD style="border-right: 1px solid #D3D2CB; " align="center">
<SPAN class="homeLinkSM">
<A href="http://www.kirupa.com/me/ad.htm">
<FONT color="#0066CC">Advertise</FONT></A></SPAN></TD>
<TD style="border-right: 1px solid #D3D2CB; " align="center" class="style1">
<P align="center" style="white-space: normal"><SPAN class="homeLinkSM">
<FONT color="#0066CC"> </FONT><A href="http://www.kirupa.com/me/link.htm"><FONT color="#0066CC">Link
to Us</FONT></A></SPAN></P></TD>
<TD style="border-right: 1px solid #D3D2CB; " align="center">
<SPAN class="homeLinkSM"><FONT color="#0066CC"> </FONT><A href="http://www.kirupa.com/me/credits.htm"><FONT color="#0066CC">Credits</FONT></A></SPAN></TD>
<TD style="border-right: 1px solid #D3D2CB; " align="center">
<A href="http://www.kirupa.com/modular/rss.htm">
<IMG border="0" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/rssfeed.gif" width="16" height="16"></A></TD>
<TD width="219">
<P align="right" class="kCaption" style="text-align: right">
<A class="blueEmphasis" href="http://blog.kirupa.com/?p=179">Copyright © 1999 - 2008</A><SPAN class="homeLinkSM">
</SPAN></P></TD>
</TR>
</TBODY></TABLE>
</DIV>
</TD>
</TR>
<TR>
<TD align="center">
<P><FONT size="1" face="Verdana" color="gray">Powered by vBulletin® Version 3.8.1<BR>Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. Copyright 2004 - kirupa.com
<!-- Do not remove this copyright notice -->
<!-- Do not remove or your scheduled tasks will cease to
function -->
Copyright 2004 - kirupa.com </FONT>
</P></TD>
</TR>
</TBODY></TABLE>
<BR>
<DIV align="center">
<DIV class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
</DIV>
</DIV>
</FORM>
<SCRIPT type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</SCRIPT>
<!-- temp -->
<DIV style="display:none">
<!-- thread rate -->
<!-- / thread rate -->
</DIV>
<IFRAME id="_syncFrame" src="./Scrollbars & Code structure - Actionscript 3.0 - kirupaForum.htm_files/Sync.htm" style="z-index: -1; height: 1px; width: 1px; visibility: hidden; display: none; "></IFRAME></BODY></HTML> |