1 person found this helpful
try downloading this file: www.topvizstudio.com/AC_RunActiveContent.js do a right click and save as. Then throw it together with your index.html file
1 person found this helpful
Your file doesn't use the AC_Run...yadad yada script, so loading that won't help. Your file appears to load okay and the required swf object file is also where it should be. So the only unknown at this end is what file are you trying to load into the the swf, and is it loaded where it should be?
The swf files is based on a fla file I used which appears to have the correct settings. The original mpeg that went into the FLA is about 2x the size of what I put on the site, but I made the file smaller in Flash CS4 before exporting a SWF file. It's killing me that I can't figure this out!!!!
Does the original movie size make a difference?
Well I loaded all my flash files onto the site root folder. Previously I had them in a file (media) but after reading some forums someone had suggested all the swf and flash files,and original mpegs be located in the same place. That is my current situation, but If I need to move files around in Dreamweaver CS4 I am all ears!
1) Use Media Encoder (comes with Adobe Flash) or some other converter (RIVA is free) to encode your MPEG to FLV (flash video).
2) Save FLV to your Local Site Folder.
3) In DW, Insert > Media > Flash Video > Progressive Download. Browse to FLV file in your local site.
Choose a player skin. Hit OK.
4) Upload Page, Scripts, FLV and SWF files to server.
5) If this fails, check with your Host to ensure that SWF and FLV MIME-types are enabled on the web server.
What file is the swf supposed to be playing, and where is it located?... the swf appears to be some form of player file, and it appears to be missing whatever file it is supposed to play.
Where you store files is as relevant as how you target them. The swf file is in the same folder as the html file that embeds it, which is ideal for avoiding targeting issues between what works locally versus online. When you embed an swf file inan html page, anything that swf files loads dynamically has to be targeted as if the swf file is in the same folder as the html file (which in your case is covered). Some people will loa swf's in swf folders, much like images go into image folders, etc... That is when targeting usually has to be changed between local testing versus online showing.
Th swf file is called demo.swf and was created with a file entitled demo.fla which was created by importing an mpeg called homepage-demo.mpeg the client provided. In Flash cs4 I imported the video, gave it a skin, and than exported it after checking the paths before output. The mpeg, fla, and swf files have all been loaded onto the server so I am puzzled as to why I cant see the movie. Also you mentioned a player. Should I have the flash player (and controls) uploaded on my server?
Also I realized tha actual movie (mpeg file) I used to create demo.fla is 15 MB (1280 x something). Does this make a difference?
Flash CS4 has the capability of importing video and creating a skin and swf file which is what I originally did. What are the advantages of doing it using the process you described vs the process I was trying earlier? Does using a flv have an advantage over using swf?
Message was edited by: TxMaverick
FLV is for video or video with audio. Typically SWF is used for smaller files, player controls, rotating banners... If you began with MPEG, my guess is that you'll get better results encoding this project to FLV.
Give it a try.
Thanks I tried it and it works, but my player skin I created in step 3 appears over my movie. Do you know how I would drop it down so its below the movie?
I am also having trouble getting .swf files (Captivate) to play when inserted into Dreamweaver CS3. Aparently I need to change the code in Dreamweaver? My web pages are XHTML 1.0 Transitional. Any ideas on how I need to re-code the page to allow my .swf files to play?
I was having problems with flash too and then i tried the html5 <video> tag and it worked, no plugins, no crappy bloated code.
Aparently I need to change the code in Dreamweaver? My web pages are XHTML 1.0 Transitional.
There's no need to change code from XHTML transitional.
It could be a path problem, a missing Script folder or an SWF rendering problem.
Also, does your web server support SWF MIME-type ?
Can you post a link to your test page?
According to DW's validation I do need to change some of the coding. DW uses 'embed' and validation tells me it is not allowed in XHTML 1.0. I tried to change it to 'object' but that didn't work either.
The server is rackspace and it does support SWF files. I asked them to be sure.
http://erc.altruistmedia.com. If it is a file path problem, how can I fix it? The first SWF is SYSTEM_BROWSER_TEST_v5fb.swf . I don't understand how my links are not connecting properly. What am I doing wrong?
Thanks for your help
Flash embed code has never passed validation tests.
This code works for me:
<!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>Untitled Document</title> </head> <body> <!--BEGIN BUTTON 3 --> <object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,0,0" width="100" height="100"> <param name="src" value="http://erc.altruistmedia.com/button3.swf" /> <embed src="http://erc.altruistmedia.com/button3.swf" pluginspage="http://www.macromedia.com/shockwave/download/" width="100" height="100"></embed> </object> <!--BEGIN BUTTON 7 --> <object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,0,0" width="100" height="100"> <param name="src" value="http://erc.altruistmedia.com/button7.swf" /> <embed src="http://erc.altruistmedia.com/button7.swf" pluginspage="http://www.macromedia.com/shockwave/download/" width="100" height="100"></embed> </object> </body> </html>
That said, I don't like Flash buttons and I wish you wouldn't use them. They are not web friendly or good for accessibility.
If you need interactive buttons, use CSS styled lists or DW's built-in Spry Menus.
would you please show me the place, where your "SYSTEM_BROWSER_TEST_v5fb.swf" should be inserted in http://erc.altruistmedia.com/. I'm very sure there is neither a *.swf embedded nor this "SYSTEM_BROWSER_TEST_v5fb.swf" uploaded to your server.
For various reasons, discussed here in the forum it would be advantageous, if you could cut the empty spaces in your filenames.