Got smart fox server working and need help with some code.

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Posts: 9
Joined: 27 Feb 2008, 04:34

Got smart fox server working and need help with some code.

Postby xxxxxxss » 01 Mar 2008, 05:12

how would I convert this to as3.


the adobe help files dont help at all! and google doesnt give much help to.

Thanks its for the chat.
Posts: 9
Joined: 27 Feb 2008, 04:34

Postby xxxxxxss » 01 Mar 2008, 19:58

I realy need to know Iv searched every were and cant find anything. Surely some one knows lapo do you know?
User avatar
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Postby BigFIsh » 02 Mar 2008, 04:02

I dunno anything about As3 but I found this:

setScrollProperties() method

public function setScrollProperties(pageSize:Number, minScrollPosition:Number, maxScrollPosition:Number, pageScrollSize:Number = 0):void

Language Version : ActionScript 3.0
Player Version : Flash Player

Sets the range and viewport size of the ScrollBar component. The ScrollBar component updates the state of the arrow buttons and size of the scroll thumb accordingly. All of the scroll properties are relative to the scale of the minScrollPosition and the maxScrollPosition. Each number between the maximum and minumum values represents one scroll position.

pageSize:Number — Size of one page. Determines the size of the thumb, and the increment by which the scroll bar moves when the arrows are clicked.

minScrollPosition:Number — Bottom of the scrolling range.

maxScrollPosition:Number — Top of the scrolling range.

pageScrollSize:Number (default = 0) — Increment to move when a track is pressed, in pixels.

Hope that helps.
Posts: 3
Joined: 28 May 2008, 14:28
Location: Uruguay

Postby taytus » 28 Jul 2008, 14:11

You can increase the value of scrollPosition in 1 or the value that you want.

Code: Select all

Myscroll.scrollPosition + = 1;

Myscroll is the name of your component


Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 16 guests