Solved

Validation in Macromedia Director

Posted on 1998-01-23
2
313 Views
Last Modified: 2008-03-06
1.How can I validate fields, check that they are numbers for example?

And

2.How can make drop down menus?
0
Comment
Question by:messenger
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
pmeier earned 150 total points
ID: 1540767
1.Try the following code :

 put value(field "rich") into u
 if not voidp(u) and not listp(u) then put "It is a number"

 You might want to consider using integerp(u) which determines whether u is an integer returning a boolean variable.
 Alternatively you could evaluate the ASCII code for each character using chartonum(char 1 of u)

2.System dropdown menus in Director can be formed using the Installmenu 1 command, where field 1 is laid out along the following lines.

menu : file
save | saveme
open | openme


the first section is the text displayed in the menu, the second the handler or command to be executed when selected.
0
 

Author Comment

by:messenger
ID: 1540768
Cheers Mr Meier. Appreciate it.  I've actually already worked (1) using ASCII but can I make a field act as a drop down menu.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to uninstall icloud from my windows 7 PC! 4 145
My MacBook is dogging... 4 69
Safari Won't Go Full Screen 7 231
Help on iPhone Siri when locations and reminders 5 103
Package creation on OS X uses the PackageMaker utility installed as part of the XCode development suite ( on the OSX Client CD).  Packages can be installed as part of the machine build process, or later using Apple Remote Desktop. They are generally…
There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question