Game Development Reference
In-Depth Information
3. Drag an instance of the Reoe^ehepu>qppkj onto the DehhL]ca symbol's stage. Give it the instance
name visibilityButton . The DehhL]ca symbol might now look something like Figure 4-11.
Figure 4-11. Add a visibility button to the HillPage symbol.
4. Add the following code in bold to the I]ej*]o file:
l]_g]ca
w
eilknpbh]od*`eolh]u*Ikrea?hel7
eilknpbh]od*arajpo*IkqoaArajp7
lq^he__h]ooI]ejatpaj`oIkrea?hel
w
r]nop]npL]ca6Op]npL]ca7
r]ndehhL]ca6DehhL]ca7
r]nlkj`L]ca6Lkj`L]ca7
lq^he_bqj_pekjI]ej$%
w
op]npL]ca9jasOp]npL]ca$%7
dehhL]ca9jasDehhL]ca$%7
lkj`L]ca9jasLkj`L]ca$%7
]``?deh`$dehhL]ca%7
++=``arajpheopajano
op]npL]ca*dehh>qppkj*]``ArajpHeopajan$IkqoaArajp*?HE?G( ±
kjDehh>qppkj?he_g%7
op]npL]ca*lkj`>qppkj*]``ArajpHeopajan$IkqoaArajp*?HE?G( ±
kjLkj`>qppkj?he_g%7
dehhL]ca*^]_gPkOp]np>qppkj*]``ArajpHeopajan$IkqoaArajp*?HE?G( ±
kj>]_g>qppkj?he_g[Dehh%7
 
Search Nedrilad ::




Custom Search