Email:   
Home
In This Issue
Email a Friend
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
LETTERS TO THE EDITOR
Flash, ergonomics, and responsible tip writing
In this month's Letters to the Editor, one reader has a question about Flash, another has some tips on where to find great ergonomic products, and a third voices his opinion on a recent tip mailing.

Hotspot on a Flash object
The following letter was written in response to Razzak Khan's article, "Putting some Flash into your Domino applications," in the January 2001 issue of DominoPower at http://www.dominopower.com/issues/issue200101/flash001.html.

I have read your article regarding putting some Flash into Domino applications from the DominoPower site. It's very helpful, but I have a question related to it. I want to put a hotspot on the flash object that I have embedded on my form, and this hotspot uses some Notes formulas, like refreshing the document or running an agent. Is it feasible to do this? If so, how can I do this? And, if not, is there another way to use Notes formulas with the flash object?

Thanks in advance,
Amal EL-Marsfawy
PCLP Domino 4.0 Application Developer
CLP Domino 5.0 Application Developer

Razzak Khan responds
To answer your question, the simplest way I would recommend is using JavaScript. If you follow my example in the February issue of Domino Power (at http://www.dominopower.com/issues/issue200102/flash0201001.html), you'll see how to implement JavaScript.

In the first case of refreshing the document, here's some insight:

With the radio button question, there's an option in the properties called "refresh fields on keyword change." Check that, and your page will refresh on a click.

To do a refresh in JavaScript you can use the doClick function.

Take a field on your form, radio button, check box, and list box. For any field that has the option, "refresh fields on keyword change," temporarily turn that option on and load your form on the Web. View the source, and you'll see a doClick function where that field is. It will look something like this:

_doClick('$Refresh', this, '_self', '#_RefreshKW_FieldName')

This is a JavaScript function that will refresh your form. Copy this code. You can turn off the refresh fields on keyword change for the field you got the code from. Paste the code in any JavaScript event where you want the form refreshed. Just make sure you have a field on your form with the name that's in your doClick function.

And if you wish to run Agents, assuming you've developed Flash for a Web site, then I would take advantage of the WebQuerySave and WebQueryOpen Agent feature of Lotus Notes. As you're aware, you'll be able to run an agent if the Lotus Notes document has been refreshed... so your refresh JavaScript could serve both of your requests.





[ Next ]

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
-- Advertisement --

Learn Notes and Domino 8 at your place and pace!
Learn Notes and Domino in your office and/or home! TLCC's highly acclaimed distance learning courses for users, developers, and admins will enhance your career and your resume.

The many included activities and demos will make you a pro! Expert instructor help is a click away.

Click here to try a FREE demo course!!

-- Advertisement --

Virtual Meeting - Integrating Sharepoint With Lotus Notes: Strategic Coexistence
No more hassles accessing SharePoint documents from Notes! Mainsoft SharePoint Integrator combines SharePoint document sharing, collaboration, and record management capabilities with Notes emails. Preview version 1.5 during our October 7th Virtual Meeting. Learn to incorporate Notes emails and attachments into a MOSS-based record management site, without migrating to Outlook.

Register to attend today.
Copyright © 1998-2008, ZATZ Publishing. All rights reserved worldwide.
Editor's Login