|
User Details |
message
|
|
shuaib
post date:
2012-01-17 08:04:47
|
|
Hirnrncan you please help me to inegrate the Scroll Step function in the following code, I would like to be able to scroll by block of 500pxrnrnvar scrollObj:Object = new Object();rnscrollObj.target = 'clip';rnscrollObj.baseWidth = 250;rnscrollObj.baseHeight = 250rnscrollObj._x = 150;rnscrollObj._y = 75;rnscrollObj.scrollBehavior= 'Mouse Absolute';rnthis.attachMovie("Creative Scroll Area", "scrollArea", 10, scrollObj);rnrnrnvar hscrollbarObj:Object = new Object();rnhscrollbarObj._targetInstance="scrollArea";rnhscrollbarObj.autoPos=true;rnhscrollbarObj.skin="theme1";rnhscrollbarObj.orientation="Horizontal";rnthis.attachMovie("Creative Scrollbar", "hscroll", 20, hscrollbarObj);rnrnThanksrnShuaib
|
|
|
shuaib
post date:
2012-01-17 12:49:51
|
Hi apologies for the formating of my previous post.
Hope this is more clear this time.
Can you please help me to inegrate the Scroll Step function in the as3 code of the scroller, I would like to be able to scroll by block of 500px.
Thanks for your help
Shuaib
|
|
|
Andrei Rinciog [Extend Studio]
post date:
2012-01-20 11:46:51
|
Hello,
The scroller component already has a stepScroll method that you can use. This is its definition:
stepScroll(direction: String, distance: Number) : void
direction parameter can be Up, Down, Left or Right.
Tell me if you need more help with this.
You can find all methods and properties here: http://www.extendstudio.com/documentation/creative-flash-scrollerAS3/documentation/docs/classic-scroller-as-dictionary.html
Regards,
Andrei Rinciog
|
|
|
shuaib
post date:
2012-01-23 07:11:07
|
Hi
Thanks for your reply.
It seems that the solution you sugested is appropriate for a button scroling method.
And I would like srcoll directly my scroling area by block of 500px, so each time I use the scroller it stop on a complete view of the different elements of my scoller area and not between 2 elements.
Can you please help me to this in as3.
Many thanks for your help.
Shuaib
|
|
|
Andrei Rinciog [Extend Studio]
post date:
2012-01-25 04:25:10
|
Hello again,
I'm sorry I don't understand exactly the question.
You want scrolling to be done automatically, not by the push of a button? This can be done by adding a timer object and calling the "stepScroll" method on the handler of the TimerEvent.
I can help you with this better if you could send me your FLA file and tell me exactly how you want it to work.
Regards,
Andrei Rinciog
|
|
|
shuaib
post date:
2012-01-25 08:44:42
|
Hi Andrei
Can you please send me your adress so I can send you my fla file.
Hopefully its should be more clear on what I'm trying to do :)
Thanks for your help, much appreciated.
Shuaib
|
|
|
Andrei Rinciog [Extend Studio]
post date:
2012-01-25 10:56:46
|
Hello,
Sorry for forgetting to put the email address. It's support at extendstudio.com.
Kind regards,
Andrei Rinciog
|
|
|
shuaib
post date:
2012-01-30 07:50:05
|
Hi Andrei
I've sent you my fla file, can you please check if you received it.
Thanks for your help
Shuaib
|
|