ActionScript 3 :: How To Optimize Illustrator Artwork In Flash
Apr 29, 2010
I'm working on a flash project that incorporates a lot of artwork done in Illustrator CS4. I've been copy-pasting directly from Illustrator into Flash, and I add some animations as well. Final file is going to be a one single swf file which will be a part of UI for an application and .net will be the core for this. But now flash becomes unusable slow to respond for actions. My machine is a fast i7 with 6gb of RAM, so I don't think that's the issue. We are going to use this file with dual core atom processors. Does anyone have ideas for alternative importing techniques, optimizations within illustrator, anything at all that will make this more manageable?
I have produced some vector artwork in illustrator for use inside a Flash Project. When I import the artwork into Flash the importer appears to place all of the element into many nested groups and creates folders in my library. Is there a way to import the graphics from illustrator as flat shapes rather than these nested groups?
Currently I am importing into Flash and having to go into each group and cut the shapes out and paste them into an empty MovieClip which is very time consuming.
way programmically in flash to detect the edges of imported artwork (artwork that has transparent background)? I am hoping to build something that detects the edges (or boundaries) of artwork and then place other objects around those boundaries. (so they dont touch too much or overlap).
I've been thinking about flash and html5 and though each of them can draw circles, rectangles, curves, and do things with images, doesn't it really come down to the artwork? Game play aside (I know ugly games can be fun), all the talk about which looks best canvas or flash or something else, kind of moot? Don't the great games, graphically speaking, have great artwork and modeling so that as long as the engine can handle it, the programming anything other than events associated with those models and artwork doesn't matter? I'm watching my kid play Frontiersville on Facebook and I'm thinking, I could program those events but it's the artwork that's grabbing people and good gameplay keeps them. In the end does the platform really matter for games?
When I import files from Illustrator to Flash, it seems that my entire image is grouped together and "Modify> Ungroup" is grayed out. How do I separate the different vectors so that they are editable?
I'm building an application in Actionscript using Flash assets, and my frame rate becomes very low (~7 fps) when I attempt to render 20+ assets on the screen, even though most of those assets are stopped movie clips. I've tried setting .cacheAsBitmap to true, which helps a bit, but not enough. What else can I do to get the frame rate up? I've noticed that some movie clips seem to impact it more than others, but I'm not sure how to alter them to make them easier to render.
I stayed out of the picture as long as I could ..because Ifigured there would be confusion and consternation as Adobe assimilated Macromedia's products.Here I am with Adobe Illustrator and Flash CS3,and the disconnect between the two is astonishing! I'll attribute some of my unfamiliarity to my recent involvement with Flash, but still,the vector pen tools operate soooo differently. Furthermore,selected anchor points are black in Illustrator and hollow in Flash polar opposites! The respective tool bars look similar, but often the selected tool behaves in a distinctly different manner, and the palette serves up dissimilar options.
Go the path of least resistance. I'll do my vector work in Illustrator, my workhorse tool of choice,then paste or import into Flash. But then gradients look like poo.Pfffff. (If anyone knows,what IS the problem with Illustrator-to Flash gradients. Is it that Flash Player is still too heavily based on Macromedia technology? i.e. the PostScript is OK but FlashPlayer doesn't render it well?)So, enough rant ...
What are the chances that Illustrator and Flash are better aligned in CS4, at least as far as object compatibility and similaar vector pen tool behavior? I can probably deal with the rest.
I have a simple rectangle with a 3D-bevel effect built in Illustrator that I need to export as an FXG file for use in Flash.When I export from Illustrator to an FXG format, it creates bitmaps and embeds those in the FXG file.if i import directly into Flash CS5 there are transparent gaps (and the symbols created are very complex), and it warns me that the objects aren't compatible with flash and they should be converted to bitmaps firstIs there a way to export the object to an FXG file and keep it in a vector format?if not, and this may be an Illustrator question, is there a way to create the same kind of effect so that I can get an end FXG object that will work in Flash?
I upgraded from Flash CS3 to CS5. I am surprised to find I cannot export Flash graphics to a ".ai" format. Does anyone know of a way in CS5 to get Flash vectors to Illustrator?
I'm itching to find the most effective way of importing my illustrator vectors into flash but keeping the file size as small as possible. At the moment i'm literally copying my vectors in illustrator and pasting them in Flash, it clearly works but the file sizes seem really high and its hindering the performance of my fla. Is there a more effective way of exporting? or optimizing the imported vectors once they're inside flash?
When I pull Illustrator elements with Outer Glow into Flash, the glow looks pretty nasty...lots of artifacts and "squares" throughout the area where the glow is.
Is there a way to preserve the high quality glow I see in Illustrator once I import those graphics into Flash?
I work on a big Flash project as the web backend guy that delivers all the files and assets to the main application SWF. Our last, really big packet of data are all the assets and sounds contained in swf files that are imported during the preloader.Are there any ways to optimize this process in any way? I'm really looking for ideas in any direction, no matter if its in the swf, the process of loading and so on. Also I look for solutions for the first time load (empty cache) and for consequent loads (prefilled cache).
i cant import the image without losing a huge amount of quality. a friend made this image using Illustrator, and i am trying to incorporate it into a Flash banner.i have numerous images already being used in my Flash movie banner, and all of them have been very easily imported, resized, and animated. here is the image im attempting to use.the Flash banner is am working with can be found at the top of the page at this address.URL.. ive tried to import it to my movie as a GIF, JPG, PNG, BMP, after using Fireworks to successfully edit the image without losing any quality. but as soon as i C&P it or import it directly to the Flash stage or library, the quality goes right out the window.
I have just moved to CS5 and have found that an important part of my workflow has been compromised as a result. Whereas I love to use Flash as a drawing tool and move elements from here to illustrator, then from Illustrator to Photoshop as a shape layer - I have found that Illustrator CS5 renders everything that I paste from flash as a bitmap.I note that there are several options inside Flash to determine how it imports Illustrator files, but I cannot seem to find similar options within Illustrator to change how it deals with objects pasted from flash.
I was curious if there is a way to import Illustrator files seamlessly into flash. My project in Illustrator has a lot of effects like drop shadows
here is what the file looks like: [URL]
so as you can see it is pretty complex. I want to import as much as I can in vector so that it saves on load time since i already built it in vectors. is it possible to import most of it in vector then just rastor the stuff that might not translate like gaussian blur etc?
I have a Adobe illustrator file which contains all design elements of my projects. I am trying to import that file into flash, i am not able to import properly(design elements are getting disturbed). So i have exported from AI to swf. How can I import this swf (contains all design elements) into my source file (Flash file) .This swf I tried to import into flash but design elements are not coming properly.
i'm using cs3 and have created an illustrator drawing and made symbols in illustrator so that i can import them into flash. i have successfully imported the drawing into flash but now i've gone back and edited the drawing in illustrator. is there a way i can just update the symbols i've changed rather than having to reimport the whole drawing?
On the home page of my website I have a Flash banner near the top, with a slideshow of my work. The problem is that the Flash file is 300k and takes a while to load on slower Internet connections, and I was wondering if anyone had any tips for me to optimise it. [URL].
I have a question about the optimization of pictures placedin a Flash stage.If I put a big sized pictures (for example: 1024 x 1024) andif, in the final result, the picture is downscaled on the Flashstage (for example : 200x200 pixels), once the swf is created ,will the picture be as heavy as before it was downscaled, when theflash web site will be loaded in browse
For video playing I used as3 sample script (because there must be only playpause, replay, mute buttons with custom styles), like that
var strSource:String = "video.flv"; // create a new net connection, add event listener and connect // to null because we don't have a media server
[Code]....
The problem is that I can't find a way to play it smoothly. It's loading in very annoying way, video is interrupted after each few seconds of playing.
I understand that the main problem is large video file size and hd quality, but may be there is some way to largely decrease .flv size or handle playback in more friendly way?
My name is Ross Przybylski. I am a fellow Adobe Flash developer veteran, and, like many of you, I am determined to find a way to achieve optimal performance for Flash games being ported to mobile devices.
I have 2 goals for this post:
1) Define the particular type of game I am trying to make cross-platform in hopes that fellow developers can offer ideas for the best approach
2) Share the various optimization techniques I have discovered and explored thus far in hopes that they will help other developers find the resources they need to port their own Flash games to mobile platforms
How to Optimize a Flash Turn-Based Strategy Game for Mobile Devices
I have created a multiplayer, turn-based tactical strategy game in Flash called Hero Mages (url...) and my goal is to port this game to Android, iPad, and iPhone using my existing AS3 code.
The game characters are represented in a two-dimensional, top-down perspective grid as animated unit models. For the PC/web-based version of the game, unit animations are accomplished via timeline based vector animations stored within movie clips. There are currently 21 unique models, 15 different animations per model, and between 300-450 unique frames per model. As a turn-based game, typically only one model will move/animate at a time, though two or more models may also engage in combat (attack/block/take damage from spells, etc.) in which case several animations may take place at the same time.[code]...
I'm trying to come up with a convenient workflow for importing .ai Files into Flash. While the import works fine, there is one major drawback: If an artist decides to update something within the .ai file, then it is frustratingly hard to make that change in Flash as well, since it is not possible to just "update" any of the imported assets from Illustrator.
There is an "update" function available in flash for imported graphics which are linked to bitmap files (.png, .jpg, etc.), but so far it does not seem possible to kind of link imported assets to an external file and maintain that link.
Or does anyone know of a way to use Illustrator files as a basis, import into Flash, and make it possible to re-import the .ai file and actually overwrite all library items that already exist? Usually Flash creates copies of the imported ai file.