               pWin.update( )
 
             unless obj.guides or not (obj.stroked or obj.filled or obj.clipping) or not obj.layer.visible
-              @appendPath obj, clip
+              @appendPath obj, clip, opacity
 
             @processedPathCnt += 1
 
-    appendPath: ( path, clipObj ) ->
+    appendPath: ( path, clipObj, opacity ) ->
       stroke = manageColor path, "strokeColor", 3
       fill = manageColor path, "fillColor", 1
       layerName = path.layer.name
       layerNum = path.layer.zOrderPosition
-      opacity = manageOpacity path
+      alpha = manageOpacity opacity
       clip = if clipObj? then clipObj.getASS() else ""
 
-      prefix = @prefix stroke, fill, clip, opacity, layerNum, layerName
+      prefix = @prefix stroke, fill, clip, alpha, layerNum, layerName
 
       if not @assSections[layerNum]?
         @assSections[layerNum] = {}


      Array.prototype.push.apply @assSections[layerNum][prefix], ASS_createDrawingFromPoints path.pathPoints

    prefix: (stroke, fill, clip, opacity) ->
      "{\\an7\\pos(0,0)#{stroke}#{fill}#{opacity}#{clip}\\p1}"

    suffix: -> "{\\p0}"



    assSections: []

    process: ( obj, clip, opacity = 100 ) ->
      if not @pathCnt?
        @pathCnt = countPathItems obj

      unless obj.hidden or clip? and !clip.isVisible
        opacity = if obj.opacity? then opacity * obj.opacity/100 else 100

        switch obj.typename
          when "Document"
            for layer in obj.layers
