Help with Live Paint - filling in part of an image

I have imported a dfw image into illustrator. It's a black and white image of an object similar to the one below:
I want to paint the areas around the perimeter of the image black so that it looks like it has a large black outline (the areas that contain the X's). I've been able to do it on a few but some of the images, when I open them, the live paint selects only inner areas that I don't want painted. I can't figure out how to change the paths to the ones I want.
I import the image, select all, Object>Live Paiint>Make. Then I set the fill to black. In this example, there are 3 stripes on each pants leg and the only thing Live Paint will select is the outermost stripe. I've tried Object>LivePaint>Expand then reselect the Live Paint Buckeet and click the image when it says, "Click to make Live Paint Group" but nothing changesso that I can paint the desired areas.
I've checked the image closely to ensure there are no breaks in the paths and I've just spent the last 4 hours reading instructions and watching videos but no help. I'm braind new ti Illustrator and must be missing something bassic but don't know what. Any help would be appreciated. I'm stumped.

I should have posted this hours ago. As soon as I did I found the answer. For anyone else with this problem, Select the image then, before using the Live Paint Bucket, select Object>Flatten Transparacy. Then, when you select the live paint bucket, it will ask for you to set the paths and after you do, it'll work just fine.

Similar Messages

  • Help with Live Paint /CS2

    Hi everybody
    How do i fill a LivePaintGroup? I got the group, but the Bucket shows this black x, and nothing happens, no matter where i click. Also, i can't choose a swatch or your the color-toolbox to color (fill) it. Nothing happens.
    This might sound like a simple thing, and i sure didn't expect it to give me that much trouble, but i'm getting really p*ssed here, and before i start poking peoples eyes out with my wacom-pen, i thought i'd try this forum... ;-)
    Help! Pleeease!
    Cheers
    H.

    They can change the gap size Edit>Live Paint>Gap Options. That does not seem to be the problem.
    The only thing I can think of is that the layer is locked. But that would have a pencil symbol withe black line through it.

  • Live Paint - Selecting the Fills made with live paint

    hi
    A few questions about live paint.....
    1) How do you select the fills you make with live paint by color? so you can change their properties ie, transparency, color?
    2) How do you put the Live Painted Fills onto separate layers so you can turn them off/on easily and change their properties?
    thanks

    Expand the LivePaint object. Then ungroup as necessary for what you are trying to do.
    JET

  • Fill a part of an image

    Hi everybody,
    I'm a new french iPhone developer
    I'm searching since few days how to fill a part of an image for my iPhone application.
    I think that I must use the CGContext functions but I found not anything... I understood how make few operations on my UiImageView. But I draw an eclipse, a rect... but not a "zone"?
    I've an example for explain my idea :
    http://uploads.bodin-hullin.net/41be0528efcdf5170b0acd18ebe210f6.png
    The square is the UIImage.
    When I touch the #1 circle, this circle is filled with my color.
    When I touch the #2 circle, the same, with another color why not.
    Can you help me ?
    Thanks for all
    Message was edited by: jacquesbh

    Hi Jacques-
    again, this isn't the only approach, but here's something that could work.
    #1) Separate the individual shapes into individual images, white with black background. To make things easier, save in a format that does not have an alpha channel. (keeping each shape in its relative position within your bounds). I'd suggest trying a 50% gray for the lines and adjust later if needed. Just do this to a few images to try out the code.
    #2) In the code fragment I posted before, set "image" to one of those saved files. This should give you a colorized image, keeping the black background.
    #3) If you wish to remove the background, it's much more complex, but try the following:
    add a method like so:
    - (UIImage *)maskImg: (NSString *) filename
    CGColorRef fillColor = [UIColor yellowColor].CGColor; // Yellow for test
    CGImageRef baseImage = [[UIImage imageNamed:filename] CGImage];
    CGImageRef maskImage;
    CGContextRef context;
    CGColorSpaceRef colorSpace;
    colorSpace = CGColorSpaceCreateDeviceRGB();
    // create a bitmap graphics context the size of the image
    context = CGBitmapContextCreate (NULL, self.bounds.size.width, self.bounds.size.height, 8, 0, colorSpace, kCGImageAlphaPremultipliedLast);
    // free the rgb colorspace
    CGColorSpaceRelease(colorSpace);
    if (context==NULL)
    return NULL; // avoid errors
    CGContextDrawImage(context, self.bounds, baseImage);
    CGContextSetBlendMode (context, kCGBlendModeMultiply);
    CGContextSetFillColorWithColor(context, fillColor);
    CGContextFillRect(context, self.bounds);
    CGContextSetBlendMode (context, kCGBlendModeNormal);
    baseImage = CGBitmapContextCreateImage(context);
    //baseImage = [self remAlpha:baseImage]; //should work without this line and method if images don't have an alpha channel
    const float myMaskingColors[6] = { 0, 0, 0, 0, 0, 0 }; // can be a range, in this case we only want to mask out black
    maskImage = CGImageCreateWithMaskingColors (baseImage, myMaskingColors);
    CGContextRelease(context);
    UIImage *img = [UIImage imageWithCGImage:maskImage];
    //CGImageRelease(bitmap);
    CGImageRelease(maskImage);
    CGImageRelease(baseImage);
    // return the image
    return img;
    and then in the drawRect, you'd just do something like:
    UIImage *img = [self maskImg:@"test.jpg"]; //for testing
    [img drawInRect:rect];
    for your end purposes, you may want to add the color as another parameter of the maskImg method.... this stuff can be very tricky sometimes to setup... I know I experimented for hours getting no image, or a solid color block, etc... before perfecting this code.... hope this works for you..
    I don't think you need to call this method if your images don't have an alpha channel, but I'm including it just in case:
    -(CGImageRef)remAlpha:(CGImageRef)ref
    //CGImageRef ref=img.CGImage;
    int mWidth=CGImageGetWidth(ref);
    int mHeight=CGImageGetHeight(ref);
    int count=mWidthmHeight4;
    void *bufferdata=malloc(count);
    CGColorSpaceRef colorSpaceRef = CGColorSpaceCreateDeviceRGB();
    CGBitmapInfo bitmapInfo = kCGBitmapByteOrderDefault;
    CGColorRenderingIntent renderingIntent = kCGRenderingIntentDefault;
    CGContextRef cgctx = CGBitmapContextCreate (bufferdata,mWidth,mHeight, 8,mWidth*4, colorSpaceRef, kCGImageAlphaPremultipliedLast);
    CGRect rect = {0,0,mWidth,mHeight};
    CGContextDrawImage(cgctx, rect, ref);
    bufferdata = CGBitmapContextGetData (cgctx);
    CGDataProviderRef provider = CGDataProviderCreateWithData(NULL, bufferdata, mWidthmHeight4, NULL);
    CGImageRef savedimageref = CGImageCreate(mWidth,mHeight, 8, 32, mWidth*4, colorSpaceRef, bitmapInfo,provider , NULL, NO, renderingIntent);
    CFRelease(colorSpaceRef);
    return savedimageref;

  • Thin white line between line art and live paint fill?

    I am using live paint to paint cartoon character illustrations.  The artwork is brought into Illustrator CS3 and live traced.  Then I convert it to a live paint group and use the paint bucket to fill.  Everything looks fine no matter how much I zoom in.  If I bring the AI file into Photoshop CS6 I can see a thin white line between the black line art and the fill.  This is most noticeable where black meets black. I can also see this sometimes in file previews while browsing through files.  If the white line cannot be seen in Illustrator is the file ok?  I did just upgrade to CS6 if that would make a difference.
    Thank you for any help.    

    If the white line cannot be seen in Illustrator is the file ok?
    Without knowing specifics,nobody knows.
    "Okay" for what?
    If it looks okay to you in Illustrator, then it's okay for viewing in Illustrator.
    If the export of it does not look okay in Photoshop at 1:1 or higher zoom, then it's probably not okay for whatever you're going to do with that raster image.
    If it's printed to a low-res composite printer, then it may be okay, because the printer may not be able to resolve the whitish pixels.
    If it's printed for commercial (color-separated) reproduction, it may not be okay, depending on the scale at which it will be printed, and on other considerations partially described below.
    The autotrace routine does not build traps. Typically, when you color-fill cartoon line art manually, you don't make the shapes that define the fills merely "kiss" the black line work, as would the default treatments of a stupid autotrace. The black line work typically overprints the fills, thereby creating printing traps.
    Suppose a portion of your cartoon is a hand-drawn closed circle. The black line work is irregular; it varies in width, having been drawn with a marker or a brush. The circle is colored in with a medium green. There are no sloppy gaps in the original between the green and the black.
    You scan it and autotrace it. Unless you apply some deliberate care to make it do otherwise, the autotrace is going to create a compound path, filled with black, and with no stroke; and a green simple path which (hopefully) exactly "kisses" (abuts) the black path. Adobe's on-screen antialiasing of the edge where the two colors abut may or may not cause your monitor to display a faint whitish or grayish sliver between the two colors.
    Similarly, Photoshop's rasterization of it, or the rasterization of a raster export filter may do the same, and may actually result in some off-color pixels along the edge. (Your description of the scenario kinda raises the question of why you are auto-tracing something that you're then just going to rasterize in Photoshop anyway. Why do that? Why not just work with the scan in Photoshop?.)
    So let's leave Photoshop out of the picture and assume you are autotracing it because you want vector artwork. You zoom way in to see if the whitish sliver enlarges. It doesn't, so you assume it's just an aberation of Illustrator's on-screen antialising. And then someone tells you you're in the clear. But are you? Not so fast.
    Let's assume the artwork is destined for commercial (color-separated) printing. Further assume the color of the autotraced black is 100% K, and the color of the autotraced green is 100Y 50C. Three inks involved. None of those three inks are shared between the two objects. So even if the paths do, in fact, perfectly abut, there is no "wiggle room" built in for the minor alignment shifts that almost aways do occur on press.
    Bottom line: Even if you do determine that the common antialiasing aberations that frequently occur on-screen in Adobe apps is just that—just an onscreen aberation, that does not necessarily mean your file is suitable for commercial color-separated reproduction.
    First, you need to understand that autotracing is not the one-click, instant "conversion" of a raster image to vector artwork that far too many think it to be. Just like everything else, you don't just launch a program like Illustrator, start autotracing things willy-nilly without understanding what's really going on. Just like anyting else, you can use an autotrace feature intelligently or...well...not.
    You have options. Illustrator provides an auto-trapping feature. Read up on it in the documentation so you understand what it's all about. Alternatively, you can expand the results of your autotrace, select all the black linework and apply a composite color that includes 100% K and reasonable percentages of C, M, and Y (a so-called "rich black"). Or,depending on the artwork and the desired results, you may consider doing the autotrace as centerlines so you have stroked paths, not just filled paths for the linework. That way, using the flood fill (so called LivePaint) will cause the auto-created fill objects to extend to the paths, not just to the edges of their strokes. Then set the linework to overprint.
    At any rate, if you are doing this professionally, you need to read up on the principles and practices of trapping and color separation.
    JET

  • How do you keep selected colors with Live Paint Bucket?

    I am always having to re-select the colors for fill and stroke each time I use the Paint Bucket.  This is tedious. There must be a way to keep the selection...

    Not sure what the "Live Paint Bucket" is, but if you are working in Premiere's Titler, and have constant Stroke and Fills, you can easily create and Save a Style, so that the colors and attributes will be constant, Title through Title. The Style will even set your font, and its size, for reuse.
    Another method would be to Save the Title, and use it in multiple Projects, just changing the Text, as is required.
    Now, if you are talking about something else, please point me in the correct direction.
    Good luck,
    Hunt

  • Help with Live View - Links Not Working

    Hello,
    I am having a problem with Live View.  It had been working just fine, until recently.  Now, when I load a site stored locally, the page looks normal and links highlight when I cursor over them, but when I click them no navigation takes place.  I just remain on the index page.  The site does test fine in IE8, Chrome, Firefox and used to test fine in Live View.  The same happens with all my sites.  No changes have been made to my system.  Maybe I changed a setting unknowingly?  Is there some type of setting that I am missing perhaps?  Any help would be appreciated.
    Jason

    Did you close and restart DW to see if that helps?
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Raster to Vector help with Live Trace

    Hello All,
    When I convert a raster to vector with Live Trace the result is great but I want to reduce the number of points so I get less layers when I import it into Painter. Can anyone advise on how to do this?
    Rayne

    Jacob Bugge wrote:
    I know nothing about Painter. Is it from the same company as is Worst?
    Jacob...
    Shame! I would have thought that, at the very least,  you knew that Painter existed! Oh! Woe is the world, woe is the world!!

  • I need help with digital painting

    I have a sketch that I want to add color to but it always turns out flat-looking (if that makes sense). I can't seem to find any good tutorials online on digital painting. Can anyone give me good tips? This is the sketch.

    Chrishonda, I may be missing something but . . Can I say painting in digital is very much like painting in canvas. Have you approached it as putting down some light base color in front of the face, say right cheek there. Brush darker as you move away from the cheek bone toward the temple. less dark as you move toward the nose. Then go back the the cheek bone and put down some lighter tone, right where the light would be reflecting off the cheek bone high spot. In PShop, set your brush options to "Fade" in x pixels, try 25 or maybe 100, depending on size and resolution.
    You might check out a post or 'how to' on 'painting on layers with 50 gray fill'.
    and have fun .

  • Help with backing up files and opening from disk image.

    I am trying to back up my hard drive so that I can send my PowerBook in for repair. I used disk utility from my Panther install discs to create a disk image of my HD.
    The disk image was created successfully and mounts perfectly on my HD. I can open it and open all of my files from the disk image just fine when it is mounted on my PowerBook.
    However, when I take it to a different Mac, things start getting sketchy. I can open Word files just fine, but Excel files claim they are read-only and cannot open. I checked the permission back on my PowerBook to see what was up, and the files were read/write for the owner and read-only for groups and others, but they should still open as read-only files right? I even checked the permissions on the Word files to see if there was a difference, but there was no difference.
    I can take the external HD back to my PowerBook, remount it, and open everything fine, but then on the other Mac it is a no go.
    I need to back this up for when it is out on repair, but I need to know that the files will open in case I need to restore my disk.
    Can anyone help??
    BTW, I couldn't find the best forum to post this in, if there is a better one please direct me there...

    solution:
    I went into the Apple Store nearby today to send my PowerBook off for repair for a screen issue, and in the process got help with my backing up issue.
    It seems all one needs to do is copy the file from the external hard drive to the internal drive.
    It was that simple.
    Jason

  • Can you help with Tcode to fill this SETUP table? not working for me.

    Hi,
    For the datasource 2LIS_11_VASCL (SD Sales: Schedule Line Item), I need to fill the Setup Tables via OLI*BW
    I understand the * to be the application number, which in this case it is 11 but I get a message that OLI11BW does not exist.
    1. Can you  help me with the tcode to fill the setup table for 2LIS_11_VASCL?
    2. Since there are several datasources with the same application number 11, how do I fill only 2LIS_11_VASCL without filling the others:
    2LIS_11_VAHDR                     Sales Document Header Data
    2LIS_11_VAITM                     Sales Document Item Data
    2LIS_11_VAKON                     Sales Document Condition
    2LIS_11_VASCL                     Sales Document Schedule Line
    2LIS_11_VASTH                     Sales Document Header Status
    2LIS_11_VASTI                     Sales Document Item Status
    2LIS_11_V_ITM                     Sales-Shipping Allocation Item Data
    2LIS_11_V_SCL                     Sales-Shipping Allocation Schedule Line
    2LIS_11_V_SSL                     Sales Document Order Delivery
    Thanks

    Ok,
    I tried that and it basically bring you to OLI7BW as suggested above.
    1. At this point, how do you know which of these it is actually filling:
    2LIS_11_VAHDR Sales Document Header Data
    2LIS_11_VAITM Sales Document Item Data
    2LIS_11_VAKON Sales Document Condition
    2LIS_11_VASCL Sales Document Schedule Line
    2LIS_11_VASTH Sales Document Header Status
    2LIS_11_VASTI Sales Document Item Status
    2LIS_11_V_ITM Sales-Shipping Allocation Item Data
    2LIS_11_V_SCL Sales-Shipping Allocation Schedule Line
    2LIS_11_V_SSL Sales Document Order Delivery
    2. Also, what does it mean when after running OLI7BW wide, with no restriction on my system, still rsa3 shows no records for 2LIS_11_V_SCL?
    Any other way to confirm that there may not be any data in 2LIS_11_V_SCL?
    Or any way, to make an entry which reflect in 2LIS_11_V_SCL so that I can verify if OLI7BW actually fills the setup table?
    Thanks

  • Help with a Paint Program if you'd be kind

    Hi, I am making a simple paint package...like simple Paint in Windows, I am trying to change the colour of the scribble line, so I have a button to click and then it scribbles on my panel in a different colour....i.e changing from Black to Red.
    I'm new to all this, so I'm not getting that far, but I know a little...
    I have the following code......
    (this is in a seperate panel.java file
    public void lineTo2(int x, int y) {
    Graphics2D g2 = currImage.createGraphics();
    line.setLine(lastX, lastY, x, y);
    g2.setPaint(Color.black);
    g2.setStroke(stroke);
    g2.draw(line);
    moveTo(x,y);
    g2.dispose();
    repaint();
    and then in my other .java file I have the following to use the buttons.......
    public void actionPerformed(ActionEvent event) {
    Object source = event.getSource();
    if (source == undoButton)
    myDrawing.undo();
    else if (source == exitButton)
    System.exit(0);
    else if (source == exitItem)
    System.exit(0);
    else if (source == redButton)
    repaint();
    ....so I don't quite know what method to use with the Red Button so that it only changes to red when I click that button?
    Any help would be great, and I'm sorry if my terminology is not that of an experienced programmer!
    Many Thanks
    Jon(UK)

    Have a member variable containing the current drawing colour. You then just need to change that when the button is pressed:
    private Color paintColor = Color.black; // Initial colour
    public void lineTo2(...)
      g2.setPaint(paintColor);
    public void actionPerformed(...)
      else if(source == redButton)
        paintColor = Color.red;
      else if(source == blackButton)
        paintColor = Color.black;
    }Hope this helps.

  • Help with live view new camera options...

    Hey guys...I have recently bought a hahnel remote shutter release so that I can take pics on the top of a mast around seven metres up.
    I have a 5 inch monitor at ground level to view the pictures taken, using an av cable from the camera. Problem is, I cant get a continuous "live view" image on the monitor, as you need to hold down the * button whilst in live view to auto focus, so I have to put up with just the shot thats been taken showing up after each shot instead!
    Does anyone know of a canon that would offer a continuous live view image on my monitor, without having to press the * button to auto focus?
    Ideally it would be one from the list below, as they are the cameras that my new hahnel wireless remote supports!
    I hope someone can help! cheers!
    List of supported cameras...would any of these offer live view without the need to press * to autofocus and take a shot:
    Compatible Camera Models:
    EOS 1200D / 1100D / 1000D / 650D / 600D / 550D /500D / 450D / 400D / 350D / 300D /
    70D / 60D / 50D / 40D / 30D / 20D / 20Ds /
    10D / 7D / 6D / 5D / 5D Mark II / 5D Mark III
    1D / 1DX / 1DC / 1Ds Mark III / 1Ds Mark IV
    SX50HS
    Powershot G10 / G11 / G12 / G15 / G1X Mk II
    Pentax Pentax K-5 II / K-5 IIs / K-5 / K-7 / K10 / K20 / K50 / K100 /
    K200 / K500
    Samsung GX10 / GX20

    What camera are you using?  Most "modern" Canon SLRs allow you to set focus during live view.   You move a little rectangle around to select your focus area.   But you need more than a monitor, you'd either need a computer (like a small netbook) running EOS Utility, or a tablet with DSLR Remote or equivilent on it.  The 70D and 6D both have WiFi ability, so you can do it from a smart phone, tablet, or computer, no wires needed.

  • Please, help with Live Audio/Video example from jmf solutions

    Hello,
    I�m desperate looking for a solution for a particular problem.
    I�m trying to feed JMF with an AudioInputStream generated via Java Sound, so that I can send it via RTP. The problem is that I don�t know how to properly create a DataSource from an InputStream. I know the example Live Audio/Video Data from the jmf solutions focuses on something similar.
    The problem is that I don�t know exactly how it works, os, the question is, how can I modify that example in order to use it and try to create a proper DataSource from the AudioInputStream, and then try to send it via RTP?
    I think that I manage to create a DataSource and pass it to the class AVTransmit2 from the jmf examples, and from that DataSource create a processor, which creates successfully, and then find a corresponding format and try to send it, but when i try to send it or play it I get garbage sound, so I�m not really sure whether I create the DataSource correctly or not, as I�ve made some changes on the Live Audio/Video Data from the jmf solutions to construct a livestream from the audioinputstream. Actually, I don�t understand where in the code does it construct the DataSource from the livestream, from an inputStream, because there�s not constructor like this DataSource(InputStream) neither nothing similar.
    Please help me as I�m getting very stuck with this, I would really appreciate your help,
    thanks for your time, bye.

    import javax.media.*;
    import javax.media.format.*;
    import javax.media.protocol.*;
    import java.io.IOException;
    import javax.sound.sampled.AudioInputStream;
    public class LiveAudioStream implements PushBufferStream, Runnable {
        protected ContentDescriptor cd = new ContentDescriptor(ContentDescriptor.RAW);
        protected int maxDataLength;
        protected int vez = 0;
        protected AudioInputStream data;
        public AudioInputStream audioStream;
        protected byte[] audioBuffer;
        protected javax.media.format.AudioFormat audioFormat;
        protected boolean started;
        protected Thread thread;
        protected float frameRate = 20f;
        protected BufferTransferHandler transferHandler;
        protected Control [] controls = new Control[0];
        public LiveAudioStream(byte[] audioBuf) {
             audioBuffer = audioBuf;
                      audioFormat = new AudioFormat(AudioFormat.ULAW,
                          8000.0,
                          8,
                          1,
                          Format.NOT_SPECIFIED,
                          AudioFormat.SIGNED,
                          8,
                          Format.NOT_SPECIFIED,
                          Format.byteArray);
                      maxDataLength = 40764;
                      thread = new Thread(this);
         * SourceStream
        public ContentDescriptor getContentDescriptor() {
         return cd;
        public long getContentLength() {
         return LENGTH_UNKNOWN;
        public boolean endOfStream() {
         return false;
         * PushBufferStream
        int seqNo = 0;
        double freq = 2.0;
        public Format getFormat() {
             return audioFormat;
        public void read(Buffer buffer) throws IOException {
         synchronized (this) {
             Object outdata = buffer.getData();
             if (outdata == null || !(outdata.getClass() == Format.byteArray) ||
              ((byte[])outdata).length < maxDataLength) {
              outdata = new byte[maxDataLength];
              buffer.setData(audioBuffer);          
              buffer.setFormat( audioFormat );
              buffer.setTimeStamp( 1000000000 / 8 );
             buffer.setSequenceNumber( seqNo );
             buffer.setLength(maxDataLength);
             buffer.setFlags(0);
             buffer.setHeader( null );
             seqNo++;
        public void setTransferHandler(BufferTransferHandler transferHandler) {
         synchronized (this) {
             this.transferHandler = transferHandler;
             notifyAll();
        void start(boolean started) {
         synchronized ( this ) {
             this.started = started;
             if (started && !thread.isAlive()) {
              thread = new Thread(this);
              thread.start();
             notifyAll();
         * Runnable
        public void run() {
         while (started) {
             synchronized (this) {
              while (transferHandler == null && started) {
                  try {
                   wait(1000);
                  } catch (InterruptedException ie) {
              } // while
             if (started && transferHandler != null) {
              transferHandler.transferData(this);
              try {
                  Thread.currentThread().sleep( 10 );
              } catch (InterruptedException ise) {
         } // while (started)
        } // run
        // Controls
        public Object [] getControls() {
         return controls;
        public Object getControl(String controlType) {
           try {
              Class  cls = Class.forName(controlType);
              Object cs[] = getControls();
              for (int i = 0; i < cs.length; i++) {
                 if (cls.isInstance(cs))
    return cs[i];
    return null;
    } catch (Exception e) {   // no such controlType or such control
    return null;
    and the other one, the DataSource,
    import javax.media.Time;
    import javax.media.protocol.*;
    import java.io.IOException;
    import java.io.InputStream;
    import javax.sound.sampled.AudioInputStream;
    public class CustomDataSource extends PushBufferDataSource {
        protected Object [] controls = new Object[0];
        protected boolean started = false;
        protected String contentType = "raw";
        protected boolean connected = false;
        protected Time duration = DURATION_UNKNOWN;
        protected LiveAudioStream [] streams = null;
        protected LiveAudioStream stream = null;
        public CustomDataSource(LiveAudioStream ls) {
             streams = new LiveAudioStream[1];
             stream = streams[0]= ls;
        public String getContentType() {
         if (!connected){
                System.err.println("Error: DataSource not connected");
                return null;
         return contentType;
        public byte[] getData() {
             return stream.audioBuffer;
        public void connect() throws IOException {
          if (connected)
                return;
          connected = true;
        public void disconnect() {
         try {
                if (started)
                    stop();
            } catch (IOException e) {}
         connected = false;
        public void start() throws IOException {
         // we need to throw error if connect() has not been called
            if (!connected)
                throw new java.lang.Error("DataSource must be connected before it can be started");
            if (started)
                return;
         started = true;
         stream.start(true);
        public void stop() throws IOException {
         if ((!connected) || (!started))
             return;
         started = false;
         stream.start(false);
        public Object [] getControls() {
         return controls;
        public Object getControl(String controlType) {
           try {
              Class  cls = Class.forName(controlType);
              Object cs[] = getControls();
              for (int i = 0; i < cs.length; i++) {
                 if (cls.isInstance(cs))
    return cs[i];
    return null;
    } catch (Exception e) {   // no such controlType or such control
    return null;
    public Time getDuration() {
         return duration;
    public PushBufferStream [] getStreams() {
         return streams;
    hope this helps

  • Help with live type in fce

    hi, I created a title and intro in live type for fce. In live type the quality is excellent. when opened & viewed in fce in the viewer the quality is also excellent. but when the text is then placed on the timeline the quality of the text is seriously degraded. It is very jagged, rough and pixelated. I am stumped and have been fighting this for days. any help would be great. I am new to the program. The project properties for my live type document are:
    apple intermediate codec 1080i60
    width-1920px 26.67inches at 72.0 dpi
    height-1080px 11.25 inches at 96.0 dpi
    frame rate-29.97 fps
    field dominance - none
    pixel aspect - 1.00
    start time-0:00:00;00
    time format - smpte drop
    quality - all 3 are set to normal
    The project properties for FCE are:
    apple intermediate codec 1080i60
    frame rate-29.97fps
    frame size - 1920x1080
    pixel aspect - square
    field dominance - none
    alpha - none
    composite - normal
    I have tried every other combo with the live type set up and nothing works. Does any one have a fix for this? thanks
    tyler

    In LiveType / Edit / Project Properties (command+0) / Presets HDV 1080i60...
    In Final Cut Express / Easy Setup (control-Q) HDV-Apple Intermediate Codec 1080i60...
    Import the LiveType project file directly into Final Cut Express...
    Regards
    Nolan

Maybe you are looking for

  • IPod Touch 4th Generation wont sync with iTunes on Windows 7

    Ok. I am going to make this quick. I just bought a new ipod off amazon from Apple. its a 35Gb 4th Generation ipod touch. I am able to sync my itunes library sometimes. Only SOMETIMES. I have about 1200 song on it now. But evertime i plug my ipod into

  • Unable to install downloaded additional content in Windows 8

    I am trying to install additional content for Premiere Elements 10 running Windows 8.  I downloaded the additional content and when I extract the file, the Installwizard pops up and says; the installwizard will allow you to 'remove' Premiere Elements

  • Safari 4.0.5 unexpectedly quits

    Hi folks, My profuse apologies to all for treading this well trodden path of Safari quitting, but I really can't put my finger on why it's happening. I can open and use Safari with no problems but just now and again the app quits. I have repaired dis

  • Display HTML Tags on web browser

    My problem is display Html code in web browser. i try TextArea.htmlText, Label.htmlText... but they don't work... i'm searching in google.com and i know Html Component can do that, but it not well because i don't have money for that. Some body help m

  • D2G Gingerbread Update - Touchscreen Issue

    Hi all.  Ever since the 4.3.3 update, there is a portion of my touchscreen about 1/4" wide that won't respond.  With the phone upright it's on the right side, with the keyboard extended it's at the top. It's driving me nuts, because I can't tap icons