Salve ragazzi, sono un nuovo utentee sono alle prime armi con flash cs3.
ho acquisto un bottone che contiente as2 ma io sto realizzando il mio primo progetto i as3.
quindi per favore potete aiutarmi :
- come convertire in as3 il seguente codice
on (rollOver)
{
if (_root.link != 5)
{
this.gotoAndPlay("s1");
} // end if
}
on (releaseOutside, rollOut)
{
if (_root.link != 5)
{
this.gotoAndPlay("s2");
} // end if
}
on (release)
{
if (_root.link != 5)
{
_parent["item" + _root.link].gotoAndPlay("s2");
/*put your action here..you can open a webpage using getURL
or simply target any movie clip or call any function*/
_root.link = 5;
} // end if
}
inoltre quando importo il movie debbo importare qualcosaltro.
Grazie.

Rispondi quotando