36937
507
Zoom out
Zoom in
Previous page
1/527
Next page
FLASH CS3
User Guide
501
For example, suppose a file attempts to load an XML file that’s 100 KB, but the devices operating system has allocated
only 30 KB to handle that incoming data stream. In this case, Flash Lite displays an error message to the user,
indicating that not enough memory is available.
To load large amounts of data, group the data in smaller pieces—for example, in several XML files—and make several
data-loading calls for each piece. The size of each piece of data, and therefore the number of data-loading calls you
need to make, varies by device and file. To determine an appropriate balance between the number of data requests
and the likelihood of a memory failure, test files on a variety of target devices.
For optimum performance, avoid loading and parsing XML files if possible. Instead, store data in simple name/value
pairs and load the data from a text file using
loadVars or from precompiled SWF files.
For more tips and techniques for creating content for mobile phones and devices, see
www.adobe.com/go/learn_cs_mobilewiki_en
Exclude classes from compilation for Flash Lite
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.
1 Create a new XML file.
2 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.
3 Save the file in the same directory as the FLA file.
4 Place the following tags in the XML file:
excludeAssets>)
<asset name=”className1” />)
<asset name=”className2” />
</excludeAssets>
The values specified for the name attributes in the <asset> 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
mx.core.UIObject and mx.screens.Slide classes from the SWF file:
<excludeAssets>)
<asset name=”mx.core.UIObject” />)
<asset name=”mx.screens.Slide” />
</excludeAssets>
For more tips and techniques for creating content for mobile phones and devices, see
www.adobe.com/go/learn_cs_mobilewiki_en.
507


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Adobe Flash CS3 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Adobe Flash CS3 in the language / languages: English as an attachment in your email.

The manual is 18,62 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info