I uploaded index.html, index.swf, the Scripts folder with 'AC_RunActiveContent.js' in it to http://www.paulineng.co.uk, it takes a long time to load & once it has loaded and I right-click, it says movie not loaded.
Below is the html/flash file: -
<!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>
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-
<title>:: PAULINE NG ::</title>
-
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
-
</head>
-
-
<body bgcolor="EADBBF">
-
<script type="text/javascript">
-
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','900','height','800','src','index.swf','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','index.swf' ); //end AC code
-
</script>
-
<center><script type="text/javascript">
-
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','900','height','800','src','index.swf','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','index.swf' ); //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="900" height="800">
-
<param name="movie" value="index.swf" />
-
<param name="quality" value="high" />
-
<embed src="index.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="900" height="800"></embed>
-
</object></noscript></center>
-
</body>
-
</html>
-
Help needed
thanks
8 38410
Hi, camphor.
I'm checking the code in your site and it's totally different from the one you posted here.
There are two movies but only one is written by the AC_RunActiveContent script (a very very poor adobe code, by the way). The other one is hard coded in html (object/embed). The one that is written by the scripts doesn't load and it's because the src parameter passed to the script is file:///C|/pauline ng/index which is obviously wrong. And the other movie works fine.
Change the src of the one that is not playing to a real source and use the SWFObject script to load the flash movies, that is an effing great script to run flash movies. You can find it here http://blog.deconcept.com/swfobject/
Read the instructions to see how it works and how to implement it.
Kind regards,
The_Nephilim
I uploaded index.html, index.swf, the Scripts folder with 'AC_RunActiveContent.js' in it to http://www.paulineng.co.uk, it takes a long time to load & once it has loaded and I right-click, it says movie not loaded.
Below is the html/flash file: -
<!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>
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-
<title>:: PAULINE NG ::</title>
-
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
-
</head>
-
-
<body bgcolor="EADBBF">
-
<script type="text/javascript">
-
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','900','height','800','src','index.swf','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','index.swf' ); //end AC code
-
</script>
-
<center><script type="text/javascript">
-
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','900','height','800','src','index.swf','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','index.swf' ); //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="900" height="800">
-
<param name="movie" value="index.swf" />
-
<param name="quality" value="high" />
-
<embed src="index.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="900" height="800"></embed>
-
</object></noscript></center>
-
</body>
-
</html>
-
Help needed
thanks
thanks The_Nephilim your answer did help, the swf object script is fantastic, one thing though, in firefox, the bgcolor doesn't show up even though it is in the code. -
<!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>
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-
<title>:: PAULINE NG ::</title>
-
<script type="text/javascript" src="swfobject.js"></script>
-
</head>
-
-
<body bgcolor="EADBBF">
-
-
<center>
-
<div id="flashcontent"></div>
-
<script type="text/javascript">
-
var so = new SWFObject("index.swf", "myportfolio", "900", "800", "8", "#EADBBF");
-
so.write("flashcontent");
-
</script>
-
-
<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="900" height="800">
-
<param name="movie" value="index.swf" />
-
<param name="quality" value="high" />
-
<embed src="index.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="900" height="800"></embed>
-
</object></center>
-
You're welcome.
If your background doens't show right, try matching the actual movie's background color with the one in the code of the script..
Also see if there's no movieclip overlapping the background of the movie...
I don't know, I've never had that issue, if the above doesn't solve it, post a link to the fla file and I'll check it.
Best regards,
The_Nephilim
thanks The_Nephilim your answer did help, the swf object script is fantastic, one thing though, in firefox, the bgcolor doesn't show up even though it is in the code. -
<!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>
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-
<title>:: PAULINE NG ::</title>
-
<script type="text/javascript" src="swfobject.js"></script>
-
</head>
-
-
<body bgcolor="EADBBF">
-
-
<center>
-
<div id="flashcontent"></div>
-
<script type="text/javascript">
-
var so = new SWFObject("index.swf", "myportfolio", "900", "800", "8", "#EADBBF");
-
so.write("flashcontent");
-
</script>
-
-
<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="900" height="800">
-
<param name="movie" value="index.swf" />
-
<param name="quality" value="high" />
-
<embed src="index.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="900" height="800"></embed>
-
</object></center>
-
Ohhh!! I totally missed that part, you missed the # before the hex value of the background.
You put:
<body bgcolor="EADBBF">And it must be:
<body bgcolor="#EADBBF">That should solve it.
Best regards,
The_Nephilim
The background color on the html page shows up white when testing in firefox, here is the link to the fla file for you to check http://www.paulineng.co.uk/index.fla
thanks
thank you very much, you have been a great help
You're welcome.
And good luck with the project!
Best regards,
The_Nephilim
thank you very much, you have been a great help
I get a script error and flash does not play (2Dahani.com):
SWFObject is not defined
[Break on this error] var so = new SWFObject ("public_html/templates/flashbanner1.swf", "300", "60", "8",...
Here is my code (Please help) - </script>
-
<script type="text/javascript" src="scripts/swfobject.js"></script>
-
-
<div id="flashcontent"></div>
-
<script type="text/javascript">
-
var so = new SWFObject ("public_html/templates/flashbanner1.swf", "flashbanner1", "300", "60", "8", "#000000");
-
so.write("flashcontent");
-
</script>
-
-
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="(URL address blocked: See forum rules)=7,0,19,0" width="300" height="60">
-
<param name="movie" value="/public_html/templates/Flashbanner1.swf" />
-
<param name="quality" value="high" />
-
<embed src="/public_html/templates/Flashbanner1.swf" quality="high" pluginspage="(URL address blocked: See forum rules)" type="application/x-shockwave-flash" width="300" height="60"></embed>
-
</object></
Sign in to post your reply or Sign up for a free account.
Similar topics
by: AES/newspost |
last post by:
Can anyone provide a quick tip on the html structure to link from a
thumb to a movie poster and from there on to a QuickTime movie, all in
one go, using EMBED?
I have a number of (large)...
|
by: Dean Arpajian |
last post by:
Looking to find info/ libs on creating (small) video files.
Basically what I'm looking for is a tutorial for constructing a short
video... (nothing nasty: output from a transmission line...
|
by: torbs |
last post by:
I have a problem when I use javascript to get the length and position
of a movie I recieve from a rtsp stream. The length and position is
extremely high and not the actual length and position of...
|
by: jamjam19 |
last post by:
Hello,
I've created a Flash movie with animation as a header for my website. This movie is embedded into my "header.html" file which is called by every page on the site (by way of PHP).
Is...
|
by: suresh_nsnguys |
last post by:
Respected sir/madam,
right now i am displaying movie (.wmv) file using <embed> and <object> tags inside <div> tag. Everything is working fine.
...
|
by: vimal.424 |
last post by:
Dear All,
Please help me.........
Please tell me how can we store the flash movie in data base,after
storing how can we retreive flash movie from data base.
I want have to do, also the preview...
|
by: elamberdor |
last post by:
A main movie on the root directory, calls in swf's on button press from "flash" folder, each contain one XML field that updates for each. XML located in flash folder.
The XML displays fine when it...
|
by: nathj |
last post by:
Hi,
I'm stuck. Obviously I'm stuck or I wouldn't be posting a new question.
I have a php script that takes information from a database and outputs it to the screen. The information in...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |