Applying Flatten Transparency for proper scaling

Below is an example of a logo I recently completed. I designed it at a large size and want to ensure that for future use it scales down properly. The 2nd image below shows how some of the paths break. At this point, is it standard practice to apply Flatten Transparency? Thx in advance.

Michelle and Mike wrote:
sorry I'm just now getting back to you guys. I don't know if this will be of any help or not, but I kept searching based on responses and I then launched my version 4 which is still on my computer until I make sure I have all my settings where they need be in 5.5 so I can compare. I went to *edit* and dropped down to *color settings*. In 5.5, it was set to "Emulate Adobe® Illustrator 6.0" at the top where it says settings. I changed it to read the same thing as my CS4 program had which was "North America General Purpose 2". All the other settings were the same across the board and I would have to guess are default settings for the working spaces and color management policies. This fixed the issue with the items darkening on my screen. I work completely in CMYK for printing purposes so I'm very careful to make sure all imported photos to Illustrator are CMYK. I also am now leaving off the color profile in Photoshop. If you need to know exact settings I was using on that Photoshop color profile on photos being imported, let me know and I will list them or screen shot them. But leaving off the Photoshop color profile and changing the color settings in Illustrator to what I mentioned above got rid of the issue I was having. Hopefully this helps and makes sense what I did.
Michelle, do you think you can reproduce consistently the problem and describe step by step how others can reproduce it? If yes, this will help to understand the problem.

Similar Messages

  • How to eliminate darkened areas after applying flatten transparency?

    I just upgraded by CS to 5.5 here in the last couple of weeks (I had purchased it prior to 6 being launched). Any way, I've noticed on some ads I create, when I save as an EPS and then go to "flatten transparency" that sometimes it is taking elements and darkening the photo/graphic underneath. For example, I have an ad that has three starbursts with drop shadows overlaying some photos. When I select the "flatten transparency" function, it is darkening a portion of the photo underneath. I'm going to try to attach a sample to this question as to what I'm referring to.
    Thanks in advance for any help anyone can offer!
    Michelle

    Michelle and Mike wrote:
    sorry I'm just now getting back to you guys. I don't know if this will be of any help or not, but I kept searching based on responses and I then launched my version 4 which is still on my computer until I make sure I have all my settings where they need be in 5.5 so I can compare. I went to *edit* and dropped down to *color settings*. In 5.5, it was set to "Emulate Adobe® Illustrator 6.0" at the top where it says settings. I changed it to read the same thing as my CS4 program had which was "North America General Purpose 2". All the other settings were the same across the board and I would have to guess are default settings for the working spaces and color management policies. This fixed the issue with the items darkening on my screen. I work completely in CMYK for printing purposes so I'm very careful to make sure all imported photos to Illustrator are CMYK. I also am now leaving off the color profile in Photoshop. If you need to know exact settings I was using on that Photoshop color profile on photos being imported, let me know and I will list them or screen shot them. But leaving off the Photoshop color profile and changing the color settings in Illustrator to what I mentioned above got rid of the issue I was having. Hopefully this helps and makes sense what I did.
    Michelle, do you think you can reproduce consistently the problem and describe step by step how others can reproduce it? If yes, this will help to understand the problem.

  • Drop Shadow Turns Bluey/Grey When Flatten Transparency is Applied

    Hello,
    I'm a bit new to Illustrator (using CS2) and using it to create a CD artwork layout. I understand that i need to flatten the transparency and the artwork before generating a PDF to send to the printer.
    When I choose "Flatten transparency" to flatten an a TIF image w/ a drop shadow (DS applied in Illustrator using Effect > Stylize > Drop Shadow)... the shadow turns a bluey grey and looks awful. How can I make it stay black like I want it?
    The settings for the drop shadow are:
    Mode: Multiply
    Opacity: 55%
    X Offset: 0.03
    Y Offset: 0.03
    Blur: 0.05
    Color: 60/40/40/100 (rich black for the printing co I am using)
    If anyone can clue me in as to why the color is going mushy, I'd sure apprecaite it.
    Thanks!

    Well, this is preliminary, but here goes.
    First, the bad news: What you're observing is real and repeatable. Transparency is a voodoo area, and it will take a real expert to explain the whys of what's happening. But it
    is happening.
    Take an egdemost polaroid and, via the appearance palette, change the drop shadow so that it has a huge offset, giving you a shadow block distinct from the main image. Pull the object sufficiently off the background so that half of the shadow is in the clear. Now, dial up the flatten transparency dialog and toggle the preview. You'll see that while the portion of the shadow in the no-background area remains unchanged, the portion within your background goes light and bluish. The flattening is clearly "reacting" to your background.
    I thought the same thing as jcates and tried a black-plate-only (0/0/0/100) drop shadow. While the result is a tad different, we still have the basic problem.
    Ugh.
    Next, a question: Who told you transparent objects needed to be flattened before generating a press output PDF?
    One of the advantages of saving out a PDF (rather than
    printing to PDF via Acrobat's Distiller engine) is to preserve transparency, which is supported in the newest PDF versions. I don't want to suggest your printing company might be a tad behind the times, but one option you might consider is leaving the drop shadows as they are. Let the printer deal with transparency issues... which should not be an issue at all if they are up to handling the latest PDF spec. Of course, you will insist on a contract proof before going to press.
    Next thought: For the small amount of shadow showing, there isn't really that much advantage to using a rich black. You might consider going black-plate-only to avoid tinting issues. Again, the contract proof is your friend.
    Final (for now) thought: Do the drop shadows in Photoshop. Make sure there is no background and save as PSD. Place the PSD in Illustrator -- AI will respect the transparency in the PSD image. Yes, this is a PITA when it comes time to adjust the drop shadow. Being an old-timer with this stuff, that is how
    I would execute this design. (We geezers don't trust Illustrator with raster effects.)
    I have to go dinner shopping now to avoid getting into trouble with my wife, but I will look at this some more when I get the chance. In the meantime, let's hope someone else looking at this comes up with an "Aha!" solution.
    {Bumped in the meantime.}

  • Installing Transparency Flattener Preset for Indesign Server CS4

    I'm trying to figure out how to install a transparency flattener preset for InDesign Server CS4.
    I can see how they are installed for the InDesign app.  Edit -> Transparency Flattener Presets...
    But I'm not sure which directory to install these on for the server.
    I've seen a post that mentions:
    C:\Documents and Settings\<UserName>\Application Data\Adobe\InDesign\Version 6.0\en_US\Transparency Flattener Presets
    /Users/<UserName>/Library/Preferences/Adobe InDesign/Version 6.0/en_US/Transparency Flattener Presets
    for the Desktop version.  But when I place files here even for the CS4 Desktop, they don't seem to show up in the UI.
    Any help would be appreciated,
    Thanks,
    Dennis

    Thanks, to get this working in a server script, I ended up just programmatically creating the flattener preset, rather than worrying about the .flst files.  (Java code below)
      //Setup Transparency Flattener (if not in application)
      FlattenerPreset flattenerPreset = app.getNamedChildFlattenerPreset("Test");
      if (flattenerPreset == null) {
          flattenerPreset = app.addFlattenerPreset();
          flattenerPreset.setName("Test");
          flattenerPreset.setRasterVectorBalance(VariableTypeUtils.createLong(100));
          flattenerPreset.setLineArtAndTextResolution(2400.0);
          flattenerPreset.setGradientAndMeshResolution(400.0);
          flattenerPreset.setConvertAllTextToOutlines(false);
          flattenerPreset.setConvertAllStrokesToOutlines(false);
          flattenerPreset.setClipComplexRegions(false);
      pdfPreset.setAppliedFlattenerPreset(flattenerPreset);

  • How to Preserve Transparency for Printing on Silver Vinyl (and Avoid Flattening Artifacts)

    I have an Illustrator file that contains a number of icons that are "Placed" transparent Photoshop files (i.e. they were never flattened so there is no white background in any of these placed icon files). The Illustrator file is being printed by a commercial printer on silver vinyl and then cut on a cutting machine. Before giving the file to the printer I have been instructed to do the Object => Flatten Transparency operation to make sure that no artifacts are created during this process. (The file must be flattened because the cutting machine requires that this be done.) My problem is that when I do this a white rectangle artifact is created around each of the icons--and obviously this is not what I want to see when I am printing on silver vinyl! (I have read that one way to ensure that these artifacts are not created would be to select the layer containing all the icons, and then select the layer underneath it, so that the icons are flattened "onto" something. But in this case, there is no "layer beneath!") Does anyone know of a type of "fake" layer that I could put under the icons that would make the Flattening process work--but not impact the look of the silver vinyl? Does anyone have any other type of solution? (I am new to Illustrator and am basically desperate to get this problem solved!) Thank you very much in advance.

    They are 720 dpi images being printed on the silver vinyl by a Roland XJ640 inkjet printer
    Knowing now that the images in question are, in fact, full-color raster images, the first thing I would ask the printer is this: "Since you are printing onto silver vinyl, how are you going to "back up" the color images with areas of white so that the process color renders correctly?" The references I looked at suggest this is a six-head inkjet printer using 4-color process (CMYK). That would make it a "process plus 2 (spot color)" device.
    The lists of compatible inks I saw included a metallic silver and an opaque white. So that suggests two ways this might be being printed:
    Depending on the resulting area of "background" silver in the finished pieces, it could be practical for the project to actually be printed on white vinyl, not silver, and the silver "background" would actually be one of the printed inks. Typically, to accomplish that in a program like Illustrator, you would enclose your full-color raster images in a clipping path of the desired shape, draw a background shape behind the clipped raster images which will bleed beyond the eventual cut paths, and fill that background shape with a spot color Swatch which is named so as to be recognized by the software driving the device as its silver ink.
    If the vinyl is, in fact, silver, then a white object needs to be printed first, and the CMYK inks printed on top of it. Typically, to accomplish that in a program like Illustrator, you would draw shapes surrounding your images in the desired shapes, and fill those shapes with a spot color Swatch which is named so as to be correctly recognized by the software driving the device. It is usually more convenient to position these objects in front of the CMYK images and set them to overprint. Or, if they are positioned behind the images, then the images themselves need to be set to overprint or the CMYK inks could be set to overprint in the Separations section of the Print dialog of whatever software is actually doing the printing.
    The icons on the globe pattern are very small 1440 dpi placed Photoshop files....printing at 1440 dpi with bicubic interpolation...
    This is a common misconception about printer resolution. Knowing that a given inkjet printer has a hardware resolution of 1440 dpi does not mean that maximum detail is going to be achieved if the full-color raster images are 1440 PPI.
    1440 DPI is not the "extremely high resolution" it sounds like to some. To understand, consider normal commerical offset printing: A typical PostScript imagesetter has a hardware resolution of 3000 SPI (printer Spots Per Inch). And compared to the relatively "fuzzy" dots that are created by an inkjet device effectively "spraying" droplets of liquid ink on a sheet, the printer spots of an imagesetter are sharp-edged dots made by exposing a photo emulsion on film with a laser. And yet, designers wanting maximum fidelity and detail when printing full-color raster images do not go around creating their raster images at 3000 PPI, do they? Why not?
    Here's the deal: Whether you are talking about inkjet composite printing or imagesetting, printing full-color images involves process color. "Process color" means you use little tiny dots of (usually) just four primary colors of inks to simulate all the colors in the image. In order for those little tiny dots to simulate other colors, they must do one of two things: They have to either vary in size (halftone screening), or they have to vary in number (stochastic screening) across a given area.
    Common commercial offset printing employs the first method, halftone screening. Remember: the resolution of the imagesetter is 3000 SPI. In other words, that imagesetter just does one thing: It creates spots which measure 1/3000 inch. That's a fixed function of the mechanical hardware; the imagesetter cannot vary the size of the spots it creates. So how does it print the variable-size dots required by halftone screening? Here's how: Each of the variable-size halftone dots (the dots of ink that will actually be printed) are built up out of the much smaller printer spots.
    This raises the question, how many printer spots are available to build up the shape of each halftone dot? That's where the halftone ruling (expressed in LPI; Lines Per Inch) comes in. And that's the value (halftone LPI) that you consider when determining best PPI for your images. The rule-of-thumb is one-to-two times the halftone ruling. For example, 175 LPI is considered above-average printing in offset lithography. It's one step above the most commonly used "magazine quality" of 150 LPI. So assuming a project being printed on quality coated stock at a halftone ruling of 175 LPI, appropriate raster image PPI would be 175-to-350. Using more is just needlessly wasting data that is going to effectively be "averaged away" anyway ("oversampling"). It can, in fact, degrade the printed results. Note that that's a far cry from 3000, the hardware resolution of the imaging device.
    Composite inkjet printing nowadays commonly employs the second method, stochastic screening (also called FM screening, diffusion dither, etc.). Nowadays, 1440 is a common hardware resolution for even cheap desktop inkjet printers. Again, similar to the imagesetter described above, this means that the inkjet printer does just one thing: it bursts onto the substrate little fuzzy dots of ink which measure (roughly) 1/1440 inch. That's fixed; the inkjet printer cannot vary the size of the spots it creates. Note that this is actually less than one fourth the number of printer spots created by a typical imagesetter. So how does an inkjet render all the colors required to reasonably reproduce a full-color image? It prints fewer printer spots of each of its primary colors within a given area. And to avoid a discernable (and distracting) pattern, it distributes those printer spots in what looks like, to a human, a random pattern.
    So once again, there is no 1:1 correspondence between each printer spot produced by an inkjet printer and each pixel in a full-color raster image. Trying to achieve that correspondence by making your image PPI equal to the SPI of the printer is just as silly in inkjet printing as it is in imagesetting. It's still just needlessly gross oversampling with absolutely no advantage.
    In fact, one of the much-hoped-for promises of stochastic screening in the early days of desktop prepress was that it reduces the PPI needed for apparent sharpness in printed results. (In those days of low memory and slow processing, file size was of paramount concern.) That is, for "comparable detail and sharpness" stochastic screening required lower PPI.
    What all this means is: You are not going to achieve any visible detail advantage by sampling your full-color raster images at 1440 PPI instead of at a much lower PPI. Ridiculously high PPI will not make a screened (halftone or stochastic) image include more detail when viewed under magnification. Increasing the PPI of your raster images to the moon does not overcome the rendering capability of the printing process itself.
    JET

  • ARRRRRGGGHGGGGGGGGGGG Flatten Transparency!!!!!!!!!!!!!!!!

    I love illustrator, but today I'm ready to kill it. ugh! it's gotten dumber with each new version. I swear the pathfinder doesn't work nearly as well as it did in 9.0, and why get rid of the minus front option?
    That being said, I have an aerial photograph. I have transparent shapes over the aerial. I don't want to be able to see through the shapes anymore. Turning the aerial off shows me what the transparent shapes would look like with a white background, very nice, muted colors. It is these colors that I ultimately want to see over my aerial photograph. I DO NOT want to be able to see through these colors.
    I've tried flatten transparency and it does nothing. I turn off my aerial photo, so that white is my background. Liking the way my colors look on white, I then go to Object/Flatten transparency. But when I turn the aerial on, my colors are still see through! Please help before I do something my computer will regret.
    thanks,
    stan

    > Cat abuse.
    Unabused Cats
    > I'm not sure I get Teri's second technique though. Do you mean that you make a duplicate layer, "Add New Fill" (White) on the lower of the 2 layers?
    Only if by "duplicate layer" you mean an extra fill. Extra fills and strokes
    are very often referred to as "fill layers" or "stroke layers", but they are not layers in the sense of anything managed by the Layers palette. It is part of the appearance of the original object, so that it moves with it. Here is a step-by-step:
    Before (notice that the 40% opacity is applied at the path object level):
    Changes made through the Transparency, Color, Stroke, etc. palettes apply to a single fill or stroke if it is highlighted in the Appearance palette. Changes made when no fill or stroke layer is highlighted apply to the entire object.
    If you want the transparency interactions between a set of objects to be preserved, but for the set to collectively have a white "undercoat", then you can group the objects, and then assign the extra white fill to the group as a whole, instead of to the individual objects.
    The file named "Group Paint.ai" in the folder below illustrates some special effects you can achieve by placing extra fills or strokes on a group.
    ftp://tpettit.best.vwh.net/AI10_Style_demos.zip

  • Illustrator CC 2014: Save As PDF, Flatten Transparency Issues

    Hi All,
    We created a PDF presentation that's about 40 pages in Illustrator and had some display issues with previews in Box.  Upon inspecting the bug, we realized that Box's preview function does not display transparency properly (or at least seems to have issue displaying transparency if it hasn't been flattened.)  We tried flattening the transparency of our Illustrator file, but when we do this the PDF has faint box outlines around objects. 
    Can anyone recommend a solution to this issue?
    Thanks!
    P.S.  I'm new to figuring out which PDF Presets to use to optimize my presentation for desktop/iphone/ipad presentation.  Right now we are using Press Quality with Preserve Illustrator Editing Capabilities unchecked and Optimized for Fast Web View. 
    P.P.S. We tried Acrobat 5-8 Compatibility for Box, non worked.  Acrobat 4 with flattened transparency displayed properly, but had the problematic outlines. 

    Anyone have any input?
    Thanks!

  • How to automate the flatten transparency in illustrator?

    How to automate the "Flatten Transparency option" in illustrator via javascript. Please share with me.
    Thanks

    I'm looking for the same thing.
    app.executeMenuCommand('Flatten Transparency'); works in CC but all it does is it brings up the window and you still have to click OK to make the script continue.
    Before anyone asks why do  you want to do it etc. In print thereare instances where you have to open and edit (not text) large numbers of pdfs to change colours, outline fonts etc otherwise there's trouble on print devices.
    My script for instance looks for 100K blacks and replaces them with rich black, looks for empty text frames, overprint, bleed settings, clipping paths etc.
    The only way to edit successfully a pdf without fonts is to place it and flatten transparency outlining fonts and then work on it.
    So back to the point. After the window pops up, is there a way to simulate a keystroke like "Enter" or maybe app.executeMenuCommand('Flatten Transparency'); takes arguments like:
    app.executeMenuCommand('Flatten Transparency',preset_name);...?
    Anyone? Adobe SDK team? :-)

  • ColorSync 72 DPI problem - Create Generic PDFX-3 (Flatten Transparency)

    Hi,
    I tried to fix 72 DPI problem in native filter "Create Generic PDFX-3 Document" (ColorSync Utility Application).
    I made a copy of default filter and changed the +Flatten Transparency+ resolution to higher value 300 DPI.
    After ColorSync Utility restart my +Flatten Transparency+ settings were erased (my filter still exist but with no +Flatten Transparency+ value).
    I tried both in 10.6.2 and 10.6.3 also in Polish and English localization.
    As I know it is a common procedure to prepare PDF/X print-shop ready documents avoiding Adobe Distiller.

    You will need to install the abracadabra ColorSync filters to get higher resolution pdfs.
    This is a long standing problem with OSX which has default filters set to render all transparency at 72 dpi.
    I would not use Pages for commercial printing. The dollars you save on software are quickly gambled away on the press. There is just too little professional support built in and Apple's neglect of Pro tools in OSX is the clincher for me. Stick with Adobe and Quark and avoid OSX's print engine.
    Peter

  • Flatten transparency Fill colour feathering?

    Basically the way I normally filled colours was either make live paint, OR flatten stransparency on my strokes, and to use the paint bucket.  I have mostly used teh flatten transparency way to paint, but this tiem when I try to change the colour of my fills, it creates a feather/halo of some sort around my line art and fill colour. When I colour i only use fills, so I dont get added edges to my stroke. I have taken a screen shot of what it is doing.
    Is it normal to have white edges around dark on dark colours?

    Is this a CYMK-document and your strokes are 100% K?
    Then it's just a screen display issue, will be OK in print (at least when trapping is handled correctly). If you need to eliminate the pixel border around the black strokes for use on screen you'll have to use rich black (but you'll be in RGB-mode in that case anyway).

  • Illustrator CC Flatten Transparency with doScript(action, actionSet)

    Hi Yall!
    I have the creative cloud illustrator with which I'd like to process a bunch of files.   Of course, for my processing needs, the file has to be outlined & expanded, etc, to ensure all the plugin items, text frames and strokes become just outlined shapes to mess with.  I was excited about the potential of the doScript in illustrator to play any action, so I made a simple action which selects all and flattens transparency.  This does seem to work, except for the part where it gives me this aler box of an error: "The operation cannot complete because of an unknown error: [Parm]" .
    The flattening process seems to have worked ok though, and the objects did become flattened.  The error message can be turned off using the UserInteractionLevel.DONTDISPLAYALERTS , but wacky things happen with the display, such as the edges of paths become invisible and the preview redrawing gets all wiggy.
    Does anybody have a better way to flatten the transparency, or is there something I'm missing?
    The action is this:
    /version 3
    /name [ 7
              466c617474656e
    /isOpen 1
    /actionCount 1
    /action-1 {
              /name [ 20
                        466c617474656e205472616e73706172656e6379
              /keyIndex 0
              /colorIndex 0
              /isOpen 1
              /eventCount 2
              /event-1 {
                        /useRulersIn1stQuadrant 0
                        /internalName (adobe_selectAll)
                        /localizedName [ 10
                                  53656c65637420416c6c
                        /isOpen 0
                        /isOn 1
                        /hasDialog 0
                        /parameterCount 0
              /event-2 {
                        /useRulersIn1stQuadrant 0
                        /internalName (ai_plugin_flatten_transparency)
                        /localizedName [ 20
                                  466c617474656e205472616e73706172656e6379
                        /isOpen 0
                        /isOn 1
                        /hasDialog 1
                        /showDialog 0
                        /parameterCount 5
                        /parameter-1 {
                                  /key 1920169082
                                  /showInPalette 4294967295
                                  /type (integer)
                                  /value 75
                        /parameter-2 {
                                  /key 1919253100
                                  /showInPalette 4294967295
                                  /type (unit real)
                                  /value 300.0
                                  /unit 592342629
                        /parameter-3 {
                                  /key 1869902968
                                  /showInPalette 4294967295
                                  /type (boolean)
                                  /value 1
                        /parameter-4 {
                                  /key 1869902699
                                  /showInPalette 4294967295
                                  /type (boolean)
                                  /value 1
                        /parameter-5 {
                                  /key 1667463282
                                  /showInPalette 4294967295
                                  /type (boolean)
                                  /value 1
    and the script is this:
    function test(){
         app.loadAction('File.aia of the actions described above');
         app.doScript('Flatten Transparency', 'Flatten', false);
    test();
    Thanks!

    Anyone have any input?
    Thanks!

  • Apply Scroll effect for VBox while scrolling in Flex 3

    Hi Folks,
         Can anyone suggest me how to apply scroll effect for VBox while scrolling like Smart Phone application?
    Thanks in Advance,
    With Regards,
    Arun P. Ganesh

    SOLUTION:  changed wmode from "opaque" to "window" in the jsp serving as the wrapper for the app's main swf...
    Here's the reference we used to determine the proper setting for wmode;
    http://kb2.adobe.com/cps/127/tn_12701.html
    Thanks again for the response...  Richard

  • Transparent area of lighweight components transparent for events?

    Hello,
    I'm making lightweight components by extending JComponent. These contain a CubicCurve2D line which I want to be sensitive to mouseevents.
    My question is: How do I make the transparent areas within the component bounds transparent for mouse events?
    I want the events only to apply to the CubicCurve2D not the whole rectangle. So I want components that can overlap and only painted parts of the component to respond to mouse events and those showing through transparent areas to also respond.
    Any help would be much appreciated as I'm really stumped on this!

    I previously implemented the project like this but was concerned that it required excessive searching for intersections on Mouse events... using up lots of processing power and generally being clunky.
    I am creating many of these curves (100's) and was hoping to optimize performance by allowing each one to repaint itself (avoiding repainting the whole lot) in response to mouse overs, clicks etc.
    Is there anyway to define the bounds of a component to match it's painted area?
    For example if I created a round button that partially overlapped a square button; how could you avoid activating the round button when clicking outside of the circle but inside it's rectangular bounds while still activating the square button underneath this transparent area?

  • How do I apply programmatic skins for completely custom drawn components of a Flex library project?

    Hello folks,
    I am looking for best practices advice when (1) creating
    custom components and (2) styling and skinning.
    I already know how to skin a component part of the Flex
    framework. I can make a class extending ProgrammaticSkin and have
    my component skinned using CSS to link the component with the
    reference to my custom class.
    However what about those cases when you are completely
    creating a component from scratch?
    Imagine a "Freehand Drawing Canvas" component that allows the
    user to draw on it and has some buttons to set color styles, line
    styles, etc., or imagine a "Screen Flow Gallery" component that
    displays visual objects in a fashion similar to Cover Flow in the
    Mac.
    In many components I am aware you may reuse other components
    part of the Flex framework but I am trying to picture an scenario
    where you would need to draw everything yourself because there just
    isn't something to base it upon so you will end up drawing it from
    scratch.
    To learn how instead of building one of those components I
    mentioned previously I decided to start with something simple that
    would illustrate this like a LiteButton component that will behave
    just like the Flex mx.controls.Button but will extend UIComponent
    and be completely custom drawn.
    The component will have a default look and will also be
    style-able and skin-able. I will provide styles for users of the
    component to modify and regarding skinning anyone can create a
    custom ProgrammaticSkin adding its own drawing logic and link it to
    the component via CSS with the ClassReference applied to the skin
    selector.
    So far so good and it's clear what I want to achieve. I
    actually know how to do most of the stuff here but I have one
    single problem.
    Here is my question, where should I put my custom drawing
    logic? If I do it in the updateDisplayList inside the class
    extending UIComponent it works, however I thought that it would be
    a better practice to do it using programmatic skins, that way I
    could provide different skin themes for my component set.
    The problem is that I can't make the programmatic work in
    this scenario. I tried instantiating the custom programmatic skin
    during the updateDisplayList of the LiteButton component and adding
    it to my display object via addChild but that didn't do anything. I
    also tried creating a "default.css" stylesheet and tried to use
    ClassReference as I would normally do to skin an already existing
    component (or composite component as well) but that didn't do
    anything either.
    So how do I apply programmatic skins for completely custom
    drawn components of my Flex library project?
    I could do it inside the updateDisplayList of the LiteButton
    class extending UIComponent but again I would like to provide
    different theme sets for my components so it makes sense using
    programmatic skins.

    "jbucaran" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hello folks,
    >
    > I am looking for best practices advice when (1) creating
    custom components
    > and
    > (2) styling and skinning.
    >
    > I already know how to skin a component part of the Flex
    framework. I can
    > make
    > a class extending ProgrammaticSkin and have my component
    skinned using CSS
    > to
    > link the component with the reference to my custom
    class.
    >
    > However what about those cases when you are completely
    creating a
    > component
    > from scratch?
    >
    > Imagine a "Freehand Drawing Canvas" component that
    allows the user to draw
    > on
    > it and has some buttons to set color styles, line
    styles, etc., or imagine
    > a
    > "Screen Flow Gallery" component that displays visual
    objects in a fashion
    > similar to Cover Flow in the Mac.
    >
    > In many components I am aware you may reuse other
    components part of the
    > Flex
    > framework but I am trying to picture an scenario where
    you would need to
    > draw
    > everything yourself because there just isn't something
    to base it upon so
    > you
    > will end up drawing it from scratch.
    This may help with that
    http://livedocs.adobe.com/flex/3/html/help.html?content=skinstyle_3.html
    > To learn how instead of building one of those components
    I mentioned
    > previously I decided to start with something simple that
    would illustrate
    > this
    > like a LiteButton component that will behave just like
    the Flex
    > mx.controls.Button but will extend UIComponent and be
    completely custom
    > drawn.
    >
    > The component will have a default look and will also be
    style-able and
    > skin-able. I will provide styles for users of the
    component to modify and
    > regarding skinning anyone can create a custom
    ProgrammaticSkin adding its
    > own
    > drawing logic and link it to the component via CSS with
    the ClassReference
    > applied to the skin selector.
    >
    > So far so good and it's clear what I want to achieve.
    Actually after
    > playing
    > with the weekend and today I know how to do most of the
    stuff but I have
    > one
    > single problem. So here is my question, where should I
    provide my custom
    > drawing logic? If I do it in the updateDisplayList
    inside the class
    > extending
    > UIComponent it works, however I thought that it would be
    a better practice
    > to
    > do it using programmatic skins, that way I could provide
    different skin
    > themes
    > for my component set.
    These aren't mutually exclusive. When you provide a skin with
    a
    TypeSelector, you have to add it to the display list
    somewhere, and this is
    typically done in updateDisplayList or addChildren. I prefer
    to do it in
    updateDisplayList, because you can then change it if the
    style changes.
    > The problem is that I can't make the programmatic work
    in this scenario. I
    > tried instantiating the custom programmatic skin during
    the
    > updateDisplayList
    > of the LiteButton component and adding it to my display
    object via
    > addChild but
    > that didn't do anything.
    Exactly what did you do?
    > I also tried creating a "default.css" stylesheet and
    > tried to use ClassReference as I would normally do to
    skin an already
    > existing
    > component (or composite component as well) but that
    didn't do anything
    > either.
    I've never had any problem using an approach similar to
    this...but I will
    say that I couldn't see any advantage in creating a
    default.css style sheet,
    since it's not really default in the way that the one that
    comes with Flex
    is. It's much more obvious to anyone using your component
    what's going on
    there if you create a style sheet where they're likely to
    spot it.
    > So how do I apply programmatic skins with the default
    look for custom
    > drawn
    > components?
    It seems like your approach is fine, but maybe you've made a
    mistake in your
    implementation.
    > I could do it inside the updateDisplayList of the
    LiteButton class
    > extending
    > UIComponent but again I would like to provide different
    theme sets for my
    > components so it makes sense using programmatic skins.
    You might want to consider also adding an instance of
    HaloBorder to your
    component. That brings a lot of functionality with it.
    HTH;
    Amy

  • Please help me resolve the Lync server 2013 deployment error: "An error occurred while applying SQL script for the feature BackendStore."

    I am getting an error in "Step 2 - Setup or Remove Lync Server Components" of "Install or Update Lync Server System" step.
    "An error occured while applying SQL script for the feature BackendStore. For details, see the log file...."
    Additionally, all previous steps such as: Prepare Active Directory, Prepare first Standard Edition server, Install Administrative Tools, Create and publish topology are done without any errors. The user that I used to setup the Lync server is member of:
    Administrators
    CSAdministrator
    Domain Admins
    Domain Users
    Enterprise Admins
    Group Policy Creator Owners
    RTCComponentUniversalServices
    RTCHSUniversalServices
    RTCUniversalConfigReplicator
    RTCUniversalServerAdmins
    Schema Admins
    I have tried to re-install all the things and started to setup a new one many times but the same error still occurred. Please see the log below and give me any ideas/solutions to tackle this problem.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.BlobStore'****
    Initializing DbSetupBase
    Parsing parameters...
    Found Parameter: SqlServer Value lync.lctbu.com\rtc.
    Found Parameter: SqlFilePath Value C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup.
    Found Parameter: Publisheracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group;RTC Local Administrators;LCTBU\RTCUniversalServerAdmins.
    Found Parameter: Replicatoracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group.
    Found Parameter: Consumeracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group;RTC Local Read-only Administrators;LCTBU\RTCUniversalReadOnlyAdmins.
    Found Parameter: DbPath Value D:\CsData\BackendStore\rtc\DbPath.
    Found Parameter: LogPath Value D:\CsData\BackendStore\rtc\LogPath.
    Found Parameter: Role Value master.
    Trying to connect to Sql Server lync.lctbu.com\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 2100.
    Sql version is acceptable.
    Validating parameters...
    DbName rtcxds validated.
    SqlFilePath C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup validated.
    DbFileBase rtcxds validated.
    DbPath D:\CsData\BackendStore\rtc\DbPath validated.
    Effective database Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath.
    LogPath D:\CsData\BackendStore\rtc\LogPath validated.
    Effective Log Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
    Checking state for database rtcxds.
    Checking state for database rtcxds.
    State of database rtcxds is detached.
    Attaching database rtcxds from Data Path \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath, Log Path \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
    The operation failed because of missing file '\\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath\rtcxds.mdf'
    Attaching database failed because one of the files not found. The database will be created.
    State of database rtcxds is DbState_DoesNotExist.
    Creating database rtcxds from scratch. Data File Path = D:\CsData\BackendStore\rtc\DbPath, Log File Path= D:\CsData\BackendStore\rtc\LogPath.
    Clean installing database rtcxds.
    Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RtcSharedDatabase'****
    Initializing DbSetupBase
    Parsing parameters...
    Found Parameter: SqlServer Value lync.lctbu.com\rtc.
    Found Parameter: SqlFilePath Value C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup.
    Found Parameter: Serveracct Value LCTBU\RTCHSUniversalServices;RTC Server Local Group.
    Found Parameter: DbPath Value D:\CsData\BackendStore\rtc\DbPath.
    Found Parameter: LogPath Value D:\CsData\BackendStore\rtc\LogPath.
    Trying to connect to Sql Server lync.lctbu.com\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 2100.
    Sql version is acceptable.
    Validating parameters...
    DbName rtcshared validated.
    SqlFilePath C:\Program Files\Common Files\Microsoft Lync Server 2013\DbSetup validated.
    DbFileBase rtcshared validated.
    DbPath D:\CsData\BackendStore\rtc\DbPath validated.
    Effective database Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\DbPath.
    LogPath D:\CsData\BackendStore\rtc\LogPath validated.
    Effective Log Path: \\lync.lctbu.com\D$\CsData\BackendStore\rtc\LogPath.
    Checking state for database rtcshared.
    Reading database version for database rtcshared.
    Database version for database rtcshared - Schema Version5, Sproc Version 0, Update Version 1.
    Thanks and Regards,
    Thanh Le

    Thanks Lạc
    Phạm 2
    I Had similar issue i end up uninstalling and reinstallting but same issue, then i change the drive but same issue. It was I/O issue. After adjusting my I/O it fix our issue and installation went on without any issue. 
    If any one using KVM here is detail article 
    We just  give this option cache=‘writeback
    using this article http://www.ducea.com/2011/07/06/howto-improve-io-performance-for-kvm-guests/ and http://itscblog.tamu.edu/improve-disk-io-performance-in-kvm/ this fix my issue thanks 

Maybe you are looking for

  • Unable to get the data from ms sql stored procedures using crystal report 10

    Dear, I am using the crystal report 10 and MS SQL 2000. I created stored procedures and after making the connection, i am unbale the data from that procedure. When i run stored procedure on MS SQL server it works fine. Please help me. Best Regards Pa

  • Clip optimization caused video to no longer play.

    I wanted to speed up a certain clip, and imovie told me i needed to optimize it in order to fast forward. I did so, but then the video would no longer play on the main screen. It wont play in full screen either. The audio works fine, but no longer an

  • Error on Device Access API class/interface import

    Hi, I have followed https://apex.oracle.com/pls/apex/f?p=44785:141:128148408213710::::P141_PAGE_ID,P141_SECTION_ID:144,1032#prettyPhoto/1/ video tutorial to set up Java ME Embedded development environment in my Windows system and I have chosen Raspbe

  • Even if homepage is selected it does not open in new tab

    even if homepage is selected it does not open in new tab.when i opened Firefox the previous website which i opened is coming .please give me answer.

  • Sync music error - file cant be transfered to new Iphone?

    I just got a new Iphone 4s. Ive backed up my old 3gs and did a restore from back up. Everything went well, only the music is apperently not there. I read somewhere that music is not included in the backup. So I want to fill up my new phone with my ol