Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1106 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Flash and Actionscript :

urgent: help to correction my action script to move movie clip

Thread title: urgent: help to correction my action script to move movie clip
Reply    
    Thread tools Search this thread Display Modes  
07-02-2013, 03:46 AM
#1
hildajuwanto is offline hildajuwanto
Status: I'm new around here
Join date: Jul 2013
Location: Indonesia
Expertise: design
Software: all adobe
 
Posts: 1
iTrader: 0 / 0%
 

hildajuwanto is on a distinguished road

  Old  urgent: help to correction my action script to move movie clip

it's for my college project.
button in movie clip(1) to move movie clip(2) in scene1.
i wrote this:
_root.onEnterFrame=function(){
big_mc._x+=(posisix-big_mc._x)/5;
big_mc._y+=(posisiy-big_mc._y)/5;
}


_root.onEnterFrame.b1.onRelease=function(){
posisix=275-(big_mc.ako_mc._x*big_mc._xscale/100);
posisiy=200-(big_mc.ako_mc._y*big_mc._yscale/100);}


~ big_mc is the movie clip i want move
ako_mc in big_mc.

~b1 is the button to move big_mc

if the button and movie clip(big_mc) in sampe scene, the script works. but when movie clip(big_mc) in scene1, and the button inside movie clip- the script can't work

Reply With Quote
Reply    


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

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed