473,327 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

movie not loaded help

35
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:

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  5. <title>:: PAULINE NG ::</title>
  6. <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
  7. </head>
  8.  
  9. <body bgcolor="EADBBF">
  10. <script type="text/javascript">
  11. 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
  12. </script>
  13. <center><script type="text/javascript">
  14. 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
  15. </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">
  16. <param name="movie" value="index.swf" />
  17. <param name="quality" value="high" />
  18. <embed src="index.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="900" height="800"></embed>
  19. </object></noscript></center>
  20. </body>
  21. </html>
  22.  
Help needed

thanks
Aug 27 '07 #1
8 38410
xNephilimx
213 Expert 100+
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:

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  5. <title>:: PAULINE NG ::</title>
  6. <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
  7. </head>
  8.  
  9. <body bgcolor="EADBBF">
  10. <script type="text/javascript">
  11. 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
  12. </script>
  13. <center><script type="text/javascript">
  14. 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
  15. </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">
  16. <param name="movie" value="index.swf" />
  17. <param name="quality" value="high" />
  18. <embed src="index.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="900" height="800"></embed>
  19. </object></noscript></center>
  20. </body>
  21. </html>
  22.  
Help needed

thanks
Aug 28 '07 #2
camphor
35
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.

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  5. <title>:: PAULINE NG ::</title>
  6. <script type="text/javascript" src="swfobject.js"></script>
  7. </head>
  8.  
  9. <body bgcolor="EADBBF">
  10.  
  11. <center>
  12. <div id="flashcontent"></div>
  13. <script type="text/javascript">
  14.    var so = new SWFObject("index.swf", "myportfolio", "900", "800", "8", "#EADBBF");
  15.    so.write("flashcontent");
  16. </script>
  17.  
  18. <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">
  19.   <param name="movie" value="index.swf" />
  20.   <param name="quality" value="high" />
  21.   <embed src="index.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="900" height="800"></embed>
  22. </object></center>
  23.  
Aug 28 '07 #3
xNephilimx
213 Expert 100+
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.

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  5. <title>:: PAULINE NG ::</title>
  6. <script type="text/javascript" src="swfobject.js"></script>
  7. </head>
  8.  
  9. <body bgcolor="EADBBF">
  10.  
  11. <center>
  12. <div id="flashcontent"></div>
  13. <script type="text/javascript">
  14.    var so = new SWFObject("index.swf", "myportfolio", "900", "800", "8", "#EADBBF");
  15.    so.write("flashcontent");
  16. </script>
  17.  
  18. <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">
  19.   <param name="movie" value="index.swf" />
  20.   <param name="quality" value="high" />
  21.   <embed src="index.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="900" height="800"></embed>
  22. </object></center>
  23.  
Aug 29 '07 #4
camphor
35
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
Aug 30 '07 #5
xNephilimx
213 Expert 100+
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
Aug 30 '07 #6
camphor
35
thank you very much, you have been a great help
Aug 31 '07 #7
xNephilimx
213 Expert 100+
You're welcome.
And good luck with the project!

Best regards,
The_Nephilim

thank you very much, you have been a great help
Aug 31 '07 #8
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)
Expand|Select|Wrap|Line Numbers
  1. </script>
  2. <script type="text/javascript" src="scripts/swfobject.js"></script>
  3.  
  4. <div id="flashcontent"></div>
  5. <script type="text/javascript">
  6.    var so = new SWFObject ("public_html/templates/flashbanner1.swf", "flashbanner1", "300", "60", "8", "#000000");
  7.    so.write("flashcontent");
  8. </script>
  9.  
  10. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="(URL address blocked: See forum rules)=7,0,19,0" width="300" height="60">
  11.   <param name="movie" value="/public_html/templates/Flashbanner1.swf" />
  12.   <param name="quality" value="high" />
  13.   <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>
  14. </object></
Mar 15 '08 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

4
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)...
3
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...
1
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...
2
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...
3
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. ...
2
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...
2
elamberdor
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...
7
nathj
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...
0
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...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
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...
1
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)...
1
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...
1
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....
0
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
0
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...
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.