Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Extensions and Plugins > JSFL - Extending Flash

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-31-2005, 02:29 AM   #1
HBB Alfred
Registered User
 
Join Date: May 2004
Posts: 44
Default how can i do about goto frame with jsfl

i can gotoAndStop or nextFrame or prevFrame in swf with as
but i cannt do that with jsfl?
HBB Alfred is offline   Reply With Quote
Old 03-31-2005, 08:19 AM   #2
MichaelxxOA
Flash Sucks
 
MichaelxxOA's Avatar
 
Join Date: Mar 2005
Location: Victorville, Ca
Posts: 2,224
Send a message via AIM to MichaelxxOA Send a message via MSN to MichaelxxOA Send a message via Yahoo to MichaelxxOA Send a message via Skype™ to MichaelxxOA
Default

if you can do it in as why are you trying to do it in jsfl? just kidding anyway I think you should be more specific as to the problem that you are having.
-Michael
MichaelxxOA is offline   Reply With Quote
Old 03-31-2005, 08:51 AM   #3
HBB Alfred
Registered User
 
Join Date: May 2004
Posts: 44
Default

yes
actually, i want to mask a command which can go to custom frames in flash ide.
it is because of a lot of frames in my flash and it's too hard when i find a frame

i know use ">" or "<" keybroad shortcut can nextframe and prevframe,but may not go to frame~

hbb
HBB Alfred is offline   Reply With Quote
Old 03-31-2005, 09:15 AM   #4
hangalot
lala
 
hangalot's Avatar
 
Join Date: Feb 2002
Location: on the road
Posts: 2,859
Default

in the hierachy of timeline-> layers -> frames , frames is an array.

then on the timeline object there is a property called currentframe this is how help describes it:
Quote:
timeline.currentFrame
Availability
Flash MX 2004.

Usage
timeline.currentFrame

Description
Property; the zero-based index for the frame at the current playhead location.

Example
The following example sets the playhead of the current Timeline to Frame 10 (remember that index values are different from frame number values):

fl.getDocumentDOM().getTimeline().currentFrame = 9;

The following example stores the value of the current playhead location in the curFrame variable:

var curFrame = fl.getDocumentDOM().getTimeline().currentFrame;
__________________
oi poloi
http://www.memorphic.com/news/
hangalot is offline   Reply With Quote
Old 03-31-2005, 09:29 AM   #5
HBB Alfred
Registered User
 
Join Date: May 2004
Posts: 44
Default

hello,hangalot

i know how to get current frame count
so far i used fl.getDocumentDOM().getTimeline().setSelectedFrame s() to go to frame which is i want to go

i dont know is this a nice way but i donnt found out other ways

thanks for your reply

any else?
HBB Alfred 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 Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:29 AM.


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