| Ultrashock Forums
• AS3 - How to use Button.selected? |
|||
![]() |
||||
| Search this Thread | Thread Tools | Display Modes |
|
|
|||||||||||||||||||||||||
![]() |
Ultrashock Member Comments:
17 Creative Assets
|
2008-08-06
#2 |
||
|
Don't you have to set the toggle property to true as well? ActionScript Code:
|
|
|
2008-08-06
#3 |
||
|
Yes, that's it I was missing. Tanks Nutrox! I don't know why, but my Flash isn't supported by extensive v3 Components Documentation, as it was used to be for v2 ones. By the way, following the same subject of 'things that aren't working as expected', I will bring a second one to the table. ActionScript Code:
PS.: Dont forget to push v3 Button Assets into your library before hitting CTRL+ENTER! I was considering that by executing this code, Flash should came up with a Button on the stage, wich could not answer to mouse actions. But, going against the expectations, the Button does perform normally. Whats wrong again? Could anyone stuck-me out of that? Unlimited Tanks! (first one was very helpfull) |
|
|
2008-08-08
#4 |
||
|
I'm sorry for so many questions... It is because I'm starting at AS3 now, and expectations sometimes goes beyond what documentation says. For those that could be stucked on the same subject, here goes the answer: use 'mouseChildren' instead, cuz 'enabled' just blocks mouse interactions with the single property owner. |
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|


3 comments
| 1470 views


17 Creative Assets
Linear Mode