To participate you will need to enter your login details:
Go Back   The Australian Frequent Flyer Online Community> > Community Resources > Playground
 
   

 


Global Bag Tag
product picture

Unwelcoming US sees sharp drop in tourism numbers

» Read Article

Tying up the DONE4 and some other stuff.

» Read Report


Reply

Registered Users have the option of removing this and all other advertisements.  More

 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 16th October 2008, 11:06 PM
tintin's Avatar
Junior Member
 
Join Date: Sep 2008
Posts: 13
Any web designers who know action script

Hey i am trying to get my actionscript 2.0 to snap to one in every 12 frames. so on the timeline if i stop on frame 2-6 i want the flash doc to play back to frame 1 and if i drop it on frames 7-11 i want it to play to frame 12.
here is my action script

stop ();

this.onPress = function() {
origValue = this._currentframe;
origMouse = _root._xmouse;

this.onMouseMove = function() {
relVal = _root._xmouse - origMouse;
relVal = relVal / 15;
relVal = Math.round(relVal);
newFrame = origValue - relVal;
this.gotoAndStop (newFrame) ;


}
};
this.onRelease = this.onReleaseOutside = function() {
this.onMouseMove = null;

};

please help


Reply With Quote
Sponsored Links
Registered Users have the option of removing this and all other advertisements.  More
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
QF industrial action 23 - 24 June Anna Open Discussion 19 1st July 2008 04:15 PM
QF Engineer "Go Slow" / Industrial Action Mish General Airline Discussion 3 10th June 2008 07:52 AM
Qantas to face $200m cartel class action Dave Noble Travel News 0 1st February 2007 10:31 AM
Future aircraft designed to put terrorists out of action Dave Noble Travel News 4 18th January 2007 11:29 AM
Missing in Action - Lost Luggage Johan Open Discussion 3 16th March 2006 01:10 AM


All times are GMT +11. The time now is 08:42 PM.


 
Powered by vBulletin Version 3.7.0. Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC4 ©2008, Crawlability, Inc.
Designed by
 
Copyright © 1998 - 2009, The Australian Frequent Flyer. All Rights Reserved.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83