Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 11-12-2008, 08:02 AM Flash Problems w/ IE
Novice Talker

Posts: 7
Name: Remo
Trades: 0
I'm currently working on a website: hoodcityent.com |Being hosted @:
http://www.hoodcity.vndv.com

My problem is the flash works fine in Firefox, but does not show up in IE. Is there something I need to change with my coding, if so what?
Code:
					<ul id="flash">
  <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
          codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
          ID=hoodcityent WIDTH=770 HEIGHT=228>
          <PARAM NAME=movie VALUE="hoodcityent.swf">
          <PARAM NAME=quality VALUE=high>
          <PARAM NAME=loop VALUE=false>
          <EMBED src="images/hoodcityent.swf" loop=false quality=high
           WIDTH=900 HEIGHT=267 TYPE="application/x-shockwave-flash"
           PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
          </EMBED>
  </OBJECT>
		</ul>
Other than that, everything is going fine so far, just a few more things I need to knock out, setting up frames on the main page for the news which will be done through a blog (probably wordpress unless there are any better suggestions). Create a pseudo slide show for video selection, and decide on which type of image enlarge script I want to use for the photos section (hopefully something similar to HighSlide).
DankDesign is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-12-2008, 09:02 AM Re: Flash Problems w/ IE
djura's Avatar
Super Talker

Posts: 135
Name: Darko Krsmanovic
Location: Belgrade
Trades: 0
Below is the code, make sure you include script too(AC_RunActiveContent.js)

here is the link to script and some samples:http://download.macromedia.com/pub/d...nt_samples.zip

Here is a link to article: http://www.adobe.com/devnet/activeco...devletter.html


<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','770','heigh t','228','title','hoodcityent','src','images/','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','images/hoodcityent', 'wmode', 'transparent' ); //end AC code
</script><noscript><object type="application/x-shockwave-flash" width="770" height="228" data="images/hoodcityent.swf">
<param name="movie" value="images/hoodcityent.swf" /><param name="wmode" value="transparent" /></object></noscript>


Hope this helps!
__________________

Please login or register to view this content. Registration is FREE
||
Please login or register to view this content. Registration is FREE
djura is offline
Reply With Quote
View Public Profile Visit djura's homepage!
 
Old 11-12-2008, 10:26 AM Re: Flash Problems w/ IE
Novice Talker

Posts: 7
Name: Remo
Trades: 0
Thanks for trying, but with that script it doesn't run. I included the scripts as well, but no go in both IE and Firefox.
DankDesign is offline
Reply With Quote
View Public Profile
 
Old 11-12-2008, 10:48 AM Re: Flash Problems w/ IE
djura's Avatar
Super Talker

Posts: 135
Name: Darko Krsmanovic
Location: Belgrade
Trades: 0
It worked for me, here is the code I used for test page, save it and try again and then go from there to apply it for your page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<script language="JavaScript1.2" type="text/javascript">
//v1.0
//Copyright 2006 Adobe Systems, Inc. All rights reserved.
function AC_AddExtension(src, ext)
{
if (src.indexOf('?') != -1)
return src.replace(/\?/, ext+'?');
else
return src + ext;
}

function AC_Generateobj(objAttrs, params, embedAttrs)
{
var str = '<object ';
for (var i in objAttrs)
str += i + '="' + objAttrs[i] + '" ';
str += '>';
for (var i in params)
str += '<param name="' + i + '" value="' + params[i] + '" /> ';
str += '<embed ';
for (var i in embedAttrs)
str += i + '="' + embedAttrs[i] + '" ';
str += ' ></embed></object>';

document.write(str);
}

function AC_FL_RunContent(){
var ret =
AC_GetArgs
( arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
, "application/x-shockwave-flash"
);
AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_SW_RunContent(){
var ret =
AC_GetArgs
( arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
, null
);
AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
var ret = new Object();
ret.embedAttrs = new Object();
ret.params = new Object();
ret.objAttrs = new Object();
for (var i=0; i < args.length; i=i+2){
var currArg = args[i].toLowerCase();

switch (currArg){
case "classid":
break;
case "pluginspage":
ret.embedAttrs[args[i]] = args[i+1];
break;
case "src":
case "movie":
args[i+1] = AC_AddExtension(args[i+1], ext);
ret.embedAttrs["src"] = args[i+1];
ret.params[srcParamName] = args[i+1];
break;
case "onafterupdate":
case "onbeforeupdate":
case "onblur":
case "oncellchange":
case "onclick":
case "ondblClick":
case "ondrag":
case "ondragend":
case "ondragenter":
case "ondragleave":
case "ondragover":
case "ondrop":
case "onfinish":
case "onfocus":
case "onhelp":
case "onmousedown":
case "onmouseup":
case "onmouseover":
case "onmousemove":
case "onmouseout":
case "onkeypress":
case "onkeydown":
case "onkeyup":
case "onload":
case "onlosecapture":
case "onpropertychange":
case "onreadystatechange":
case "onrowsdelete":
case "onrowenter":
case "onrowexit":
case "onrowsinserted":
case "onstart":
case "onscroll":
case "onbeforeeditfocus":
case "onactivate":
case "onbeforedeactivate":
case "ondeactivate":
case "type":
case "codebase":
ret.objAttrs[args[i]] = args[i+1];
break;
case "width":
case "height":
case "align":
case "vspace":
case "hspace":
case "class":
case "title":
case "accesskey":
case "name":
case "id":
case "tabindex":
ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
break;
default:
ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
}
}
ret.objAttrs["classid"] = classid;
if (mimeType) ret.embedAttrs["type"] = mimeType;
return ret;
}
</script>
</head>

<body>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','770','heigh t','228','title','hoodcityent','src','http://www.hoodcity.vndv.com/images/','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','http://www.hoodcity.vndv.com/images/hoodcityent', 'wmode', 'transparent' ); //end AC code
</script><noscript><object type="application/x-shockwave-flash" width="770" height="228" data="http://www.hoodcity.vndv.com/images/hoodcityent.swf">
<param name="movie" value="http://www.hoodcity.vndv.com/images/hoodcityent.swf" /><param name="wmode" value="transparent" /></object></noscript>
</body>
</html>
__________________

Please login or register to view this content. Registration is FREE
||
Please login or register to view this content. Registration is FREE
djura is offline
Reply With Quote
View Public Profile Visit djura's homepage!
 
Old 11-12-2008, 11:10 AM Re: Flash Problems w/ IE
Novice Talker

Posts: 7
Name: Remo
Trades: 0
Don't know why its working for you. I copied it and saved what you posted through notepad and CoffeCup HTML Editor 2008. It comes up blank, tried doing a little tweaking on top of that and still doesn't work. I hope its not just a case of me being lost since I do have a pretty good idea of whats going on.
DankDesign is offline
Reply With Quote
View Public Profile
 
Old 11-12-2008, 11:18 AM Re: Flash Problems w/ IE
djura's Avatar
Super Talker

Posts: 135
Name: Darko Krsmanovic
Location: Belgrade
Trades: 0
my typo, sorry:

you need to fix this from above code: 'movi e' should say 'movie'

<body>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','770','heigh t','228','title','hoodcityent','src','http://www.hoodcity.vndv.com/images/','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','http://www.hoodcity.vndv.com/images/hoodcityent', 'wmode', 'transparent' ); //end AC code
</script><noscript><object type="application/x-shockwave-flash" width="770" height="228" data="http://www.hoodcity.vndv.com/images/hoodcityent.swf">
<param name="movie" value="http://www.hoodcity.vndv.com/images/hoodcityent.swf" /><param name="wmode" value="transparent" /></object></noscript>
</body>
__________________

Please login or register to view this content. Registration is FREE
||
Please login or register to view this content. Registration is FREE

Last edited by djura; 11-12-2008 at 11:19 AM..
djura is offline
Reply With Quote
View Public Profile Visit djura's homepage!
 
Old 11-12-2008, 02:39 PM Re: Flash Problems w/ IE
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
DREAMWEAVER's AS script doesn't always work properly.
Check in the stickies for other methods for putting flash on your page without the need for the <embed> tag.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 11-12-2008, 09:34 PM Re: Flash Problems w/ IE
Novice Talker

Posts: 7
Name: Remo
Trades: 0
Thanks.. didn't even notice that. Well thats one problem overcame, now how do I go about getting it back into the position where it was before which was centered... as well as removing the loop.

Last edited by DankDesign; 11-12-2008 at 09:37 PM..
DankDesign is offline
Reply With Quote
View Public Profile
 
Old 11-13-2008, 11:56 AM Re: Flash Problems w/ IE
djura's Avatar
Super Talker

Posts: 135
Name: Darko Krsmanovic
Location: Belgrade
Trades: 0
well you place it in the same container you did before, regarding looping it is controlled inside .swf file, you place stop(); on your last key frame...
__________________

Please login or register to view this content. Registration is FREE
||
Please login or register to view this content. Registration is FREE
djura is offline
Reply With Quote
View Public Profile Visit djura's homepage!
 
Old 11-13-2008, 08:35 PM Re: Flash Problems w/ IE
Novice Talker

Posts: 7
Name: Remo
Trades: 0
Quote:
Originally Posted by djura View Post
well you place it in the same container you did before, regarding looping it is controlled inside .swf file, you place stop(); on your last key frame...
It is in the same container. Fixed the loop, but the size is still well off. Its still shrunk like 10%. Once again, thanks for all the advice, just this last thing and I should be okay.
DankDesign is offline
Reply With Quote
View Public Profile
 
Old 11-14-2008, 05:49 AM Re: Flash Problems w/ IE
djura's Avatar
Super Talker

Posts: 135
Name: Darko Krsmanovic
Location: Belgrade
Trades: 0
You have some errors in code like:
'heigh t',


When I paste the code here it gives some spacing in "movi e" "heigh t" etc.
So I will upload the code somewhere else, here is the link:
http://www.greenfish.rs/Untitled-1.html
__________________

Please login or register to view this content. Registration is FREE
||
Please login or register to view this content. Registration is FREE
djura is offline
Reply With Quote
View Public Profile Visit djura's homepage!
 
Reply     « Reply to Flash Problems w/ IE
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 4.83764 seconds with 12 queries