Pixel Snap & Symbols

Here's a repeatable behavior that has been driving me crazy.
When you create a symbol from an object that was snapped to pixel, it will snap to pixel correctly when you edit the symbol but...
if you create a symbol from an object that was not snapped to pixel, it will not snap to pixel correctly when you are in symbol editing mode.
Steps to recreate the problem:
Create an object without Align New Objects to Pixel Grid in the Transform Panel. It should have x and y values with multiple decimal places.
Create a symbol from it.
Edit the symbol.
In the Transform Panel, enable Align to Pixel Grid. The object will not Align to Pixel Grid and the x and y values will still have multiple decimal places.
I would expect that any object that has Align to Pixel Grid enabled would align to the pixel grid regardless of how it was originally created.
Can anyone recreate this behavior?

in the future. you should start out with a symbol, then you can select the symbol you want to replace and choose the symbol you want to replace it with.
for now i would use a script.
go here: http://www.wundes.com/JS4AI/
there are several scripts in that could apply here.
CopyToMultipleObjects
CopyToObject
SwapObjects
i use swap objects a lot, but i modified it so there are no dialogue windows. you can pretty much guess what they do by their name and when replacing the hexagons with your symbols using any of those scripts, your symbol wil be centered with the replaced hexagon.

Similar Messages

  • Resizing drawing objects defies pixel snapping

    This happens mostly with drawing objects, and to a lesser degree with shapes. When resizing drawing objects in Flash CS6 with pixel snapping turned on, one would expect the dimensions of the shape to snap to even pixel numbers. For the most part it does, but too frequently the position and size values begin to drift into fractions of pixels.
    If you create a rectangle as a drawing object, no stroke, it will snap to pixels properly. Drag it around and it always lands on whole pixel values. Now try resizing it using the free transform tool, or even by clicking and dragging the position and size values in the properties panel. Width and height values will mostly stick to whole pixels, but too often it will slip into fractions of pixels, bizarrely offsetting the x and y values as well. If you resize a drawing object and this error occurs, it does not help to try and move it to snap it back onto whole pixels, because it will snap to whatever fraction of a pixel it's currently stuck in, thereby forcing the user to manually edit the object's x and y coordinates.
    This is a problem in my workflow as I'm constantly having to keep an eye on the properties panel and manually editing the numbers when shapes stray into 2.85 pixels or some such when I want it at 3. I find myself frequently just entering the numbers I want, which defeats the purpose of pixel snapping in the first place.

    This happens mostly with drawing objects, and to a lesser degree with shapes. When resizing drawing objects in Flash CS6 with pixel snapping turned on, one would expect the dimensions of the shape to snap to even pixel numbers. For the most part it does, but too frequently the position and size values begin to drift into fractions of pixels.
    If you create a rectangle as a drawing object, no stroke, it will snap to pixels properly. Drag it around and it always lands on whole pixel values. Now try resizing it using the free transform tool, or even by clicking and dragging the position and size values in the properties panel. Width and height values will mostly stick to whole pixels, but too often it will slip into fractions of pixels, bizarrely offsetting the x and y values as well. If you resize a drawing object and this error occurs, it does not help to try and move it to snap it back onto whole pixels, because it will snap to whatever fraction of a pixel it's currently stuck in, thereby forcing the user to manually edit the object's x and y coordinates.
    This is a problem in my workflow as I'm constantly having to keep an eye on the properties panel and manually editing the numbers when shapes stray into 2.85 pixels or some such when I want it at 3. I find myself frequently just entering the numbers I want, which defeats the purpose of pixel snapping in the first place.

  • Pixel Snapping in CS5.5

    I am currently making a pixelart game in Flash Professional. In the middle of development (which was probably a bad time to do it) I upgraded to CS5.5 from CS5, and the first thing I noticed was that pixel snapping wasn't how it used to be. In the old version the pixels (in movie clips) would align with the pixel grid. In the new version, however, the pixels snapped into the crossings of the grid.
    Pixel snap in CS5.
    And pixel snap in CS5.5.
    Is there an option I missed or is there a workaround for this?

    Hello
    I'm a member of the Adobe Digital Publishing Suite forum. I encountered similar behaviour several times while working on magazines with DPS. Whenever I click on an element I copied from another document, InDesign opens the parent document.
    Here is a video:
    Watch on youtube: http://www.youtube.com/watch?v=tZp1Vah2rdo
    Follow the Discussion over there (no details on that there yet): http://forums.adobe.com/thread/927707?tstart=0
    but seems connected with DPS, some other friends and clients have the same problem.
    —Johannes
    Message was edited by: Johannes Henseler (changed "same behaviour" to "similar behaviour" because it is not the same, but looks definetly related)

  • Script to crop (no delete pixel) snap to ruler guide

    Hi everyone,
    I manually make 1 ruler guide and automatically create 3 ruler guides. These 4 ruler guide form a rectangular.
    Could I have a script that crop my image (no delete pixel) to fit that rectangular formed by the 4 guides .
    Thank you in advance for your help!

    I had a fight scripting it. Strange thing were happing when I was testing. There seems to be a bug in scripting in cs6 -> CC 2014. Re-size layer seems to back up a history step. undoing the last step.  When I was using suspend history states I was loosing the last guide I set or the layer mask from my last test that I deleted the mask was restored and the script would fail.
    http://www.mouseprints.net/old/dpr/FitImageToGuides.jsx
    /* ==========================================================
    // 2014  John J. McAssey (JJMack)
    // ======================================================= */
    // This script is supplied as is. It is provided as freeware.
    // The author accepts no liability for any problems arising from its use.
    /* Help Category note tag menu can be used to place script in automate menu
    <javascriptresource>
    <about>$$$/JavaScripts/FitImageToGuides/About=JJMack's FitImageToGuides .^r^rCopyright 2014 Mouseprints.^r^rFour and only four guides are required</about>
    <category>JJMack's Script</category>
    </javascriptresource>
    // enable double-clicking from Mac Finder or Windows Explorer
    #target photoshop // this command only works in Photoshop CS2 and higher
    // bring application forward for double-click events
    app.bringToFront();
    // ensure at least one document open
    if (!documents.length) alert('There are no documents open.', 'No Document');
    else {
      // declare Global variables
      main(); // at least one document exists proceed
      //app.activeDocument.suspendHistory('Fix Image to Guides','main()');  // seems to be a problem layer is resize Photoshop back up a history step ?
    //                            main function                                  //
    function main() {
      // declare local variables
      var orig_ruler_units = app.preferences.rulerUnits;
      var orig_type_units = app.preferences.typeUnits;
      var orig_display_dialogs = app.displayDialogs;
      app.preferences.rulerUnits = Units.PIXELS; // Set the ruler units to PIXELS
      app.preferences.typeUnits = TypeUnits.POINTS;   // Set Type units to POINTS
      app.displayDialogs = DialogModes.NO; // Set Dialogs off
      try { code(); }
      // display error message if something goes wrong
      catch(e) { alert(e + ': on line ' + e.line, 'Script Error', true); }
      app.displayDialogs = orig_display_dialogs; // Reset display dialogs
      app.preferences.typeUnits  = orig_type_units; // Reset ruler units to original settings
      app.preferences.rulerUnits = orig_ruler_units; // Reset units to original settings
    //                           main function end                               //
    // The real code is embedded into this function so that at any point it can return //
    // to the main line function to let it restore users edit environment and end      //
    function code() {
      if (app.activeDocument.guides.length != 4) { alert("Four and only four Guides are required"); return; } // quit
      // get guides;
      var theVert = new Array;
      var theHor = new Array;
      for (var m = 0; m < app.activeDocument.guides.length; m++) {
      if (app.activeDocument.guides[m].direction == Direction.HORIZONTAL) {theVert.push(app.activeDocument.guides[m].coordinate)}
      else {theHor.push(app.activeDocument.guides[m].coordinate)}
      if (theHor.length != 2 || theVert.length != 2) { alert("Four Guides two vertical and two horizontal are required"); return; } // quit
      getTarget=getSelectedLayersIdx();
      if (getTarget.length!=1){ alert("The number of layers targeted is " + getTarget.length ); return; } // quit
      if (app.activeDocument.activeLayer.isBackgroundLayer ) { alert("Can not resize the background layer"); return; } // quit
      if (!app.activeDocument.activeLayer.visible ) { alert("Active layer is  not visible"); return; } // quit
      //if (hasLayerMask()) { alert("Active layer is  Masked"); return; } // quit
      if (app.activeDocument.activeLayer.kind == LayerKind.NORMAL  || app.activeDocument.activeLayer.kind == LayerKind.SMARTOBJECT && hasLayerMask()) { deleteLayerMask ();}
      if (app.activeDocument.activeLayer.kind != LayerKind.NORMAL  && app.activeDocument.activeLayer.kind != LayerKind.SMARTOBJECT )  {
      alert("Active layer is " + app.activeDocument.activeLayer.kind); return; } // quit
      // set selection to the ared defined but the guide lines the selectiom may get undone bt the bug in .resize() backing up a steo in histoty ???
      app.activeDocument.selection.select([[theHor[0], theVert[0]], [theHor[1], theVert[0]], [theHor[1], theVert[1]], [theHor[0], theVert[1]]]);
      // resize current normal layer or smart object layer to just cover selection canvas area aspect ratio and size and mask off any overflow
      var SB = app.activeDocument.selection.bounds; // Get selection bounds
      var SWidth = (SB[2].value) - (SB[0].value); // Area width
      var SHeight = (SB[3].value) - (SB[1].value); // Area height
      var LB = app.activeDocument.activeLayer.bounds; // Get Active layers bounds
      var LWidth = (LB[2].value) - (LB[0].value); // Area width
      var LHeight = (LB[3].value) - (LB[1].value); // Area height
      var userResampleMethod = app.preferences.interpolation; // Save interpolation settings
      app.preferences.interpolation = ResampleMethod.BICUBIC; // resample interpolation bicubic
      try {
      if (LWidth/LHeight<SWidth/SHeight) { // layer's Aspect Ratio less the Canvas area Aspect Ratio
      var percentageChange = ((SWidth/LWidth)*100); // Resize to canvas area width
      app.activeDocument.activeLayer.resize(percentageChange,percentageChange,AnchorPosition.MIDDLECENTER);
      else {
      var percentageChange = ((SHeight/LHeight)*100); // resize to canvas area height
      app.activeDocument.activeLayer.resize(percentageChange,percentageChange,AnchorPosition.MIDDLECENTER);
      catch(e) {
      app.preferences.interpolation = userResampleMethod; // Reset interpolation setting
      selectFront(); // Photoshop make top layer current when none are targeted
      code(); // Retry  with top visible layer selected targeted
      return; // rest would have been done during the retry
      app.preferences.interpolation = userResampleMethod; // Reset interpolation setting
      // Seems to be a bug in  resize() the document seems to first be backed up a step in history
      app.activeDocument.selection.select([[theHor[0], theVert[0]], [theHor[1], theVert[0]], [theHor[1], theVert[1]], [theHor[0], theVert[1]]]); // redo the selection
      align('AdCH'); // align to horizontal center
      align('AdCV'); // align to vertical center
      addLayermask(); // add layer mask
    // Helper Functions
    function align(method) {
      var desc = new ActionDescriptor();
      var ref = new ActionReference();
      ref.putEnumerated( charIDToTypeID( "Lyr " ), charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
      desc.putReference( charIDToTypeID( "null" ), ref );
      desc.putEnumerated( charIDToTypeID( "Usng" ), charIDToTypeID( "ADSt" ), charIDToTypeID( method ) );
      try{executeAction( charIDToTypeID( "Algn" ), desc, DialogModes.NO );}
      catch(e){}
    // Function: hasLayerMask
    // Usage: see if there is a raster layer mask
    // Input: <none> Must have an open document
    // Return: true if there is a vector mask
    function hasLayerMask() {
      var hasLayerMask = false;
      try {
      var ref = new ActionReference();
      var keyUserMaskEnabled = app.charIDToTypeID( 'UsrM' );
      ref.putProperty( app.charIDToTypeID( 'Prpr' ), keyUserMaskEnabled );
      ref.putEnumerated( app.charIDToTypeID( 'Lyr ' ), app.charIDToTypeID( 'Ordn' ), app.charIDToTypeID( 'Trgt' ) );
      var desc = executeActionGet( ref );
      if ( desc.hasKey( keyUserMaskEnabled ) ) { hasLayerMask = true; }
      catch(e) { hasLayerMask = false; }
      return hasLayerMask;
    function getSelectedLayersIdx(){
          var selectedLayers = new Array;
          var ref = new ActionReference();
          ref.putEnumerated( charIDToTypeID("Dcmn"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
          var desc = executeActionGet(ref);
          if( desc.hasKey( stringIDToTypeID( 'targetLayers' ) ) ){
             desc = desc.getList( stringIDToTypeID( 'targetLayers' ));
              var c = desc.count
              var selectedLayers = new Array();
              for(var i=0;i<c;i++){
                try{
                   activeDocument.backgroundLayer;
                   selectedLayers.push(  desc.getReference( i ).getIndex() );
                }catch(e){
                   selectedLayers.push(  desc.getReference( i ).getIndex()+1 );
           }else{
             var ref = new ActionReference();
             ref.putProperty( charIDToTypeID("Prpr") , charIDToTypeID( "ItmI" ));
             ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
             try{
                activeDocument.backgroundLayer;
                selectedLayers.push( executeActionGet(ref).getInteger(charIDToTypeID( "ItmI" ))-1);
             }catch(e){
                selectedLayers.push( executeActionGet(ref).getInteger(charIDToTypeID( "ItmI" )));
          return selectedLayers;
    function selectFront() {
    // Alt+. shortcut select ftont visible layer
    var idslct = charIDToTypeID( "slct" );
        var desc250 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref207 = new ActionReference();
            var idLyr = charIDToTypeID( "Lyr " );
            var idOrdn = charIDToTypeID( "Ordn" );
            var idFrnt = charIDToTypeID( "Frnt" );
            ref207.putEnumerated( idLyr, idOrdn, idFrnt );
        desc250.putReference( idnull, ref207 );
        var idMkVs = charIDToTypeID( "MkVs" );
        desc250.putBoolean( idMkVs, false );
    executeAction( idslct, desc250, DialogModes.NO );
    function deleteLayerMask (apply) {
    // Delet Layer mask default to not apply first
    if (apply == undefined) {var apply = false};
    try {
    var idDlt = charIDToTypeID( "Dlt " );
        var desc9 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref5 = new ActionReference();
            var idChnl = charIDToTypeID( "Chnl" );
            var idChnl = charIDToTypeID( "Chnl" );
            var idMsk = charIDToTypeID( "Msk " );
            ref5.putEnumerated( idChnl, idChnl, idMsk );
        desc9.putReference( idnull, ref5 );
        var idAply = charIDToTypeID( "Aply" );
        desc9.putBoolean( idAply, apply );
    executeAction( idDlt, desc9, DialogModes.NO );
    catch (e) {}
    function addLayermask(){
    // Add layer Mask
    var idMk = charIDToTypeID( "Mk  " );
        var desc52 = new ActionDescriptor();
        var idNw = charIDToTypeID( "Nw  " );
        var idChnl = charIDToTypeID( "Chnl" );
        desc52.putClass( idNw, idChnl );
        var idAt = charIDToTypeID( "At  " );
            var ref19 = new ActionReference();
            var idChnl = charIDToTypeID( "Chnl" );
            var idChnl = charIDToTypeID( "Chnl" );
            var idMsk = charIDToTypeID( "Msk " );
            ref19.putEnumerated( idChnl, idChnl, idMsk );
        desc52.putReference( idAt, ref19 );
        var idUsng = charIDToTypeID( "Usng" );
        var idUsrM = charIDToTypeID( "UsrM" );
        var idRvlS = charIDToTypeID( "RvlS" );
        desc52.putEnumerated( idUsng, idUsrM, idRvlS );
    executeAction( idMk, desc52, DialogModes.NO );
    // Un link layer mask just added fron the layers content
    var idsetd = charIDToTypeID( "setd" );
        var desc2 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref1 = new ActionReference();
            var idLyr = charIDToTypeID( "Lyr " );
            var idOrdn = charIDToTypeID( "Ordn" );
            var idTrgt = charIDToTypeID( "Trgt" );
            ref1.putEnumerated( idLyr, idOrdn, idTrgt );
        desc2.putReference( idnull, ref1 );
        var idT = charIDToTypeID( "T   " );
            var desc3 = new ActionDescriptor();
            var idUsrs = charIDToTypeID( "Usrs" );
            desc3.putBoolean( idUsrs, false );
        var idLyr = charIDToTypeID( "Lyr " );
        desc2.putObject( idT, idLyr, desc3 );
    executeAction( idsetd, desc2, DialogModes.NO );

  • Why isn't symbol isolation mode aligned to the pixel grid?

    So apparently, symbol isolation mode isn't aligned to the (global apparently?) pixel grid, rather the paths are displayed aligned to the origin presumably. The origin is not aligned to an intersection of the grid. Thus it becomes very difficult to create pixel perfect symbols. Paths that are snapped to the pixel grid are then redisplayed offsetting from the origin, causing bleeding in the isolation mode. If the origin is specified as the center that is (presumably it would work fine for a corner), you're going to have a bad time.
    Is this fixed in CS6?
    Also, has there been a feature added in CS6 to reposition the origin as the center of an object?

    Okay I have figured out a workflow that generally resolves all the peculiar behavior with align to pixel and symbols.
    Do not align to pixel your paths. Align to pixel your symbols. The symbol origin will be aligned to pixel and there will be no bleeding in isolation mode and you can snap to pixel the symbol itself.
    You still have to scale/adjust your snapped to pixel paths as they are expanded on a paste for some unknown reason. This is an issue of another thread but may be useful to complete the workflow.
    It still quite an issue though that for absolutely no reason, symbols without align to pixel are displayed as displaced from an arbitrary position of the origin in isolation mode. This is a bug I feel in the implementation.

  • Alignment / Snapping Problems in CS5 Illustrator

    I'm experiencing what I considerable a major issue in CS5 where I have points and lines that are, apparently, snapping to some unknown grid or point.
    It's most noticeable when I'm working on an illustration, and then I scale it down.. all of a sudden things get wonky.
    I'm a longtime illustrator user and am pretty familiar with the ins and outs of these functions... just wondering if something has changed in CS5 or if anyone else has experienced this... and obviously looking for a solution. Thanks!
    BJ Heinley
    [email protected]

    SIDENOTE: First of all, I can't believe just how miserable and nasty and hateful people get in Adobe forums. I have been in this industry for more than 20 years and consistently the people posting to these forums are just intolerant, and rude.
    To wit, the comments you have made, JB, are really uncalled for. Especially when you consider the fact that you have taken the context out of the discussion and reinforced it with haughty arrogance in a childish and laughable, "I'll let you have the last word, because I am better than you" attitude. Are you proud of yourself? You missed the point completely and your intolerance says more about your ignorance than it does your 16 years of experience.
    The point of the matter is that nomis has a valid point regarding the focus of Illustrator: it is a vector based illustration program first. Where his argument went astray was his assertion that it's primary USE is for print illustration. While that may be his primary use and while it may be his opinion that it is best for said use, that is not the issue and your beligerence simply took the conversation in the wrong direction.
    So, not in anyone's defense, I would like to clarify that the issue is not what Illustrator should be used for, but rather what the focus of the program should be and whether the default settings should remain consistent with Illustrator's previous core functionality.
    Ironically, in the first paragraph of Smashing Magazine's article about Illustrator (which you used as a supporting reference in your argument) you will find:
    [people] use Illustrator to create vector-based graphics which — contrary to raster-based editors such as Adobe Photoshop
    Pixel-based graphics are raster-based. Vector graphics, according to one of your own sources, are by definition not pixel or raster based.
    According to Wikipedia's article on Vector Graphics:
    Vector graphics formats are complementary to raster graphics, which is the representation of images as an array of pixels, as is typically used for the representation of photographic images
    The entire concept of vector-based graphics was to create an image that was NOT dependent on pixel resolution. This gives you the advantage of scaling a vector-based image to almost any size while maintaining it's appearance. It could be said that by definition, vector-based artwork is non-pixel depth dependent. This makes it completely counter-intuitive to have a pixel-snapping feature be the default setting for a program whose primary focus has historically been and should remain the production of non-resolution or non-pixel based illustration.
    The notion that it is bad to add raster effects and pixel-grid alignment to an otherwise purely vector-based illustration program is not even being questioned here. It's whether the default settings for a vector-based illustration program should be based on resolution-dependent, media-dependent, pixel-based graphics or should the default settings maintain allegiance to the very prinicipal of vector-based illustration?
    Also, I would like to point out that your first link, though showing an outstanding use of vector-based illustration to create photo-realistic images without the use of raster effects, does more to damage your argument than support it as well. The reflections and textures created by the featured artist (who has been using illustrator since it's creation) show how to use solid outlines, not raster effects and not pixel-aligned grids to create photorealism.
    Even your example at Tutorial9.net lacks any support for the notion that  grid-based, resolution dependent graphics should be the defaults for illustrator. In fact not a single example of the 39 presented were created using illustrator alone. Every single example of 3D Typography used a raster-based illustration program or rasterizing renderer. None of that has anything to do with whether or not your graphics are aligned to a pixel grid or not*. And considering the dates of most of those images, they were undoubtedly done without the added functionality of pixel-grid alignment.
    So, BJ, I have to say that I am shocked and amazed at your response. Not only are you completely off-base by attacking another user during a time of frustration and taking one small aspect of their argument to represent the entirety of the topic at hand, not only do you claim that the other user lacks support for his argument and that your experience makes you more qualified to have an opinion, but also your nasty demeanor, your arrogance, your lack of understanding and compassion are completely overshadowed by the fact that every reference you provided to support your argument was in fact a glowing example of why Illustrator is, has been, and should remain focused on vector-based Illustration--no matter for what you should choose to use it.
    Sorry to be so easily baited by such simple trolling, but I am frustrated with Illustrator CS5's loss of focus as well. If I wanted pixel-based alignment, I'd have used Fireworks or Photoshop. In fact, I still do my work in Illustrator and import it into another program (usually photoshop) to produce non-scalable resolution dependent graphics--where the pixel-grid alignment just gets in the way. In fact, the only time I have found any benefit to pixel-grid alignment has been when using importing into Flash...but since HTML5's canvas handles the majority of what I used Flash for, I don't use it any more.
    btw, my align functions still do not work, even with all the pixel-alignment garbage disabled-rough.
    Jase
    *okay, this is a little hyperbolic, but the intent justifies the exaggeration.

  • Photoshop improvements. Disappointment at Adobe.

    Hi!
    All you know about recent Adobe decision to move to CC bussiness model. "Do less, charge more", good implementation of this principle. Before I was Adobe fan and I sincerely wanted to help them improve their products, I thought they want too. I created a list of about 80 improvements and fixes for PS. I sended it to Adobe. Also, to Tomas Knoll (I hope he recieved it, but not sure I have correct eMail, just my guess). It was a huge work, and I believed it may not be throwed to a trash can, they want to make their products better, after all! I thought...
    So? No answer after more than a week of waiting.
    The problem of our world for now is people who see only money in everything. They can't even imagine there's something else valuable around. They try to suck out money from everything, not to make anything better. That's all is only money for them and nothing else. They corrupt everything they touch. And there's at least a few people of this kind in Adobe (Autodesk and so on).
    I hope the time will come and this politics will destroy it's adherents. So, let's survive!
    Here's the work I made. I don't want it to be lost. Please, take a look and share your opinion! I will appreciate!
    Sorry for possible grammar mistakes, I'm not a native speaker.
    P.S. Is this only me who constantly get "can't do blah-blah-blah because of programm error" in CS6? Ireful!!!
    PS impovements list. In random order, presented within a few logical parts.
    Layers, Smart layer and Blending Styles
    ⦁    In free transform mode (whatever you transform - text, smart layer, maked layer) when you try to pull square handle on transformation frame it changes absolutely unexpectedly. It cause major inconvenience and wrong transformation all the time you do it. It happens even when you transform text layer. Espetially it is the problem when you have a large layer hidden by mask mostly. Sometimes handles and the frame go far outside the working space trying to represent size of layer by itself so it's impossible to operate. It is really stupid problem.  SOLUTION - Layer frame in both regular move and transfromation mode must remain the same size! Also on masked layer Photoshop must take mask center as layer center.
    ⦁    + When we have rotated layer it's frame is not rotated too. It cause inconvenience when you try to select layer underneath. Solution - rotated layer frame must always apperar rotated too.
    ⦁    There is a way to distribute a number of layers by their centers. But there's no way to achieve more common for web-designers task - distribute elements with constant margin. It must be there)
    ⦁    Often have to deal with a lot of smart layers, which, in fact, should not have to be so, but had to because of the need to change the filter or distort it, retaining the ability to edit it. We have to work with it as a separate document, blindfolded, which is often very uncomfortable. Why not add the ability to edit it in isolated mode, as in Illustrator, in the same document in which it is located? Or give an option to apply smart filters to not-smart objects. Please, concider this change, it's one of most significant changes have to be done to this program. The way it is now is not smart enough)
    ⦁    Blending (layer) styles. Why are they limited so strange? Why can't shadow be wider than 255 pixels? It's too strange. + when you make huge-huge banners you have to make elemnts smaller, turn them to smart layers and scale up to acheve effects size as needed. Strange. And must be solved.
    ⦁    When you work with layer styles you must see everything as it is, without any overlays. In CS6 something always interfere you to see object you are working with!
    ⦁    When you transform object that has layer styles those styles transform too. Where is an option to let them remain the same as before transformation???
    ⦁    The only way to crop layer is to make a mask and hit delete. But if layer goes outside the borders of document there will be areas that will remain after this. Solution - we need layer crop tool. Really need
    ⦁    Why we can add as many raster masks to the layer but can't do the same with vector masks? Why?
    ⦁    in CS6 adding adjustment layers and their editing are on two different tabs. It's very, very uncomfortably! Better make it as it was before.
    ⦁    When you transfer layer to the group, simply draggin'n'droppng it on the group icon - why, why does it falls all the way down to the very bottom? Where is logic???
    ⦁    Guides and notes. When we create multi-layered designs (each page of site in own group) both guides and notes are global (are not linked to certain group or layer) and in process of designing we have a mash with a huge amount of rulers and it's already impossible sometime to decide - what page is this guide related to? Solution - Illustrator-like guides represented by spetial kind of layer. I think one such layer must hold a few rullers (as well as notes) at one time.
    ⦁    About guides again. When you graw a shape with pen and hold down control to move a point near guide cursor starts to move guide. Stupid? Definately. Solution - whatever tool му are working with when you hold down control button coursor must not move guides.
    ⦁    When you deal with layer styles you can't pick color from the object you are working over. No, you can, but you'll pick the color of object by itself, excluding blending options. Strange behavior
    ⦁    Why when we undo actions hiding and showing layers are not  recorded as a step in history? It's pretty strange often, when you see something wrong, but can't remember that you hid a layer) I think we have to include this action in history or create separate hotkey for that , Shift-z/Shift-y, maybe
    ⦁    Very, very frustrating when you select a layer, do something and undo than. Selection goes back to previews layer! It's intorelably!!!
    ⦁    When you copy png from Firefox, for example, and paste it to photoshop the black color appears instead of alpha channel. Very boring...
    ⦁    Working with text tool. When you click with this tool over text layer hidden by other layer you go strait to this hidden text layer. Why????? It's horribly stupid. If layer is overlaped with other, it may not be selected this way. Must be fixed
    ⦁    same happens with rotated text layer. You click outside of it, but inside it's frame, and... You select it and enter editing mode. Annoying.
    ⦁    I prepose to add setting to make Smart guides visible all the time, not only when we move something. Like in Illustrator.
    ⦁    After raster layer transformation it MUST NOT be resampled immendately. Another words, Photoshop must save in memory original image and when we decide to transform it again it will transform original image, not resampled. There still are a lot of designers who does not understand that after each transformation image looses quality.
    ⦁    I think it will be pretty useful - linking parameters. For example, I have a few layers that represent one element of design and they are distributed in document separately so I can't group them. I want to hide them all (or show). If we will be able to link them there will not be such question.
    ⦁    To the point. In After Effects there is pretty handy feature that can be called "color-variables". It allows you to choose some color or a few and link color of certain elements to this variables. It gives a quick and super-easy way to quickly recolor your artwork, design an so on... I think Photoshop looses much without this great feature. Every change to big, multi-layerd design is a big problem...
    ⦁    Elemen-variable or instance copy. Yes, yes). Emagine - we have 10-pages site in one psd. On each page we have such a common for all the site elements as menu, footer, ui-elements and so on... Client wants to change something little in one of those elements, and.... You have to perform HUGE work replacing all this elements on all the pages... Scared?) So I think instance copies of layers and groups will become must-have in serious designer's arsenal as well as color-variables
    ⦁    Free-transform tool. It's not too useful now. I see at least two big downsides - resempling algorithm destroys image quality. And most important - when you get out of presets to custom mesh you have no any option to customize it. Moving corners does not affect their handles. Operating with this mesh is very uncomfortable.
    Text
    ⦁    Every time you choose font for text you can't guess does this font support Cyrilic and hieroglyphic symbols. So you can choose font that does not suport this and you'll see nothing is changed, excluding kerning. I think it would be handy if font properties will be shown in drop-down list.
    ⦁    Font preview. When we hover over font in drop-down list the text we are working with must be displayed in the font we hovered. Like in ms word. Fast and easy method to preview what we want
    ⦁    + I think it's necessary to have ability to change regular "sample" preview text with something different. I think also that when we select a pice of text and change the font "sample" must be swapped with selected text. No sure it will work well and fast, but it would be a nice feature
    ⦁    In all Adobe programms we have some fonts that has no Cyrilic and hieroglyohic sybols, but there are avilable even for free vertions of those font with this symbols. For example Stencil. I think it have to be fixed.
    ⦁    In text parameters we have no ability to add dashed underline to text, change it's color. In Web it's very common task, so why isn't it here?
    ⦁    Anti-aliasing. There are a lot of browsers, each has own anti-aliasing filter. But when you design anything in Photoshop and after see it in real life you see something different! Fonts are smoothing differently, and Adobe has no any anti-aliasing model that will emulate any of browser's real-life anti-aliasing. It must be concidered as a thing to change.
    ⦁    + we have the same with underline! Very often we see fat strange underline where in browser it must be thin 1 pixel line. Not good...
    ⦁    Pixel-perfect text. I said about it already, but... We really need it, I repeat)
    Shapes and vector.
    ⦁    Symmetry tools. We really need it)
    ⦁    While editing one point's handles on bezier curve you can see only handles nearest to this point. Why isn't there an option to show them all?
    ⦁    Custom shapes. I understand why they are separated buy setst, but why does dialog this stupid annoying "do you really want to replace this set with another" appears every time you change the set??? And why can't we review all the sets in the same time?
    ⦁    Procedural shapes. When you create a shape you often see that wrong paremeters were chosen, but you can't change it already. You have to delete that shape and draw another. We need a posibility to chage shape parameters after creating figure.
    ⦁    Scaling shapes and moving points. It's a pain when you scale a shape that's exactly (for example) 50*50 px, but because of pixel snapping the size is dancing about 30+31, or 31*30... It currupts the shape.
    ⦁    + you will have the same behavior while moving point. Sometimes it's must-have options, sometimes it really get a nerves.
    ⦁    BUGGEST fail with paths and shapes. If a point of the shape is placed initially it the middle of pixel you'll not be able to snap it to the pixel grid at all!!! It will always move at least 1 pixel in any demention, but will never be snapped properly. Fail, really)
    ⦁    When you select a shape layer and try to do a region selection over point on the path, and accedentaly click on shape layer below that, you will be switched to layer below immendately! It's ****ly annoying!
    ⦁    While drawing a shape new points don't snap to already existing ones. Same happens when you just move a poit. It seems to me Illustrator-like snapping will be pretty handy in this situation
    ⦁    + We really miss snap on bezier handles!
    ⦁    I tried to round a corner of path. And I can say sometimes it's even impossible to do, it's all manual. Maybe add a "chamfer" tool for vector layers?
    ⦁    We really need an analog of Illutrator's pathfinder. Of cource, Phoshop is not a vector program, but if there are vector tools they must be comfortable and overall.
    ⦁    I really want to see a way to merge two or more shape layers to one preserving shapes buy themself. I'm sure it's good idea
    ⦁    There must be an option to preserve handles position of neares point of path when we delete on of them. Now Photoshop tries to preserve shape, but in a lot of cases it currupts whe path we are working with.
    ⦁    We need more, and different, anti-aliasing models for vector shape. Same as for the text.
    ⦁    Masks. There's very poor functionality. For example, we can transform selection, but can't transform vector mask applied to layer. We can't add/substruct/do anything alse with it what must normally be able to do.
    Additional notes about performance and usability
    ⦁    Moving canvas. Why when document does not fill all the canvas we can't move it around? It's so stupid and uncomfortable...
    ⦁    Scroll bars. Who uses it? It's not usefil but takes a space. I think it's better to remove it or make them thinner
    ⦁    When you save document the path we saved last one must be default.
    ⦁    Changing extension must be more (much more) fast and easy. When we type extension in save dialog we well save document in psd, and it does not mean whatever we had type - png, jpg or something other. Why so stupid?
    ⦁    Save for Web dialog is not easy to use at all. Why can't we define a preset for all the slices at once or just apply it to each slice? The default gif preset is to unuseful, and changing it is a pain. I think it really worth to redisign this dialog.
    ⦁    Placing instrument settings in prefereces dialog (such as "snap vector shapes" or "image interpolation" is very, very wrong idea! All that settings must appear on the tool settings panel, otherwise it's very uncomfotrable to use
    ⦁    New representation of shape layers is very uncomfortable. Bring it back as it was - just solid color layer and mask on top of it.
    ⦁    Control-Alt-Z, Control-Z... It's very annoying when you undo with Control-Z, want to return, press Control-Shft-Z and nothing happens. Stupid behavior. Undo and Stap backward commands must be the same, with same hotkey.
    ⦁    When you try to drag n' drop a layer holding down Alt to copy it, and it's already placed on top of the layer stack you have no ability to copy it on top of original one. I think it must be fixed
    ⦁    Selecting any layer near selection frame of another layer is impossible, cursor turns to rotation/transformation mode.
    ⦁    Working with transformation box is a real pain. For example, when we try to move any little tiny layer we can't, becose or you start to move ancor point (that we don't do very often) or you start to transform layer. Very inconvinient.
    ⦁    When we grag layers from one document to another from layers panel we must always detach one document's windows to be able to do it. If we do the same moving the layers with alt held down we can transfer the between documents in different tabs. I think in both scenarios there must be a possibility to move them without need to detach window.
    ⦁    I think PS really needs advanced snapping system, much more advanced and smart than now. You'll laugh, but take a look at google's presentation maker, even it's snapping system much more advanced than what we have in Photoshop
    MOST IMPORTANT CONCEPT.
    Here I want to talk about how to make complex work more logic and easier. It's bold (maybe) concept, but believe me, it worth to make it reality. So...
    ⦁    Blending options. They have fixed, strict order that may not be changed. That limits our opportunuty to combine them, that makes impossible to acheve some complicated effects we want. I propose you the following:
    Blending options, each one, will be represented as an independed effect. We can change their order and amount, copy, delete, add, hide, hide with masks, do anything we want. Exactly the same possibility as with smart objects. And here we go to...
    ⦁    Layered logic. To be honest, all those blending options and smart filter (remember what I said about their new concept hereinabove) are just sub-layers, but they are represented differently. It makes harder to use and understand. Let's lead it to a common denominator
    ⦁    Simpiest example - we have a layer with stroke. We want it to cast a shadow. Switching on Drop Shadow we'll see that that shadow is UNDERNEATH the stroke! And we have no way to solve it. Allowing users to reorder blending options filters as sublayers, as we can now reaorder smart objects, well be the indispensable feature! + we will not confuze old-school users leaving old set and old order of those options buy default.
    ⦁    + A really crazy thought... What if we'll be able to apply blending option to another blending option? Just imagine - for example, we create a stroke, and above that we create one more. And we can make as much as we want. How complex effects can be that we'll achive!
    ⦁    And, of cource, each blending option filter (let's call it so) must be able to have own mask. Really great feature, I imagine what a cool effects we'll be able to achive!
    ⦁    UPD. And (especially since you've dropped suddenly and imprudently dropped Fireworks) Save for Web dialog must be redisigned entierly, from scratch. Now it's about unusable.
    Some additional ideas and fixes.
    ⦁    Per-element gradient. Often we have a layer with a few objects, or text layer with a few strings. If we apply gradient to that it will distribute colors from the very to to the very bottom. Per-element gradient will be handy when we want to apply it each string or character separately.
    ⦁    Gradient handles. Illustrator has this feature, why not to add it to Photoshop? Also I think the same controls for gradient overlay and gradient layer will be handy.
    ⦁    Gradient for stroke. The same as in AI.
    ⦁    What if we'll add a kind of interactive handles to stroke settings? So we'll be able to refine stroke thikness and color right on the shape it's applied to. Good idea?)
    ⦁    Gradients in such blending option as outer and inner glow, shadow, stroke well be very useful.
    ⦁    Apply color corection. For example, you have a design with washed out colors. Instead of chaging them all separately we'll add curve adgustment layer. But all the colors will generally remain the same. What if to add a tool that will "bake" those adjustments? A kind of "recolor artwork" from AI.
    ⦁    When you are duplicating and coping layers the layer panel becomes a horrible mess with dozens on layers with names like "Layer 123 copy 14" and it's very hard to sort it all out. Maybe it's better to copy layer with the same name as it's original?
    + In localazed vertions words Layer and Copy are cocalazed too that's not good, I think.
    ⦁    Clone stamp tool. It's great, but it's not as great as it can be. Very often after retouching an image you can notice the cloned areas. It's very noticeable and unveils the deception immendately. The main problem here is that the samples photoshop take as source for stamp may not be randomized (rotated and scaled randomly). Also, we can't do it manually. And donig a good healing becomes more complicated task than it could be.
    ⦁    Stamp again. Very annoying problem - when you heal a layer that ends within document frame Clone stamp starts to allow for "supposed" transperancy that does not really exist on image. So you get transparent areas where layer was ending and where it must not be.
    ⦁    In Russian Photoshop layer panel is expanded too much because of it's long title...)

    No. You cannot be taken seriously.
    1. Photoshop is not Illustrator / Fireworks / Premiere / After effects / Dreamweaver / InDesign. Thank god Adobe. It is already bloated enough.
    2. Much worse: your improvement list is sometimes faulty.
    These are randomly selected examples:
    Anri Orlow schrieb:
    When you are duplicating and coping layers the layer panel becomes a horrible mess with dozens on layers with names like "Layer 123 copy 14" and it's very hard to sort it all out. Maybe it's better to copy layer with the same name as it's original?
    Rename your layer. See screenshot.
    Anri Orlow schrieb:
    When you try to drag n' drop a layer holding down Alt to copy it, and it's already placed on top of the layer stack you have no ability to copy it on top of original one. I think it must be fixed
    False. Press first Alt and move the layer a little bit upwards until you see the light line.
    Anri Orlow schrieb:
    Custom shapes. I understand why they are separated buy setst, but why does dialog this stupid annoying "do you really want to replace this set with another" appears every time you change the set??? And why can't we review all the sets in the same time?
    What - in your opinion - means the upmost entry in the list?
    Anri Orlow schrieb:
    Why we can add as many raster masks to the layer but can't do the same with vector masks? Why?
    Only 1 layermask + 1 vectormask maximum per layer. Try it.
    3. Some of your wishes are ok, but have in mind: different people have different wishes.
    miss marple

  • How do I compensate for display objects jumping when screen scaling

    I am building an application that is to run at 2 difference stage sizes. 960x640 and 1024x768 (for those paying attention, you may note that those are the high res settings for the iPhone and iPad2)
    The app was designed and build to run on a stage of 960x640 and when running at this size, there are no problems.
    When the app loads in the 1024x768 window, it "strechs" the stage to fill the window, but keeps the aspect ratio. Everything looks good and the application runs without any problems expect for one thing.
    Sometimes, display objects on the stage "jitter" when moving or animating. I have discovered that this is because the stage is "scaling" the x and y values, and is not pixel snapping the objects on the screen, even though the x and y values of the display object are indeed whole numbers.
    A prime example of this is I have 2 bitmapData images. bmData_s and bmData_h.
    bmData_s is 192x388 in size.
    bmData_h is created from a copy of bmData_s with a glow filter stroke on it, resulting in a image that is 198x394 (6 pixels bigger due to a 3 pixel stroke)
    I place it on the screen using the following code:
    (Background is a bitmap object that is 960x480 and places at 0,0)
    (ObjOffset is a point in my app data to position the object, it's a point set to 53,195)
    MyObj.x = Background.x + ObjOffset.x + (bmData_s.width/2);
    MyObj.y = Background.y + ObjOffset.y + (bmData_s.height/2);
    now, when the mouse rolls over the object, I have an event listener to change MyObj.bitmapData to bmData_h
    MyObj.bitmapData = bmData_h;
    MyObj.x = Background.x + ObjOffset.x + Math.floor(bmData_h.width/2);
    MyObj.y = Background.y + ObjOffset.y + Math.floor(bmData_h.height/2);
    and back to the _s image on mouse out.
    Now, when the app runs on the iPhone which is a 960x640 screen size, or on the PC which is using a window of similiar size, the image doesn't appear to move at all... the "stroke" appears and disappears exactly as it is suppose to
    However, when I run it in a window that is 1024x768, the _h image appears to "jump" one pixel up.
    I have encountered many other similiar things that only occure when the stage is scaled. There is a spot in the app where I am animating a bitmap by manipulating it's scrollrect x and width (have it's do a wipe in from right to left like a peice of paper unrolling on a table) and due to the scaling, the right edge of the image jumps left and right 1 pixel... but on 960x640 screens, it looks perfect.
    Does anyone know how I can compensate for this effect so that this jumping doesn't occur when the stage is stretched to fit the window it's running in?

    Sounds like a x-browser rendering problem
    my guess would be to scale down the inner div's so they add up to less than 100%.
    If you floated div's and gave them a %, give one of the div's a smaller.
    ie: 2 divs floated in a Header, give one 50% and the other 49.5%

  • Can someone from Adobe please explain why measurements in CS6 are not accurate..PLEASE?

    I'm tired of wasting my time looking for reasons why measurements I key in are constantly changed to some arbitary number decided by Illustrator. I'm currently working on a 100mm x 100mm box with a corresponding grid and yet for some reason my measurements get changed to 100.238mm or 99.834mm or similar... I just wasted another 10 minutes trying to work out how to ask someone this question...am I the only one experiencing this...NO! Any answers Adobe, please?

    The above answers are absolutely correct, because it was obvious @Brayhill had Pixel-Snap turned on.
    Specifically for print work, where keying in values may sometimes not show correctly* in the Control Bar at the top, there is another little hidden setting in Preferences -> General -> Use Preview Bounds.
    If you are doing millimeter perfect templates for example, and want the total to show for example 100 x 100mm, regardless of the stroke weight asigned, just uncheck the Preview Bounds box in Preferences.
    *Checked will always add your stroke width (as well as some other effects) to the total shown in the Control Bar. This can also be very useful at times, say when you need to fit an entire group with strokes and effects within 100x100mm, like an advertisement.

  • Trendline between two points

    hi
    i have a code like this
    trendline.jsp
    <%@page import="ChartDirector.*" %>
    <%
    // The data for the line chart
    double[] data = {50, 55, 47, 34, 42, 49, 63, 62, 73, 59, 56, 50, 64, 60, 67, 67, 58,
        59, 73, 77, 84, 82, 80, 91};
    // The labels for the line chart
    String[] labels = {"Jan 2000", "Feb 2000", "Mar 2000", "Apr 2000", "May 2000",
        "Jun 2000", "Jul 2000", "Aug 2000", "Sep 2000", "Oct 2000", "Nov 2000",
        "Dec 2000", "Jan 2001", "Feb 2001", "Mar 2001", "Apr 2001", "May 2001",
        "Jun 2001", "Jul 2001", "Aug 2001", "Sep 2001", "Oct 2001", "Nov 2001",
        "Dec 2001"};
    // Create a XYChart object of size 500 x 320 pixels, with a pale purpule (0xffccff)
    // background, a black border, and 1 pixel 3D border effect.
    XYChart c = new XYChart(500, 320, 0xffccff, 0x000000, 1);
    // Set the plotarea at (55, 45) and of size 420 x 210 pixels, with white background.
    // Turn on both horizontal and vertical grid lines with light grey color (0xc0c0c0)
    c.setPlotArea(55, 45, 420, 210, 0xffffff, -1, -1, 0xc0c0c0, -1);
    // Add a legend box at (55, 25) (top of the chart) with horizontal layout. Use 8 pts
    // Arial font. Set the background and border color to Transparent.
    c.addLegend(55, 22, false, "", 8).setBackground(Chart.Transparent);
    // Add a title box to the chart using 13 pts Times Bold Italic font. The text is
    // white (0xffffff) on a purple (0x800080) background, with a 1 pixel 3D border.
    c.addTitle("Long Term Server Load", "Times New Roman Bold Italic", 13, 0xffffff
        ).setBackground(0x800080, -1, 1);
    // Add a title to the y axis
    c.yAxis().setTitle("MBytes");
    // Set the labels on the x axis. Rotate the font by 90 degrees.
    c.xAxis().setLabels(labels).setFontAngle(90);
    // Add a line layer to the chart
    LineLayer lineLayer = c.addLineLayer();
    // Add the data to the line layer using light brown color (0xcc9966) with a 7 pixel
    // square symbol
    lineLayer.addDataSet(data, 0xcc9966, "Server Utilization").setDataSymbol(
        Chart.SquareSymbol, 7);
    // Set the line width to 2 pixels
    lineLayer.setLineWidth(2);
    // tool tip for the line layer
    lineLayer.setHTMLImageMap("", "", "title='{xLabel}: {value} MBytes'");
    // Add a trend line layer using the same data with a dark green (0x008000) color. Set
    // the line width to 2 pixels
    TrendLayer trendLayer = c.addTrendLayer(data, 0x008000, "Trend Line");
    trendLayer.setLineWidth(2);
    // tool tip for the trend layer
    trendLayer.setHTMLImageMap("", "", "title='Change rate: {slope|2} MBytes/per month'");
    // output the chart
    String chart1URL = c.makeSession(request, "chart1");
    // include tool tip for the chart
    String imageMap1 = c.getHTMLImageMap("");
    %>
    <html>
    <body topmargin="5" leftmargin="5" rightmargin="0">
    <div style="font-size:18pt; font-family:verdana; font-weight:bold">
        Trend Line Chart
    </div>
    <img src='<%=response.encodeURL("getchart.jsp?"+chart1URL)%>'
        usemap="#map1" border="0">
    <map name="map1"><%=imageMap1%></map>
    </body>
    </html>getchart.jsp
    <%@page import="ChartDirector.*" %><%
    try
         out.clear();
         GetSessionImage.getImage(request, response);
         if (Math.max(1, 2) == 2) return;
    catch (IllegalStateException e)
         response.sendRedirect(response.encodeRedirectURL(
              "getchart.chart?" + request.getQueryString()));
         return;
    %>i have to draw a trendline chart...
    i searched for examples...
    i come across this. above example..
    actually my querry is i ve to draw the trendline between two points.
    in between "data" ( 63 to 70) only...
    is there any way to do this
    please help me
    thank you in advance.

    hi
    i tried this..
    <%@page import="ChartDirector.*" %>
    <%
    // The data for the line chart
    double[] dataX0 = {6};
    double[] dataY0 = {63};
    String[] labels2 = {"Jul 2000", "Aug 2000", "Sep 2000", "Oct 2000", "Nov 2000",
        "Dec 2000"};
    // The lengths (radii) and directions (angles) of the vectors
    double[] dataR = {3};
    double[] dataA = {60};
    // The labels for the line chart
    String[] labels = {"Jan 2000", "Feb 2000", "Mar 2000", "Apr 2000", "May 2000",
        "Jun 2000", "Jul 2000", "Aug 2000", "Sep 2000", "Oct 2000", "Nov 2000",
        "Dec 2000", "Jan 2001", "Feb 2001", "Mar 2001", "Apr 2001", "May 2001",
        "Jun 2001", "Jul 2001", "Aug 2001", "Sep 2001", "Oct 2001", "Nov 2001",
        "Dec 2001"};
    // Create a XYChart object of size 500 x 320 pixels, with a pale purpule (0xffccff)
    // background, a black border, and 1 pixel 3D border effect.
    XYChart c = new XYChart(500, 320, 0xffccff, 0x000000, 1);
    // Set the plotarea at (55, 45) and of size 420 x 210 pixels, with white background.
    // Turn on both horizontal and vertical grid lines with light grey color (0xc0c0c0)
    c.setPlotArea(55, 45, 420, 210, 0xffffff, -1, -1, 0xc0c0c0, -1);
    // Add a legend box at (55, 25) (top of the chart) with horizontal layout. Use 8 pts
    // Arial font. Set the background and border color to Transparent.
    c.addLegend(55, 22, false, "", 8).setBackground(Chart.Transparent);
    // Add a title box to the chart using 13 pts Times Bold Italic font. The text is
    // white (0xffffff) on a purple (0x800080) background, with a 1 pixel 3D border.
    c.addTitle("Long Term Server Load", "Times New Roman Bold Italic", 13, 0xffffff
        ).setBackground(0x800080, -1, 1);
    // Add a title to the y axis
    c.yAxis().setTitle("MBytes");
    // Set the labels on the x axis. Rotate the font by 90 degrees.
    c.xAxis().setLabels(labels).setFontAngle(90);
    c.addVectorLayer(dataX0, dataY0, dataR, dataA,1, 0x0000cc
        ).setArrowHead(11);
    /*LineLayer layer1 = c.addLineLayer();
    //LineLayer layer1 = c.addLineLayer(dataY0, 0xff3333, "Compound AAA");
    layer1.addDataSet(dataY0, 0xff3333, "Close Loop Line").setDataSymbol( Chart.LeftTriangleSymbol, 10);
    layer1.setXData(dataX0);
    layer1.setLineWidth(2);*/
    // Add a line layer to the chart
    LineLayer lineLayer = c.addLineLayer2();
    // Add the data to the line layer using light brown color (0xcc9966) with a 7 pixel
    // square symbol
    lineLayer.addDataSet(data, 0xcc9966, "Server Utilization").setDataSymbol(
        Chart.SquareSymbol, 7);
    lineLayer.setLineWidth(2);
    // output the chart
    String chart1URL = c.makeSession(request, "chart1");
    // include tool tip for the chart
    //String imageMap1 = c.getHTMLImageMap("");
    %>
    <html>
    <body topmargin="5" leftmargin="5" rightmargin="0">
    <div style="font-size:18pt; font-family:verdana; font-weight:bold">
        Trend Line Chart
    </div>
    <img src='<%=response.encodeURL("getchart.jsp?"+chart1URL)%>'
        usemap="#map1" border="0">
    </body>
    </html>how can i set the angle of direction for the arrow..
    suppose
    i wanna draw an arrow b/w these points
    y=50 to y=37
    how can give the length and direction here
    c.addVectorLayer(dataX0, dataY0, dataR, dataA,1, 0x0000cc
        ).setArrowHead(11);i mean in daraR and dataA...
    please help me
    thank you in advance

  • Align / smart guides not working

    I am having a super-weird problem. I have a black rectangle that I would like to be exactly the same width as a larger white rectangle. When I try aligning the left edges, it is ever so slightly off. When I turn on smart guides and try to transform the black rectangle to snap to the white rectangle's left edge, the same thing happens -- ever so slightly off.
    There are only 3 rectangles in the entire .ai, and I have checked to make sure that snap to pixels / snap to grid are turned off. I have quit and restarted the program.
    Any clue why align is being funky, or how to fix it?
    Thanks!

    It sounds like something is going on with the alignment using the align tool. You could, if need be do it the old fashion way by the numbers. Entering numeric values fo X and Y positions to align exactly. This can be done with copy and paste too.
    Wait, you may need to check how your aligning in Preferences.
    Are you aligning to Preview Bounds or to the actual vectors?
    Or… Vector

  • Problem attaching external .jpgs to movie clips

    Hi There,
    I am not able to attach a file (.jpg) outside of flash to a
    movieClip without it changing the scale of the image. Stepping
    through with the debugger, its clear the image loads correctly til
    it is applied to the movie clip, I assume with the attachBitmap
    function. It scales it up a little more than 50% and I can't figure
    out where that scale is coming from. It appears to scale up from
    the upper left corner. We have checked to make sure all the
    movieclips within our flash file are the exact same size as the
    image files (150 X 150). Please see code example. Everything is
    fine except for this. We tried using the matrix transformation to
    down size the images but the quality was not acceptable even with
    using smoothing and pixel snapping.
    So, the basic question being, how do we use attachBitmap and
    have it preserve the original size? Any ideas for how to get this
    to work is greatly appreciated...
    thanks,
    Laura

    well I'm afraid there are a few things that are not quite
    right with the method here - however, the real problem is most
    likely that the original image resolution is higher than 72 dpi -
    it must be set at standard screen res or Flash will scale it up
    uniformly to work at 72.
    I think that you may have more success with something more
    like this:

  • Inserting video into Acrobat 9 Pro

    Hi,
    I can embed a flash video (flv) file into my PDF and and it works fine.
    The options dialog correctly shows the size of the video and displays it in the page.
    The video is 720 x 370 pixels
    snap to content proportions is always checked.
    When I link to a video which is online (same file) and I insert by double clicking...
    The options dialog shows the video proportions to be 320 x 240. I can not change this. Acrobat then puts a huge ugly black bordered rectangle on the page. This covers some of my text and its size can not be adjusted.
    Border is set to None in the options dialog.
    When my video is clicked and plays it has dark grey areas top and bottom just as a widescreen movie would on a regular TV.
    When I link to a video which is online (same file) and I insert by drawing the area with a click and drag.....
    The size of the rectangle seems to be based on the height of the area I drag. It maintains a 4 x 3 type aspect ratio. Acrobat then puts a ugly black bordered rectangle on the page again. Drag a small area you get a tiny rectangle.
    Border is set to None in the options dialog.
    When my video is clicked and plays it has the same dark grey areas top and bottom just as a widescreen movie would on a regular TV.
    When I insert an image using create poster from file in the options dialog the image is scaled/stretched to fit the container (no black bars top and bottom. The video still has the bars when it plays though.
    How can I get my video to play and display at its proper size when it is linked not embedded?????
    Thanks
    Mark

    Hi All,
    Just thinking that perhaps it would help to rephrase my question. . .
    Does anyone else add Captivate demos to PDF files, and if so which format do you use?
    Which format should I use in order to embed the demo file and see the playback controls when running the demo in the PDF file?
    I'm using Captivate 3 and Acrobat 9 Pro Extended, both from the Tech Comms Suite v1.3.
    Thanks for any help you can provide.
    Regards
    Lillibet

  • Future of Flash Builder

    I just read that Adobe will discontinue Flash Catalyst and the Design View in Flash builder ?
    Is that TRUE ? Programatically Layout and Design uh?
    http://forums.adobe.com/message/4085187#4085187
    If so that would be a BIG step backwards

    I am a designer/developer - I do use the design view extensively. And yes I am more than worth my salt and more. For me, being able to have immediate visual feedback is absolutely necessary. I don't like coding "blind". I have had the opportunity to work Microsoft Blend - Visual Studio since 2007 - It really is what I hoped flex would be. The best of both worlds. As front-end interface developer designer I could work on the exact same source-code, submitting to SVN on a regular basis together with the software engineers developing the backend and SDK. Blend allowed me controle over the primitive shapes that makes up a component. This allowed extreme customisation and optimisation. The wysiwyg view is an absolute crucial part of the process (e.g. do I want this rectangle to have 5px margins or 4, do the shadow work better with a 10 px falloff or a 8px falloff, do I want pixel snap on or off [whish flash had that] - which does look and work different than the photoshop one so I DO HAVE TO DESIGN in the wysiwyg as well)
    Yes sure, I do go through a phase designing in Illustrator and Photoshop, but putting the components together takes time. I do not simply import flat artwork and then wrap them in some appropriate container. I build components up using multiple primitive shapes which gets re-purposed and targeted for various states, subtle animations, color-changes and has to comply to it's parent-component's rescaling capabilities. During that phase I do NOT want to continuously recompile. (although I would sometimes create a separate project just to test a specific component that can only be fully viewed after recompiled).
    The excuse of "all good coders don't use the design view anyway" is a cop out. I can understand if Adobe says
    1) we did not have the resources to do it decently (like Microsoft Blend)
    2) we simply do not put the resources in to hire clever enough developers to create a decent tool
    But a statement like it's preferable to work only blindly in code is simply wrong and naive of the state of art of dev. tools. Maybe for a dos-like interface or win-32 forms style interface only using stock-standard layout and components.
    The biggest advantage of Microsoft Blend is being able to have split view open - I do this with Flashbuilder as well although it is slower and more buggy than Blend - I would write the markup and see updates realtime, switch over to Visual Studio that has the project open in the background for some serious code-completion capabilities - then miss my wysiwyg view - and switch rigth back to Blend.
    Why am I using flash-builder/flex - if it was not for the fact that Microsofts wpf-framework only works fully on Win-OS or a subset of it as a silverlight plugin on fewer platforms than flash - I would have used Microsoft. The reason using flash is because it can be deployed on so many platforms - consistently (not like the html4 and now 5 chaos) - It has powerful interactive and multimedia capabilities.
    My HTML works exactly the same way - for certain core complex components I will code and have a wysiwyg open as well for better navigation, more inuitive decision making and less time spend going backwards and forwards between compiling/running in the browser - but with the sad state of wysiwyg of dreamweaver unluckily I have to swithc more often (not because I am a more "CLEVER" developer)
    Summary - I will use flash/flex only if there is no alternative because of this decision - Flash was supposed to be a creative environment to create highly interactive and creative applications/content for multiple platforms.
    Thanks Adobe , I have used Macromedia director since 1993 - You managed to kill that off and now you are messing with flash - It could have been so much more. You simply lack the vision and we are stuck with the limitations, inconsistency, long-development time of HTML5 and a messy array of tools to try and make it usefull.
    Whish Microsoft had the vision to make wpf work on all platforms....

  • CS4 Rectangular Marqee & Guides Bugs Identified

    One of the first things I noticed upoin upgrading was that any rectangular marquee selection appears 1 pixel to the right of the pixel snap point. Interestingly, guides brought in with snap-to-pixel appear just to the left (x-plane) or above (y-plane). See below for some screen captures I refer to in my analysis:
    http://cstashuk.aristotle.net/cs4/
    GUIDES:
    When bringing in guides I was snapping-to-pixel and I even watched the Info dialog window showing I was snapped to the pixel location of 100, only to let go of the mouse button and see the guides "shifted slightly". The grey line that appears while you are moving/establishing the guide does however click to pixels as I am moving the mouse. See "ps_cs4_guides.gif" to make the point. These are guides brought in at 100 pixels on both the x and y axis. It shows the red guides shifted slightly which I suppose is not such a big deal, but why has this changed from ALL earlier versions. For someone who is trying to use guides to insure exact crpping, this is disappointing.
    RECTANGULAR MARQUEE:
    The other samples I posted show how snap-to-pixel rectangular marquee selections are off on the left side only (see samples 1-3). Note however that sample "ps_cs4_marquee_circular" which shows that the circular marquee successfully represents it left "x=0" location.
    I would love to know if anyone has solved these issues. Thanks in advance!!
    Christopher

    Ann,
    Check your Photoshop 11 Preferences > Performance > GPU Settings > Advanced Settings > GL Settings >
    Advanced Drawing
    This last box should be grayed out because you're running a PPC machine. It's certainly grayed out on my machine.
    Folks with Mac-Intel boxes have full access to all Advanced Drawing options, including a box for
    Use for Image Display.
    If they have that enabled, I can see it making some pretty heavy demands on the graphics card. Those of us running G4 and G5 boxes don't have to worry about that. ;)

Maybe you are looking for