Ticket #119 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

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

comment:1 Changed 5 years ago by jeroen

  • Status changed from new to closed
  • Resolution set to fixed

fixed by resetting active to undefined.

Note: See TracTickets for help on using tickets.