A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Fade movieclip to transparent

  1. #1
    Junior Member
    Join Date
    Nov 2001
    Posts
    8

    Question Fade movieclip to transparent

    Hello,
    I have made a slideshow from this tutorial:
    http://www.thetechlabs.com/tutorials...show-with-xml/

    I have added a reflection, and it works just great.
    But i would like to make the right and the left side fade to transparent.
    I have tried to make a little demo here: http://codebreaker.dk/flash/

    The first movie looks good, but only because I have faded from nothing to black and the background is black on the home page.
    And as you can see, the movie does not look that great, when the background is white.

    I found this link: http://blog.soulwire.co.uk/2008/12/1...arent-bitmaps/, but I can't figure out how to implement it into my already "working" slideshow.

    Anyone ?

    Jakob
    Attached Files Attached Files
    Last edited by Jakobdo; 09-16-2009 at 03:42 PM. Reason: Forgot the fla attachment

  2. #2
    Junior Member
    Join Date
    Nov 2001
    Posts
    8
    Is there someone who can give me a hint?

    Jakob

  3. #3
    Flash/Flex Developer samac1068's Avatar
    Join Date
    Apr 2007
    Location
    Here, no there
    Posts
    1,813
    You are going to have to make modifications to incorporate a gradient fade of an image. It is a necessary evil. Can you be more specific on where you're having the trouble with the implementation.
    Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.

  4. #4
    Junior Member
    Join Date
    Nov 2001
    Posts
    8
    My problem is i'm not that good to flash and I don't know where to start.
    I would think the implementation should be after i call reflect(...) but i'm lost.
    Where should I start ?
    Could you maybe point in the right direction ?
    I'm not asking for a solution, just asking for a hint.
    I would really like to solve this problem my self, but i am missing the basic flash programming skills.
    I can program php, html, css, js etc.. So i'm not a programming noob, just a flash noob. )

  5. #5
    Flash/Flex Developer samac1068's Avatar
    Join Date
    Apr 2007
    Location
    Here, no there
    Posts
    1,813
    The programming methodology you use with php and javascript (especially javascript) are essentially the same with actionscript. I can't open the files while at work, but you need to place the mask after the object you want mask is generated. The bulk of the code can appear as a group. Once you have the object to be masked and the mask itself, then you add the command to identify what is the mask and what is to be masked.
    Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.

  6. #6
    Junior Member
    Join Date
    Nov 2001
    Posts
    8
    Hello Samac,
    i know how to add a mask, but i need the mask to "fade" to transparent, and not from etc. white to black.

Tags for this Thread

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