MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 150

Dreamweaver api reference
Table of Contents

Advertisement

Arguments
None.
Returns
A string that contains the name of the text editor that is suitable for presentation in the user
interface (UI), not the full path.
dreamweaver.getFlashPath()
Availability
Dreamweaver MX.
Description
Gets the full path to the Flash MX application in the form of a file URL.
Arguments
None.
Returns
An array that contains two elements. Element [0] is a string that contains the name of the
Flash MX editor. Element [1] is a string that contains the path to the Flash application on the
local computer, which is expressed as a file:// URL. If Flash is not installed, it returns nothing.
Example
The following example calls the
application and then passes the path in the form of a file://URL to the
function to open the document with Flash:
var myDoc = dreamweaver.getDocumentDOM();
if (dreamweaver.validateFlash()) {
var flashArray = dreamweaver.getFlashPath();
dreamweaver.openWithApp(myDoc.myForm.swfFilePath, flashArray[1]);
}
dreamweaver.getPrimaryBrowser()
Availability
Dreamweaver 3.
150
Application
dw.getFlashPath()
function to obtain the path to the Flash
dw.openWithApp()

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver 8

Table of Contents