<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
		<link rel="stylesheet" type="text/css" href="content.css" />
		<title>
			Exclude classes from compilation for Flash Lite
		</title>
<!-- Changed by: , 21-Mar-2006 -->
<script src="help.js" type="text/javascript" language="Javascript" charset="UTF-8">...</script> 
		
		
<script type="text/javascript">
<!--[CDATA[
handleContext(1);
if (use_ie_6_behavior) {
  document.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"content-ie6.css\" />");
}
// ]]-->
</script> 
		
<script src="scripts.js" type="text/javascript" language="Javascript" charset="UTF-8">...</script> <script src="terms.js" type="text/javascript" language="Javascript" charset="UTF-8">...</script> 
	</head>
	<body id="content_body">
<!--googleoff: index-->
<!-- BEGIN PAGE CONTENT WRAPPER -->
		<div id="pneumonic">
			<h1 class="DeviceCentral">DeviceCentral</h1>
		</div>
		<div id="page_content_wrapper">
			<p class="sharedproducts">TOPIC APPEARS IN: </p><p class="sharedproductindicators"><img src="images/flashSharedIndicator.png" title="Flash" /></p>
<!-- BEGIN BREADCRUMBS -->
			<div id="breadcrumb">
<!-- BEGIN BREADCRUMBS -->
				
<div class="nav"><dl class="page"><dd class="prev"><a accesskey="p" class="prev" href="WS1459DECC-D858-475c-95CE-7E7D8C281AB2.html" title="Loading data for mobile devices in Flash Lite"><img src="images/prev.gif" alt="Previous" /></a></dd><dd class="next"><a accesskey="n" class="next" href="WS30DD848D-D4A1-40bc-9316-9EFFC7846EA5.html" title="Tips for creating Photoshop images for mobile devices"><img src="images/next.gif" alt="Next" /></a></dd></dl></div><div class="hierarchy"><a href="WS28F6F81C-55B3-4ad5-B632-171637249F5B.html">Create, preview, and test content in Adobe Device Central</a> /
     <a href="WS3A29C98D-5768-45ea-AB2F-75FAF64078EE.html"><b>Tips for creating content for mobile devices</b></a> 
     </div>

<!-- END BREADCRUMBS -->
			</div>
<!-- END BREADCRUMBS -->
<!-- BEGIN PAGE TITLE -->
<!--googleon: index-->
			<h1>
				Exclude classes from compilation for Flash Lite
			</h1>
<!--googleoff: index-->
<!-- END PAGE TITLE -->
<!-- BEGIN CONTENT WRAPPER -->
			<div id="content_wrapper">
<!--googleon: index-->
				<div><div class="section">
                        <p>
                           
                           To reduce the size
of a SWF file, consider excluding classes from compilation but retaining
the ability to access and use them for type checking. For example,
try this if you are developing a file that uses multiple SWF files
or shared libraries, especially those that access many of the same
classes. Excluding classes helps avoid duplicating classes in those
files.</p>

                     </div>
<ol><li class="stepexpand"><span>Create a new XML file.</span></li>
<li class="stepexpand"><span>Name the XML file FLA_filename_exclude.xml, where FLA_filename
is the name of the FLA file without the .fla extension. For example,
if the FLA file is sellStocks.fla, the XML filename must be sellStocks_exclude.xml.</span></li>
<li class="stepexpand"><span>Save the file in the same directory as the FLA file.</span></li>
<li class="stepexpand"><span>Place the following tags in the XML file:</span> 
                              <pre>excludeAssets&gt;) 
	&lt;asset name=”className1” /&gt;) 
	&lt;asset name=”className2” /&gt;
&lt;/excludeAssets&gt;</pre>

                            
                              <p>The values specified for the name attributes in the <samp class="codeph">&lt;asset&gt;</samp> tags
are the names of classes that should be excluded from the SWF file.
Add as many as required for the file. For example, the following
XML file excludes the <samp class="codeph">mx.core.UIObject</samp> and <samp class="codeph">mx.screens.Slide</samp> classes
from the SWF file:</p>

                              <pre>&lt;excludeAssets&gt;) 
	&lt;asset name=”mx.core.UIObject” /&gt;) 
	&lt;asset name=”mx.screens.Slide” /&gt;
&lt;/excludeAssets&gt;</pre>

                           </li>
</ol>
</div>

<!--googleoff: index-->
			</div>
<!-- END CONTENT WRAPPER -->
		</div>
<!-- END PAGE CONTENT WRAPPER -->
		<br clear="both" />
		<div id="related">
			<div class="t">
				<div class="b">
					<div class="l">
						<div class="r">
							<div class="bl">
								<div class="br">
									<div class="tl">
										<div class="tr">
											<div id="related_in">
												<h3>
<script type="text/javascript">document.write(terms_Related_Information);</script> 
												</h3>
												
												<h4>
<script type="text/javascript">document.write(terms_AHV_HELP_RESOURCE_CENTER);</script> 
												</h4>
												<ul class="link-list"><li class="icon external"><a target="_blank" title="This page on the Web" href="http://help.adobe.com/en_US/DeviceCentral/1.0/WS39B373A0-8A4E-42a3-B5CD-CD5931ACE560.html">This page on the Web</a></li></ul>
												
											</div>
											<br clear="both" />
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<br clear="both" />
	</body>
</html>