SteveH
01-23-2008, 10:42 AM
Hello
I have bought a Flash template and I am trying to break it down, so to speak, so that I am able to customise it. I have asked the vendor, but they want to charge me huge chunks of money for what I would call snippets of information.
I have uploaded a screenshot of the file I would be grateful for help on.
http://www11.brinkster.com/stevehigham/coding.html
In the screenshot, next to Layer1 and Layer2 there are two small green icons (but they are not identical). What do they mean, please?
Then, when I on a thumnail (symbol 136), I can see the following in my Action Script panel.
onClipEvent(load) {
_root.scrollY=this._y;
_root.scrollN=1;
}
onClipEvent(enterFrame) {
a=((_root.scrollN-1)*121+_root.scrollY);
dx=a-this._y;
if ((dx<1) and (dx>-1)) {
dx=0;
this._y=((_root.scrollN-1)*121+_root.scrollY);
} else {
this._y+=dx/4;
}
}
What seems a little strange, is that although there is script in the Action Script panel, there is no little 'a' in the frame timeline.
Anyway, what does the code mean, please? In the movie, when I click on a thumnail, it takes me to a larger image. Is this larger image (or its location) indicated in the script above?
Many thanks.
Steve
I have bought a Flash template and I am trying to break it down, so to speak, so that I am able to customise it. I have asked the vendor, but they want to charge me huge chunks of money for what I would call snippets of information.
I have uploaded a screenshot of the file I would be grateful for help on.
http://www11.brinkster.com/stevehigham/coding.html
In the screenshot, next to Layer1 and Layer2 there are two small green icons (but they are not identical). What do they mean, please?
Then, when I on a thumnail (symbol 136), I can see the following in my Action Script panel.
onClipEvent(load) {
_root.scrollY=this._y;
_root.scrollN=1;
}
onClipEvent(enterFrame) {
a=((_root.scrollN-1)*121+_root.scrollY);
dx=a-this._y;
if ((dx<1) and (dx>-1)) {
dx=0;
this._y=((_root.scrollN-1)*121+_root.scrollY);
} else {
this._y+=dx/4;
}
}
What seems a little strange, is that although there is script in the Action Script panel, there is no little 'a' in the frame timeline.
Anyway, what does the code mean, please? In the movie, when I click on a thumnail, it takes me to a larger image. Is this larger image (or its location) indicated in the script above?
Many thanks.
Steve