Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-26-2009, 11:03 AM   #1
GinnyBhullar
Registered User
 
Join Date: Mar 2009
Posts: 1
Exclamation Frame by Frame Navigation

is it possible to have frame by frame navigation in FlashLite using AS 2.0 ?
I tried the following code:
Code:
next_btn.onPress = function(){
gotoAndStop(currentFrame+1);
}
This code is not working. Can somebody give me solution ?
GinnyBhullar is offline   Reply With Quote
Old 03-26-2009, 12:36 PM   #2
Thommas
Senior Member
 
Join Date: Mar 2009
Posts: 117
Default

next_btn.onPress = function()
{
gotoAndStop(currentFrame+1);
}

try _root.gotoAndStop(currentFrame+1); maybe ?

Or, you can name your frame "myFrame" and put :

next_btn.onPress = function()
{
_root.gotoAndStop("myFrame");
}
Thommas is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Playing a movie clip on mouse over and continue to last frame on mouse out TerrenceJP ActionScript 3.0 1 11-18-2007 09:35 PM
keyListener problems with keyboard frame navigation skeller1215 ActionScript 2.0 4 08-08-2007 03:50 PM
Error: target not found jbelle ActionScript 1.0 (and below) 5 06-19-2006 02:48 PM
swapDepth() causes trouble when Flash jumps to another frame Nugob ActionScript 2.0 2 08-31-2005 09:14 AM
Question about gotoAndPlay Behavior erictrav ActionScript 1.0 (and below) 4 10-09-2002 12:25 AM


All times are GMT. The time now is 09:25 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.