How can I access file in localhost?

Can I use .swf instead of .jpg in Acess DB file for a ASP website?

  • Hi, I'll try my best to simplify my question. I have a local(localhost) site setup on Dreamweaver 8 and I am working on this website where I have a list of items, in this case CDs (cdlist.asp) and when I click on an item it takes me to a detailed page (cddetailes.asp?id=13). A local "cd.mdb" file has all the information for the CDs that "detailes.asp" needs. It has artist, release year, label, and a cover image for that cd, (cv1.jpg), (cv2.jpg) My question is can I use .swf files in Access and have "details.asp" display the .swf file instead of .jpg, Please help. Thank you

  • Answer:

    Yes you can use instead of "cv1.jpg" or "cv2.jpg" anything you want .swf but, be carefull because instead of writing <img src="..."/> you need to write the object code for flash component. <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-4… codebase="http://fpdownload.macromedia.c… width="140" height="180" style="text-align:center"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="yourflashmovie.swf" /> <param name="menu" value="false" /> <param name="quality" value="best" /> <param name="scale" value="noscale" /> <param name="bgcolor" value="#e8eaf5" /> <embed src="yourflashmovie.swf" menu="false" quality="best" scale="noscale" bgcolor="#e8eaf5" width="140" height="180" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/g… /></embed> </object>

It's me, Kassy. at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

Yes. In Macromedia Flash, choose publish SWF together with the HTML will give you the SWF object id -> check the HTML source that embedded the SWF file.

dranagar

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.