Lo he hecho con flash 8. Este es el actionscript 1.0 que he utilizado :
Código:
/ Frame 1 actions...
// Clip events...
onClipEvent( EnterFrame ){
loaded = _root.getBytesLoaded()
percent = parseInt (loaded / total * 100)
text = percent + "%"
gotoAndStop (percent)
if (loaded == total) {
_root.gotoAndPlay(2)
}
}
onClipEvent( Load ){
total = _root.getBytesTotal()
}
stop()
// Frame 120 actions...
stop()
// Frame 137 actions...
label = "s" + _root.link
gotoAndPlay (label)
// Frame 182 actions...
stop()
// Frame 200 actions...
label = "s" + _root.link
gotoAndPlay (label)
// Frame 244 actions...
stop()
// Frame 264 actions...
label = "s" + _root.link
gotoAndPlay (label)
// Frame 309 actions...
stop()
// Frame 327 actions...
label = "s" + _root.link
gotoAndPlay (label)
// Button actions...
on( release ){
if (_root.link != 2) {
_root.link = 2
_root.play()
}
}
on( releaseOutSide, rollOut ){
gotoAndPlay(11)
}
on( rollOver ){
gotoAndPlay(2)
}
// Button actions...
on( release ){
if (_root.link != 4) {
_root.link = 4
_root.play()
}
}
on( releaseOutSide, rollOut ){
gotoAndPlay(11)
}
on( rollOver ){
gotoAndPlay(2)
}
// Button actions...
on( release ){
if (_root.link != 3) {
_root.link = 3
_root.play()
}
}
on( releaseOutSide, rollOut ){
gotoAndPlay(11)
}
on( rollOver ){
gotoAndPlay(2)
}
// Button actions...
on( release ){
if (_root.link != 5) {
_root.link = 5
_root.play()
}
}
on( releaseOutSide, rollOut ){
gotoAndPlay(11)
}
on( rollOver ){
gotoAndPlay(2)
}
El html donde he cargado el flash no tiene nada, es 100 % normal.
GRacias