Need some help flash peeps.

This is a discussion on "Need some help flash peeps." within the Flash & Multimedia Forum section. This forum, and the thread "Need some help flash peeps. are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Dec 14th, 2006, 23:44
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,761
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Need some help flash peeps.

Ok so I have a flash piece I need to place in a layer above my html. The problem is I can't get the background to be transparent. Has to be output by js because of IE's suck. and that is the only way to get it to auto start. Problem is I have to set the height to say 425px to fit in with the layout, my goal is to have it on top with transparency so the hovers don't get cut off. Any ideas?
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)

Last edited by moojoo; Dec 15th, 2006 at 00:21.
Reply With Quote

  #2 (permalink)  
Old Dec 15th, 2006, 00:21
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,761
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: Need some help flash peeps.

N/M I figured it out.
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #3 (permalink)  
Old Dec 15th, 2006, 00:25
Reputable Member
Join Date: Jul 2006
Location: Scotland
Age: 22
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to snow
Re: Need some help flash peeps.

What was your solution?
Reply With Quote
  #4 (permalink)  
Old Dec 15th, 2006, 13:40
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,761
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: Need some help flash peeps.

Due to IE sucking.. Here is what I did.

Make a .js file say foo.js


document.write("<div style=\"z-index:1; background:transparent; position:relative; top:-100px; left:0;\">");
document.write("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" width=\"600\" height=\"600\" id=\"scroller\" align=\"left\"><param name=\"wmode\" value=\"transparent\">");
document.write("<param name=\"movie\" value=\"/includes/flash/foo.swf\" /><param name=\"wmode\" value=\"transparent\" /><param name=\"allowScriptAccess\" value=\"sameDomain\" /><param name=\"quality\" value=\"high\" /><param name=\"bgcolor\" value=\"#000000\" />");
document.write("<embed src=\"/includes/flash/foo.swf\" quality=\"high\" bgcolor=\"#000000\" width=\"600\" height=\"600\" name=\"scroller\" wmode=\"transparent\" align=\"left\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" /></object>");
document.write("</div>");

and in your HTML place


<script type="text/javascript" src="/includes/js/foo.js"></script>

and you have a nice transparent background having flash object that works in FF, IE etc.. Style the outputted div to position as required etc etc.. In my case I needed it to line up correctly yet allow hovers that would appear over the text. I would put a screenie but I would get fired heh. But there you have it. One sexy line of include code in your html and a sep js file to control your flash object. Adjust the parameters as required. The pain in the butt is that you need both the <object> tag and <embed> to cater to all the browsers but at least this way keeps your HTML source lean and mean.
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)

Last edited by moojoo; Dec 15th, 2006 at 14:52.
Reply With Quote
  #5 (permalink)  
Old Dec 17th, 2006, 06:13
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: Need some help flash peeps.

hehehe, the one chance I get to help moojoo...and I miss out...cause I was working...DANG!!
Reply With Quote
  #6 (permalink)  
Old Dec 17th, 2006, 13:50
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,761
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: Need some help flash peeps.

Yeah well, sorry I only ask when I am really stuck heh.
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #7 (permalink)  
Old Dec 17th, 2006, 18:06
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: Need some help flash peeps.

hahaha...lol, plus you don't do flash that much...right?
Reply With Quote
  #8 (permalink)  
Old Dec 18th, 2006, 16:29
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,761
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: Need some help flash peeps.

Not I sure don't.
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #9 (permalink)  
Old Dec 18th, 2006, 17:20
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: Need some help flash peeps.

hahaha...I thought so, what brings you doing flash in this project?
Reply With Quote
Reply

Tags
flash and ie

Thread Tools

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
hi peeps errol187 Introduce Yourself 7 Sep 13th, 2007 18:00
Hello to all the peeps chrisse Introduce Yourself 7 Sep 3rd, 2007 20:00
hey hey peeps daftfunk Introduce Yourself 5 Apr 25th, 2007 02:15
Hi peeps hart084 Introduce Yourself 7 Jan 30th, 2007 08:26
hello peeps phpmyadmin_help Introduce Yourself 4 Feb 6th, 2006 00:55


All times are GMT. The time now is 22:31.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43