Ticket #119 (closed bug: fixed)
error when loading single file when playlist is active
| Reported by: | jeroen | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | Flash 4.0 | |
| Component: | Keywords: | ||
| Cc: | Forum thread: |
Description
Het active verhaal gaat dood als er een single file wordt geladen na een playlist. Dit stukkie code:
/ Switch the currently active item */
private function itemHandler(evt:ControllerEvent) {
var idx = evt.data.index; if(!isNaN(active)) {
buttons[active].c.gotoAndPlay('out');
} buttons[idx].c.gotoAndPlay('active'); active = idx;
};
Change History
Note: See
TracTickets for help on using
tickets.

fixed by resetting active to undefined.