Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-24-2011, 03:46 AM   PM User | #1
cjiggens
New to the CF scene

 
Join Date: Apr 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
cjiggens is an unknown quantity at this point
Iframe behind flash movie

Need help with a facebook like button to show up behind flash movie.

I am using standard flash embed techniques.

the code goes like this:

Code:
<body bgcolor="#ffffff">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
				<tr>
                                  
                
					<td align="center" valign="middle"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','1000','height','600','src','main','quality','high', 'transparent','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','main' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1000" height="600">
                      <param name="movie" value="main.swf">
                      <param name="quality" value="high">
                      <param name="wmode" value="transparent">
                      <embed src="main.swf" width="1000" height="600" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
				    </object></noscript></td>
				</tr>

        
        	</table>
			<!-- Tracking Code v4.00 - All rights reserved -->
<script language="javascript1.1" src="http://citymark.com/tracking.js" type="text/javascript"></script>
        <noscript>
          <img src="http://stats.indexstats.com/p.pl?a=10001226980566&amp;js=no" width="1" height="1" alt="tracking" />
        </noscript><!--//-->
      <!-- End of Tracking Code -->
   <div id="facebooklike"> 
    <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FCityMark%2F194129717280993&amp;layout=box_count&amp;show_faces=false&amp;width=150&amp;action=like&amp;font&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:65px; height:65px;" allowTransparency="true"></iframe>
</div>
cjiggens is offline   Reply With Quote
Old 03-30-2011, 05:40 AM   PM User | #2
Labrar
New Coder

 
Join Date: Jun 2008
Posts: 61
Thanks: 0
Thanked 12 Times in 12 Posts
Labrar is an unknown quantity at this point
Woooh. How did you came up with tablecoding instead of CSS?
Short example (But please use swfobjects instead what i try to demonstrate now for you)

PHP Code:
<embed src="main.swf" width="1000" height="600" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" style="position:absolute; top:100px; left:100px;"></embed>
 <
iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FCityMark%2F194129717280993&amp;layout=box_count&amp;show_faces=false&amp;width=150&amp;action=like&amp;font&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style=" position:absolute; top:535px; border:none; overflow:hidden; width:65px; height:65px;" allowTransparency="true"></iframe
Im in a motel right now. So its untestet but should work
Labrar is offline   Reply With Quote
Reply

Bookmarks

Tags
flash, iframe, transparent

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 06:23 AM.


Advertisement
Log in to turn off these ads.