Help with alpha transparency

Can some one help me with changing a MC from 0% alpha to 100%
alpha in actionscript?

I'd suggest having a look at the Fuse Kit
(www.mosessupposes.com) as it
makes it real easy to do things like this:
var myFuse = new Fuse();
myFuse.push({target:myMovieClip, start_alpha:0, alpha:100,
seconds:1});
myFuse.start();
It's nice as it's time based too, not frame based - and that
is just a
simple example. If you do want to do this with plain AS, you
might do
something like so:
myClip.onEnterFrame = function(){
if((this._alpha + 7) < 100){
this._alpha += 7; //I use 7 here because you want 15 frames
(7 * 15 is
105 which is close enough...)
}else{
this._alpha = 100;
delete this.onEnterFrame;
Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/

Similar Messages

  • Opening Fireworks PNG-8s with alpha transparancy

    Hi all,
    I have to do some work on some files I didn't create -- a couple hundred png files. They are 8-bit, indexed files, but when viewed on the web they have 256 levels of alpha transparency. When opened in Photoshop, they have only one level of alpha transparency :(
    Turns out these are in some proprietary Fireworks format ... anyone have any ideas how I can get these into Photoshop without losing my alpha channel, hopefully without having to BUY Fireworks ... oh how I miss ImageReady ;)
    Thanks in advance.

    Photoshop doesn't work with continuous transparency in indexed color mode, only one transparent value is allowed. (ImageReady wouldn't do it, either)
    You may need to use another application to convert them to a normal RGB image with transparency.

  • Why can't I export a 24 bit PNG with alpha transparency?

    I have just upgraded my Macromedia Studio 8 to Adobe CS3, and
    it seems that I still can't export a 24 bit png with transparency
    from Fireworks (Photoshop can do it, but it's just not suited for
    volume graphic production). Anyone know something I don't, or can
    someone at least explain why I can have alpha transparency on 8 bit
    and 32 bit, but not 24 bit pngs? Currently, I'm planning to export
    everything from Fireworks, then batch-process through Photoshop to
    reduce from 32 bit to 24 bit, which is just... gah! Words fail
    me.

    Kathleen13 wrote:
    > I have just upgraded my Macromedia Studio 8 to Adobe
    CS3, and it seems that I
    > still can't export a 24 bit png with transparency from
    Fireworks (Photoshop can
    > do it, but it's just not suited for volume graphic
    production). Anyone know
    > something I don't, or can someone at least explain why I
    can have alpha
    > transparency on 8 bit and 32 bit, but not 24 bit pngs?
    Currently, I'm planning
    > to export everything from Fireworks, then batch-process
    through Photoshop to
    > reduce from 32 bit to 24 bit, which is just... gah!
    Words fail me.
    >
    If I'm correct, 8-bit png supports index transparency just
    like GIF's
    do. 32-bit png's support alpha channel transparency, so you
    can get
    variable or partial transparency in a full color image(8 bits
    for each
    color and 8 bits for an alpha channel) and 24-bit png's are
    similar
    jpegs, only you get lossless compression and no user-defined
    settings.
    So essentially, when you export a 32-bit png file you are
    exporting a 24
    bit color image with an 8-bit alpha channel.
    Jim Babbage - .:Community MX:. & .:Adobe Community
    Expert:.
    Extending Knowledge, Daily
    http://www.communityMX.com/
    CommunityMX - Free Resources:
    http://www.communitymx.com/free.cfm
    .:Adobe Community Expert for Fireworks:.
    news://forums.macromedia.com/macromedia.fireworks
    news://forums.macromedia.com/macromedia.dreamweaver

  • REALLY need some help with transparent background

    This is really starting to bug me now as I have searched the forums and the web for hours and still cannot get this to work.
    I am creating a simple one page site at http://freeselfhelpebooks.org/50ofTheBestPDProducts/
    I want the header and footer image to have a transparent background with only the text showing, so that the text shows on the background image.
    So far I have created the header image with a transparent background Modify > Canvas > Canvas Colour > Transparent all good so far.  I have added some text.  Then I save as file type PNG 32, however I still get the background as white as you can see above.
    I have tried PNG 8 with alpha transparency, no transparency but to no avail.  I have even downloaded Photoshop CS6 and have the same issues.  What am I doing wrong here?

    First of all, your header graphic is fine; it's a transparent PNG. Your footer is a JPEG, which does not support transparency, so you need to resave that file into a different format (like PNG32, or PNG8 w/alpha transparency).
    As I was trying to suggest, if you're confused about your graphics, check them in a graphics editor or viewer, not in a web page inside a web browser. Web development is a complex beast, and a lot can go wrong.
    In the HTML of your web page, there is a class called "content" being applied to tables and images. This class has a background image being applied to it, which is responsible for the white background on those elements.

  • Alpha transparency no longer working on iMac retina with AMD Radeon R9 M295X 4096 MB

    Purchased new retina iMac with all the trimmings, including AMD Radeon R9 M295X 4096 MB. Now all presentations with alpha transparency no longer have transparency!
    Having so many display issues with this new card. Anybody else with the same?

    I've found the issue. Sort of.
    The numerous display issues are a bug with the graphics driver (software) that cause problems with various software packages, such as Photoshop etc. Awaiting a fix from Apple.
    The Keynote problem is exactly that. I loaded Keynote on my non-retina macbook pro, and the same issue is there. Maybe Keynote or Yosemite.
    Found out that in order to restore transparency I have to select the image, select Alpha Channel, click on the image (after a couple of times I realised that there is no need to result the area to be transparent), and then it's back.
    Somehow the image needed to be reminded that it had an alpha channel.
    Yet another software bug.

  • PNG 8 Alpha Transparency Palette Errors

    I am attempting to export a PNG 8 image with alpha transparency using Fireworks 11.1.0.205 on Windows 7 64-bit. When I attempt to optimize the image to PNG 8, Adaptive with Alpha Transparency and rebuild the palette it crushed the palette down. The image is a grayscale image and the bug appears similiar to the one reported here http://blogs.adobe.com/sarthak/2010/09/png-8-export-color-palette-issues.html.
    Here is a screen cast of someone doing what I want to do, http://brenelz.com/blog/png-8-alpha-transparency-screencast/ (fast forward through the parts of him editing HTML).
    This is an example of what I am trying to do, an PNG 8 with alpha transparency (view full image);
    This is what I get when I open and then export the sample image out of Fireworks;
    It crushes the palette.
    This is the optimize panel when the original file is first opened:
    This is what happens when the palette is rebuilt, which matched the exported palette;

    Linda,
    I do not appreciate your condescending tone. I have attempted all of your instructions. Embedded is a window capture of my graphic on a TRANPARENT canvas with your suggested settings. Also embedded is the resulting graphic. Finally, embedded is the original graphic that demonstrates what I am attempting to achieve.
    Transparent Canvas
    Resulting image on export.
    Original image
    I'm disappointed that you cannot be bothered to attempt to recreate the problem and post evidence to back up your claims.
    I have tracked down the creator of the original image who says about using Fireworks "the quality was rarely good enough." The tool used was ImageOptim, http://imageoptim.pornel.net/.

  • Export movie with alpha to png sequence

    I'm trying to export tweened animation to .png image sequence
    with alpha transparency.
    The individual png files appear to be clean -- but when I
    open the file sequence in QuickTime, it looses the 8-bit alpha.
    Anyone know how to get around this? Thanks!
    QT 7.4.1, 10.5.2, CS3

    MCs are dynamic and designed to play at runtime in the flash
    player - to export to video you simply
    need to convert them to Graphic symbols.
    --> Adobe Certified Expert *ACE*
    --> www.mudbubble.com
    --> www.keyframer.com
    xfiretyra wrote:
    > I've created a flash animation and I need to export it
    to Quick time or PNG
    > sequence so I then can importet to premiere. When I
    export it to Quicktime the
    > movie clips in the scenes doesn't play and the same with
    PNG. So now Im cuting
    > out all the movie clips to individual scenes. However
    this is a hell of a job
    > as when I paste the frames on to the scenes they don't
    end up on the right
    > place, centered on the page so I've to almost redo
    everything. Do you have any
    > good advice for me how to make it a bit easier?
    >

  • Alpha transparency workaround

    Since people still insist on using IE 6 and I can't figure out how to use my logo with alpha transparency (despite copying the code exactly), can anyone tell me the code I would use to display my logo in png form for IE 7 and above and my logo in jpg form for IE 6 and lower? Thanks.

    Hi instead of using an IE conditional statement why don't you try using the iepngfix.htc file which enables IE6 to display png alpha transparency files correctly.
    Instructions on how to use it (and download link) is available here:
    http://www.dlnqnt.co.uk/index.php/tag/iepngfixhtc/

  • Help with .TGA alpha layer

    So i already tried on 1 forum http://gimpforums.com/newthread.php?fid=7 (Gimp)
    I need some help with making a alpha channel; Funny thing is. I made it work once a few days ago. I went to bed and forgot to write down how i did it (Tried everything, almost)
    In the link right here http://www.mediafire.com/?debcev89sv2k77n i have 4 files;
    - Q3a_arrow_gimp_ver4.tga (TGA that works as i want it) You'll notice ALL the alpha channels have a black layer channel in the channels tab, how do i recreate that?  |||||| 1 thing you will notice with this working as intended picture is that the channels are diffrent from Q3a_arrow_methodtry.tga/Q3a_arrow.png i do not know how to make it look the same?
    - Q3a_arrow_methodtry.tga (tried to recreate with THIS tutorial http://www.lucasforums.com/archive/index...26716.html with no success P.S. i tried loooads of tutorials but this recreation seems rather close to the working .TGA i need)
    - Q3a_arrow.ai (sourcematerial all vector from Adobe Illustrator)
    - Q3a_arrow.png (picture with transparency intact, rendered from Illustrator if needed for comparison)
    So; Now... What i did to make the working picture was making a .PNG from Illustrator - drag it into gimp.. I recall doing some Alpha and or masking or selection thing with it, then rendered it for .TGA since Illustrator does not support the kind of .TGA i needed. The image worked flawlessly in the engine where i used a function called->
    alphafunc GE128 (blend with black as invisible layer and white as solid  - it is a open gl C command)
    (standard image) http://s471.photobucket.com/albums/rr75/...lip-12.png
    (after code applied) http://s471.photobucket.com/albums/rr75/...-46-54.png

    Hmm nope that did not fix it; The tutorial was a bit outdated i had to use mask transparency instead of fill because layers only have 1 right click menu now.
    By the way i need my image to be a 32 bit .TGA with a black background so that the special program i need the picture for can read the black color/alphalayer?
    I was hoping someone could take a look at the alpha channels and help me step by step to recreate it. (All source is made by me so do not assume i am lazy, might even be trying as you read this as i want it to work badly)
    BUMP

  • Alpha transparency borders on dynamically loaded images for use with textures

    Hi there folks. Well, I have been beating my head over this
    and am hoping one of you can help me out.
    Essentially I have 16bit images that are loaded into my
    shockwave application at run-time. These images are user defined
    which means that I will not know their size ahead of time. Once the
    images are loaded I then create textures and apply them to various
    shaders. Ok, all of this works just fine. What I need to do though
    is create an alpha transparent border around the images, so when I
    apply them to their surfaces I only see the image and nothing
    around it. I am doing this because these images will only appear at
    specific parts on a surface, textureRepeat will be false, and many
    models will be stacked in the same exact location using the same
    model resource. I have everything working, but I cannot figure out
    the alpha part for the life of me. Also, when I test the alpha
    based image by itself it works just fine. It is not until I try and
    combine the 16bit (converted to 32bit at run-time) image that I run
    into problems.
    I have tried:
    - Creating a 32bit alpha image in Fireworks with a
    transparent border and a black rect for the inside. I then copy the
    dynamic image over the alpha image (only after going from 16bit to
    32bit in imaging Lingo) and leave a little room at the edges for
    the transparency. Well, I get a crazy amount of streaks here even
    when I try to up the trans border by around 24 pixels on each side.
    - Using another similiar alpha based image as a mask with
    copyPixels and extractAlpha/setAlpha like this... (code is a little
    rough here)
    newImage = new(#bitmap)
    newImage.name = "place_Test"
    newImage.image = member("place").image
    newAlpha = new(#bitmap)
    newAlpha.name = "AHH"
    newAlpha.image = image(newImage.image.width + 24,
    newImage.image.height + 24, 32)
    newAlpha.image.useAlpha = true
    newAlpha.image.copyPixels(member("vase").image,
    newAlpha.image.rect, member("vase").image.rect)
    newAlphaInfo = newAlpha.image.extractAlpha()
    newAlpha.image.useAlpha = false
    --reverse dark to light
    iAlphaReverse = image(newAlpha.image.width,
    newAlpha.image.height, 8, #grayscale)
    iAlphaReverse.fill(iAlphaReverse.rect, rgb(0,0,0))
    iAlphaReverse.copyPixels(newAlphaInfo, iAlphaReverse.rect,
    newAlphaInfo.rect, [#ink : #reverse])
    --newAlphaInfo.copyPixels(iAlphaReverse, newAlphaInfo.rect,
    iAlphaReverse.rect, [#ink:#subtractpin])
    newAlphaMask = iAlphaReverse.createMask()
    rescaleAbs(newImage, newImage.image.width,
    newImage.image.height, "place_Test", 32)
    destImage = member("place_Test").image.duplicate()
    destImage.fill(destImage.rect, rgb(0,0,0))
    newAlpha.image.useAlpha = false
    destImage.copyPixels(newImage.image, newImage.image.rect,
    newImage.image.rect, [#maskImage:newAlphaMask, #ink:#add])
    destImage.setAlpha(iAlphaReverse)
    destImage.useAlpha = true
    member("place_Test").image = destImage
    I apologize for the messy code. I have cut and pasted from
    all over the place and am getting confused. In any case, I think I
    am making this harder then it needs to be and hope someone can
    help.
    Thank you in advance,
    Dave

    Hi, you can try using other texture layer as mask on the same
    shader. As usually you create the texture from a dynamic loaded
    image, then apply this texture to the shader on the texture list
    index 1 (textureList[1]). Next part does the job, create other
    texture from a 32 bits image with the alpha information and fill
    all pixels with white color, this is very important because the
    second texture layer will be multiply with the first texture layer.
    This texture set its render format to rgba8888. Apply the mask
    texture to the same shader at texture list index 2, verify that the
    blendFunctionList index 2 is #multiply.
    I include the code of a project that use this masking
    approach:
    property pMember
    property pEarthSphere
    property pNightSphere
    property pLastTransform
    on beginSprite me
    pMember = sprite(me.spriteNum).member
    me.setupWorld()
    end
    on setupWorld(me)
    pMember.resetWorld()
    repeat with i = pMember.light.count down to 1
    pMember.deletelight(i)
    end repeat
    vEarthModelResource = pMember.newModelResource("EARTH MODEL
    RESOURCE", #sphere)
    vEarthModelResource.radius = 50.000
    vEarthModelResource.resolution = 20
    vEarthTexture = pMember.newTexture("EARTH TEXTURE",
    #fromCastMember, member(3,1))
    vEarthShader = pMember.newShader("EARTH SHADER", #standard)
    vEarthShader.emissive = color(255,255,255)
    vEarthShader.flat = TRUE
    vEarthShader.transparent = FALSE
    vEarthShader.textureList[1] = vEarthTexture
    pEarthSphere = pMember.newModel("EARTH MODEL",
    vEarthModelResource)
    pEarthSphere.shaderList = vEarthShader
    vNightModelResource = pMember.newModelResource("NIGHT MODEL
    RESOURCE", #sphere)
    vNightModelResource.radius = 50.2000
    vNightModelResource.resolution = 20
    vNightTexture = pMember.newTexture("NIGHT TEXTURE",
    #fromCastMember, member(4,1))
    vNightTexture.quality = #lowFiltered
    vNightTexture.nearFiltering = FALSE
    vNightTexture.renderFormat = #rgba8880
    vNightShader = pMember.newShader("NIGHT SHADER", #standard)
    vNightShader.emissive = color(255,255,255)
    vNightShader.flat = TRUE
    vNightShader.transparent = TRUE
    vNightShader.textureList[1] = vNightTexture
    vMaskNightTexture = pMember.newTexture("MASK NIGHT TEXTURE",
    #fromCastMember, member(6,1))
    vMaskNightTexture.renderFormat = #rgba8888
    vNightShader.textureList[2] = vMaskNightTexture
    vNightShader.textureModeList[2] = #wrapPlanar
    pNightSphere = pMember.newModel("NIGHT MODEL",
    vNightModelResource)
    pNightSphere.shaderList[1] = vNightShader
    pNightSphere.parent = pEarthSphere
    end
    on exitFrame(me)
    pEarthSphere.rotate(0.0,0.1,0.0)
    me.moveMaskNightTexture()
    end
    on moveMaskNightTexture(me)
    vRotationVector = - pEarthSphere.transform.rotation
    pNightSphere.shaderList[1].wrapTransformList[2].rotation =
    vRotationVector
    end

  • Help with transparent gif "ghosting"?

    Hello,
    I'm trying to export an animated gif with a transparent background to use on my website, but I'm getting a very strange issue where, as the gif cycles through frames, the previous frames "ghost," or remain despite the new frame playing.
    An example:
    In the first one, the old layers "ghost," in the second, there should be fire moving on top of the letters, but it only moves inside the letters. The PSD for the first image is here: http://puu.sh/7Wh7w.psd I'm saving this images by choosing file > save for web and devices, but no matter what I do in the preview window at that stage, the ghosting still appears. How can I fix this?

    Ruth,
    Welcome to the forum.
    What format/CODEC do you need to Export to?
    Many will support Transparency, but not all. For those that do, you usually have two available choices, such as Million + Colors, where the + is Alpha. In some, like FLV, there is an Export Transparency option.
    Let us know your delivery scheme, and someone will point to the exact Export settings for Transparency.
    Good luck,
    Hunt

  • HT1338 Updated my imac from 10.6 to 10.8.2 recently. My iphoto logo in my Dock has been replaced with a transparent "question mark" and I can no longer access my iPhotos... please help!!  Mark Howell

    Why can I no longer find my iphotos?  Updated from 10.6 to 10.8.2 recently... The iphoto logo in my dock has been replaced with a transparent, grey, question mark... why? How do I restore my iphotos?  Searched for them in Finder, and in "search"... they appear as text only.. but no photos.. please help.. Mark

    Have you verified that the iPhoto applications is not in the Applications folder or somewhere else on the hard drive? 
    To do so download and use  Find Any File to search for "iPhoto.app" because FAF can search areas that Spotlight can't.  If the application is somewhere else on the HD FAF will find it.  However, I doubt that it will be there but it's worth a search. 
    OT

  • "Preserve alpha transparency" with flattening for PDF

    For what reason, in Illustrator CS3, is the option for preserving alpha transparency not available in the PDF flattener, but only under the object menu by choosing Flatten Transparency...
    The reason i'm asking, is because when using some effects and spot colors, the background of the flattened object becomes a white bounding rectangle that overlaps other objects. I can workaround this by saving a copy, flatten all objects and then save a PDF. But isn't it possible to directly save a correctly flattened PDF from the original unflattened file with spot colors, without having to flatten the objects manually?

    here is an example, when I upload this image to the printers I loose the white background and eveything on the bottom of the card is pushed up. The same thing happens with the brochure I have. I can't upload that because this site will not allow it.

  • Help with PageMaker 7.0, Transparent Backgrounds, and Feathering in Photoshop CS5

    Hi all,
    I am hoping  someone here can help me out with a problem that I've been having for  more than a week that I can't seem to figure out and it's driving me  crazy.
    I have a friend who's trying to put together a  graphical instruction manual using PageMaker 7.0.  My friend would like  to have the borders on the pictures in the manual be softened and the  background needs to be transparent, because each page in the manual will  have a background watermark picture.
    I am running into a  number of problems.  I have been using the feather and contrast options  under Refine Edges in Photoshop CS5.  While the picture looks and prints  great from Photoshop, as soon as I save the picture to a file format  that I can import into Word and then PageMaker (more on this step  below), the feathering only either becomes white instead of transparent  (the rest of the transparent part of the picture is still fine) or the  feathering becomes horribly pixelated.
    I am not sure which  step in the process is causing the picture to degrade.  The two file  formats that seem to at least retain the transparency through the  importing process are PNG and TIFF, albeit horribly pixelated.  Could  using these file formats cause the quality issue that I am describing?   Could it be transferring it through Word first, as described below?
    Is  there are any other methods that one can use in Photoshop CS5 to soften  the border of a picture other than feathering that may work better for  these purposes.
    Regarding the use of Word to retain the  transparency into PageMaker... are there any better ways of  accomplishing this?  In order for the transparency to be retained, I  need to add a text box, send it behind the picture, group it together,  and copy the group over in order to retain the transparency using Word.   This, needless to say, is a horribly huge pain in the ***.  Any  suggestions that could cut down the number of steps would be  appreciated.
    Any help with this would be greatly appreciated.  Thanks!

    Pagemaker does support transparency for placed files, just not
    partial transparency like drop shadows or feathering that
    would result in partial transparency.
    You can place an object into pagemaker without getting the
    white background by making a clipping path of the object
    and then saving the file as tiff file. Then you would use
    File>Place in pagemaker.
    You could also put a background behind your object that matches the page in pagemaker
    or use photoshop to make the layout.
    More info on clipping paths
    http://help.adobe.com/en_US/photoshop/cs/using/WS08719555-224E-48db-AC64-FC21F4B87689a.htm l
    http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-7713a.h tml
    MTSTUNER

  • Help with making part of a picture transparent

    I am very new to Indesign, and I am trying to teach myself how to use it. I was using Microsoft Publisher for my last project, in which I was able to use a transparency tool to click on part of a .gif image to make it transparent, whilst leaving the rest of the image intact.
    I am trying to place an image on top of a background image using Indesign. My image is a picture of a sun, surrounded with a white box. When I place the sun on top of the background colour, I still get the white box around the sun, and I can't find any way of eliminating the white box, whilst retaining the yellow sun image. I hope this makes sense!
    Can anyone help with his? I will need to do this quite a few times during the course of my project so any help would be greatly appreciated.
    Many thanks. Bev

    Jeremy bowmangraphics wrote:
    Eugene,
    Is it fair to make the sweeping statement that "GIF is not a print format"?
    I don't know how “fair” the statement is, but it’s balls accurate. GIFs are RGB, limited to 256 colours only, and have only one bit of transparency. The format is absolutely inappropriate for print.
    I can think of a few situations in which GIFs are useful for print as well as the web. For example, GIFs allow nonprofessionals to use logos with solid blocks of color, simple transparency, without color management concerns, and so on, both on the web and in almost all print applications that nonprofessionals use.
    Automatic transmissions and power steering make it possible for a recent driver’s license recipient to take the family station wagon around Laguna Seca. That doesn’t make him Emerson Fitipaldi or make the car a Formula-1 racer.
    Isn't it a cheap-and-cheerful, universal, perfectly OK format for print?
    No.
    It has limitations that are obvious to professionals, but it isn't always a mistake to use it in print.
    It sure is. Print does not mean “printed to my $60 inkjet.” Print means “printed on a digital colour printer or on a press.” In that context, GIF’s only use is as a source for later conversion to a superior format. Even if printing to a POS inket, conversion to PSD, TIF, Illustrator, PDF, or even PNG would put the image into a superior format that is more suitable for print.
    GIF is not suitable for print. Period.

Maybe you are looking for

  • Loading into the Infipackages takes lot of time

    Hi Friends, When i schedule and activate the process chain everyday, it takes lot of time to get loaded in the infopackages, around 5 to 6 hours. in st13 when i click on the Log id name to see the process chain. in the LOAD DATA infopackage it shows

  • Problems with Windows 8.1 and Acrobat Reader XI

    I have two problems which are likely related.  First I can no longer save .PDF files that already include saved comments, and secondaly, I can no longer delete .PDF files.  Any suggestions?

  • 2008 Unibody won't fully boot

    My 2008 Unibody Macbook 13 inch was updating itunes 11 and some OSX 10.7.x update and it crashed as it was installing for an unknown reason, and now won't boot up correctly. Tried reseting the PRAM and SMC, Also tried pressing D, and also shift on st

  • How to specify MIME type handlers in Safari?

    In the old days, it was possible to specify the MIME type handler in web browsers like Netscape, etc. I can't seem to find this functionality in Safari. Is it possible to do this? Specific intended use case: I use a website that includes document att

  • Where is the summary tab?

    B/c it isn't showing. And I can't find it anywhere on iTunes. Is this b/c my iPod isn't showing up on iTunes or my computer? Or is it a different problem? B/c I'm having both of those problems. IF anyone can please help. That would be greatly appreci