PDA

View Full Version : propeller AS broken link



kittu
June 4th, 2008, 09:08 AM
hi i have a broken link in action script for a propeller .First I have converted a oval shape into a movie clip n gave a instance name as prop n gave action script as




this.onEnterFrame = function () {
prop._rotation +=45 ;
}
but showing some syntax error
any one can help

small_guy
June 4th, 2008, 09:40 AM
I've thrown together a rotating star movie clip. Note that the actionscript is not on the movie clip itself (which is where I suspect you put it perhaps) but on the first frame of the Actions layer in the timeline.

Without actually seeing your fla I am not sure why your version is not working.




hi i have a broken link in action script for a propeller .First I have converted a oval shape into a movie clip n gave a instance name as prop n gave action script as




this.onEnterFrame = function () {
prop._rotation +=45 ;
}
but showing some syntax error
any one can help

kittu
June 5th, 2008, 09:21 AM
thanks guy u r right i did right action script on the movie clip itself so it did not work

small_guy
June 5th, 2008, 10:50 AM
Simple mistake. Easy to fix. You're welcome.



thanks guy u r right i did right action script on the movie clip itself so it did not work