my fla is as follows
Code:
import net.quip.sound.CuePointEvent;
function onCuePoint(event:CuePointEvent):void {
play();
}
actionscript file like this
Code:
package net.quip.sound
{
import flash.events.Event;
public class CuePointEvent extends Event
{
// PROPERTIES
public static const CUE_POINT:String = "cuePoint";
public var name:String;
public var time:uint;
// CONSTRUCTOR
public function CuePointEvent(type:String, cuePointName:String, cuePointTime:uint, bubbles:Boolean = false, cancelable:Boolean = false)
{
super(type, bubbles, cancelable);
this.name = cuePointName;
this.time = cuePointTime;
}
}
}
i get this error
1046 type not a compile-time constant .....
i have searched high and low for this solution .... cant figure it out
Jeremy: This is from that long tutorial about curpoints that you suggested... they provided download files but i have no idea why i am getting errors even from the download files