Vector Fill

Hi,
I have simply Illustrator file: rectancle with vector fill
"circle" (I make circle and drop to Swatches -
here is AI CS3 file).
Now I need it import to the Flash, but with vector pattern. After
import (SWF, AI, PDF...) to the Flash I have rectancle with raster
circles. Is possible vector fill (not masking) in Flash CS3 or
where is mystake. Plese, coul'd you help me step-by step?
Thanks
Grigi

Nobody ??

Similar Messages

  • Vanishing vector fills... I'm stumped. HELP!

    When creating PDF documents from any software (Illustrator, Corel, InDesign, etc), vector objects with a fill other than white, that are over 50% of the page size, have white fill in Acrobat 9 Professional.  If object has an outline, the outline will appear normally, but the fill will be white.
    I've searched to the furthest reaches of the internet and found no answer. Most forum topics on similar issues focus on the program that exported the PDF. I am 100% sure this is not an export problem, but is something in Acrobat itself (a missed setting? Corrupt program file?)  
    To provide the best information, I've done a little scientific research. Here is what I know:
    Working in WIndows Vista 64bit
    Currently running Acrobat Pro 9.5.5
    This is only happening on ONE install of Acrobat 9. Documents display correctly in Reader X and in Acrobat 9 on other machines.
    Started happening a few months ago.
    "Show Large Images" in preferences dialog is checked. Unchecking it and rechecking it does nothing. This is the most common "solution" offered on internet forums.
    Have installed all available updates to the software
    I experimented with different object sizes. At 50% of page size, vector objects appear normal, at 51% vector object fills disappear.
    Does not affect bitmap images, only affects vector objects.
    Things I've tried to solve this:
    repair the install.
    uninstall and reinstall
    check "show large images" in preferences... over and over
    cuss at the computer
    throw a tantrum.
    I welcome all ideas to fix this.

    I've tried several ways, several settings, and from different programs until I realized the problem isn't with the file.
    I generally work from CorelDraw X5 and export to PDF. But that isn't the issue in the least, as I stated above. I am 100% sure that it has nothing to do with export or what program I am using to export... here's why:
    PDFs look fine on other computers with the same version of Acrobat. They look fine in Reader. They problem is only in one install of Acrobat. I've identified that the problem happens when a colored vector image takes up more than 50% of the page space. Under 50% it appears fine, over 50% the fill becomes white (not transparent, but white).

  • IN: int a, int b; OUT:Vector filled with numbers ranging from a to b

    Hello,
    is there any method to fill in a vector with numbers ranging from a value "a" to value "b"? Of course it can be done using a for-loop, but I was wondering if there is not a simpler way to do it. Thanks for your advices.
    Example:
    INTPUT:
    int a = 4;
    int b = 9;
    Vector seq = new Vector();
    seq.setSize(b-a);
    OUTPUT:
    pseudocode: seq = {4,5,6,7,8,9};

    Darryl.Burke wrote:
    Hmmm.. what happens when the other methods of AbstractList are invoked on an instance of IntRangeList? Wouldn't you need to override pretty nearly all the methods for consistency? And some methods, like remove and set, would have to throw a UnsupportedOperationException.If you read the API documentation of AbstractList then you could find out that you could implement a fully functional, fully compliant (unmodifiable) List implementation by just providing size() and get(int). All other accessor methods (including subList() and iterator()) will be using those two methods and fully work.
    Writing a loop to populate a simple ArrayList would be trivial by comparison :-)Indeed, but if it's needed often and with big ranges, then there's no loss in using this implementation.
    db
    edit In fact, extending AbstractList appears irrelevant as none of the features of AbstractList are used. The IntRangeList, in fact, is-NOT-a AbstractList but just fakes it in respect of the 2 methods overridden in your code sample.What? All the features are used. Read the API doc. If I handn't extended AbstractList, but instead implemented List directly, then I'd have to implement all the methods myself (including an Iterator, which, while trivial in this case, can be non-fun to implement correctly).

  • Joining two paths: fill problems

    Hello,
    I am having the following problem: I have a path entailing a simple closed curve
    but when I try to fill the color won't extend to the whole area. To reproduce the
    problem:
    1. With the Ellipse Tool draw a circle.
    2. In the Paths panel click Add Points twice to add points to the circle.
    3. In the Paths panel click Knife On Points to yield individual segments.
    4. Here we create two paths by leaving out two nonadjacent segments.
      4a. Shift click four segments and then in the Path Panel click Join Paths to piece them together.
      4b. Shift click four other segments and then in the Path Panel tool click Join Paths to piece them together.
      4c. Delete the nonadjacent segments from the paths list under the given layer.
    5. Ctrl-Shift click two of the endpoints in one of the two segments and click Join Points in the Paths panel.
    6.Try to fill the area. The fill color won't extend.
    What am I doing wrong? Or is this a bug? How do I work around this problem?
    Thanks,
    John Goche
    Fireworks CS4 on Windows 7.

    Hi John,
    Thank you for your replies, I found them helpful, although I still think
    the options 1 and 2 come down to a bit of buggy code which hopefully
    will be fixed in the following releases unless someone can explain why
    it behaves that way, perhaps I am missing something about paths and fills.
    I wouldn't say there's anything buggy going on, but the way you are building a vector object is definitely not typical and reveals some awkward/confusing behavior. The important thing to understand is that:
    1. A fill is rendered from a contour, which is a series of connected points
    2. A standard "Path" has a single contour, for example an ellipse
    3. A "Compound Path" has multiple contours, and it renders each contour like a filled path, and adds/subtracts from the final result based on overlapping areas per a vector "fill rule" (which can be toggled in the Path panel) -- this is just like Illustrator and other vector environments
    4. Join Paths' behavior when points are not selected is to create a compound path from multiple existing paths -- ie if you have two paths, both with 1 contour, then you end up with a compound path with 2 contours -- NOT a path with a single merged/stitched together contour. (Conversely, Split Paths will separate each contour of a compound path into its own path.)
    5. Like Anita said, Union Paths will actually merge paths, though it's not so much looking at points and merging points as it's looking at fills and merging overlapping areas, creating/deleting points as needed
    So basically, you have to remember that if you want a continuous fill from multiple paths you are about to join, you have to make sure the points are actually connected in your final result. It's not enough to simply have 2 points that are close or even directly on each other then perform "Join Paths". Fortunately there are lots of ways to merge points to create a continous contour:
    1. Select 2 endpoints with the Subselect tool and this will tell Join Paths to merge them if they are on top of each other, or connect them -- in both cases you end up with a continous contour which will be filled
    2. Select an endpoint and drag it over another endpoint and release -- FW will snap them together and merge them
    3. Select 2 endpoints or multiple adjacent points and use Weld Points in the Path panel
    Applying all that to the situation of creating a symmetrical vector (which I do a fair amount myself), you could:
    1. Draw your first half
    2. Duplicate or clone and mirror
    3. Position the mirrored clone where you want it
    4. Select the endpoints you want connected and use Weld Points or Join Points
    You'll end up with a fully filled shape.
    That turned out pretty long-winded but hopefully it clears some things up!
    Cheers.
    Aaron Beall
    http://fireworks.abeall.com

  • Illustrator saving vectors with different attributes than assigned prior to saving

    I am having a problem whenever I save a document in Illustrator.
    Near the edges of the page, I am placing a few rectangular vectors filled in only with black.
    When I save the image as a .pdf, two of these get changed.
    One on top, and one on bottom, at the exact same x placement.
    Prior to saving, they are all completely identical with the same attributes.
    I even deleted the old ones, replaced them with new ones, which I copied from other marks that were not messing up, and saved the .ai file as a .pdf again, but to no avail.
    Please help as I have no idea what to do to fix this.
    I have tried unchecking save as an illustrator editable file, save with layers, etc.
    Any advice would be greatly appreciated.

    BeeHiver wrote:
    Well, I believe that it is simply the way that adobe was displaying it, because if I zoom in on the .pdf file, the added thickness disappears.
    The same thing happens when I have the letter I in text, not sure why this happens, but I no longer think it is an issue.
    That letter 'l' looking thicker is a known issue with a PDF file... as you've noticed, it clears up when you zoom in and also, it doesn't print like that...

  • Working with big vectors

    My program works with a large vector of objects.
    The problem is that the vector is to big to be stored in memory.
    Is there any utility that will store the whole vector in a file
    and seamlessly cache parts of it to memory ?
    Thanks.

    It seems I will have to build my own file mapping.
    Since all my objects have the same size (e.g. all
    Integers or String),
    what is the best and fast way to read a specific
    object (e.g. vector[200]) ? Also, what is the fast way
    to read a bulk of objects (e.g. vector[200-300]) ?If your are dealing with integers or Strings I don't think you should go for a Vector filled with objects solution. You can minimize the memory requirements quite a bit if you use arrays.
    Integers. Why not use an int array? Each int takes up 4 bytes in memory but an Integer Object adds an overhead of maybe 16 byte. If you use int's your memory need shrinks to a fifth.
    Strings. A char takes 2 bytes. Maybe you can store a String as a byte array instead, thus saving 1 byte per char. The memory need shrinks to a half. It would be even more efficient if you just dumped all strings in one large byte array (with a null byte terminating each string). In addition you would need a second array with the start positions to the strings.
    These are the densest in memory data structures you can get. If you still have too much data you will have to go for files. The in memory solutions I've suggested can be directly used with files (just substitute array with file).

  • Static fields in serialized Vector objects

    just a curious question:
    If I have a Vector filled with Objects of all the same type, and the Object contains a static field, and I then Serialize the Vector, will it still give better performance than if the field wasn't static? Thanks,
    Max

    nevermind - found out the hard way that static fields won't get Serialized

  • How do I pull object information out of a vector.

    I started in VB, and am now developing with java, so I'm finding small trip-ups which are to be expected.
    Anyways, I'm trying to get an object element from an object in a vector.
    I tried this, but it wouldn't return the "Name" query method:
    System.out.println(myvector.get(0).Name.toString);
    The object is a "Product" which I made the class for and everything. I even tried using typecast with no avail:
    System.out.println((Product)myvector.get(0).Name.toString);
    This is prolly one of the most basic things, yet I've found nothing on object attribute retrieval from a vector on google and wikipedia for that matter.

    Yea, it is..sorry
    The Product class looks like this:
    public class Product
    private int mProductID;
    private String mName;
    private double mPrice;
    private int mQuantity;
    // Update Methods
    public void ProdID(int id) {mProductID = id}
    public void Quantity " "
    etc
    etc
    // Query methods
    public int ProdID() {return this.mProductID;}
    etc
    etc
    Basically, I want a function in my main class to accept a Vector filled with product objects and calculate a sum of all the products and return a double type value.
    I'm fine with manipulating the vector, I just don't know how to state the function.
    Message was edited by:
    zensunni

  • Transparent vector printing

    Hi, I have issue with print transparent vector fill with prinJob. If I print transparent png, everything works,but when I have transparent fill in vector graphics, everything behind it is not printed, but grey area (color without transparency) is printed instead. I try to print it via PDF printer to PDF first and then print PDF itself, but I have same problem. I've tested it with different printers, no printer prints transparent vector fill correctly so it seems it's Flash problem. Do you have any advice or workaround? Thank you

    If you can isolate the problem,
    try to draw your vector fill content into a bmpdata object and add it manually to the printjob.
    Similar to the way its described here: http://www.pressingquestion.com/3535910/Air-Printjob---Print-Transparent-Png-And-Text-In-V ector

  • Sql connection closed after vector remove?

    hi,
    i got a vector filled with sql connections. when i remove one does it automatically mean that the connection will be physically closed? or is this all a matter of the garbage collection?
    thanx.

    i am using a connection pool which holds the connections in a vector. once in a while a thread starts to reap the unused connections when the pool is larger than max size. this was only implemented by removing the connection from the vector. so i was wondering if this is enough. i also think it's better to take care and close the connecetion properly. i am just curious if the connection would be closed anyway by removing them.

  • An old web designer who's confused...

    Hi all,
    I'm a long-time web and graphic designer, having started when
    Flash was in version 2 and Dreamweaver wasn't even thought
    possible. Pixel spacers and nested tables were (and actually, still
    are!) my basic method of site build.
    Now that I've installed CS4, my world's a bit upside-down...
    no more ImageReady, and everything is CSS based. I know CSS is now
    a necessity (I understand the text styling side of it)... but as
    for layouts...
    Can someone confirm this process for me? I believe now things
    go:
    1. design website in Photoshop, present to client as single
    image
    2. take design into Fireworks and create slices (as per
    ImageReady) and ALSO set up CSS
    3. take HTML file and... do something with it in Dreamweaver.
    So what is Dreamweaver used for now? Can Fireworks be used to
    CSS code the entire site? At what point in the process do you set
    up the overall site structure (traditionally I just work with
    single pages)?
    This is one of the toughest transitions I've gone through in
    my career. I suppose I want to get the basics right before I throw
    myself into the tutorials.
    Many thanks!

    joeyscc wrote:
    > I read somewhere yesterday online off the adobe site
    about saving in PSD but it
    > has limitations and somethings are sacrificed. Trying to
    think what they were
    > now and where I saw this...but think it was for the
    previous version. If the
    > CS4 version now has this ability to save a "true" psd
    without "any" limitations
    > and allowing others to open the file in their photoshop
    or ImageReady, then
    > that is a good thing. So is this the case now with CS4
    FW?
    >
    Things are much improved in CS4, however - for example -
    symbols and
    grouped objects will be flattened when you save as PSD -
    simply because
    PS can't understand the assets. You would have to ungroup
    groups to keep
    the elements editable, and break apart symbols. Likewise, PS
    has no
    comparable feature to Pages, so you will need to export each
    page as a
    separate PSD file.
    Vector shapes, vector and bitmap masks, and text are all
    editible within
    PS (CS3 and CS4). Certain vector fills and blend modes and
    some styles
    will not transfer over to PS either, because the effect
    doesn't exist in PS.
    Remember these two applications are not the same. If they
    were, there
    wouldn't be a need for both, so certain things - at this
    point anyway -
    just won't translate going from FW to PS. For what it's
    worth, IMO that
    is a problem on the PS side, not FW. PS still cannot open an
    FW PNG file
    without flattening the entire document. The FW engineers have
    worked
    VERY hard to improve integration when importing PSD's into
    FW, however.
    Many updates have been made to ensure that a PSD design
    opened in FW
    looks much as it does in PS.
    I have no idea how the file will be handled in IR.
    HTH
    Jim Babbage - .:Community MX:. & .:Adobe Community
    Expert:.
    http://www.communityMX.com/
    CommunityMX - Free Resources:
    http://www.communitymx.com/free.cfm
    .:Adobe Community Expert for Fireworks:.
    Adobe Community Expert
    http://tinyurl.com/2a7dyp
    .:Author:.
    Lynda.com -
    http://movielibrary.lynda.com/authors/author/?aid=188
    Peachpit Press -
    http://www.peachpit.com/authors/bio.aspx?a=d98ed798-5ef0-45a8-a70d-4b35fa14c9a4
    Layers Magazine -
    http://www.layersmagazine.com/author/jim-babbage

  • Getting memory leak in OCCI

    these are the chunks from the file I made through valgrind a memory check software.
    these are the kind of leak or error you could say; that were reported by the software or a library to check memory leaks if u want i could send you the whole file please help
    ==22982== Memcheck, a memory error detector for x86-linux.
    ==22982== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al.
    ==22982== Using valgrind-2.2.0, a program supervision framework for x86-linux.
    ==22982== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.
    ==22982== For more details, rerun with: -v
    ==22982==
    ==22982== Syscall param times(buf) contains unaddressable byte(s)
    ==22982== at 0x1E4522: times (in /lib/tls/libc-2.3.4.so)
    ==22982== by 0x1BF22146: kghinp (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== by 0x1BB6FBA6: kpuinit0 (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== by 0x1BB6EED9: kpuenvcr (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== Address 0x0 is not stack'd, malloc'd or (recently) free'd
    ==22982==
    ==22982== Invalid read of size 16
    ==22982== at 0x1C8E9B18: (within /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libnnz10.so)
    ==22982== Address 0x1CA35F60 is 112 bytes inside a block of size 127 alloc'd
    ==22982== at 0x1B904984: malloc (vg_replace_malloc.c:131)
    ==22982== by 0x1BE1E6B5: nlpainzert (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== by 0x1BE1D3B7: nlpaparse (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== by 0x1BE1E513: nlpardfile (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982==
    ==22982== Use of uninitialised value of size 16
    ==22982== at 0x1C8E988E: (within /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libnnz10.so)
    ==22982== by 0x1BDC2593: ztchn (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== by 0x1BDC24C1: ztch (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== by 0x1BDC57D5: ztcrsgstk (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982==
    ==22982== Use of uninitialised value of size 4
    ==22982== at 0x1BD79DA0: ztced_einit (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== by 0x1BD79EC5: ztcedgks (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== by 0x1BD79497: ztcedi (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== by 0x1BD785F7: ztcebi (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982==
    ==22982== Conditional jump or move depends on uninitialised value(s)
    ==22982== at 0x1C83BE39: CMP_OctetStringToCMPInt (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libnnz10.so)
    ==22982== by 0x1C82E155: Alg_ComputeModQ_GHash (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libnnz10.so)
    ==22982== by 0x1C837582: A_X931RandomGenerateBytes (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libnnz10.so)
    ==22982== by 0x1BDC4DF9: ztcr2rnd (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982==
    ==22982== Conditional jump or move depends on uninitialised value(s)
    ==22982== at 0x1BEE0BDF: kzsrepw (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== by 0x1BBB38B5: kpu8lgn (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== by 0x1BBADA00: kpuauthxa (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== by 0x1BBAD53E: kpuauth (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982==
    ==22982== Use of uninitialised value of size 4
    ==22982== at 0x1BD7A382: ztceai (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== by 0x1BD785F7: ztcebi (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== by 0x1BD77EC5: ztcei (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== by 0x1BDC65B1: ztvo5pe (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== by 0x1BD77F64: ztcen (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982==
    ==22982== Conditional jump or move depends on uninitialised value(s)
    ==22982== at 0x1BD79022: ztceb_unpadding (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== by 0x1BD788D4: ztcebf (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== by 0x1BD78010: ztcef (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982== by 0x1BD77D07: ztcedec (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1)
    ==22982==
    ==22982== Mismatched free() / delete / delete []
    ==22982== at 0x1B905043: operator delete(void*) (vg_replace_malloc.c:156)
    ==22982== by 0x1B95C23C: oracle::occi::ConnectionImpl::~ConnectionImpl() (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libocci.so.10.1)
    ==22982== by 0x1B95A094: oracle::occi::EnvironmentImpl::terminateConnection(oracle::occi::Connection*) (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libocci.so.10.1)
    ==22982== by 0x8050DE4: DBConnection::CloseEnv(DBError*) (in /home/jaka/IRIS/EXE/test.exe)
    ==22982== Address 0x1CA59618 is 0 bytes inside a block of size 5 alloc'd
    ==22982== at 0x1B904D39: operator new[](unsigned) (vg_replace_malloc.c:139)
    ==22982== by 0x1B95A86E: oracle::occi::ConnectionImpl::setUserName(void*, unsigned, bool) (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libocci.so.10.1)
    ==22982== by 0x1B95B14D: oracle::occi::ConnectionImpl::openConnection(OCIEnv*, OCIError*, void*, unsigned, void*, unsigned, void*, unsigned, void*, unsigned, unsigned) (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libocci.so.10.1)
    ==22982== by 0x1B95EFB5: oracle::occi::ConnectionImpl::ConnectionImpl(oracle::occi::EnvironmentImpl*, std::string const&, std::string const&, std::string const&) (in /usr/app/oracle/oracle/product/10.2.0/db_1/lib/libocci.so.10.1)
    ==22982==
    ==22982== ERROR SUMMARY: 1524 errors from 165 contexts (suppressed: 27 from 2)
    ==22982== malloc/free: in use at exit: 960761 bytes in 309 blocks.
    ==22982== malloc/free: 2699 allocs, 2390 frees, 1313176 bytes allocated.
    ==22982== For counts of detected errors, rerun with: -v
    ==22982== searching for pointers to 309 not-freed blocks.
    ==22982== checked 20880568 bytes.
    ==22982==
    ==22982== LEAK SUMMARY:
    ==22982== definitely lost: 0 bytes in 0 blocks.
    ==22982== possibly lost: 0 bytes in 0 blocks.
    ==22982== still reachable: 960561 bytes in 308 blocks.
    ==22982== suppressed: 200 bytes in 1 blocks.
    ==22982== Reachable blocks (those to which a pointer was found) are not shown.
    ==22982== To see them, rerun with: --show-reachable=yes
    now if any body can help me removing this memory leak or is this the problem of OCCI
    apparently it seems to be OCCI's library issue but i could be wrong please help
    hoping to see a response
    Message was edited by:
    kjaka

    =============================================
    #include <iostream>
    #include <string>
    #include <vector>
    #include <occi.h>
    using namespace std;
    using namespace oracle::occi;
    int main()
         Environment* env;
    env = Environment::createEnvironment(Environment::OBJECT);
         cout << "Enviorment created " << endl;
         Connection* conn;
         Statement *stmt;
         ResultSet *rs;
         vector<MetaData> vMD;
         vector<MetaData> vArgMD;
         int dataType;
         char tmpChar[1024];
         Statement::Status status;
         try
              conn = env->createConnection("iris","tpstps", "iris10gr1");
              cout << "connection created " << endl;
              stmt = conn->createStatement();
              string sStmt = "begin :1 := PKGNETWORK.spGetNetworkInfoByIP(:2, :3); end;";
              // 1st sp     
              stmt->setSQL(sStmt);
              stmt->registerOutParam(1, OCCIINT);
              stmt->setString(2,"192.168.6.12");
              stmt->setMaxParamSize(2,20);
              stmt->registerOutParam(3,OCCICURSOR);
              status = stmt->execute();
              int retVal = stmt->getInt(1);
              rs = stmt->getCursor(3);//use ResultSet to fetch rows
              vMD = rs->getColumnListMetaData();
              dataType = vMD[0].getInt(MetaData::ATTR_DATA_TYPE);
              cout << "Attribute count : " << vMD[0].getAttributeCount() << endl;
    dataType=vMD[0].getInt(MetaData::ATTR_DATA_TYPE);
    cout << "Attribute type : " << dataType << endl;
              cout << "Attribute name : " << vMD[0].getString(MetaData::ATTR_NAME)<< endl;
    cout << "Size : " << vMD.size() << endl;
    while (rs->next())
    cout << "next row";
    cout << "NetID : " << rs->getString(1).c_str() << endl;
              cout << " vector filled for SP1" << endl;
              cin >> tmpChar;
              vMD.clear();
              stmt->closeResultSet(rs);
              conn->terminateStatement(stmt);
              cout << "1st sp executed" << endl;
         // 2nd sp     
              string sStmt1 = "begin :1 := PKGJUNK.SpGetTblAccount(:2); end;";
              stmt = conn->createStatement();
              stmt->setSQL(sStmt1);
              stmt->registerOutParam(1, OCCIINT);
              stmt->registerOutParam(2,OCCICURSOR);
              status = stmt->execute();
              retVal = stmt->getInt(1);
              rs = stmt->getCursor(2);//use ResultSet to fetch rows
              int loop = 1;
              vMD = rs->getColumnListMetaData();
              dataType = vMD[0].getInt(MetaData::ATTR_DATA_TYPE);
              cout << "Attribute count : " << vMD[0].getAttributeCount() << endl;
    dataType=vMD[0].getInt(MetaData::ATTR_DATA_TYPE);
    cout << "Attribute type : " << dataType << endl;
              cout << "Attribute name : " << vMD[0].getString(MetaData::ATTR_NAME)<< endl;
    cout << "Size : " << vMD.size() << endl;
    while (rs->next())
    cout << "next row";
    cout << "NetID : " << rs->getString(1).c_str() << endl;
              stmt->closeResultSet(rs);
              cout << "2nd sp executed" << endl;
              conn->terminateStatement(stmt);
              // sp-3     
              string sStmt2 = "begin :1 := PKGONELINK.spValidateAccount(:2,:3,:4,:5,:6); end;";
              stmt = conn->createStatement();
              stmt->setSQL(sStmt2);
              stmt->registerOutParam(1, OCCIINT);
              stmt->setString(2,"37863 ");
              stmt->setMaxParamSize(2,100);
              stmt->registerOutParam(3,OCCISTRING, 20);
              stmt->registerOutParam(4,OCCISTRING, 2);
              stmt->registerOutParam(5,OCCISTRING, 3);
              stmt->registerOutParam(6,OCCISTRING, 3);
              status = stmt->execute();
              cout << "3rd sp executed" << endl;
              conn->terminateStatement(stmt);
              conn->flushCache();
              env->terminateConnection(conn);
              vMD.clear();
         cout << "Demo completed...data deleted" << endl;
              cin >> tmpChar;
         catch (SQLException &ex)
    {//cleanup
              cout << "Error, cleaning up..." << ex.getMessage() << endl;
         conn->terminateStatement(stmt);
         env->terminateConnection(conn);
         cout << "terminating env" << endl;
         Environment::terminateEnvironment(env);
    // throw;//will be caught by outer handler
         Environment::terminateEnvironment(env);
         return 0;
    ===================================================
    this is not the same program but still this program gives the same amount of memory leak, this memory leak is reported in each program that uses OCCI
    this program was made with the help of the sample program posted at the OTN website
    "Calling PLSQL functions/procedures";
    hoping for a reply soon

  • KeynotePro masters in new Keynote '09

    Hi, I have the older keynotepro products installed with new iwork'09 installed and the masters do not behave well. For example, you cannot select the background "image" to edit (ie move, size, etc.) u can however duplicate it.Perhaps this is normal, dunno, just getting into custom editing of templates and master pages.Cutting and pasting the background into Photoshop, and rountripping from that does not work very well either. Perhaps Keynote backs are not real vector files, but bitmaps in a vector container...dunno. Also, Keynote is putting the the theme in macintosh hd/library/Application Support/Keynote which does not look right. Then there are the supplemental materials when opened have all sorts of errors and are hard to figure out how to use. KeynotePro has not answered a copy of this email and has no instructions on the site per se, except to come here. There is a claimer in the banner that says all this should work however in '09. Anyone out here working with these? thx!!!

    All versions of Keynote can find themes in that folder you list, though if it's installing them there, they must be REALLY old. I do know Keynote 1 themes have a hard time in anything 08 or newer, so there's an issue there most likely. Also, older themes don't use the image mask function, and really old themes don't even use the vector filled shape trick that newer themes use. MOst likely they are simply tiff or png images actually placed on the master that have a hole punched in them to mask the photo against. On pages that aren't photo cutouts, those backgrounds aren't placed on the slide, they are chosen as the slide "background" and can't be selected (even new themes do this). In order to get those you have to crack open the theme or .key package and copy out the image.
    Have you tried logging into your KeynotePro account and seeing if there are newer versions you can download?

  • Randomly choose color for shape

    I am working on a project for fun in which I need to have 144 squares choose a random color out of a pool (array) of predetermined colors and I need these shapes to do so every 1 second in the project. I was thinking the only way would be to write an after effects script, but I also thought it'll be cool if I could per object place a script which I do not know if it's possible.
    The only thing I am familiar with in after effects is creating time lapse. I have not played with it much more than that, however I am familiar with coding and have written some advanced scripts for Photoshop.
    Any help in pointing me into the right direction will be appreciated.
    Thanks

    So, played around with what you mentioned, and nether of them will do what I needed. I ended up playing with scripting and finally finished getting what I wanted.
    #target aftereffects
    var colors = [[1,0.95294117647059,0.4,1],[1,1,0.6,1],[1,0.91764705882353,0.21960784313725,1],[1,1,0.054901960784314,1],[1,0.96470588235294,0.36470588235294,1],[1,0.8156862745098,0.26274509803922,1],[1,0.92156862745098,0.26274509803922,1],[1,0.88235294117647,0.26274509803922,1],[1,0.90980392156863,0.43529411764706,1],[1,0.97254901960784,0.49803921568627,1]];
    app.beginUndoGroup("Color Change");
    var comp1 = app.project.item(1); //Comp 1
    var duration = comp1.workAreaDuration;
    var squares = comp1.layer(2).property("ADBE Root Vectors Group"); //Squares
    for (var i=1; i<=squares.numProperties; i++) {
        var square = squares.property(i);
        var fillColor = square.property("ADBE Vectors Group").property("ADBE Vector Graphic - Fill").property("ADBE Vector Fill Color");
        while (fillColor.numKeys!=0) {
            fillColor.removeKey(1);
        var previousColor = 0;
        for (var t=0; t<duration; t+=0.5) {
            var choosenColor  = 0;
            while (true) {
                var choosenColor = Math.floor(Math.random()*colors.length);
                if (t==0 || choosenColor!=previousColor) {
                    break;
            previousColor = choosenColor;
            var color = colors[choosenColor];
            fillColor.setValueAtTime(t, color);
        for (var k=1; k<=fillColor.numKeys; k++) {
            fillColor.setInterpolationTypeAtKey(k, KeyframeInterpolationType.HOLD, KeyframeInterpolationType.HOLD);
    app.endUndoGroup();

  • JTable Speed

    I have a speed issue with a JTable. It has a column consisting of a JComboBox with a JTextField as an editor that acts as an interactive search. The JComboBox has about 30,000 entries in it (I know that�s too many). The problem is two fold. The first is getting focus. When clicking on the JComboBox it takes about two or three seconds for the JTextBox to get the focus and allow me to begin editing. The second problem is when selecting an item in the JComoBox. This takes about 3 or 4 seconds for the selection to actually show up in the JTextBox.
    I am sure it is something in the table because I can use the same JComboBox with the same JTextField with the same data outside the table and it works fine. In fact I�ve even increased the items in the JComboBox to over 150,000 and the speed is still acceptable. It appears the JTable is causing the problem.
    Any ideas?
    Thanks in advance.
    Jeff

    Lah-di-dah, look at all those SWT snobs :-)
    JTable doesn't have any methods to turn off
    repainting (Component has setIgnoreRepaint, but I
    think it only applies to OS-level paint messages.)
    I aggree with the last post: create a new model
    (either passing it all the data or filling it up
    after creation), and when the model is complete,
    then call setModel:
    Vector data = new Vector();
    //fill data with row vectors
    TableModel model = new DefaultTableModel(data,
    columnNames);
    table.setData(data);
    thank you : i found your reply the most interesting . i will try this method which i suppose will solve my problem.
    Design concerns: Speaking just for myself, I don't
    want to stare at a table with 2,000 rows! How about
    adding search constraints or paging?can you explain me further this design proposition : it seems also interesting feature to add to my application.
    Thanks also to all repliers to my post for their interesting Ideas.

Maybe you are looking for

  • BI Publisher 10.1.3.4.1 works fine in IE 6 & 8 but not 7

    When performing operations such as test database connections or install schema on scheduler configuration, the customer gets an error occurs on the page in IE 7.0.5730.11, but it works fine in 7.0.6001.18000. My customer is pushing on reproducing thi

  • Can't install itunes... can't uninstall quicktime/itunes

    I've searched the board and found a few threads about the error I'm getting. When I try to install itunes on my machine, I get an error during the installation telling me that the installer could not remove the older version and I should contact supp

  • MINI SAP on Windows Vista Home Basic

    Hi, I'm trying to install the MINI SAP CD in the Windows Vista Home Basic, but I'm not getting success. I made download of Virtual Microsoft PC but for the version Home Basic, it doesn't have function. Somebody could help me please ?

  • Importing into Lightroom 4.3

    I am having problems importing my images.  I cannot import directly from the camera (Canon 5d Mark III), nor from the SD card, whether the card is directly in the built in card reader (2011 Mac Mini) or via a USB card reader.  Lightroom just hangs up

  • How can i add link to web in an applicaion(Urgent)

    Hi I want to add link in an application mean when user click on this link it open a browser and goes to that address. I want to do that thing in JFrame.plz help me.