Copy link to clipboard
Copied
Hi ,,,,
trying to navigate the timeline by frame label throw an input.text ()
each frame label is 10 -12 frames their is 623 labels in one layer
so 4 ex. if the input on (Text_44) is "555" it should go to the frame "5555"
instead it goes to the frame 555 which that what it should but
can i find any way to shift frame by label so i can easy navigate by frame label throw cod
__________________________________________________
var CurrentLabel:String = Text_44.text; ;
var num11 = String(CurrentLabel );
var Anum11:String = String(num11) ;
gotoAndStop (Anum11) ;
__________________________________________________
Copy link to clipboard
Copied
can you explain that more clearly?
Copy link to clipboard
Copied
good to Reply for u
sorry could u tell what you understand
// so i can proceed the shortage of any ُexplanation
Q: has been marked as Helpful
thanks
gotoAndPlay(Frame) <<<< by default
gotoAndPlay(frameLabel) >>>> i need it by Label
if u need it by frameLabel
Any code to shift Frames by frameLabel
______________________________________________
var Num1:String = Text.text
var Num2 = CurrentLabel.Label
var CurrentLabel:Number = Num3
gotoAndPlay (Num3.Lable) <<<<< is it Possible
______________________________________________
Sorry to the Bad English
Copy link to clipboard
Copied
if you pass a string to the gotoAndPlay method/function it will look for that label. so,
gotoAndPlay("frame 223"); // will play the frame labelled "frame 223", not frame 223.
but you should NOT start the string with a number. ie, this is a problem:
gotoAndPlay("223 frame"); // this may NOT do what you would expect.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now