dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: separate shadow/object

Hybrid View

  1. #1
    ism BlinkOk's Avatar
    Join Date
    Aug 2001
    Location
    , location, location
    Posts
    5,002
    is there any way to separate the shadow elements from the object elements in a swift 3d animation. i would like to be able to generate a separate shadow .swf and then apply an aplha transparency to it so i could overlay it above another image.
    any help is much appreciated, thanks in advance
    BlinkOk

  2. #2
    " Lets Rock ! ....... " NitroCharged's Avatar
    Join Date
    Nov 2001
    Location
    Australia
    Posts
    374

    Not internally, no. There is a workaround to it though.
    One way is to create 2 files.
    One with the object including a plane and rendered to include shadows and the other rendered without the plane or shadows.
    Then bring them both into flash as new movie symbols.
    The one with the shadows, you have to break apart and remove all the extra fluff frame by frame, till each frame has only the shadow left.
    Now you can drag and drop the object file and the shadow file onto the stage from the library, line them up, and apply an alpha tint to the shadow instance.

    [swf width="200" height="150" background="#00309F"]http://users.esc.net.au/~nitro/demo/shadow_for_swift.swf[/swf].



    [Edited by NitroCharged on 04-20-2002 at 05:39 AM]

  3. #3
    supervillain gerbick's Avatar
    Join Date
    Jul 2000
    Location
    undecided.
    Posts
    18,978
    you could import the swift generated *.swf into flash as a symbol in the library, and on a separate (lower) layer, duplicate the imported *.swf and alter it's alpha and tint within flash.

  4. #4
    ism BlinkOk's Avatar
    Join Date
    Aug 2001
    Location
    , location, location
    Posts
    5,002
    thank you both. i'll try both methods

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center