Jump to content


Photo

How to bind a flash swf to database in Dreamweaver


  • Please log in to reply
1 reply to this topic

#1 StudioAndy

StudioAndy

    Young Padawan

  • Members
  • Pip
  • 6 posts

Posted 14 February 2011 - 03:34 PM

Hello, I'm creating a website with multiple galleries. I already have MySQL connected with Dreamweaver and everything is working fine except my flash swfs are not showing up. Basically, I have thumbnails that when clicked will take you to a flash movie (swf) that contains multiple views of that same product. When I bind the thumbnail pictures it works fine but when I try to bind the actual flash movie, nothing comes up. I get the error below:

] File does not exist: /srv

/www/htdocs/mine/website/undefined, referer: http://www.website.com/mine/website

/gallery/product1.swf




In Dreamweaver, this is how I have the swf binded to the database:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macr...rsion=9,0,28,0" width="32" height="32">
<param name="movie" value="<?php echo $row_Recordset1['product_container']; ?>">
<param name="quality" value="high">
<embed src="<?php echo $row_Recordset1['product_container']; ?>" quality="high" pluginspage="http://www.adobe.com...ShockwaveFlash" type="application/x-shockwave-flash" width="32" height="32"></embed>
</object>



I've been researching this for weeks already!! I'm not sure if I'm wording it incorrectly but I've tried everything. Most of the searches are trying to show me how to bind the actual Flash FLA to the database but my flash movies are finished already, I just need to tell Dreamweaver to load that specific swf to the database. Is this not possible? Am I missing something? PLSSS help!!

#2 Wybe

Wybe

    Jedi In Training

  • Members
  • PipPip
  • 401 posts
  • Gender:Male
  • Location:the Netherlands
  • Interests:I have no interests

Posted 25 February 2011 - 06:30 AM

Ofcourse it's possible, $row_Recordset1['product_container']; is only going to return a piece of text in the end, a browser couldn't care less where it comes from. I don't know crap about Dreamweaver, but how about you let us in on some of the error messages you've been getting? What, in the code, does $row_Recordset1['product_container']; "translate" to?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users