A Flash Developer Resource Site

Page 1 of 2 12 LastLast
Results 1 to 20 of 22

Thread: Transparency

  1. #1
    Junior Member
    Join Date
    Sep 2000
    Posts
    26
    I read the help on creating a transparancy, but I cannot find the "Shape Fill" box the frames I have created.

    My example is at:

    http://www.morrisonweb.com/coldwater/index2.shtml

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087

    that looks good

    Your graphic looks great now.

    To get a transparancy what you need to do is select the shape and then hit the paint bucket icon.

    You will get a color selection dialog then.

    Transparancy is that grid looking square and value setting under the green square and value setting.


  3. #3
    Junior Member
    Join Date
    Sep 2000
    Posts
    26

    Graphic

    Actually, I gave up on the graphic and went with straight text. I will work on the graphic later.

    By the way, this doesn't work in IE 5.0, any idea why?

  4. #4
    Junior Member
    Join Date
    Sep 2000
    Posts
    26
    >>Transparancy is that grid looking square and value setting under the green square and value setting.

    Do you mean under the blue on the left hand side?

  5. #5
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087
    OOOPS.

    Yes I meant to say Blue.

    For some reason I thought the order went RBG.

  6. #6
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087
    What version of the Flash viewer do you have installed on IE 5.0.

    I looked at it in IE version 4.X and 5.5 with the latest version of the Flash veiwer plug-in installed. It worked in both cases.

    I noticed that you need to change the z-index of your slide out menu boxes so that they are in front of the flash movie.


    [Edited by johnie on 10-02-2000 at 06:33 PM]

  7. #7
    Junior Member
    Join Date
    Sep 2000
    Posts
    26
    It could be my version, I will check the one I have at work tomorrow.

    As far as the transparency, it appears to be making the Text Effects transparent, not the background.

  8. #8
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087
    Originally posted by gmorrison
    It could be my version, I will check the one I have at work tomorrow.

    As far as the transparency, it appears to be making the Text Effects transparent, not the background.
    You changed the transparancy of the text not the background.

    See this thread for making the background transparent:

    http://www.macromedia.com/support/fl...ents/wmode.htm

    see
    this thread

    http://www.flashkit.com/board/showth...threadid=32122


    [Edited by johnie on 10-02-2000 at 08:47 PM]

  9. #9
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    I made a note to add it.

    I would add the param wmode in both places (under if (ShockMode)). I have found problems in the past with Netscape if I only add it in one place. I don't know enough about javascript and browser differences to know what is happening so I put it in both places.

  10. #10
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087

    this html will fix your problem



    This will HTML will should fix your problem with IE 5.0

    Cut and paste it into the Table or Div



    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id=test width=550 height=300 codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=3,0,0,0">
    <param name="wmode" value="transparent">

    <param name="movie" value="test2.swf">
    <param name="quality" value="high">
    <param name="play" value="true">
    <param name="loop" value="true">
    <param name="bgcolor" value="#ffffff">
    <SCRIPT LANGUAGE=JavaScript>
    <!--
    var ShockMode = 0;
    if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) {
    if (navigator.plugins && navigator.plugins["Shockwave Flash"])
    ShockMode = 1;
    } if (ShockMode ) {
    document.write('<embed src="test2.swf"');
    document.write(' width=550 height=300 bgcolor="#ffffff" quality="high" loop="true"');
    document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/">');
    document.write('</EMBED>');
    } else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0)) { document.write('<IMG SRC="nonflash.gif" width=550 height=300');
    }
    //-->
    </SCRIPT><NOEMBED><IMG SRC="nonflash.gif" width=550 height=300 BORDER=0></NOEMBED><NOSCRIPT><IMG SRC="nonflash.gif" width=550 height=300 BORDER=0></NOSCRIPT></OBJECT>

    See if it works.

  11. #11
    Junior Member
    Join Date
    Sep 2000
    Posts
    26

    Nothing works

    Well, not only doesn't the transparency work on the system I have at work, IE (5.0) and Netscape (4.75), but the animation does not even run. All I get is white space.

    In fact IE eventually crashes.

  12. #12
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087

    Hmm!!!

    It sounds like you changed the name of your swf, deleted it the server, or moved it to a diffrent directory.

    This will cause the behavior you described.

    I veiwed the source of your HTML and it appears that you named your SWF test2.swf. Check and see if exists in the same directory as your html document. If it does not then this is your problem.

    I am 99.99% sure that this is the problem.

  13. #13
    Junior Member
    Join Date
    Sep 2000
    Posts
    26
    I'm 100% sure, boy I should have checked that. I have a couple of versions, and uploaded the wrong one.

    The transparency works in IE but not Netscape. I assume I need to put the param in different, or maybe leave the bgcolor off. I will play with it this afternoon.

    http://www.morrisonweb.com/coldwater/index2.shtml

  14. #14
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087
    glad I could help.

  15. #15
    Junior Member
    Join Date
    Sep 2000
    Posts
    26

    Transparency in Netscape

    The transparency in Netscape doesn't appear to be working, I even created a new page (index4.shtml) to make sure I was getting a new one. When I look at source I do not see bgcolor anyplace, but it shows white.

  16. #16
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512

    Re: Transparency in Netscape

    I would try adding wmode="transparent" in one of the document.write lines further done in the javascript. As I said earlie I found it necessary to repeat the parameters for correct behavior in netscape. I anyone knows why, please inform us.

  17. #17
    Junior Member
    Join Date
    Sep 2000
    Posts
    26
    Nope that didn't work. I now have "transparency" showing up 3 times. Any other ideas?

  18. #18
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087
    Microsoft IE and Netscape acess the DOM(document object Model differently. I will check to see if the function is even available in Netscape- It may not be.) You could change the z index- Layer of your menu boxes to achieve the effect you are trying to do.

  19. #19
    Senior Member
    Join Date
    Jul 2000
    Posts
    5,087
    Netscape does not support Wmode according to Macromedia.

  20. #20
    Junior Member
    Join Date
    Sep 2000
    Posts
    26
    Yea, I was just on on Macromedia site looking at their stuff and it does not have a transparent background in Netscape. I guess what I will do, is if it is Netscape, display a graphic instread of the flash.

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