|
Post by Vohaul on Sept 6, 2013 4:06:01 GMT
so i love the new update...am giving it some testing....
i am currently playing with controlling timelines (within timelines)
is there a way to control a timeline like a button (ie. when you mouse over the timeline (within a timeline)....it does something...) right now im doing it by putting an invisible button overtop of the timeline and using the button to do it...
also, is there a way to have it assign a script to an individual frame...ie stop...
right now i have my button telling timeline1 (my timeline within a timeline) to goto and play 1...but id like it to stop when it gets to frame 10 of timeline 1...as i have the action for onclick starting on frame 11
|
|
|
Post by Hippani on Sept 6, 2013 8:00:48 GMT
I would use a button with no fill, they work better in HTML. There's no script inside the timelines yet, we've not worked out how to do it yet as you can have the same timeline in your movie more than once.
But something like this should works:
In Movie -> On Update:
var TimelineFrame=TimelineGetFrame("MyTimeline"); if(TimelineFrame==10){ TimelineStop("MyTimeline"); }
|
|