home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 10 / ioProg_10.iso / soft / sdk20 / dxma05.cab / samples / dxm / Samples / da / Java / showcase / Album3D.html next >
LaTeX Document  |  1997-09-15  |  1.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
90% dexvert Hypertext Markup Language File (text/html) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file HTML document text default (weak)
99% file LaTeX document, ASCII text, with CRLF line terminators default
100% TrID HyperText Markup Language default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/96 Hypertext Markup Language default
100% gt2 HTML (Hyper Text Markup Language) Datei default
100% detectItEasy Format: plain text[CRLF] default (weak)
100% binwalkID HTML document header default (weak)
100% xdgMime text/html default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 48 54 4d 4c 3e 0d 0a | 3c 48 45 41 44 3e 0d 0a |<HTML>..|<HEAD>..|
|00000010| 3c 54 49 54 4c 45 3e 44 | 69 72 65 63 74 41 6e 69 |<TITLE>D|irectAni|
|00000020| 6d 61 74 69 6f 6e 20 53 | 44 4b 2c 20 4a 61 76 61 |mation S|DK, Java|
|00000030| 20 73 61 6d 70 6c 65 3c | 2f 54 49 54 4c 45 3e 0d | sample<|/TITLE>.|
|00000040| 0a 3c 2f 48 45 41 44 3e | 0d 0a 20 0d 0a 3c 42 4f |.</HEAD>|.. ..<BO|
|00000050| 44 59 20 42 47 43 4f 4c | 4f 52 3d 57 48 49 54 45 |DY BGCOL|OR=WHITE|
|00000060| 20 4c 49 4e 4b 3d 22 23 | 30 30 33 33 43 43 22 20 | LINK="#|0033CC" |
|00000070| 54 4f 50 4d 41 52 47 49 | 4e 3d 31 35 20 4c 45 46 |TOPMARGI|N=15 LEF|
|00000080| 54 4d 41 52 47 49 4e 3d | 32 30 3e 0d 0a 3c 46 4f |TMARGIN=|20>..<FO|
|00000090| 4e 54 20 46 41 43 45 3d | 22 56 65 72 64 61 6e 61 |NT FACE=|"Verdana|
|000000a0| 2c 20 41 72 69 61 6c 2c | 20 48 65 6c 76 65 74 69 |, Arial,| Helveti|
|000000b0| 63 61 22 20 53 49 5a 45 | 3d 32 3e 0d 0a 3c 43 45 |ca" SIZE|=2>..<CE|
|000000c0| 4e 54 45 52 3e 0d 0a 3c | 48 31 3e 41 6c 62 75 6d |NTER>..<|H1>Album|
|000000d0| 33 44 3c 2f 48 31 3e 0d | 0a 3c 2f 43 45 4e 54 45 |3D</H1>.|.</CENTE|
|000000e0| 52 3e 0d 0a 3c 42 52 3e | 0d 0a 3c 42 52 3e 0d 0a |R>..<BR>|..<BR>..|
|000000f0| 3c 41 50 50 4c 45 54 20 | 0d 0a 20 20 43 4f 44 45 |<APPLET |.. CODE|
|00000100| 3d 22 41 6c 62 75 6d 33 | 44 2e 63 6c 61 73 73 22 |="Album3|D.class"|
|00000110| 20 0d 0a 20 20 43 4f 44 | 45 42 41 53 45 3d 22 2e | .. COD|EBASE=".|
|00000120| 2e 5c 2e 2e 5c 2e 2e 5c | 2e 2e 5c 4d 65 64 69 61 |.\..\..\|..\Media|
|00000130| 5c 22 20 0d 0a 20 20 57 | 49 44 54 48 3d 34 30 30 |\" .. W|IDTH=400|
|00000140| 20 0d 0a 20 20 48 45 49 | 47 48 54 3d 33 30 30 20 | .. HEI|GHT=300 |
|00000150| 0d 0a 20 20 41 4c 49 47 | 4e 3d 4c 45 46 54 20 0d |.. ALIG|N=LEFT .|
|00000160| 0a 20 20 48 53 50 41 43 | 45 3d 32 30 3e 0d 0a 3c |. HSPAC|E=20>..<|
|00000170| 2f 41 50 50 4c 45 54 3e | 0d 0a 3c 50 3e 54 68 69 |/APPLET>|..<P>Thi|
|00000180| 73 20 69 73 20 61 20 63 | 75 74 26 61 6d 70 3b 70 |s is a c|ut&amp;p|
|00000190| 61 73 74 65 20 73 61 6d | 70 6c 65 20 66 6f 72 20 |aste sam|ple for |
|000001a0| 61 20 33 44 20 70 68 6f | 74 6f 20 61 6c 62 75 6d |a 3D pho|to album|
|000001b0| 2c 20 77 68 69 63 68 20 | 69 73 20 65 61 73 79 20 |, which |is easy |
|000001c0| 74 6f 20 0d 0a 61 64 61 | 70 74 20 74 6f 20 79 6f |to ..ada|pt to yo|
|000001d0| 75 72 20 66 61 76 6f 72 | 69 74 65 20 73 65 74 20 |ur favor|ite set |
|000001e0| 6f 66 20 70 69 63 74 75 | 72 65 73 20 61 6e 64 20 |of pictu|res and |
|000001f0| 63 6f 72 72 65 73 70 6f | 6e 64 69 6e 67 20 74 69 |correspo|nding ti|
|00000200| 74 6c 65 73 2e 20 0d 0a | 54 68 65 20 70 69 63 74 |tles. ..|The pict|
|00000210| 75 72 65 73 20 61 72 65 | 20 69 6d 70 6f 72 74 65 |ures are| importe|
|00000220| 64 20 69 6e 20 4a 50 45 | 47 20 6f 72 20 47 49 46 |d in JPE|G or GIF|
|00000230| 20 66 6f 72 6d 61 74 73 | 20 61 6e 64 20 74 68 65 | formats| and the|
|00000240| 6e 20 6e 6f 72 6d 61 6c | 69 7a 65 64 20 61 6e 64 |n normal|ized and|
|00000250| 20 0d 0a 74 65 78 74 75 | 72 65 64 20 6f 6e 20 70 | ..textu|red on p|
|00000260| 61 67 65 73 20 6f 66 20 | 61 20 70 68 6f 74 6f 20 |ages of |a photo |
|00000270| 61 6c 62 75 6d 20 69 6e | 20 33 44 2e 20 3c 2f 50 |album in| 3D. </P|
|00000280| 3e 0d 0a 3c 50 3e 59 6f | 75 20 63 61 6e 20 66 6c |>..<P>Yo|u can fl|
|00000290| 69 70 20 74 68 65 20 70 | 61 67 65 73 20 62 79 20 |ip the p|ages by |
|000002a0| 75 73 69 6e 67 20 74 68 | 65 20 72 69 67 68 74 20 |using th|e right |
|000002b0| 61 6e 64 20 6c 65 66 74 | 20 61 72 72 6f 77 20 6b |and left| arrow k|
|000002c0| 65 79 73 20 74 6f 20 0d | 0a 66 6c 69 70 20 69 6e |eys to .|.flip in|
|000002d0| 20 74 68 65 20 63 6f 72 | 72 65 73 70 6f 6e 64 69 | the cor|respondi|
|000002e0| 6e 67 20 64 69 72 65 63 | 74 69 6f 6e 2e 20 28 44 |ng direc|tion. (D|
|000002f0| 6f 6e 27 74 20 66 6f 72 | 67 65 74 20 74 6f 20 6f |on't for|get to o|
|00000300| 62 74 61 69 6e 20 69 6e | 70 75 74 20 66 6f 63 75 |btain in|put focu|
|00000310| 73 20 0d 0a 62 79 20 63 | 6c 69 63 6b 69 6e 67 20 |s ..by c|licking |
|00000320| 74 68 65 20 6c 65 66 74 | 20 6d 6f 75 73 65 20 62 |the left| mouse b|
|00000330| 75 74 74 6f 6e 20 69 6e | 20 74 68 65 20 61 70 70 |utton in| the app|
|00000340| 6c 65 74 20 77 69 6e 64 | 6f 77 29 2e 20 54 68 65 |let wind|ow). The|
|00000350| 20 66 6c 69 70 70 69 6e | 67 20 70 61 67 65 73 20 | flippin|g pages |
|00000360| 0d 0a 69 6e 64 75 63 65 | 20 73 74 65 72 65 6f 20 |..induce| stereo |
|00000370| 73 6f 75 6e 64 20 65 66 | 66 65 63 74 73 20 74 68 |sound ef|fects th|
|00000380| 61 74 20 63 6f 72 72 65 | 73 70 6f 6e 64 20 74 6f |at corre|spond to|
|00000390| 20 74 68 65 20 70 6f 73 | 69 74 69 6f 6e 20 61 6e | the pos|ition an|
|000003a0| 64 20 0d 0a 6f 72 69 65 | 6e 74 61 74 69 6f 6e 20 |d ..orie|ntation |
|000003b0| 6f 66 20 74 68 65 20 61 | 6e 69 6d 61 74 69 6f 6e |of the a|nimation|
|000003c0| 20 6f 66 20 74 68 65 20 | 70 61 67 65 73 2e 3c 2f | of the |pages.</|
|000003d0| 50 3e 0d 0a 3c 50 3e 54 | 68 65 20 6b 65 79 20 74 |P>..<P>T|he key t|
|000003e0| 6f 20 74 68 69 73 20 73 | 61 6d 70 6c 65 20 69 73 |o this s|ample is|
|000003f0| 20 61 20 73 74 61 74 65 | 20 6d 61 63 68 69 6e 65 | a state| machine|
|00000400| 20 77 69 74 68 20 66 69 | 76 65 20 73 74 61 74 65 | with fi|ve state|
|00000410| 73 20 74 68 61 74 20 0d | 0a 63 6f 6e 74 72 6f 6c |s that .|.control|
|00000420| 20 66 6f 75 72 20 72 65 | 61 63 74 69 76 65 20 62 | four re|active b|
|00000430| 65 68 61 76 69 6f 72 73 | 20 74 68 61 74 20 72 65 |ehaviors| that re|
|00000440| 70 72 65 73 65 6e 74 20 | 74 68 65 20 76 69 73 75 |present |the visu|
|00000450| 61 6c 20 61 6e 64 20 61 | 75 64 69 62 6c 65 20 0d |al and a|udible .|
|00000460| 0a 73 74 61 74 65 20 6f | 66 20 74 68 65 20 61 6c |.state o|f the al|
|00000470| 62 75 6d 2e 20 54 68 65 | 20 73 74 61 74 65 20 6d |bum. The| state m|
|00000480| 61 63 68 69 6e 65 20 69 | 73 20 69 6d 70 6c 65 6d |achine i|s implem|
|00000490| 65 6e 74 65 64 20 75 73 | 69 6e 67 20 74 68 65 20 |ented us|ing the |
|000004a0| 75 6e 74 69 6c 20 0d 0a | 63 6f 6e 73 74 72 75 63 |until ..|construc|
|000004b0| 74 20 61 6e 64 20 6e 6f | 74 69 66 69 63 61 74 69 |t and no|tificati|
|000004c0| 6f 6e 20 6d 65 74 68 6f | 64 73 2e 20 49 74 20 63 |on metho|ds. It c|
|000004d0| 6f 6e 74 72 6f 6c 73 20 | 61 6e 64 20 63 6f 6f 72 |ontrols |and coor|
|000004e0| 64 69 6e 61 74 65 73 20 | 74 77 6f 20 0d 0a 4e 75 |dinates |two ..Nu|
|000004f0| 6d 62 65 72 42 76 72 73 | 2c 20 6f 6e 65 20 47 65 |mberBvrs|, one Ge|
|00000500| 6f 6d 65 74 72 79 42 76 | 72 2c 20 61 6e 64 20 6f |ometryBv|r, and o|
|00000510| 6e 65 20 53 6f 75 6e 64 | 42 76 72 2e 3c 2f 50 3e |ne Sound|Bvr.</P>|
|00000520| 0d 0a 0d 0a 3c 50 3e 20 | 46 6f 72 20 61 20 73 68 |....<P> |For a sh|
|00000530| 6f 72 74 20 74 75 74 6f | 72 69 61 6c 20 6f 6e 20 |ort tuto|rial on |
|00000540| 74 68 69 73 20 73 61 6d | 70 6c 65 20 63 6c 69 63 |this sam|ple clic|
|00000550| 6b 20 74 68 69 73 20 62 | 75 74 74 6f 6e 3a 20 0d |k this b|utton: .|
|00000560| 0a 3c 41 20 48 52 45 46 | 3d 22 41 6c 62 75 6d 33 |.<A HREF|="Album3|
|00000570| 44 5c 73 65 63 74 69 6f | 6e 31 2e 68 74 6d 6c 22 |D\sectio|n1.html"|
|00000580| 20 54 41 52 47 45 54 3d | 22 5f 62 6c 61 6e 6b 22 | TARGET=|"_blank"|
|00000590| 3e 3c 49 4d 47 20 41 4c | 49 47 4e 3d 4d 49 44 44 |><IMG AL|IGN=MIDD|
|000005a0| 4c 45 20 53 52 43 3d 22 | 2e 2e 5c 2e 2e 5c 2e 2e |LE SRC="|..\..\..|
|000005b0| 5c 2e 2e 5c 4d 65 64 69 | 61 5c 69 6d 61 67 65 5c |\..\Medi|a\image\|
|000005c0| 69 6e 66 6f 2e 67 69 66 | 22 3e 3c 2f 41 3e 0d 0a |info.gif|"></A>..|
|000005d0| 3c 50 3e 0d 0a 3c 41 20 | 48 52 45 46 3d 22 41 6c |<P>..<A |HREF="Al|
|000005e0| 62 75 6d 33 44 5c 41 6c | 62 75 6d 33 44 2e 6a 61 |bum3D\Al|bum3D.ja|
|000005f0| 76 61 22 3e 56 69 65 77 | 20 4a 61 76 61 20 53 6f |va">View| Java So|
|00000600| 75 72 63 65 20 43 6f 64 | 65 3c 2f 41 3e 0d 0a 3c |urce Cod|e</A>..<|
|00000610| 42 52 3e 0d 0a 3c 42 52 | 3e 0d 0a 3c 48 52 3e 0d |BR>..<BR|>..<HR>.|
|00000620| 0a 3c 2f 46 4f 4e 54 3e | 0d 0a 3c 2f 42 4f 44 59 |.</FONT>|..</BODY|
|00000630| 3e 0d 0a 3c 2f 48 54 4d | 4c 3e |>..</HTM|L> |
+--------+-------------------------+-------------------------+--------+--------+