ja tez nie wiem poniewaz jezeli chodzi o xml i flash to jestem zielony wiec chcialbym otrzymac przyklad lub gotowy skrypt
moze napisz jak wyglada plik flasha

scena_1
-movie_border
-frame
-images
--image6
--image4
--image5
--image3
--image2
--image1
-thumb_scroller
--main_manu
---thumbs
----thumb6
----thumb5
----thumb4
----thumb3
----thumb2
----thumb1
----width_holder
---right_menu
---left_menu
-background
skrypty:
scena_1
function showImage(img) {
for (x in images) {
if (images[x] != images[img]) {
images[x]._visible = 0;
trace(images[x] add "=" add images[x]._visible);
}
}
images[img]._visible = 1;
trace(images[img] add " visibility = " add images[img]._visible);
}
onFrame (40,afterPlacedObjectEvents) {
javascript("alert('dupa');");
stop();
}
main_manu
onEnterFrame(includingFirstFrame) {
if (this._x >= menuWidth || this._x <= (startX-menuWidth)) {
this._x = startX;
}
}
onFrame (1) {
this._vx = speed;
}
onLoad () {
speed = -50;
pad = 15;
setProperty(thumbs.width_holder, _width, (_parent._width+pad));
menuWidth = thumbs._width;
startX = this._x;
right_menu._x = thumbs._x + menuWidth;
left_menu._x = thumbs._x - menuWidth;
left_menu._y = thumbs._y;
right_menu._y = thumbs._y;
}
thumbsonFrame (35,afterPlacedObjectEvents) {
stop();
}
thumb6
on (rollOver) {
_parent._vx = 0;
}
on (rollOut) {
_parent._vx = _parent.speed;
}
on (release) {
_root.showImage("image6");
}
thumb5
on (rollOver) {
_parent._vx = 0;
}
on (rollOut) {
_parent._vx = _parent.speed;
}
on (release) {
_root.showImage("image5");
}
thumb4
on (rollOver) {
_parent._vx = 0;
}
on (rollOut) {
_parent._vx = _parent.speed;
}
on (release) {
_root.showImage("image4");
}
thumb3
on (rollOver) {
_parent._vx = 0;
}
on (rollOut) {
_parent._vx = _parent.speed;
}
on (release) {
_root.showImage("image3");
}
thumb2
on (rollOver) {
_parent._vx = 0;
}
on (rollOut) {
_parent._vx = _parent.speed;
}
on (release) {
_root.showImage("image2");
}
thumb1
on (rollOver) {
_parent._vx = 0;
}
on (rollOut) {
_parent._vx = _parent.speed;
}
on (release) {
_root.showImage("image1");
}
Do tego czegos potrzbuje przekazac nazwy zdjec z bazy