L.G3cK0
June 25th, 2003, 04:43 AM
Flash mx Actionscript
Hello all, im kinda new to flash and in particular to actionscript. Im being "made" to learn it in work, tho it does beat doing ASP all day :)
Anyways, I'm having a bit of problems figuring out some code
I have a horizontal scroll pane, which holds an external .swf (a timeline) and a set of buttons below the pane (a set of dates).
My idea is to set up the dates so that when the user clicks on them, the scrollPane will move to that date (the specified x coordinate of the external file)
At the minute I'm just using: -
scroller.setScrollPosition(x, y)
as the on(release) command for each button. This instantly shifts the timeline to the position I want it to end at.
I really need it so that there is a movement and the scroll bar slides and comes to a rest at that position, so I was wondering if anyone has any ideas on the script required, or knows of any tutorials that address this.
Thanks in advance for any help on this guys.
Hello all, im kinda new to flash and in particular to actionscript. Im being "made" to learn it in work, tho it does beat doing ASP all day :)
Anyways, I'm having a bit of problems figuring out some code
I have a horizontal scroll pane, which holds an external .swf (a timeline) and a set of buttons below the pane (a set of dates).
My idea is to set up the dates so that when the user clicks on them, the scrollPane will move to that date (the specified x coordinate of the external file)
At the minute I'm just using: -
scroller.setScrollPosition(x, y)
as the on(release) command for each button. This instantly shifts the timeline to the position I want it to end at.
I really need it so that there is a movement and the scroll bar slides and comes to a rest at that position, so I was wondering if anyone has any ideas on the script required, or knows of any tutorials that address this.
Thanks in advance for any help on this guys.