Can Flash do true vector graphics?

I created a drawing in Flash with the pen tool and paint
bucket. Some of the drawing I may have used the line segment tool
and connected the points. Other parts of the drawing I may have
started with a circle, added points, and strecthed parts to make my
desired shape. I exported the file to an .eps format.
I want a drawing to be transcribed to a T-shirt.
Unfortunately the two shops I've worked with know CorelDraw
and not Flash. One lady knows Illustrator and I have also
exported to an .ai format for Illustrator. However when
they open those formats of my drawings come as individual
vectors with outlines around each piece. They said they would have
redraw the artwork in CorelDraw at a major expense. Can Flash do
true vector graphics such that a drawing of a figure, for example,
with many different colors so that the exported .eps or .ai file is
a true vector graphic and not all in pieces? Or should I go with
Illustrator CS3? I have used both programs and most of the drawing
tools and methods seem to be the same, does Illustrator create true
vector graphics?

While your code might be correctly written, a 1009 error is not about incorrect code.  The 1009 error indicates that one of the objects being targeted by your code is out of scope.  This could mean that the object....
- is declared but not instantiated
- doesn't have an instance name (or the instance name is mispelled)
- does not exist in the frame where that code is trying to talk to it
- is animated into place but is not assigned instance names in every keyframe for it
- is one of two or more consecutive keyframes of the same objects with no name assigned in the preceding frame(s).
If you go into your Publish Settings Flash section and select the option to Permit debugging, your error message should have a line number following the frame number which will help you isolate which object is involved.

Similar Messages

  • Flash mx 2004 vector graphics

    When I try to import the svgz file that I created in
    Indesign, Flash MX 2004 says that it does not recognize the file
    type. I thought Flash used vector graphics for it's images.

    alexjustin wrote:
    > When I try to import the svgz file that I created in
    Indesign, Flash MX 2004 says that it does not recognize the file
    type. I thought Flash used vector graphics for it's images.
    Yes it does but it doesn't mean it can understand every
    single format they are delivered in.
    Try something more common like AI.
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • How can I make ANY vector  graphics with graphics2D and save on clipboard?

    I am at my wits end here, and need some help. Simply put, I have a program that creates a basic x-y graph, drawn in a jpanel. I want to create the graph as a vector (emf, eps, svg, I don't care anymore, any of them would be good). But, all I get is a jpg or bitmap.
    I tried using the infamous FreeHEP programs, but it won't recognize the output as anything but "image" which means bitmap/jpg.
         The user enters x/y data, clicks a button, which crreates a jpanel thusly:
    public class GraphMaker extends JPanel {
    static BufferedImage image = new BufferedImage(600, 500, BufferedImage.TYPE_INT_ARGB);
    GraphMaker(double[] xVals, double[] yVals, double[] sems){
    setPreferredSize(new Dimension (600,500));     
    symSize = 10;
    XminV = 0;
    XmaxV = 0;
    // code here just converts input x and y's to pixel coordinates, spacing of ticks, etc...
    for (int i =0;i < ArLn; i++){
    gX[i] = xO + (gX[i] * xRat);
    gX[i] -= xStart;
    gY[i] = gY[i] * yRat;
    gY[i] = yEnd - gY;
    semVal[i] = semVal[i]*yRat;
         Ymin = yEnd - (Ymin*yRat);
         Ymax = yEnd - (Ymax*yRat);
    BufferedImage anImage = new BufferedImage(600, 500, BufferedImage.TYPE_INT_ARGB);
    Graphics2D g2 = anImage.createGraphics();
    g2.setBackground(white);
    g2.setColor( Color.WHITE );
    g2.fillRect(0,0,600,500);
    g2.setStroke(stroke);
    // here I use the values to draw lines and circles - nothing spectacular:
              g2.setPaint(Color.blue);
              int ii = 0;
              for ( int j = 0; j < ArLn[ii]; j++ ) {
    g2.fill(new Ellipse2D.Float(LgX[ii][j] - symOffst, gY[ii][j]-symOffst, symSize,symSize));
    g2.draw(new Line2D.Float(LgX[ii][j],(gY[ii][j]-semVal[ii][j]),LgX[ii][j],(gY[ii][j]+semVal[ii][j])));
    g2.draw(new Line2D.Float(LgX[ii][j]-2.0f,(gY[ii][j]-semVal[ii][j]),LgX[ii][j]+2.0f,(gY[ii][j]-semVal[ii][j])));
    g2.draw(new Line2D.Float(LgX[ii][j]-2.0f,(gY[ii][j]+semVal[ii][j]),LgX[ii][j]+2.0f,(gY[ii][j]+semVal[ii][j])));
                        g2.draw(new Line2D.Float(xLoVal[ii],yLoVal[ii],xHiVal[ii],yHiVal[ii]));
    image = anImage;
    And, when the user clicks on the "copy" button, invokes this:
    public class Freep implements Transferable, ClipboardOwner {
         public static final DataFlavor POSTSCRIPT_FLAVOR = new DataFlavor("application/postscript", "Postscript");
         private static DataFlavor[] supportedFlavors = {
              DataFlavor.imageFlavor,
              POSTSCRIPT_FLAVOR,
              DataFlavor.stringFlavor
         private static JPanel chart;
         private int width;
         private int height;
         public Freep(JPanel theGraph, int width, int height) {
              this.theGraph = Graphs;
              this.width = width;
              this.height = height;
    //******This is the key method right here: It is ALWAYS imageFlavor, never anything else. How do I make this an EPS flavor?
         public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException {
    if (flavor.equals(DataFlavor.imageFlavor)) {
    return GraphMaker.image;
    else if (flavor.equals(POSTSCRIPT_FLAVOR)) {
                   return new ByteArrayInputStream(epsOutputStream().toByteArray());
    else if (flavor.equals(DataFlavor.stringFlavor)) {
                   return epsOutputStream().toString();
              } else{
                   throw new UnsupportedFlavorException(flavor);
         private ByteArrayOutputStream epsOutputStream() throws IOException {
    EPSDocumentGraphics2D g2d = new EPSDocumentGraphics2D(false);
    g2d.setGraphicContext(new org.apache.xmlgraphics.java2d.GraphicContext());
    ByteArrayOutputStream out = new ByteArrayOutputStream();
         public DataFlavor[] getTransferDataFlavors() {
              return supportedFlavors;
         public boolean isDataFlavorSupported(DataFlavor flavor) {
              for(DataFlavor f : supportedFlavors) {
                   if (f.equals(flavor))
                        return true;
              return false;
         public void lostOwnership(Clipboard arg, Transferable arg1) {
    The same happens with FreeHEP - I want the flavor to be EMF, but the program sees an image so it is always imageFlavor. I know I am missing something, but what, I don't know.
    thanks for your help.

    I don't think there's a built-in solution. One workaround I've seen is to create a dummy graphics class that overrides the desired drawing functions. Instead of actually drawing pixels, the object writes postscript commands to a buffer. There also seems to be commercial code that does exactly this.

  • Can I use Scalable Vector Graphics (.SVG) in RoboHelp 11 projects?

    I need to import .SVGs into my RoboHelp 11 HTML5 project, but that file type doesn't seem to be supported. I tried pasting the appropriate HTML code into a topic, but the SVG graphic doesn't show. Am I missing something, or is there a work-around?

    Hi folks
    Simple Simon here.
    First off, I totally agree with Erik in that you should file a Feature Request.
    Secondly, I know that many folks aren't really all that keen on mucking with code. So here's one solution that involves minimal code muckage, (yep, muckage is a technical term. I just invented it!)
    Add your SVG to Baggage where you want it.
    Insert an image where you want your SVG to appear.
    Click and drag the SVG from Baggage to the spot just beyond the image.
    Double-click the SVG link and copy what appears in the Link to area. Then delete the link.
    Click once on the image, then click the HTML tab.
    Now just paste what you copied between the img tags.
    Cheers... Rick

  • How can I load bitmaps/vector graphics in my application using only actionscript 3.0?

    I want to have DisplayObject that will randomly contain bitmaps/vectors from some database. I want to implement this using only code. How?

    use the loader class:
    var loader:Loader=new Loader();
    loader.load(new URLRequest("image1.jpg"));
    addChild(loader);  // or, yourdisplayobject.addChild(loader)

  • Vector graphics with Photoshop Elements 13

    How can I maintain the vector graphics that are saved for Illustrator (AI or EPS) in Photoshop Element 13.   There are a lot of free typography graphics for Illustrator that I would love to use in Photoshop Elements 13
    Mireille

    if you downloaded both the exe and 7z files to the same directory, double click the exe.

  • Novice: Can I add vector graphics to a pdf?

    Have Acrobat Pro 7 but have been using it only for creating simple pdfs from Office documents.
    I'm starting my education on other capabilities.
    Can I add vector graphics (shapes, text) to a pdf or do I need to get the pdf into a tool like AI first?
    We're going to be working with maps (GIS output) and, to start, I'm assuming we'll want the maps as pdfs.  In some cases we'll want to add some markup.
    Thanks
    Tom

    As PDF is, essentially, a "non-editable" format (aside from minor touchups) you'll want to work content in an authoring application.
    Output a PDF, containing the vector graphics, from an authoring application.
    Provide the desired PDF page content in an authoring application as well.
    Be well...

  • How can I create this as a vector graphic?

    HI Folks,
    I'd like to create the attached as a vector graphic, can anyone tell me the best way to do this in Fireworks CS3?
    http://www.sandwell.nhs.uk/circles.jpg
    I've tried to draw it using the pen tool, but it doesnt look accurate.
    thanks in advance.

    Hi matthisco
    Go to vector tools and choose the donut tool. Draw a circle and use the yellow spots to adjust the edges minimize the fill area and drag the segment you want to cut so it looks like you want. For the circle choose no fill, and stroke about 20-25px , stroke category 1-pixel soft.

  • Loading vector graphics at runtime

    Hi,
    I'd like to know if there is any way or any vector graphic file format that i can load dynamically at runtime on a web-based flash application.
    I have some files in pdf that i want to load in and i can convert them to jpgs at runtime and load the jpgs but then i lose vector graphics so when i zoom in and out they become pixelated.
    I had a look a look at flashpaper to convert pdf to swf and load them in but i can't see anywhere in the documentation about converting the pdf's at runtime rather than manually dragging and dropping them in.
    So far i've looked at pdf, svg and .ai but none of these can be loaded at run time just imported into the .FLA
    So can this be done? Or alternatively is there an application that can do the pdf -> swf conversion from the commandline then i could trigger php to do the conversion at runtime.
    thanks in advance.
    Greg

    Hi All,
    I have a task to save running SWF file to be saved as vector graphics file format and get the same back in the Flex application. Request you to tell me what can be the vector graphics file extension and help me out how to achieve this task.
    Thanks & Regards
    Santosh Kumar G

  • Reduce file size vector graphics

    When it comes to imported vector graphics are there any methods to decrease the swf's file size as much as possible?
    So far I have:
    - imported an illustrator ai file (strokes 'expanded' in illustrator and unneeded swatches/brushes etc. deleted and with no raster images embedded)
    - exported the file in illustrator as swf and imported that swf into flash
    - imported ai file and breaking it down to flash shapes
    - optimized those shapes as much as possible
    I rather use vector as much as possible. For a banner for examle, I've imported vector images of trees. I couldn't get it below 40 kb so I exported all illustrator files to png files which helped. Can detailed vector images be optimized just as much? Or is it better to use bitmap files when it comes to more detailed graphics? Does it matter if it is a vector images made in flash or a imported vector file even if both have the same number of paths?
    Any other ideas I might try besides the things I've already tried?

    There is a certain threshold when a bitmap can actually be smaller than a detailed vector graphic. Especially when working on small image sizes, bitmaps can often be quite smaller.
    For a vector graphic, you can't do more than reducing the number of vertexes which may result in a poorer graphic.
    With bitmaps, you can do a lot more:
    Keep in mind that bitmaps with an alpha channel use up much more memory than bitmaps without alpha information. So try to reach your goal without using transparent bitmaps - which seems hard in the beginning, but as Flash provides different blending modes, you can, for example use the blending mode "multiply" for a black logo on a white background with just a grayscale bitmap instead of a bitmap with alpha channel information.
    The same is valid for a white logo on a black background: Use the "add" blending mode instead, then.
    I have also written some Photoshop Plugins to reduce the alpha-channel bit-resolution which sometimes gives me the extra 3-4kb I needed. Instead of using 256 shades of alpha, it reduces them to maybe 8 or 16. Alpha-Channels are comressed like GIF/PNG images inside of flash, so having as few different shades of alpha as possible will make images smaller. I even use dithering sometimes for softer alpha areas.
    In some rare cases, you can also gain some bytes if you convert text to vector graphics (pressing CTRL-B twice), but this only works when there's not much text at all. That's because the metric information for text glyphs take up a bit more space then just the shapes. So you can imagine that this may only work if there is just one text element with all different letters. So you won't get much size reduction by converting "abracadabra". But you will get some reduction if you convert "the quick brown fox jumps" into shapes.
    This all can help if you have restrictions like 30kb or even 20kb to create a full animated flash banner.

  • Vector graphic export?

    How can I move vector graphics from Keynote to other applications (like Adobe Illustrator) using the new version?  I had no problem in Keynote 5.  I really like using Keynote to make images and if I can't figure it out I will have to switch over to Illustrator full time...

    You answer seems inappropriate to me, and I hope to many others.
    Then your using the wrong software.  If your need is to create vector drawings then if you have Keynote version 5.3 use that, it is compatible with OS 10.6 Snow Leopard through to OS 10.10 Yosemite, alternatively use a dedicated vector drawing application, there are many to choose from, two are mentioned in this discussion.
    It is so frustrating to see that the V6, that uses natively vectors shape, cannot export them by a simple cut and paste.
    Keynote does not have this feature, use an appropriate application that meets your needs.
    removing this feature is a true handicap for Keynote.
    The purpose of Keynote version 6 is to;  "create and deliver beautiful presentations", so states the Apple Keynote webpage.
    Keynote is not disadvantaged in the least when creating presentations by the lack of exporting vector drawings.
    Why would profesional designers use or promote Keynote if this software is no longer able to properly interact with other design tools?
    Probably because it does in fact work very well with respected professional tools, it can import media from Photoshop, Illustrator, Word, Numbers, Excel, Indesign,  Final Cut Pro, Garageband, Protools ..............
    Apple has lost its common sense.
    People have been saying that since 1976.

  • Vector graphics in DW

    Dear Friends,
    I would like to showcase some of my vector graphics on an
    html page built with DW. Can you pls advise if there is any format
    - other than rasterizing & optmizing the vector files - that I
    could use to load these vectors so that they could remain scalable
    - for viewing purposes, by means of something like zoomify - and
    retain their vector appearance?
    As usual, your advice is greatly appreciated.
    Jvmonteiro

    You could embed them in flash objects. SVG may be another
    option, but I'm not sure that the support is wide enough yet.
    http://www.adobe.com/svg/

  • Flex and Vector Graphics

    Hello!
    How can I use vector graphics in Flex that were drawn in say Adobe Illustrator?
    In the Flash IDE I can just copy-paste on the stage for example.
    Thank you.

    Google FXG graphics for use in MXML.  The newer versions of Creative Suite support exporting graphics in the FXG format.

  • Scalable Vector Graphics Format

    Is there anyway to import Scalable Vector Graphics files into Keynote? This is a useful format for drawing programs in the open source world. For example, I have been using the Illustrator-like program, Inkscape, to good effect, but I cannot get the drawings I make into Keynote except as bitmaps.

    Welcome to the discussions, Alexis.
    I believe that "best" is subjective. It depends on what you want to do and how much you want to pay. For example, OmniGraffle is not as well known as, say, Adobe Illustrator, but for the difference in price, it may be worth your while especially if what you intend to do is create a few shapes every now and then for your presentation. You could also take a look at Purgatory Design's Intaglio.
    The cool thing about both OmniGraffle and Intaglio (that's not true for Adobe Illustrator) is they both support LinkBack. What is linkback?
    http://commons.ucalgary.ca/~king/projects/keynoteplugins/linkback/
    Essentially, you can copy a graphic out of OmniGraffle or Intaglio and paste it into Keynote after installing the patch at the website above. Then, even after you've quit the program, if you decide that you need it to be a red-blue gradient instead of a red-black gradient, you just double-click on the graphic. The Linkback enabled program of your choice will then open and you will be able to EDIT that graphic fully. Make it larger smaller, change colors stroke whatever you want to do. When you SAVE that document, those changes are shown in Keynote so either of those could make a nice side app to use with Keynote.
    Finally, if you just want to open a program, draw some pictures then export to a Keynote .key file, EazyDraw can do that. It's a little different from the other programs and some of it's conventions may not be familiar, but once you've gotten the hang of where everything is, it's fine to work with. You can even create separate layers in EazyDraw and have each layer output as a separate slide.

  • Use Raphael Vector Graphics Library in Adobe AIR

    Have you used the Raphael Vector Graphics Javascript Library in Adobe AIR? What problems, pitfalls and challenges have you encountered?
    To the Adobe AIR Team: It would be tremendously helpful and will be much appreciated if you can create a sample Adobe AIR application using Raphael.
    ~Oscar

    Hi again jackson@mja.
    I've given your scroll component a try just for some static texts, and I've found quite a few important bugs:
    1. If the referenced sprite/movieclip is shorter than the scrolling area, it starts bouncing infinitely in a quite funny way,
        which renders the component unusable. Sometimes it even happens when the content is not shorter.
    2. If your component is used inside another sprite/movieclip which is added dynamically from code ("addChild(mySprite);"),
        it doesn't work and stops with an error, because the EventListener for mouseDownHandler is being added to this.stage
        in the constructor, but a dynamic movieclip doesn't have access to the stage while in the constructor step (unless it is
        already in the stage added in the Flash IDE, such as in your FLA example). To fix this, I've added the following code
        to the ScrollArea() constructor:
    this.addEventListener(Event.ADDED_TO_STAGE, init);
    this.addEventListener(Event.REMOVED_FROM_STAGE, close);
        And then I've added the following listener functions:
    private function init(event:Event):void {
    this.removeEventListener(Event.ADDED_TO_STAGE, init);
    this.stage.addEventListener(MouseEvent.MOUSE_DOWN, this.mouseDownHandler);
    private function close(event:Event):void {
    this.stage.removeEventListener(MouseEvent.MOUSE_DOWN, this.mouseDownHandler);
    3. Also, the scrollbar is only correctly rendered if the scroll area is located at the up and left corner of the stage. To put text somewhere else, the component must be put inside a movieclip.
    4. This is not really important, but I've found the following variables are never user and so I've removed these lines:
    var xy:Point = this.localToGlobal(new Point(this.x, this.y));
    var wh:Point = this.localToGlobal(new Point(this.width, this.height));
    var sign:int = sign(obj[i]);
    I hope this can help you improve your classes.
    Best regards,
    OMA2k

Maybe you are looking for

  • Sync contacts/calendar problem with 160gb classic

    I've been unable to successfully sync contacts and calendars with my Windows PC (running XP). I am using software version 1.1.1 and iTunes version 7.6.0.29. When I try and sync with my Outlook calendar, the iPod/iTunes appears to be syncing. When I d

  • Netscape 7.2 Mail "Unexpectedly Quits" after install of J2SE 5.0 Java

    My problem is with Mail & Newsgroups in Netscape 7.2 for Macintosh OS10 - Netscape quits at end of message download. Since "Software Update's" recent J2SE 5.0 Java update, which I installed a day or two ago, Netscape's Mail & Newsgroups has been comp

  • Ip igmp snooping querier on Nexus, what source IP address to use?

    Am looking at a problem with servers in the same vlan across multiple switches that are unable to communicate using multicast. I have found that in the systen I'm to set up I need to apply the ip igmp snooping querier command, in the vlan, but it nee

  • What product(s) should I use to replace Measure?

    Hello, I have a customer who has been using Measure in Excel to communicate with GPIB and possibly DAQ devices. He has been experiencing unstability with Measure and is interested in moving away to another product. Which product(s) would provide the

  • How to put an HTML file into JEditorPane

    Hi I am doing an aplication on swing.But I don't know how to add a html file to the JeditorPane keeping the html file on the source code. i.e my html file is in my source code.Then how to add this source code to Jeditor pane. Thanks Srikant