Dashed border around any component

Sorry if this a stupid question since I am very new to Flex.
But, I cannot set the dashed or dotted border around mx:Canvas (or
any other component for that matter). borderStyle allows only four
settings: solid, inset, outset and none.
Is there any easy way to achieve this?
Thank you

Here is an app using this class I posted to my web site,
ChikaraDev.com. You can right
click and select View Source.
DashBorderExample

Similar Messages

  • Border around an href img

    I know this is going to turn out to be obvious, but....
    http://www.fourcreeks.org/may-creek-basin/watersheds.htm
    The main image is included in an <a href> to make it a
    hyperlink. Before I added the link there was no border around the
    image; now there is.
    I've tried to set the style for the <a> to border:0;
    text-decoration:none; background:transparent but nothing seems to
    remove the border that was added when the link was created.
    What do I need to do to get rid of the border around the
    linked image?
    Thanks
    Tom

    On 27 Sep 2006 in macromedia.dreamweaver, TCarp wrote:
    > I need to bring this topic back up. Using the img border
    0 worked
    > for the initial border around the image, but now I'm
    noticing that I
    > get a dashed border around the image when the link has
    been visited.
    > I experimented with a:visited img, a img:visited and a
    few other
    > combinations but nothing worked.
    >
    > How do I totally eliminate any borders around images
    used as links
    > in any state (hover, visited, etc.)?
    That's an accessibility feature, so that those using adaptive
    devices can
    see where they are on the page. You can eliminate it - do a
    web search
    for 'link scrubber' - but it makes your pages less
    accessible.
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/email.php

  • Custom dashed border

    Hello everyone.
    For a custom project I've created a PhotoViewer, that simply shows images and fades them in and out along with a title and some text. I wanted to create a dashed border to put around these images and created my own implementation of a UIComponent. I found a fantastic example here:
    http://cookbooks.adobe.com/post_Creating_a_dashed_line_custom_border_with_dash_and-13286.h tml
    I modified it a bit, as I only wanted the border to be on top and bottom sides.
    (see at the bottom of this post for source code)
    The problem first shows itself when I put the variables "dashLen" and "dashGap" to 1. I only want the dashes to be one pixel wide and one pixel apart from each other. The border at the top of the images shows up exactly as I expected. The border at the bottom does not. The dashes seem 'fatter' somehow, almost as if a couple of lines are drawn right on each other. I want the bottom border to be exactly the same as the top border, of course.
    The code for drawing these lines seems to be exactly the same, so I don't know what's causing this problem.
    Can any of you give me a hand?
    Thanks in advance
    Full source code is here:
    <mx:Canvas>
        <mx:Dissolve alphaFrom="1" alphaTo="0" id="fadeOut" duration="1000" targets="{[imageToShow, title, text]}"  />
        <mx:Dissolve alphaFrom="0" alphaTo="1" id="fadeIn" duration="1000" targets="{[imageToShow, title, text]}" />
        <mx:HBox borderSkin="photoViewer.Dashborder" styleName="tightDashBorder" paddingTop="1" paddingBottom="1" borderColor="#6666CC" borderThickness="1" id="container" width="95%">
            <mx:VBox verticalAlign="middle" verticalGap="0" height="90%" width="255">
                <mx:TextArea color="#6666CC" paddingTop="35" height="20%" width="255" id="title"/>
                <mx:TextArea color="#333333" height="80%" width="255" id="text"/>
            </mx:VBox>
            <mx:Image width="510" height="299" id="imageToShow" maintainAspectRatio="true" />
        </mx:HBox>
    </mx:Canvas>
    The dashBorder class:
        import flash.display.LineScaleMode;   
        import mx.core.UIComponent;
      public class Dashborder extends UIComponent {
        private var dashlen:Number = 5;
        private var gaplen:Number = 5;
        public function Dashborder(){
          super();
        override protected function updateDisplayList (unscaledWidth:Number, unscaledHeight:Number):void{
          super.updateDisplayList(unscaledWidth, unscaledHeight);
          var borderThickness:int = getStyle("borderThickness");
          var borderColor:int = getStyle("borderColor");
          graphics.clear();
          graphics.lineStyle(borderThickness, borderColor, 1, false, LineScaleMode.NONE)
          if (getStyle("dashlen")) {
               this.dashlen = getStyle("dashlen");
          if (getStyle("gaplen")) {
               this.gaplen = getStyle("gaplen");
          drawBorder(this.x, this.y, unscaledWidth, unscaledHeight, this.dashlen, this.gaplen);
        public function drawLine(x1:Number, y1:Number, x2:Number, y2:Number, dashlen:Number, gaplen:Number): void {   
          if((x1 != x2) || (y1 != y2)){
            var incrlen:Number = dashlen + gaplen;
            var len:Number = Math.sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));
            var angle:Number = Math.atan((y2 - y1) / (x2 - x1));
            var steps:uint = len / (dashlen + gaplen);
            var dashstepx:Number = dashlen * Math.cos(angle);
            if (x2 < x1) dashstepx *= -1;
            var dashstepy:Number = dashlen * Math.sin(angle);
            var gapstepx:Number = gaplen * Math.cos(angle);
            if (x2 < x1) gapstepx *= -1;
            var gapstepy:Number = gaplen * Math.sin(angle);
            var stepcount:uint = 0;
            while ((stepcount++) < steps) {    
              var dashstartx:Number;
              var dashstarty:Number;
              var dashendx:Number;
              var dashendy:Number;
              if(x1 == x2 && y1 != y2){
                dashstartx = dashendx = x1;
                if(y2 > y1){
                  dashstarty = y1 + ((stepcount-1) * (dashlen + gaplen));            
                  dashendy = dashstarty + dashlen;
                }else{
                  dashstarty = y1 - ((stepcount-1) * (dashlen + gaplen));            
                  dashendy = dashstarty - dashlen;
              }else if(y1 == y2 && x1 != x2){
                dashstarty = dashendy = y1;
                if(x2 > x1){
                  dashstartx = x1 + ((stepcount-1) * (dashlen + gaplen));
                  dashendx = dashstartx + dashlen;
                }else{
                  dashstartx = x1 - ((stepcount-1) * (dashlen + gaplen));
                  dashendx = dashstartx - dashlen;
              graphics.moveTo(dashstartx, dashstarty);
              graphics.lineTo(dashendx, dashendy);
        private function drawBorder(x1:Number, y1:Number, width:Number, height:Number, dashlen:Number, gaplen:Number) : void {
          drawLine(x1, y1, x1 + width, y1, dashlen, gaplen); //top border
          drawLine(x1 + width, y1 + height, x1, y1 + height, dashlen, gaplen); //bottom border

    Sorry for the bump, but does anyone have an idea for how to solve this issue? I'm really stuck with this.
    Thanks

  • Border around embedded swf object in IE 8

    I'm well aware of the Eleos/Microsoft issues that came before IE 8. However this isn't my problem. My company's website is able to display the swf file fine in FF but in IE, as soon as somebody clicks on the swf file, it does its thing without having to double-click (as in the ActiveX issue previously discussed) but also has what looks like a pink border around it. I'm testing in IE and created the Flash component in Flash CS4 using AS 3.0.
    website address: http://arc-a.org/
    Like I said before, the SWF object is activated on the first click, and doesn't have to do with the previously mentioned ActiveX control issue.
    Any help in the matter would be appreciated.
    Thanks!

    kglad,
    Are you able to interact with the slideshow without seeing any border once you active the control?
    I thought MS did away with the ActiveX Control in IE8...why are you still seeing that warning?

  • How to add a Border around an ImageView

    Hi all,
    I'm adding a row of photos in my application which are being resized to fit into some constrained space with Preserve Ratio true. They are put in a TilePane, with a Label below each photo.
    Basically, I give all my ImageViews a fitHeight of 120 pixels, and let them determine how wide they will become themselves in order to preserve the ratio.
    It looks great.
    However, I would like to add a Border around these images, as they sometimes fade too much into the background to clearly see the edges. ImageViews themselves donot support borders, so I'm forced to wrap these ImageViews inside another container.... but, no matter what container I use, the container itself refuses to resize itself to fit exactly around the image -- it seems to be completely oblivious of the real size of the Image -- with some parameters the ImageView will simply render itself outside the edges of its container, and with other parameters the container is wider than the ImageView leaving a gap on the right side.
    This is yet another instance where I want my ImageViews to resize themselves to fit the available space, resulting in a huge struggle to force these components into their proper straight-jacket. Anyone got any solutions for this?

    I'm afraid that also won't work, as the Image needs to be scaled, and the dimensions you are using are from the unscaled image.
    I've however am now using this class to get what I want, together with a stylesheet to specify the border it works and I get nice borders.
    package hs.mediasystem.util;
    import javafx.beans.property.BooleanProperty;
    import javafx.beans.property.ObjectProperty;
    import javafx.beans.property.SimpleObjectProperty;
    import javafx.geometry.Bounds;
    import javafx.geometry.Insets;
    import javafx.geometry.Pos;
    import javafx.scene.Node;
    import javafx.scene.image.Image;
    import javafx.scene.image.ImageView;
    import javafx.scene.layout.Region;
    import javafx.scene.layout.StackPane;
    public class ScaledImageView extends Region {
      private final ImageView imageView = new ImageView();
      private final StackPane effectRegion = new StackPane();
      private final ObjectProperty<Pos> alignment = new SimpleObjectProperty<>(Pos.TOP_LEFT);
      public ObjectProperty<Pos> alignmentProperty() { return alignment; }
      public final Pos getAlignment() { return this.alignment.get(); }
      public final void setAlignment(Pos pos) { this.alignment.set(pos); }
      public ScaledImageView(Node placeHolder) {
        getChildren().add(imageView);
        getChildren().add(effectRegion);
        getStyleClass().add("scaled-image-view");
        effectRegion.getStyleClass().add("image-view");
        if(placeHolder != null) {
          effectRegion.getChildren().add(placeHolder);
          placeHolder.getStyleClass().add("place-holder");
          placeHolder.visibleProperty().bind(imageView.imageProperty().isNull());
      public ScaledImageView() {
        this(null);
      @Override
      protected void layoutChildren() {
        Insets insets = effectRegion.getInsets();
        double insetsWidth = insets.getLeft() + insets.getRight();
        double insetsHeight = insets.getTop() + insets.getBottom();
        imageView.setFitWidth(getWidth() - insetsWidth);
        imageView.setFitHeight(getHeight() - insetsHeight);
        layoutInArea(imageView, insets.getLeft(), insets.getTop(), getWidth() - insetsWidth, getHeight() - insetsHeight, 0, alignment.get().getHpos(), alignment.get().getVpos());
        Bounds bounds = imageView.getLayoutBounds();
        effectRegion.setMinWidth(bounds.getWidth() + insetsWidth);
        effectRegion.setMinHeight(bounds.getHeight() + insetsHeight);
        effectRegion.setMaxWidth(bounds.getWidth() + insetsWidth);
        effectRegion.setMaxHeight(bounds.getHeight() + insetsHeight);
        layoutInArea(effectRegion,  0, 0, getWidth(), getHeight(), 0, alignment.get().getHpos(), alignment.get().getVpos());
      @Override
      protected double computePrefWidth(double height) {
        return 0;
      @Override
      protected double computePrefHeight(double width) {
        return 0;
      public final ObjectProperty<Image> imageProperty() { return imageView.imageProperty(); }
      public final Image getImage() { return imageView.getImage(); }
      public final void setImage(Image image) { imageView.setImage(image); }
      public final BooleanProperty preserveRatioProperty() { return imageView.preserveRatioProperty(); }
      public final boolean isPreserveRatio() { return imageView.isPreserveRatio(); }
      public final void setPreserveRatio(boolean preserveRatio) { imageView.setPreserveRatio(preserveRatio); }
      public final BooleanProperty smoothProperty() { return imageView.smoothProperty(); }
      public final boolean isSmooth() { return imageView.isSmooth(); }
      public final void setSmooth(boolean smooth) { imageView.setSmooth(smooth); }
    }

  • Thick border around hyperlink in exported PDF (in some PDF viewers)

    We are seeing an issue with the formatting of hyperlinks once a report is exported to PDF.
    The problem is that the resulting PDF shows a thick black border around the hyperlink, but only when viewed in certain PDF viewers.  For example, the formatting looks fine in various versions of Adobe (both Reader and Acrobat), but when viewed in PDF Converter Pro (our company's new standard) we see the thick black border.
    Also, GSview completely chokes and refuses to display the PDF.  Not sure if this error message is a red herring..
    The problem occurs in PDF's created by the following Crystal environments:
    - Full version of Crystal 2008 designer (even though Print Preview looks okay)
    - A .NET web application built on Crystal 2008 components
    - A .NET Windows application built on Crystal 8.5 components
    It seems that our PDF output file has had this problem for at least the two years that we have been generating these reports, but was not noticed until we switched to a new standard PDF viewing application ([PDF Converter Pro|http://www.nuance.com/imaging/products/pdfconverter.asp]).
    Initially, I thought that Crystal was relying on our installed PDF creation tool to generate the PDF, but I understand from this thread that Crystal uses its own PDF engine:
    [Version of PDF export Engine|Version of PDF export Engine]
    Any advice would be appreciated.  From what I have learned so far, I think our best option might be to find a way to get users to use Adobe Reader to view the problematic PDF files.
    Edited by: Shannon Wagner on Sep 23, 2009 5:16 PM - (Removed GSView output since it seemed to be messing up the format of the post.)

    Hola,
    does anyone know if this bug (and yes, it is a bug), has been fixed in any later version of crystal reports ?
    I am using Crystal 2008 and any object with a defined hyperlink is getting a black border written into the PDF when the settings on the control explicilty say 'None' for all 4 borders of the object. This is true when the pdf exported from CR is viewed on the latest versions of Snow Leopard (Mac OSX 10.7) on any Mac computer.
    This is a posting for a mac forum circa 2009 which still applies at the the time of my posting here - http://hintsforums.macworld.com/archive/index.php/t-106893.html
    The problem is that the PDF exported from CR is being generated with the following settings for the border of the affected objects:
    /Border [ 10 10 10 60 ]
    if the top,left,right,bottom border in CR is set to 'None', then the reports designer should actually be outputting this:
    /Border [ 0 0 0 0 ]
    if you open the PDF in TextEdit on the mac and make the above change, the borders disappear. However this is obviously not a suitable work-around for an end-user.

  • How to add white border around my Banner?

    Hello,
    I am trying to add a small border around my banner.
    I tried to code it in but it didnt seem to work. Not sure why?
    So i added just without the border.
    Any thoughts?
    Thank you!
    Ivan
    Here is the URL - http://www.the-electronic-cigarette.net

    Your header is defined as an id in style.css
    So, in your CSS:
    #branding {
              background: #ffffff url(images/sky.png) top left repeat-x;
              margin-bottom: -20px;
    Change to:
    #branding {
              border-color: fff;
      border-width: 3px;
              margin-bottom: -20px;
    That will create a 3 pixel border around the div.

  • How to create a border around JCheckBox?

    Hello,
    I would like to set a border around a JCheckBox. I don't mean the little square arround the check symbol, I mean the whole component. Does anyone know how to do this?
    More details:
    What I am trying to do is to use a JCheckBox as the renderer for a column in a JTable. However, I would like the values of this column to look like the column headers. In other words, I am trying to create a "row header". However, when I try to set the border of my JCheckBox to the same thing as the header renderer component, it doesn't show up that way. If I just use a JLabel as the renderer, I can set the border and it shows.
    Does anyone have a suggestion? Thank you for your help.

    yourCheckBox.setBorderPainted(true);

  • How to achieve black border around a logo

    Hello,
    I am trying to do a parody of a Top Gun logo and have it done except for the border around the image. I know this is probably very simple and I've googled it but can't figured it out.
    Here is an example:
    http://www.redbubble.com/people/tgigreeny/works/7360099-top-gun-sundown-with-tomcat
    I want to create that black border/background colour and can't figure it out.
    Thanks for any help you can offer.
    Mary

    Well actually it is a bit more complex than I wrote
    1 You have to outline the text and
    2. united it with the art (color bars that hbe the same color)
    3. you have to give the object a stroke and drag it below the fill in the appearance panel
    4 the jet plane needs a fill of white
    5. the star needs a stroke with the stroke being draged below the fill in the appearaqnce panel
    6. then you group everything and give the group a sufficent weight stroke cover all the gaps
    7 and finally you drag the stroke you gave the group below the contents in the appearance panel (that means it is behind the groups contents the logo art.
    Like such ( You have to think this one out.)

  • How to make a border around text?

    In my latest FCE project, I made a solid color matte clip (dark blue) to set below my titles to give the text a colored background (these titles are not overlaid on video clips, so without the colored matte, the background would be the default black of the Timeline, and I don't want black).
    Anyway, so here I have this nice white text overlaid on a dark blue background, looking pretty good, and now I'd like to put a decorative rectangular white border around the text, a thin white line, or a maybe a double white line, sort of like a pinstripe, to elegantly (I hope) enclose the text in a sort of box.
    What would be the best way to create such a border? Could I make one on a transparent layer in Photoshop (I have CS-2,) and then import it into FCE as a clip to set the text above? Or is there a simpler way to do it, within FCE?
    Any suggestions would be welcome.
    Tom

    The only option I see on that PieroF webpage is to download it as a .zip file. When I download it and double-click on the icon, I get that zoom-out effect like it's opening, but it doesn't open. Dropping its icon onto the Stuffit icons doesn't do anything either.
    Anyway, I just experimented with masking off a colored matte in the way you mentioned, and I think I see how to do it: create a color matte and then lay two masks on top of it, an inner one and an (inverted) outer one, which leaves only a thin line of the color matte still showing. Is that it? For a double pinstripe, I suppose I would do that twice, i.e. create two masked-off mattes, one a little larger than the other, and stack them up on the video tracks?
    It's more trouble than the Piero frame generator, no doubt, but effective. Thanks!
    Tom B.

  • How to draw a border around a Textured Plane?

    Hi everyone,
    How does one go about drawing a square border around a textured square plane?
    I've tried using the setBoundaryColor() method, and have set the texture2D's boundaryModeS and boundaryModeT to CLAMP, but no boundary color appears.
    Can someone help?
    Here are some fragments of my code:
    /** My plane **/
    QuadArray plane = new QuadArray(20, GeometryArray.COORDINATES
    | GeometryArray.TEXTURE_COORDINATE_2
    | GeometryArray.COLOR_3
              float length = 0.5f;
              float epsilon = 0.1f;
         Point3f p = new Point3f(-length/2.0f, length/2.0f, 0.0f);
    plane.setCoordinate(0, p);
    p.set(-length/2.0f, -length/2.0f, 0.0f);
    plane.setCoordinate(1, p);
    p.set(length/2.0f, -length/2.0f, 0.0f);
    plane.setCoordinate(2, p);
    p.set(length/2.0f, length/2.0f, 0.0f);
    plane.setCoordinate(3, p);
         Point3f upperborder = new Point3f(-(length/2.0f+epsilon), length/2.0f+epsilon, 0.0f);
    plane.setCoordinate(4, upperborder);
    upperborder.set(-(length/2.0f+epsilon), length/2.0f, 0.0f);
    plane.setCoordinate(5, upperborder);
    upperborder.set((length/2.0f), length/2.0f, 0.0f);
    plane.setCoordinate(6, upperborder);
    upperborder.set((length/2.0f), length/2.0f+epsilon, 0.0f);
    plane.setCoordinate(7, upperborder);
    Point3f rightborder = new Point3f((length/2.0f), length/2.0f+epsilon, 0.0f);
    plane.setCoordinate(8, rightborder);
    rightborder.set((length/2.0f), -(length/2.0f), 0.0f);
    plane.setCoordinate(9, rightborder);
    rightborder.set((length/2.0f+epsilon), -(length/2.0f), 0.0f);
    plane.setCoordinate(10, rightborder);
    rightborder.set((length/2.0f+epsilon), length/2.0f+epsilon, 0.0f);
    plane.setCoordinate(11, rightborder);
    Point3f lowerborder = new Point3f(-(length/2.0f), -length/2.0f, 0.0f);
    plane.setCoordinate(12, lowerborder);
    lowerborder.set(-(length/2.0f), -(length/2.0f+epsilon), 0.0f);
    plane.setCoordinate(13, lowerborder);
    lowerborder.set((length/2.0f+epsilon), -(length/2.0f+epsilon), 0.0f);
    plane.setCoordinate(14, lowerborder);
    lowerborder.set((length/2.0f+epsilon), -length/2.0f, 0.0f);
    plane.setCoordinate(15, lowerborder);
    Point3f leftborder = new Point3f(-(length/2.0f+epsilon), length/2.0f, 0.0f);
    plane.setCoordinate(16, leftborder);
    leftborder.set(-(length/2.0f+epsilon), -(length/2.0f+epsilon), 0.0f);
    plane.setCoordinate(17, leftborder);
    leftborder.set(-(length/2.0f), -(length/2.0f+epsilon), 0.0f);
    plane.setCoordinate(18, leftborder);
    leftborder.set(-(length/2.0f), length/2.0f, 0.0f);
    plane.setCoordinate(19, leftborder);
    TexCoord2f q = new TexCoord2f(0.0f, 1.0f);
    plane.setTextureCoordinate(0, 0, q);
    q.set(0.0f, 0.0f);
    plane.setTextureCoordinate(0, 1, q);
    q.set(1.0f, 0.0f);
    plane.setTextureCoordinate(0, 2, q);
    q.set(1.0f, 1.0f);
    plane.setTextureCoordinate(0, 3, q);
    /** My Texture (using Appearance) **/
    // can't use parameterless constuctor
    Texture2D texture = new Texture2D(Texture.BASE_LEVEL, Texture.RGBA, image.getWidth(), image.getHeight());
    texture.setImage(0, image);
    texture.setEnable(true);
    texture.setMagFilter(Texture.NICEST);
    texture.setBoundaryModeS(Texture.CLAMP_TO_BOUNDARY);
    texture.setBoundaryModeT(Texture.CLAMP_TO_BOUNDARY);
    texture.setBoundaryColor(new Color4f(1.0f, 0.0f, 0.0f, 0.0f));
    planeAppearance.setTexture(texture);
    Is there a better way to do it?
    Thanks in advance for any help!

    Do a control-A (select all). This should put a selection outline around your image. Then do an Edit-Stroke. Define your Width in pixels, Color, and then choose Inside. Set blending to whatever you want (Normal for a solid color) and then the Opacity.
    Play with it. Have fun. Do NOT edit original images - always do an Image-Duplicate before doing edits until you know what you're doing. It is way too easy to make edits and then save that file over your original - losing the source file forever (unless you have a backup).

  • Problem with white border around images

    Hey guys,
    I'm new to the creative suite and have just finished running through all of the video tutorials, etc. I'm having a small problem which can be seen in the sample site I'm fooling around with here:
    http://www.andrewedunn.com/gsd/
    I'd like to get rid of the small white border around the "GS" logo. It is an illustrator document.
    Basically I put the letters in place, converted them to paths (so I can resize it) and dropped it in my GoLive document as a smart object.
    A google such suggested rasterizing, but I couldn't get it to work after fooling with it a little bit.
    Further, if I wanted to add a drop shadow to it, how can I do it so that it is transparent on top of the background images in golive? The one time I tried it, the drop shadow was placed on top of a white background.
    Any suggestions would be appreciated!

    Are your background images always going to be displayed left-aligned on a black background and always the same size, so that the left half of the logo will always be over the photo and the right half will always be over the black? Or will the size or placement of the photos vary?
    Are all of the photographs in approximately the same moderate tonal range, or will some be bright and some dark?
    If the background will be consistently as you show it, you should be able to anti-alias your logo against a medium gray on the left and black on the right for acceptable results. If the background is more varied, you are not going to get good results with either GIF or JPG format.
    See this related thread:
    http://www.adobeforums.com/cgi-bin/webx/.3bc38b6e/3
    > Further, if I wanted to add a drop shadow to it, how can I do it so that it is transparent on top of the background images in golive?
    Only by exporting as a transparent PNG, but then older browers won't display it properly.
    If you are really needing to have a logo that casts transparent drop shadows on top of a wide variety of images, you might consider going the Flash route, even though you aren't planning animation. Flash has very good transparency handling, and there are Flash player plugins that are compatible with browsers that won't display PNG images.

  • Getting rid of white border around photos when using iphoto to iweb

    Hi there,
    Am creating web pages in iweb and importing photos from iphoto. Can anyone tell me how to get rid of the white border around my photos (image frame)? Hoping to enhance some of the templates with my own images. I also have photoshop elements and have been having the same problem there. Sure appreciate. Kim Strouble

    Welcome to the Apple Discussions. The link to the site is broken. There is a fix for some of the strange goings on since the MobileMe conversion. See Wyodor's post in this thread: http://discussions.apple.com/thread.jspa?threadID=1605665&tstart=0. After applying the fix to iWeb I found I might have to republish a second time, occasionally a third and make sure I cleared my browser's cache.
    If you're using Firefox 3 that's a different solution that can be found here: http://discussions.apple.com/message.jspa?messageID=7486799#7486799
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • Dynamic Border around image

    hi there,
    i have a main flash movie (main.fla) which has images placed
    on the screen.
    Each image has an invisible button placed on it.. (ie: the
    button has only
    the hitarea defined and no rollover, down etc.)
    NOTE: that the images are different in sizes. hence they have
    different
    width and height.
    I tried making a movieclip of 200 x 200 in size with a 1px
    border around it
    and dynamically making it adjust to the width and height of
    the images. BUT
    i seem to be hacing the following problem-
    1) for images that are larger in size than the border
    movieclip.. the border
    tends to thicken.
    2) for images that are smaller than the border movieclip..
    the border tends
    to get more thinner
    Required-
    OnRollover of an image.. it should have a border around it,
    inorder to
    highlite the selected image. Lets say, a 1px border and red
    in color. How do
    i achieve this?
    Would really appreciate if someone would provide a simple
    code to achieve
    this as i am not used to programming.
    Please help..
    thanx

    yep, thats cause when you stretch your mc the lines will
    stretch with it.
    if you are using flash 8, use the 9slice guides.
    for the mc that contains your border go into the preferances,
    and you will find a check box for the 9slice thingy (technical
    term)
    check that, then double click on the library symbel to edit
    it.
    you will find flash has drawn four dashed lines.
    move these so that they mark the inward edge of your borders.
    basically the area inside these guides stretches normally
    the corners don't stretch
    and the edges stretch either horizonally or vertically
    for more info look in the help.
    oh, and don't transform (rotate skew etc) your mc once on the
    stage or you'll loose your slices...
    best

  • Red Border Around Image

    Hi,
    In Photoshop CS3 I'm creating a 5 x5  pixel image in a green color. On my canvas it shows it completely green. I then emboss it. Before and after I emboss it I look at the navigator window and I see this red border around the green image. After I save it as a PSD file and then bring it into Dreamweaver, I can see the red border when viewing in IE. I tried making the background and foreground green but still a red border. Am I missing something?
    Thanks
    Steve

    You're confusing some things...
    The red rectangle in the Navigator window has nothing to do with the content of your image.  It shows you what part of your image you're looking at in the main window.
    If you're saving your file an seeing the red border in the image, you have somehow saved the red color in the image, or the way you're using the image has put a border around it.  For example, put in a web page a certain way a browser might put a border around the image to indicate that it's a link.  I'm not familiar with DreamWeaver, but I suspect from what you're describing the red isn't really in the image.
    Do you see the red in the image when you use an image viewer to view the file from within your folder?
    Please post the image here (use the little camera icon just above where you type) and we'll let you know if we see any red.
    -Noel

Maybe you are looking for

  • Embed  html file without using IFrame UI

    Is there any way to embed html file without using IFrame UI?

  • MySQL to Oracle Plug-In for Solaris

    Hi there, I'm happy to see the mySQL plugin finally available. I want to import mySQL into Oracle 8i on Solaris. When will a version of the mySQL plugin be available for the Solaris version of the Migration Workbench? regards, billc

  • Error 2001 when trying to restore iPhone 4

    My phone crashed on me today and I am trying to fix.  Went to restore and getting error 2001 message.  I am not using any accessories.  The cable goes directly into my iMac.  Help!

  • Sales report from query generator

    Hi Experts, Im using query generator i had given selection criteria like, Posting date from and To, Profit centre, Numbering series name, query: SELECT T0.[DocNum], T0.[VatSum], T0.[DocTotal], T1.[PrcCode], T1.[PrcName], T1.[Balance] FROM OINV T0 , O

  • Can Illustrator CC open illustrator CC (2014) files?

    Can Illustrator CC open illustrator CC (2014) files? I am in a production environment where we run Snow Leopard and we can't upgrade to Illustrator CC (2014) because it requires Lion.