Flash4 to Notes & Notes to Flash4

Ever fancied using Macromedia Flash to not only display Notes-based information but to also populate Notes databases using Flash 4's interactive capabilities? Well, here's how:

To Populate A Notes Database from a Flash animation:
1. Create a Notes Form which will hold the Flash Movie. On the form, create some hidden editable fields (note the field names).
2. Input in the pass thru HTML which will create the Flash Object. (You can just copy the HTML which flash generates for you when you publish. Remember to change the url references if you want to hold the Flash Files in Notes.)
3. In the Flash Movie, create editable text boxes and make sure that the text boxes have the same name as the corresponding notes fields.
4. Create a submit button in the Flash Movie with a URL which corresponds to the Notes Form (i.e. http://Host/DBname/FormName?Createdocument).

When the button is activated, the Notes Form will be submitted and the cool thing is the information passed from Flash to Notes will not be URLEncoded. (No + for spaces etc. to deal with)

If you want to use a multi-line field in Flash, then make sure the corresponding field in Notes is a rich text field or else you will lose the carriage returns. (The field can subsequently be treated as text.)

If you want to populate Flash from Notes, I recommend you have a look at the Notes.net sandbox as a good example is given there. One word of warning, though: When pushing Notes data to Flash via Javascript, check for null values or else you will crash the browser.

Couple of other 'Flash' tips:
It is possible in IE browsers to make the Flash Movie transparent, and with the use of layers, you could place a flash movie behind a Notes Form. How to do this can be found at www.flashkit.com under the advanced tutorials.

Another intresting possibility is that control of the Flash Movie (i.e. what frame/scene to play) can be done externally. (e.g. Depending on the Notes field value, a different flash scene could be played.)

This was first published in November 2000

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.