LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-05-2009, 12:39 PM
borboletapicapa borboletapicapa is offline
Registered User
 
Join Date: Mar 2009
Location: Jamaica
Posts: 5
Rep Power: 0
borboletapicapa is on a distinguished road
getProperty/setProperty

Hi Forum,

I am trying to convert this AS1 code to AS3, but it just doesn't work properly anymore.
Can anyone help?

Code:
xpos = getProperty(_root.mainscroller.scroller, _x);

xpos2 = xposnew-xpos;

xmove = xpos2/_root.speed;

setProperty(_root.mainscroller.scroller, _x, xpos+xmove);
thanks
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump




All times are GMT. The time now is 12:47 PM.