iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Flash Discussion Forum Flash design presents a limitless number of possibilities for your sites and designs. Discuss your Flash ideas, questions and issues here.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-19-2009, 06:02 PM
ristenk1's Avatar
WebProWorld Member
 
Join Date: Apr 2009
Location: El Salvador, Central America
Posts: 49
ristenk1 RepRank 1
Default .swf Transparency Issue

Hi, I'm new to Flash and working out some issues....I've read up as much as I can but can't seem to fix my transparency problem. I saved my publish settings to "transparent windowless" and added transparent tags for both Firefox and IE (according to everything that I've read online) in my html code. Here is the code below:


<div id="ad">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','550','heigh t','400','title','f.estimates1','src','images/free_estimates1','quality','high','pluginspage','h ttp://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','images/free_estimates1' ); //end AC code
</script><noscript><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="550" height="400" title="f.estimates1">
<param name="movie" value="images/free_estimates.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />

<embed src="images/free_estimates1.swf" quality="high" wmode="transparent" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="550" height="400"></embed>
</object></noscript>
</div>

I've tried everything I can think of...taking out the div tag...playing around with the quotation marks and forward slash at the end....I just can't figure out why my .swf file isn't transparent...it seems like it should be so simple...does anyone have any ideas?

Thanks,

Kris
Reply With Quote
  #2 (permalink)  
Old 08-19-2009, 07:46 PM
WebProWorld New Member
 
Join Date: Aug 2009
Location: Arizona
Posts: 5
Justavan RepRank 1
Default Re: .swf Transparency Issue

Hi ristenk1,

It looks like you have everything coded correctly but you missed one step for the transparency. You'll need to add "wmode", "transparent" to the AC_FL_RunContent javascript as well. I believe that should solve your issue.

Take care,
Tim
Reply With Quote
  #3 (permalink)  
Old 08-19-2009, 09:50 PM
ristenk1's Avatar
WebProWorld Member
 
Join Date: Apr 2009
Location: El Salvador, Central America
Posts: 49
ristenk1 RepRank 1
Default Re: .swf Transparency Issue

Thanks...that was it
Reply With Quote
  #4 (permalink)  
Old 08-22-2009, 11:32 AM
Moderator
WebProWorld Moderator
 
Join Date: Oct 2003
Location: Alberta, Canada
Posts: 878
weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6
Default Re: .swf Transparency Issue

Now that you have transparency, ask this question: is there an alternate image in place WHILE the flash is loading? If there are links in the flash, are they also included in NOSCRIPT alternate content so the urls can still be reached by none flash users?

Also, can we assume your document is HTML 4 and not XHTML? The <.embed.> element will give you validation problems if the latter.
Reply With Quote
  #5 (permalink)  
Old 08-23-2009, 11:26 PM
morestar's Avatar
WebProWorld Veteran
WebProWorld MVP
 
Join Date: Jun 2007
Location: Burlington, Ontario (Toronto)
Posts: 941
morestar RepRank 5morestar RepRank 5morestar RepRank 5morestar RepRank 5morestar RepRank 5morestar RepRank 5
Default Re: .swf Transparency Issue

Quote:
Originally Posted by weegillis View Post
Now that you have transparency, ask this question: is there an alternate image in place WHILE the flash is loading? If there are links in the flash, are they also included in NOSCRIPT alternate content so the urls can still be reached by none flash users?

Also, can we assume your document is HTML 4 and not XHTML? The <.embed.> element will give you validation problems if the latter.

That or she could just add an image to the preloader maybe?

she may also not want to worry about validating either cause it really doesn't help conversions...
__________________
Join free dating sites and meet single people without paying a penny.
Reply With Quote
  #6 (permalink)  
Old 08-24-2009, 02:45 PM
Moderator
WebProWorld Moderator
 
Join Date: Oct 2003
Location: Alberta, Canada
Posts: 878
weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6weegillis RepRank 6
Default Re: .swf Transparency Issue

The alternate image should be independent of the preloader, as it and the flash (scripts) are mutually exclusive. It should be in an IMG tag or perhaps a CSS background that loads with the page, before the scripts engage.

Validating just makes good sense for future compatibility. We all know it is not the be-all and end-all of well formedness, just a check list. It can't hurt to remove barriers from future development.
Reply With Quote
Reply

  WebProWorld > Site Design > Flash Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IE6 PNG transparency problem!!!!!!!!! andthen Graphics & Design Discussion Forum 7 07-23-2009 11:54 PM
Transparency issues EJRS.COM Graphics & Design Discussion Forum 23 12-20-2006 07:18 PM
Images with transparency?? randelld Graphics & Design Discussion Forum 12 01-05-2006 11:08 AM
Basics of Transparency WPW_Feedbot Graphics & Design Discussion Forum 0 08-19-2005 12:30 PM
Transparency WPW_Feedbot IT Discussion Forum 0 12-15-2004 09:30 AM


All times are GMT -4. The time now is 02:41 AM.



Search Engine Optimization by vBSEO 3.3.0