School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,456 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,641 people online right now. Registration is fast and FREE... Join Now!




How do I lessen the size of Flash graphics imported from adobe Illustr

 

How do I lessen the size of Flash graphics imported from adobe Illustr

DynamoAthletic

13 Jun, 2009 - 03:25 PM
Post #1

New D.I.C Head
*

Joined: 9 Apr, 2009
Posts: 9

This is not an ActionScript code question. I would like to know how to lessen the size of a graphic file imported from Adobe Illustrator.

I have a graphic done in Adobe Illustrator of a jersey that has small holes representing the mesh on the jersey fabric. The small holes are causing the file size of the graphic to increase by about 4 or 5 times. After importing this vector graphic file to the library I want to use Flash to lessen the size of this graphic. I have converted this graphic to movie clips in order to code it. I have developed all the code that I need for now. However, the size of the file is to great and is slowing down the dynamics of my movie clips on the stage. Does anyone here know how I can lessen the graphic size?

User is offlineProfile CardPM
+Quote Post


UnknownFury

RE: How Do I Lessen The Size Of Flash Graphics Imported From Adobe Illustr

13 Jun, 2009 - 04:48 PM
Post #2

New D.I.C Head
*

Joined: 9 Mar, 2009
Posts: 14



Thanked: 4 times
My Contributions
QUOTE(DynamoAthletic @ 13 Jun, 2009 - 03:25 PM) *

This is not an ActionScript code question. I would like to know how to lessen the size of a graphic file imported from Adobe Illustrator.

I have a graphic done in Adobe Illustrator of a jersey that has small holes representing the mesh on the jersey fabric. The small holes are causing the file size of the graphic to increase by about 4 or 5 times. After importing this vector graphic file to the library I want to use Flash to lessen the size of this graphic. I have converted this graphic to movie clips in order to code it. I have developed all the code that I need for now. However, the size of the file is to great and is slowing down the dynamics of my movie clips on the stage. Does anyone here know how I can lessen the graphic size?


That is the downfall of vector art, Shapes like that with more complex geometry cause the file size to rapidly increase. Is it possible to use a bitmap instead of a vector for the jersey fabric or is it vital that it is vector?
User is offlineProfile CardPM
+Quote Post

DynamoAthletic

RE: How Do I Lessen The Size Of Flash Graphics Imported From Adobe Illustr

14 Jun, 2009 - 10:46 AM
Post #3

New D.I.C Head
*

Joined: 9 Apr, 2009
Posts: 9

Since the graphics will not be resized as part of the flash file, perhaps bitmap might be O.K. But then vector graphics is very clean and precise. Perhaps this is why I like it. I will be converting the graphics layers to movie clips where I can use ActionScript code so that Internet viewers can change the movie clips to whatever color they want.

Perhaps I could experiment with modify > break apart and the group and ungroup commands, but I am not sure what this will do.

Thanks for considering this with me.

This post has been edited by DynamoAthletic: 14 Jun, 2009 - 10:51 AM
User is offlineProfile CardPM
+Quote Post

DynamoAthletic

RE: How Do I Lessen The Size Of Flash Graphics Imported From Adobe Illustr

16 Jun, 2009 - 05:14 PM
Post #4

New D.I.C Head
*

Joined: 9 Apr, 2009
Posts: 9

Hi UnknownFury:

I tried out your suggestion today regarding converting the graphic to a bitmap. It worked. There might be another way to do this, but for now while being at my Flash level, I am going to make it simple as per your suggestion and convert the graphics that have the pinholes to bitmap images. Thanks much for your suggestion.
User is offlineProfile CardPM
+Quote Post

BetaWar

RE: How Do I Lessen The Size Of Flash Graphics Imported From Adobe Illustr

16 Jun, 2009 - 05:51 PM
Post #5

#include <soul.h>
Group Icon

Joined: 7 Sep, 2006
Posts: 4,729



Thanked: 269 times
Dream Kudos: 1400
My Contributions
And if bitmap is not high enough quality for you exporting the vector as a .png file will increase the quality as well as allow for transparency in the image.

Hope that helps.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/8/09 02:08AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month