home *** CD-ROM | disk | FTP | other *** search
- on NextJob Dir
- global QN_K, tAUKT_JOBS, JOBS_P
- set JOBS_P to JOBS_P + Dir
- if (JOBS_P = count(tAUKT_JOBS)) or (JOBS_P = 1) then
- set the visible of sprite the clickOn to 0
- end if
- if JOBS_P > 1 then
- set the visible of sprite 11 to 1
- end if
- if JOBS_P < count(tAUKT_JOBS) then
- set the visible of sprite 10 to 1
- end if
- set the castNum of sprite 8 to the number of cast ("Job" & getAt(tAUKT_JOBS, JOBS_P))
- set the text of field "Kategori" to getAt(QN_K, getAt(tAUKT_JOBS, JOBS_P))
- end
-