r/actionscript • u/Snorgledork • Jul 28 '16
[AS2] Navigation Cuepoints
I've been trying to figure this out for three days, but everything I find online seems to be about AS3 instead of 2.
I'm creating a document that plays a video and allows the user to seek to certain scenes/clips.
The first part of my plan I was able to accomplish with adding cuepoints through AS. I was able to highlight the buttons for which scene was currently playing.
However, what I can't figure out is how to make these buttons skip to specific cuepoints in the video.
What I've tried:
- I've embedded the navigation cuepoints into the video.
- I tried using FLVPlaybak
- I've been tinkering with NetConnection, but I'm not sure if I'm doing it right.
- My buttons are all using myPlayer.seekToNavCuePoint("cue Name")
Can anyone provide me with an explanation of what I should be doing, or resources I can read through?
View all comments
2
u/drewcifer0 Jul 28 '16
as2 is pretty old so i'm not sure, but what i would do is...just store the locations you want to seek to separately (as xml maybe) so you can just use a regular seek function rather than seeking to a cuepoint.