macromedia.director.basics
[Top] [All Lists]

Re: How do I make frameLabels

Subject: Re: How do I make frameLabels
From: "Rob Dillon" <rob@xxxxxxxxxxxxxxx>
Date: Wed, 21 Nov 2007 14:26:18 +0000 (UTC)
Newsgroups: macromedia.director.basics

Director only has markers. You can insert markers at any frame at the marker 
space on the Score window. 

 You don't say where you have this code attached to the movie, but you don't 
want to get the frame label that way unless the playback head gets to move on 
the the next frame immediately. The enterframe function is a repeating 
function, if you stay on any given frame, then that function will run at that 
frame over and over again.

 Frame labels are only available at the frame where they are. In other words, 
if you ask for the framelabel property value in a frame where there is no 
label, then you will get nothing back. The code that you have will work if it 
is called at a frame that holds a frame label.

 You can use the markerList movie property to get back a property list of the 
frame numbers and their labels. This may be useful to you. Alternately, you can 
also use the markerList movie property to see a list of all of the frame labels.


<Prev in Thread] Current Thread [Next in Thread>