Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Flash (all versions)
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 15th, 2007, 04:11 AM
Registered User
 
Join Date: Aug 2007
Location: calicut, kerala, India.
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
Reply With Quote
  #2 (permalink)  
Old August 15th, 2007, 09:40 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Oklahoma City, Oklahoma, USA.
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
Reply With Quote
  #3 (permalink)  
Old August 16th, 2007, 12:11 AM
Registered User
 
Join Date: Aug 2007
Location: calicut, kerala, India.
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
Reply With Quote
  #4 (permalink)  
Old August 16th, 2007, 08:55 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Oklahoma City, Oklahoma, USA.
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.
Reply With Quote
  #5 (permalink)  
Old August 16th, 2007, 02:41 PM
Friend of Wrox
Points: 1,749, Level: 16
Points: 1,749, Level: 16 Points: 1,749, Level: 16 Points: 1,749, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2007
Location: San Diego, CA, USA.
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:52 PM.


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