No More Publish to Flash

This page describes our former integration with Adobe Flash. Unfortunately, Flash has become extremely insecure and is now blocked in many environments. After we discontinued our Flash flavor, part of the information on this web page became obsolete.

We suggest you make use of the Publish to Cloud feature that uses web servers hosted by us. It is just as convenient, and makes it much easier to test new calculators before they go live.

We originally developed the Flash flavor to make it less complicated to use live calculators and smart forms with blogging tools and content management systems. With Publish to Cloud, it will be easier for you to use the HTML flavor instead.

The easiest way to import an Excel calculator, live chart or smart form into a Drupal blog or website is to use SpreadsheetConverter Flash (Standard or Professional Edition). This tutorial will show you how to publish live Excel spreadsheets and charts in Drupal as interactive Flash files.

Adding a live calculator or chart to your website adds value to your visitors and makes your website more interactive. SpreadsheetConverter converts Excel spreadsheets, charts and tables to web-ready Flash files, that can easily be imported into your Drupal blog or website.

import-excel-drupal-006-600-460

Background

Most Drupal blogs consist of just text and static images. A simple way to make your blog or website more interesting is to add a live chart, calculator or web form to it. Help your visitors solve their problems or visualize their situation!

To create this tutorial, we took a simple calculator for UK sales tax (value-added tax, VAT) and published it in a Drupal website. To be able to embed the Excel spreadsheet in a web page, we first converted it to Flash using SpreadsheetConverter Flash.

With this clever Excel plugin you can also create advanced tables, import complex charts or open live graphs in Drupal.

Creating the Flash calculator

Converting the spreadsheet to a Flash file was simple with SpreadsheetConverter Flash. We just opened the calculator in Excel and pressed the Convert button in the SpreadsheetConverter ribbon.

convert-excel-flash-1-600-240

After the conversion, the Flash file and two skeleton HTML files were placed in the designated folder.

convert-excel-flash-3-251-99

Uploading the Flash calculator

To upload the calculator to the Drupal site we first logged in to Drupal. To import Flash files in Drupal, we needed “Flash Node” support (to learn more, read the documentation for Flash Node in Drupal).

After we had followed these instructions and installed Flash Node support, it appeared in the “Create content” section.

import-excel-drupal-004-600-388

Then we selected the Flash content type. After entering the page title, we pressed “Browse” and located the .swf Flash file that SpreadsheetConverter created. We also set the dimensions for the Flash object to avoid scrolling.

import-excel-drupal-005-600-459

We then saved the new page in Drupal.

View the result

We opened the web page in a browser and tested the calculator – it worked great. For every new value we entered into the Price field, it automatically calculated new amounts for Sales tax and Price, just like Excel.

Screenshot of a sales tax calculator in a web browser

Buttons and toolbars

If you don’t want the calculator to include a toolbar, or if you want to select other buttons for the toolbar, you need to adjust the Workbook settings in SpreadsheetConverter. To remove the toolbar, unselect all buttons in the Workbook > Toolbar section.

Screenshot of the Toolbar settings on the Workbook tab

To remove the toolbar, you must also unselect Enable Real-time Sync in Workbook > Web Page Options.

Screenshot of the Enable Real-time Sync setting on the Workbook tab of the task pane

Convert the spreadsheet and upload it again with Publish to Cloud. The toolbar has now been removed.

Screenshot of a sales tax calculator in a web browser

Using the same form or calculator in two or more pages

If you want to use an uploaded calculator on more than one page, just insert the embed code once for every page where you want it to appear.

Note that by default, each time you embed a form or calculator it will be a unique, independent copy of it. As an example, you may want to add an order form to any page on your website. Any changes you make to the order form on “page A” will not be visible on “page B”, because the two forms are independent. If you want to connect them to show the same order form on two or more pages you may want to read more about the Real-time Sync feature in the “sign-up form” tutorial.

Interested in learning more?

SpreadsheetConverter can publish almost any Excel calculator, chart, spreadsheet or electronic form on the web. For more examples, visit our Examples library.

Try this Excel add-in now!

Click on Download to install and test this Excel add-in for Windows.

Click on Upload to let us convert a spreadsheet for you for free.