Livello base con i quattro pulsanti, livello superiore con la barra,
1)Frame 1 barra su home stop() frame
2)Frame 5 barra su graphics stop()
3)Frame 10 barra su web stop()
4)frame 15 barra su contact stop()
Interpolazione movimente fra le tre frazioni. Nomi istanza dei pulsanti, home_btn, graphics_btn, web_btn, contact_btn.
un terzo livello per incollare il
codice:
stop()
home_btn.onPress = function()
{
onEnterFrame=function()
{
if(_currentframe>1)
{
prevFrame()
}
}
}
graphics_btn.onPress = function()
{
onEnterFrame=function()
{
if(_currentframe<5)
{
play()
}else if(_currentframe>5)
{
prevFrame()
}
}
}
web_btn.onPress = function()
{
onEnterFrame=function()
{
if(_currentframe<10)
{
play()
}else if(_currentframe>10)
{
prevFrame()
}
}
}
contact_btn.onPress = function()
{
onEnterFrame=function()
{
if(_currentframe<15)
{
play()
}else if(_currentframe>15)
{
prevFrame()
}
}
}