Forero Hello: I am in trouble with one I took on youtube tuto. I do it to the letter and no sale. Well the point is not that I get when pressing the thumbnail (picture bar girl) leaves the big picture
I leave the actionscript to see if someone knows it's wrong.
Here goes.
Also the link between the Institute and see if you get several.
http://www.youtube.com/watch?v=i1EJpc68EIs
var frameNum: Number;
photoChange function () (
_root.photos. gotoAndStop ( "img" + frameNum)
)
btn1. [b] onRelease = function () (
frameNum = 1;
photoChange ();
)
btn2.onRelease = function () (
frameNum = 2;
photoChange ();
)
btn3.onRelease = function () (
frameNum = 3;
photoChange ();
)
btn4.onRelease = function () (
frameNum = 4;
photoChange ();
)
btn5.onRelease = function () (
frameNum = 5;
photoChange ();
) [/ b]
- var frameNum: Number;
- photoChange function () (
- _root.photos. gotoAndStop ( "img" + frameNum)
- )
- btn1. [b] onRelease = function () (
- frameNum = 1;
- photoChange ();
- )
- btn2.onRelease = function () (
- frameNum = 2;
- photoChange ();
- )
- btn3.onRelease = function () (
- frameNum = 3;
- photoChange ();
- )
- btn4.onRelease = function () (
- frameNum = 4;
- photoChange ();
- )
- btn5.onRelease = function () (
- frameNum = 5;
- photoChange ();
- ) [/ b]
Moderator Remark: Added [code] tags