Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default Blur text?

    Is there any way to blur text... for example, for a drop shadow?

    Gary Guest

  2. Similar Questions and Discussions

    1. Mac texture blur
      Hello, Not done much 3D stuff in Director recently but having problems with textures on the Mac. Got a w3d file with a 4096x4096 texture, works...
    2. Gaussian Blur on Text turns black
      Hi, I'm in the process of being so frustrated, I fear my computer's life! I'm having a problem with illustrator : I'm trying to create a blur effect...
    3. gaussian blur
      Hi, is it possible to obtain a form with a gaussian blur effect in flash. thanks in advance
    4. blur effect
      I got so much help with my 'how to play an external swf file' question...guess I'll ask another one... :-) I'm trying to learn how to create...
    5. Blur
      I have a picture a friend sent to me but the image had been blurred. How do you un blur an image so that you can see it and make it out?
  3. #2

    Default Re: Blur text?

    Sure, Imagine lingo to the rescue!
    You might need to tweek it to handle tranparency and other stuff, but it's a
    start. You'll have to change stuff in doBlur()
    HTH/Christoffer

    on blur aImage

    vBlur = image( aImage.width, aImage.height, 16 )

    vPattern = [[0, 1, 2, 1, 0],\
    [1, 3, 4, 3, 1],\
    [2, 4, 5, 4, 2],\
    [1, 3, 4, 3, 1],\
    [0, 1, 2, 1, 0]]

    vSum = 48
    vCenter = 3
    vSourceRect = aImage.rect

    repeat with y = 1 to vPattern.count
    repeat with x = 1 to vPattern[y].count

    if vPattern[y][x] <> 0 then
    vAmount = integer( 256 * ( vPattern[y][x] / float(vSum)) )

    vX = x-vCenter
    vY = y-vCenter

    vTargetRect = offset(vSourceRect, vX, vY)

    vBlur.copyPixels( aImage, vTargetRect, vSourceRect, [#blendLevel:
    vAmount] )
    end if

    end repeat
    end repeat

    return vBlur
    end

    on doBlur

    vImage = member("myText").image
    vBlur = blur(vImage)

    vMem = member("blurimage")
    if vMem.number < 1 then
    vMem = new (#bitmap)
    vMem.name = "blurimage"
    end if

    vMem.image = vBlur
    end


    "Gary" <nospam@nojunk.com> skrev i meddelandet
    news:bmamkl$gq0$1@forums.macromedia.com...
    > Is there any way to blur text... for example, for a drop shadow?
    >

    Christoffer Enedahl Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139