alert This appears to be a flash file, you cannot see a preview because flash player is no longer supoorted in browsers, but you can still download the file to study it's source code.
You can open/play the swf file with Flash Player exe
user apocal6
apocal6 (2)

Animated menu with thumbnails

Its a display menu that load all dates of menu from xml file. All animation and pictures are manipulated with as2.
I hope you liked.

11374 downloads, 52569 views
Download (54.18 KB)

Comments

You need to login to post a comment.

user lorelarr
lorelarr 12 years ago

Hola el men est brbaro, el problema que tengo es que no encuentro la forma de editar el xml para efectuar el link a otras pginas, Gracias

user crisscesar
crisscesar 13 years ago

Gostei!

user hector1439
hector1439 14 years ago

Very nice!

user spidxel
spidxel 14 years ago

Si alguien sube el code para agregarle los links (el que figura da error) creo que este post queda 10 estrellas. Gracias
If someone posted the code to add the links (the figure gives error) I think this post is 10 stars. Thanks

user mornord
mornord 15 years ago

thanks, wonderful menu! but as an associate of the links? can you help me? thanks

user mereketehe
mereketehe 15 years ago

cool..! thnx for sharing..yaay

user cris777
cris777 15 years ago

Great Code! little extra coding!

user malmoon
malmoon 15 years ago

thanks for sharing :)

user dirmax
dirmax 15 years ago

Thank you very much for your great menu.
but could u help me to make the photos appear onload

user fay
fay 15 years ago

thank you ! your menu very beautiful

user msmartino
msmartino 16 years ago

Please you do not prune to send to the source file to me (fla). I cannot cause that they work links. Thanks

Por favor no me podes mandar el archivo fuente (fla). No puedo hacer que funcionen los links.
Gracias
email: mairamartino(arroba)gmail.com

user as_learner
as_learner 16 years ago

good work friend.

user froid
froid 16 years ago

Genial te felicito

user djmkee
djmkee 16 years ago

If this is AS3 here is how to add an link:
scriptplayground.com/tutorials/as/getUR L-in-Actionscript-3/
If not, sorry for the extra comment.

user DDROTT
DDROTT 16 years ago

NICE.. good, good !

user received
received 16 years ago

hi pechurche,

I have tried the solutions mailed in the comments, but they do not work!!

:-((

user pechurche
pechurche 16 years ago

you should read all previous 64 comments, to find your solution.

user received
received 16 years ago

possible that nobody resolves the problem to put the link? to that it serves to make a menu if the link cannot be put?

user philip_54b
philip_54b 16 years ago

how can I link webpages to this menu

user philip_54b
philip_54b 16 years ago

can I edit this menu to use my own words and pictures?
how?

user Bolek_
Bolek_ 16 years ago

Great work apocal6.
Is any online step-by-step tutorial for this excellent work in order to understand it perfectly?
Thank you.

user 00000440
00000440 16 years ago

beautiful, beautiful!!!!

user jmardis
jmardis 16 years ago

This is a great menu. It is the best simulation of the I-Tunes cover flip style that I have seen yet.

user monika1390
monika1390 16 years ago

Please you do not prune to send to the source file to me (fla). I cannot cause that they work links. Thanks
Por favor no me podes mandar el archivo fuente (fla). No puedo hacer que funcionen los links.
Gracias
email: [email protected]

user apocal6
the listing author apocal6 16 years ago

Yes Armelle, of course!. no problem. You can used it.
Bye.

user rmelle
rmelle 16 years ago

hi,
I am writing to you regarding your thumbnail menu. I am actually in charge
of making a website for an event, where tickets can be purchased online, and
I would appreciate using your menu. This event is a major event of my
Engeneering school in France. I would like to know if you would consider it,
as an author, as using your menu as a commercial use.

thank you in advance for your response.

Best regards,
Armelle

user danowen
danowen 16 years ago

Thank you, pechurche! I finally used your post of a month ago and that is what I have been seeking:

"First, you should download the mc_tween2.as file and put it in your root directory (where the .flv file is).
You can take it from here: reklami.com.mk/ana/mc_tween2.as
Just copy/paste the text and save it as mc_tween2.as file.

Then, get in to actions layer (first frame) and you should add some code here:
1. get to the //reflejo section.
2. find the function which manages the onRelease event for the buttons. That will be :
eval(objMenu.anuncioContenedor)[nombreI temRef].onRelease = function (){
trace(this._name);

}

3. Replace it with this one:
eval(objMenu.anuncioContenedor)[nombreI tem].onRelease = function (){

var kopche = this._name;
var my_str:String = new String(kopche);
var mySubstring:String = new String();
mySubstring = my_str.substr(2);

objMenu.XML_xml.firstChild.childNodes[m ySubstring-1].attributes.id;
var btnNo=objMenu.XML_xml.firstChild.childNo des[mySubstring-1].attributes.id;
if (btnNo==1) {
getURL("istorija.html");
}
else if (btnNo==2) {
getURL("gradba.html");
}
else if (btnNo==3) {
getURL("lokacija.html");
}
else if (btnNo==4) {
getURL("freskopis.html");
}
if (btnNo==5) {
getURL("video.html");
}
if (btnNo==6) {
getURL("galerija.html");
}

}

You should change getURL("gradba.html"); with the url you want to go on pressing that button, or you can use gotoAndStop(3); to go to Frame no.3.

This worked fine for me."

Thanks again both apocal6 and pechurche!

user axolote
axolote 16 years ago

hello i just install mc_tween_2_28_29.mxp but still no working !!!!!!! please HELPPPP!
Error al abrir el archivo include mc_tween2.as: archivo no encontrado.

user IkeZu
IkeZu 16 years ago

didnt work =( it open a new page if you put "file.html" but no internet page. it dont open even a blank page if theres internet adress. i think that problem might be somewhere else. But thanks anyway... try to figure out somehow =)

user soyelpapa
soyelpapa 16 years ago

Clearly, if this in the same folder where the. swf, the code that is the post that I am using, what is strange is that I compile and gives me no mistake, but I do not run it connects with no html file, which is not happens in reality ...

user pechurche
pechurche 16 years ago

soyelpapa, I don't know exactly what are you trying to do.. but is this tucan.html page in the same folder where your .flv and .swf are? No subfolders and stuffs?

user pechurche
pechurche 16 years ago

@lkeZu
The empty spaces showed up, I guess, from copy/paste into this text field for comments.

I used getURL("http://ii.edu.mk", "_blank"); and it opens this page in new window without problems.

user JANITA
JANITA 16 years ago

I tryed soyelpapas code but happened this error in line 26:
description: Se espera ')' o ','

user soyelpapa
soyelpapa 16 years ago

Hello friends, apocal6 excellent job, but lacks the code for the links, I think the majority of those who have posted have that doubt, leave them in your code actionscript menu plus piece of code that add pechurche, tried and what does not error but does not link the websites, please examine the code to find a solution, thanks in advance.

stop();
// libreria de animaciones
#include "mc_tween2.as"

_global.referencias = this;
salto = 10;
velocidad = 0.6;
tipoAniOut = "easeOutBounce";
tipoAniOver = "easeOutExpo";

var nombreComponente:String = "menu";
var objMenu = _root[nombreComponente]=new Object();

objMenu.xmlFileName = "menu1";
objMenu.rutaImagen = "img/";

objMenu.anuncioContenedor = "this.contenedor";

objMenu.posicionInicialItems_x = 20;
objMenu.posicionInicialItems_y = -100;
objMenu.separacionEntreItems = 3;
objMenu.nombreItemEnBiblioteca = "bt";

objMenu.XML_xml = new XML();
objMenu.XML_xml.ignoreWhite = true;
objMenu.XML_xml.load(objMenu.xmlFileNam e+".xml");


objMenu.XML_xml.onLoad = function() {

xPos = objMenu.posicionInicialItems_x;
yPos = objMenu.posicionInicialItems_y;


separacion = objMenu.separacionEntreItems;
delay = 0;


var itemNodo = objMenu.XML_xml.firstChild.firstChild;
var i = 1;
while (itemNodo) {

nombreItemLibrary = objMenu.nombreItemEnBiblioteca;
nombreItem = nombreItemLibrary+itemNodo.attributes.id ;
nombreItemRef = nombreItemLibrary+itemNodo.attributes.id +"r";



// tomo la ficha de la librera y la instancio en el escenario.
//ficha
eval(objMenu.anuncioContenedor).attac hMovie(nombreItemLibrary,nombreItem,item Nodo.attributes.id,{_x:xPos, _y:yPos});
referencias.horizonte = Stage.height/2-eval(objMenu.anuncioConte nedor)[nombreItem]._height;
eval(objMenu.anuncioContenedor)[nombr eItem].ySlideTo(referencias.horizonte,1, "easeOutBounce",delay);
eval(objMenu.anuncioContenedor)[nombr eItem].ID = itemNodo.attributes.id;

//eval(objMenu.anuncioContenedor)[nom breItem].foto.setMask(eval(objMenu.anunc ioContenedor)[nombreItem].mascara);

eval(objMenu.anuncioContenedor)[nombr eItem].onRollOver = function() {
trace(this._name);
var ref = this._name+"r";
var pos = referencias.horizonte-referencias.salto;
var posR = referencias.horizonteR+referencias.salto ;
var vel = referencias.velocidad;
var ani = referencias.tipoAniOver;
var espacio = referencias.salto;

this.ySlideTo(pos,vel,ani);
this.activator.ySlideTo(espacio,vel, ani);
this.foto.alphaTo(100,vel,ani);
this.titulo.colorTo(0xffffff,vel,ani );
this._parent[ref].titulo.colorTo(0xf fffff,vel,ani);
this._parent[ref].ySlideTo(posR,vel, ani);
this._parent[ref].foto.alphaTo(100,v el,ani);
};
eval(objMenu.anuncioContenedor)[nombr eItem].onRollOut = function() {
trace(this._name);
var ref = this._name+"r";
var pos = referencias.horizonte;
var posR = referencias.horizonteR;
var vel = referencias.velocidad;
var ani = referencias.tipoAniOut;


this.ySlideTo(pos,vel,ani);
this.activator.ySlideTo(0,vel,ani);
this.foto.alphaTo(0,vel,ani);
this._parent[ref].foto.alphaTo(0,vel ,ani);
this._parent[ref].ySlideTo(posR,vel, ani);
this.titulo.colorTo(0x999999,vel,ani );
this._parent[ref].titulo.colorTo(0x9 99999,vel,ani);
};
//reflejo
xPosRef = xPos;
yPosRef = Stage.height+eval(objMenu.anuncioContene dor)[nombreItem]._height;
eval(objMenu.anuncioContenedor).attac hMovie(nombreItemLibrary,nombreItemRef,i temNodo.attributes.id*-1,{_x:xPos, _y:yPosRef});

referencias.horizonteR = horizonte+eval(objMenu.anuncioContenedor )[nombreItemRef]._height*2;
eval(objMenu.anuncioContenedor)[nombr eItemRef].alphaTo(50,0.1,"linear");
eval(objMenu.anuncioContenedor)[nombr eItemRef].yScaleTo(-100,0.2,"linear");
eval(objMenu.anuncioContenedor)[nombr eItemRef].ySlideTo(referencias.horizonte R,1,"easeOutBounce",delay);
eval(objMenu.anuncioContenedor)[nombr eItemRef].onRelease = function() {

var kopche = this._name;
var my_str:String = new String(kopche);
var mySubstring:String = new String();
mySubstring = my_str.substr(2);

objMenu.XML_xml.firstChild.childNode s[mySubstring-1].attributes.id;
var btnNo = objMenu.XML_xml.firstChild.childNodes[my Substring-1].attributes.id;
if (btnNo == 1) {
getURL("tucan.html");
} else if (btnNo == 2) {
getURL(".html");
} else if (btnNo == 3) {
getURL(".html");
} else if (btnNo == 4) {
getURL(".html");
} else if (btnNo == 5) {
getURL(".html");
} else if (btnNo == 6) {
getURL(".html");
}

};
xPos += eval(objMenu.anuncioContenedor)[nombreIt em]._width+separacion;
delay += 0.3;


var nodo = itemNodo.firstChild;

while (nodo) {
var texto:String = nodo.firstChild.nodeValue;
var nombre:String = nodo.nodeName;

if (nombre == "titulo") {

eval(objMenu.anuncioContenedor)[nom breItem].titulo.texto.text = texto;
eval(objMenu.anuncioContenedor)[nom breItemRef].titulo.texto.text = texto;
trace(texto);

}
if (nombre == "imagen") {
eval(objMenu.anuncioContenedor)[nom breItem].foto.loadMovie(objMenu.rutaImag en+texto);
eval(objMenu.anuncioContenedor)[nom breItemRef].foto.loadMovie(objMenu.rutaI magen+texto);
trace("imagen= "+texto);

}
/*
if (nombre == "texto") {
texto = texto.split("//n").join("\n");
texto = texto.split("//r").join("");
eval(objMenu.anuncioContenedor)[nomb reItem].contenido = texto;
}
*/
nodo = nodo.nextSibling;
}
i += 1;
itemNodo = itemNodo.nextSibling;

}

};

user IkeZu
IkeZu 16 years ago

the code was ok but there was few empty spaces like [nombreI tem][m ySubstring-1]and attributes.id)<-- extra")

thank you for that but can you also tell me how can I put another internet adress inside the button because the "http://..." don't work. And how I can open new page?

Thanks!

user pechurche
pechurche 16 years ago

First, you should download the mc_tween2.as file and put it in your root directory (where the .flv file is).
You can take it from here: reklami.com.mk/ana/mc_tween2.as
Just copy/paste the text and save it as mc_tween2.as file.

Then, get in to actions layer (first frame) and you should add some code here:
1. get to the //reflejo section.
2. find the function which manages the onRelease event for the buttons. That will be :
eval(objMenu.anuncioContenedor)[nombreI temRef].onRelease = function (){
trace(this._name);

}

3. Replace it with this one:
eval(objMenu.anuncioContenedor)[nombreI tem].onRelease = function (){

var kopche = this._name;
var my_str:String = new String(kopche);
var mySubstring:String = new String();
mySubstring = my_str.substr(2);

objMenu.XML_xml.firstChild.childNodes[m ySubstring-1].attributes.id);
var btnNo=objMenu.XML_xml.firstChild.childNo des[mySubstring-1].attributes.id;
if (btnNo==1) {
getURL("istorija.html");
}
else if (btnNo==2) {
getURL("gradba.html");
}
else if (btnNo==3) {
getURL("lokacija.html");
}
else if (btnNo==4) {
getURL("freskopis.html");
}
if (btnNo==5) {
getURL("video.html");
}
if (btnNo==6) {
getURL("galerija.html");
}

}

You should change getURL("gradba.html"); with the url you want to go on pressing that button, or you can use gotoAndStop(3); to go to Frame no.3.

This worked fine for me.

user aca
aca 16 years ago

No consigo ponerle los links!!!

user IkeZu
IkeZu 16 years ago

is there anybody else who might know any idea how make it work? It's very frustrating that here is no anwer for that!

user gruniona
gruniona 16 years ago

i consult to the owner and he didnt answer. sory

user IkeZu
IkeZu 16 years ago

So was there a solution how to make the liks working??? Can anybody send it here?

user casimiro
casimiro 16 years ago

Does anyone tell me how to put a event on the button or in the XML file? TY

user axolote
axolote 16 years ago

hola compaero no consigo verlo, cuando quiero probar la pelicula me salta el siguiente error :
Error al abrir el archivo include mc_tween2.as: archivo no encontrado.

user respectful
respectful 16 years ago

tenxxxxxxx

user JANITA
JANITA 16 years ago

Very nice, but, how do you put onRelease event for each button? Thanks

user gruniona
gruniona 16 years ago

hola como te va, como puedo incluir el link? lo podes subir?
hello, how can i include a link to a web? can you upload the file with the links?

user yusufyaran
yusufyaran 16 years ago

Hi Apocal6
Really fantastic! Could you please send me the way to use,
to link to another swf files etc. [email protected] thanks

user lilaturner
lilaturner 16 years ago

Sorry... my e-mail is [email protected]

Thanks again. L

user lilaturner
lilaturner 16 years ago

Hi there,

Beautiful menu. Can you please send me the .as file so it will work. Thanks.

user edigiacomo
edigiacomo 16 years ago

apocal6, como puedo hacer ponerle url a los botones, gracias!

user theadventor
theadventor 16 years ago

Simple yet extremely effective. I really like it.

user sdenne
sdenne 16 years ago

That's quite original, and nice.

user cHaitoom
cHaitoom 16 years ago

Look Good :D

user WABI
WABI 16 years ago

great menu, hehe good

user danowen
danowen 16 years ago

Go to hosted.zeh.com.br/mctween/downloads.html
download the "CURRENT INSTALLATION FILE", which is:
mc_tween_2_28_29.mxp

Then, launch/run Adobe Extension Manager CS3.

Next, select File/Install Extension and choose:
mc_tween_2_28_29.mxp

Finally, if you have Flash running, exit and relaunch. It will then be there.

user Benix
Benix 16 years ago

...Good work, but the "mc_tween2.as" is not there, please upload and advise...

user dingenis
dingenis 16 years ago

In the mean time I got it: renamed mc_tween_2_28_29.as to mc_tween2.as. Thanks Danowen.

user danowen
danowen 16 years ago

One more question: Is it possible to inactivate the cursor:pointer from the reflection?

user danowen
danowen 16 years ago

I got the .as file on the web and it works beautifully and is easy to modify the graphics. Thank you!

One question: How do I add the links to bring up another page like any other menu. Do I need to make my own buttons? Or have you got a method that allows use of the .XML file to specify the link?

Thanks again, I love it,

Dan

user dingenis
dingenis 16 years ago

Hi Apocal6, The mc_tween2.as is not enclosed in the zip!
Please let us know when done. No .mxp is needed! Milian

user tuful333
tuful333 16 years ago

mc_tween2.as nothing here...

user pechurche
pechurche 16 years ago

You can download it from here hosted.zeh.com.br/mctween/downloads.html

user graficamm
graficamm 16 years ago

Really cool menu. I have the same problem as others, the mc_tween2.as file is missing. Could you, please, send it to me? Thanks.. [email protected] (Gracias por los comentarios en espanol)

user pechurche
pechurche 16 years ago

OK. I managed to make this work :)
ryanhungate, if you need help e-mail me.

Very smooth menu... and those Spanish comments are so cute :D

user pechurche
pechurche 16 years ago

It`s very nice menu. But how do you put onRelease event for each button?

user mustafakont
mustafakont 16 years ago

nice menu. good idea.

user ryanhungate
ryanhungate 16 years ago

I have to give it up to you on this one... Once I really looked at this file, I realized how little I know about actionscript. I think I am quitting now. :( very impressive work.

user ryanhungate
ryanhungate 16 years ago

Sorry... Im an idiot. Sometimes clicking one button or another makes things not work. I love-hate flash!

user ryanhungate
ryanhungate 16 years ago

Nice menu... Can you send that mc_tween2 file so it can work?
Thanks! [email protected]

user shwetadave
shwetadave 16 years ago

Hey if i am publishing fla file it's not redring anything at all. It's looking very nice, i like it. can you reply me at [email protected].

user amandine84
amandine84 16 years ago

Very nice job
Can you send me the mc_tween file, please

[email protected]

user sammyjay
sammyjay 16 years ago

Very nice, perhaps use a alpha gradient on the reflection to make it perfect?

user kamjanka
kamjanka 16 years ago

Thanks!!! Very nice!!!
Can you send me a file mc_tween2.as (#include "mc_tween2.as") to my e-mail [email protected]

user park122812
park122812 16 years ago

Thanks~~~

user jing1
jing1 16 years ago

very nice and sleek, nice on the eyes also and cpu friendly unlike most things like this.

user maldor
maldor 16 years ago

jkenluv use the google.... hosted.zeh.com.br/mctween/

nice menu

user legendknight26
legendknight26 16 years ago

nice 8/10

user jkenluv
jkenluv 16 years ago

Hi.. thanks for ur reply....

I cant able to find this "#include "mc_tween2.as"

can u send me this file.. if i run this fla file it shows movie not found... my email id : [email protected]

user apocal6
the listing author apocal6 16 years ago

Hi, jkenluv...
Thanks for your comments...
I didnt make it as .as file. The actionScript code is into the .fla file. But if you want it as .as file, give me your email and i make it and send it to you.
BR.

user jkenluv
jkenluv 16 years ago

while downloading as files are not there.... can u please upload that .as file

user jkenluv
jkenluv 16 years ago

good job...excellent work

user nnnswordfish
nnnswordfish 16 years ago

Good work :) very nice