How to translate such AS3 class into C#?
Posted
by Ole Jak
on Stack Overflow
See other posts from Stack Overflow
or by Ole Jak
Published on 2010-05-26T19:57:39Z
Indexed on
2010/05/26
20:01 UTC
Read the original article
Hit count: 219
So I try to create opensource C# project for slicing FLVs I began with translating of existing project called flvslicer
Can any one please help me with translating one of their classes
package org.bytearray.video.events
{
import flash.events.Event;
import flash.utils.ByteArray;
public final class MergedEvent extends Event
{
public var time:Number;
public var stream:ByteArray;
public static const COMPLETE:String = "mergeComplete";
public function MergedEvent(type:String, stream:ByteArray, duration:Number)
{
super(type, false, false); // base
this.stream = stream;
this.time = duration;
}
}
}
© Stack Overflow or respective owner