Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Validation in Macromedia Director

Posted on 1998-01-23
2
Medium Priority
?
315 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 450 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Hi Folks, This article is intended to throw some light or basically give an idea towards taking the first step in the world of Systems Administration. This would in the real context of the word "Systems Administration" which would mean right from…
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 to set proper sequence settings, scale images, paste attributes, add transitions, fades, and music. Open up Final Cut Pro 7 and Create a new Project: Set the Sequence Settings. a) Click File > Easy Setup > Format > Apple ProRe…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

704 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