;

PDA

Click to See Complete Forum and Search --> : Transparency


gmorrison
10-02-2000, 06:50 PM
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

johnie
10-02-2000, 06:58 PM
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.

gmorrison
10-02-2000, 07:03 PM
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?

gmorrison
10-02-2000, 07:11 PM
>>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?

johnie
10-02-2000, 07:27 PM
OOOPS.

Yes I meant to say Blue.

For some reason I thought the order went RBG.

johnie
10-02-2000, 07:28 PM
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]

gmorrison
10-02-2000, 08:17 PM
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.

johnie
10-02-2000, 08:48 PM
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/flash/ts/documents/wmode.htm

see
this thread

http://www.flashkit.com/board/showthread.php?threadid=32122


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

Bob Hartzell
10-02-2000, 09:33 PM
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.

johnie
10-02-2000, 09:42 PM
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.

gmorrison
10-03-2000, 10:42 AM
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.

johnie
10-03-2000, 11:37 AM
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.

gmorrison
10-03-2000, 12:43 PM
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

johnie
10-03-2000, 01:05 PM
glad I could help.

gmorrison
10-03-2000, 02:29 PM
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.

Bob Hartzell
10-03-2000, 02:38 PM
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.

gmorrison
10-03-2000, 04:11 PM
Nope that didn't work. I now have "transparency" showing up 3 times. Any other ideas?

johnie
10-03-2000, 04:24 PM
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.

johnie
10-03-2000, 04:27 PM
Netscape does not support Wmode according to Macromedia.

gmorrison
10-03-2000, 04:30 PM
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.

johnie
10-03-2000, 05:34 PM
Netscape didn't have anything on it. I'm going to E-mail their support center to try to get an answer. I might get it in a week or so.

Bob mentioned that he got it to work though?

maybe it is supported in the newest versions.

Bob Hartzell
10-03-2000, 06:37 PM
AndrewC used it in his Animal Santuary animation, I believe. He may know the scoop.