?
Solved

Put a SWF file on a dynamically generated pages using Dreamweaver and PHP

Posted on 2010-01-07
1
Medium Priority
?
200 Views
Last Modified: 2012-05-08
I can successfully upload a SWF movie to a folder on my server and its filename to a database with a CMS form I've created in Dreamweaver using PHP.
What I need to do is have the SWF movies I've uploaded to the server appear on pages that are generated dynamically. I know how to do this with jpgs: ie, by applying a source attribute to the proper record the bindings panel and then binding that to the dynamic image area on the page.
So how do I do the same thing with a SWF file?
0
Comment
Question by:trptdblc
1 Comment
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 26202365
Hi trptdblc,

The easiest way to do it is to create a new blank page and drag and drop a flash file into it.  DW will auto-generate the code for embedding.  Switch to code view to see all of the code (and includes) needed and find the references to the swf file name.  Copy/paste the code into the dynamic page (fix paths if needed) and replace the static filename with whatever dynamic call holds the same information.

You will note that the code does not use a full file name (file.swf) in all cases.  Instead, it uses just "file"
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month15 days, 6 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question