git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3477d79
)
added new button syntax
author
kramm
<kramm>
Sun, 2 May 2004 12:03:07 +0000
(12:03 +0000)
committer
kramm
<kramm>
Sun, 2 May 2004 12:03:07 +0000
(12:03 +0000)
doc/fileformat.sc
patch
|
blob
|
history
diff --git
a/doc/fileformat.sc
b/doc/fileformat.sc
index
9970992
..
1b8a452
100644
(file)
--- a/
doc/fileformat.sc
+++ b/
doc/fileformat.sc
@@
-92,7
+92,8
@@
# Sound effects on user pressing or releasing a button
.button mybutton shape=obj1 # TODO
# Sound effects on user pressing or releasing a button
.button mybutton shape=obj1 # TODO
-.buttonsounds mybutton press=sound1 release=sound2 enter=sound3 leave=sound4 # TODO
+ .buttonsound press=sound1 release=sound2 enter=sound3 leave=sound4 # TODO
+.end
# Elements of the movie should be animated by various means
# moving (x,y and zoom)
# Elements of the movie should be animated by various means
# moving (x,y and zoom)
@@
-245,25
+246,37
@@
.png stoplogo "Stop.png" #TODO
.button playbutton shape=play press=play_pressed #TODO
.png stoplogo "Stop.png" #TODO
.button playbutton shape=play press=play_pressed #TODO
+.end
-.button playbutton2 shape=play press=play_pressed:
- [mouse down]
- ... actionscript ...
-# ...
+.button playbutton2 shape=play press=play_pressed
+ .on_press inside
+ .on_press outside
+ .on_release inside
+ .on_release outside
+ .on_move_in pressed
+ .on_move_out pressed
+ .on_move_in
+ .on_move_out
+ .on_key "a":
+ # actionscript...
+ .end
.end
# button which is blue, get's green when the mouse hovers over it, and
# white when it is pressed:
.button b1 shape=blueshape over=greenshape press=whiteshape #TODO
.end
# button which is blue, get's green when the mouse hovers over it, and
# white when it is pressed:
.button b1 shape=blueshape over=greenshape press=whiteshape #TODO
+.end
# button where the button position is not identical to the active area:
.button b2 area=activearea shape=blueshape over=greenshape press=whiteshape #TODO
# button where the button position is not identical to the active area:
.button b2 area=activearea shape=blueshape over=greenshape press=whiteshape #TODO
+.end
# (if area is not set, it's the same as shape)
# the above put into use: pop up a window if the mouse cursor enters a certain
# area:
.button b3 area=activearea shape=emptyshape over=window1 press=window1 #TODO
# (if area is not set, it's the same as shape)
# the above put into use: pop up a window if the mouse cursor enters a certain
# area:
.button b3 area=activearea shape=emptyshape over=window1 press=window1 #TODO
+.end
# button characters also support positioning and cxforming characters.
# to use this, we put the characters "virtually", and then use the
# button characters also support positioning and cxforming characters.
# to use this, we put the characters "virtually", and then use the