Working With File Fields & Lists |
![]() |
Help Index |
There are two ways that you can insert files in the VAC. The single line file field is usually used to specify a single parameter, while the file list is used to specify several parameters like menu items in menus, messages in scrollers, images etc. The file insertion fields in Visual Applet Configurator. To insert a file, just press on the "..." button on the right hand side of the field that you want to insert a file or just write the filename directly into the field. If you use the former method, a file dialog will appear, which allows you search for the file on the hard disk. When you find it, the VAC will automatically copy the file to the project catalog for you. The VAC will take each row in the list and put it in its own parameter HTML declaration. The files, in the image above, will have the following configuration in the HTML file: <PARAM name="downbitmap0" value="maindown.gif"> <PARAM name="downbitmap1" value="servicesdown.gif"> <PARAM name="downbitmap2" value="contactusdown.gif"> <PARAM name="downbitmap3" value="aboutusdown.gif"> The number of items in this file list will also be matched against the number of items in other file lists and other text areas so that errors will not occur in the applet. NOTE : If you receive empty messages, be sure that the number of items and file names match. See Working with Text Fields for more information. Images and sounds will be checked by the dependencies system before doing some hard disk or Internet operation. NOTE : The VAC and Java ONLYsupports the following formats: *.jpg (JPEG), *.gif( Graphics Interchange Format) and *.au (Sun's ulaw sound format in 8000 kHz sampling frequency and mono only). |