Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 15th, 2007, 04:11 AM
Registered User
 
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nairaby
Default clearing unused symbols and objects

i am working on a flash movie and it has a lot of images in it's lib, which are not used.
is there any quick way to clear the images and symbols which are not used in flas?
i tried save and compact. but it is not working.

C@B@Ge G@R|)EN
 
Old August 15th, 2007, 09:40 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There is no way that I know of that you can go through your library and clean it up. FYI, when you publish your swf file, it will not include items that are not used in your library.

mike
 
Old August 16th, 2007, 12:11 AM
Registered User
 
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nairaby
Default

thanx for ur reply harpua.
but can u explain why there is "save and compact" under file menu?

C@B@Ge G@R|)EN
 
Old August 16th, 2007, 08:55 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
Default

From the flash help manual, I have never used this.

There are several options that you can use to save a file: Save, Save As, and Save and Compact. When you save a file, Flash does not analyze all the data before creating an optimized version of the document. Instead, the changes you make to the document are appended to the end of the FLA file's data, which shortens the time it takes to save the document. When you select Save As and type a new name for the file, Flash writes a new and optimized version of the file, which results in a smaller file size. When you select Save and Compact, Flash creates a new optimized file and deletes the original file.

CAUTION
When you select Save and Compact, you cannot undo any changes you made before you saved the file. If you select Save when working with a document, you can undo changes made prior to that save point. Because Save and Compact deletes the earlier version of the file and replaces it with the optimized version, you cannot undo earlier changes.
 
Old August 16th, 2007, 02:41 PM
Friend of Wrox
 
Join Date: Jun 2007
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

^^^ What they said, the *swf file automatically optimizes when you publish it. So the file that's going online only has what you need. It's not affected by what you put in the library, only what you use on stage or in your movie clips.

The only reason to delete material from your library is if you're running out of hard drive space. If you're library is becoming unmanageable, then it's time to rework your library folders so that it's better organized.

-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.





Similar Threads
Thread Thread Starter Forum Replies Last Post
finding symbols keytecstaff Word VBA 1 August 3rd, 2007 11:27 AM
Clearing Drawing Objects from a given Excel range Amjad.Mahmoood Pro VB 6 3 September 11th, 2006 01:06 AM
software to scan js for unused variables crmpicco Javascript 2 May 26th, 2006 07:57 AM
How to get list of Currencies (symbols/Name)? Jell VB.NET 0 June 22nd, 2005 05:48 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.