Hi,
Thank you for your enquiry.
The 'Overview of Publication Types' article in the help file states the following about the DirectX Exclusive mode:
Opus Pro 04 Help File wrote:
There are limitations with this option: only one publication of this type can by running at a time on a users machine; the Window and Layout tabs in the Publication Properties dialog are not available because you cannot run the publication in a window or have multiple windows open.
The DirectX Exclusive mode therefore disables any tools or actions which launch additional windows (such as the Launch E-mail action) or embed secondary windows within a frame (such as the DocView and Browser objects).
One workaround would be to use the Post Web Data action to send the recipients e-mail address, subject and body of the e-mail as variables to a PHP file on your web server. This PHP file would then use the mail() function to generate an e-mail containing the specified subject and body information and send it to the specified recipient.
However, this assumes that PHP is installed on your web server and correctly configured to allow the sending of mail via SMTP. Please see
http://www.sitepoint.com/article/advanced-email-php if you need help configuring your
php.ini file to allow this.
If you are certain that your web server is correctly configured, please use the following procedure:
Launch Notepad (
Start > Programs > Accessories > Notepad, then copy and paste the following information into the blank text file:
Code:
<?php
$email = $_REQUEST['email'];
$subject = $_REQUEST['subject'];
$message = $_REQUEST['message'];
mail($email, $subject, $message);
?>
Click
File > Save As and save the file with the filename 'mail.php'.
Once saved, please upload the 'mail.php' to the document root of your web server (usually the location where your site's index page is located).
Once the file is uploaded, launch Opus Pro 04 and create a brand new publication in DirectX Exclusive mode. Now add three text input boxes to the page, with the first box storing input into a new variable named 'email', the second storing information to a variable named 'subject' and the third storing information to a variable named 'message'.
Add a button to the page and apply a 'Post Web Data' action. In the
Address field, type http:// followed by your domain name, followed by a forward slash and 'mail.php'. For example, I used the following:
http://www.digitalworkshop.com/mail.php
although you will need to alter this to point to your domain name.
Now select the 'Multiple Fields' option and click the 'Add' button three times to create three parameters. Rename these three parameters to 'email', 'subject' and 'message'. Now assign each of these parameters to the variables of the same name. The dialog box should look like the following:
Now confirm the changes by clicking Apply and OK, then publish the project to a standalone executable and test the result.
In the first input field, input your e-mail address, then type whatever you like into the second and third input fields. Once all fields are populated, click the button and, after a few moments, the e-mail should appear in your inbox.
I agree that there is very little documentation about the benefits and limitations of the DirectX Exclusive mode and have asked our technical author to address this in the next revision of the help files. However, the help file does provide a very detailed list of features which are not supported in Opus Flex, which you can view by launching the help file, selecting the Search tab and searching for 'flex'. The twelfth article in the list should be named 'List of unsupported features in Opus Flex' and shows all of the actions, transitions and functions which cannot be exported to Flash.
I hope this helps. Please do not hesitate to contact me if you have any further queries.
Kind regards,