Sunday, 8 February 2015

DO PRESS

DO PRESS


READ MORE:

--------------------------------------------------------------------------------------------------------------------------

https://books.google.co.uk/books?id=3XzOk2ggIE4C&pg=PA305&dq=Using+a+custom+class+in+Flash&hl=en&sa=X&ei=4lrXVLucDYfX7Aail4DwCQ&ved=0CCkQ6AEwAQ#v=onepage&q=Using%20a%20custom%20class%20in%20Flash&f=false

---------------------------------------------------------------------------------------------------------------------
COPY AND PASTE BELOW CODE IN FRAME ACTION SCRIPT PANEL
-----------------------------------------------------------------------------------------------------------------

square_mc.onPress = doPress
square_mc.onRelease = doRelease
circle_mc.onPress = doPress
circle_mc.onRelease = doRelease
function doPress () {
this.startDrag();
}
function doRelease () {
this.stopDrag();
}

------------------------------------------------------------------------------------------------------------------
VISIBLE TRUE FALSE IN AS2
http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001369.html
http://www.kirupa.com/forum/showthread.php?323561-Problem-with-visible-true-amp-visible-false
-------------------------------------------------------------------------------------------------------------------
square_mc.onPress = doPress
square_mc.onRelease = doRelease
circle_mc.onPress = doPress
circle_mc.onRelease = doRelease
function doPress () {
this._visible = true
}
function doRelease () {
this._visible = false
}







EmoticonEmoticon