Short Tag – Web Development Blog

Entries for the ‘Flash’ Category

Stage.align in Flash

Stage.align property sets the 0,0 coordinates of the Stage to a certain position.
For example:
Stage.align = “TL”; – sets the 0,0 coordinates to the top-left part of the Stage.
Stage.align = “CC” or Stage.align=”” – the default position is in the center of the Stage.
Stage.align property values:

Value
Vertical
Horizontal

“T”
top
center

“B”
bottom
center

“L”
center
left

“R”
center
right

“TL”
top
left

“TR”
top
right

“BL”
bottom
left

“BR”
bottom
right

C – use C in combination where you need to represent [...]

Buttons not working in fullscreen (Flash)

Another “bug” I found in Flash. This time in AS2.
Probably some of you noticed that they cannot click on their buttons in fullscreen mode in some browser like: Chrome, Opera or Firefox.
I cannot explain why this happens but I have the solution.
This problem appears only if you set fullscreen-mode from onPress event-handler, with onRelease everything [...]