Exemplo n.º 1
0
 FSBitmapFill::FSBitmapFill(FSInputStream* aStream) :
     FSFillStyle(TiledBitmap),
     identifier(0),
     transform()
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 2
0
 FSNewFunction::FSNewFunction(FSInputStream* aStream) :
     FSActionObject(NewFunction),
     name(),
     arguments(),
     actions()
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 3
0
 FSColor::FSColor(FSInputStream* aStream) :
     red(Transform::VALUE_NOT_SET),
     green(Transform::VALUE_NOT_SET),
     blue(Transform::VALUE_NOT_SET),
     alpha(Transform::VALUE_NOT_SET)
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 4
0
 FSDefineShape3::FSDefineShape3(FSInputStream* aStream) :
     FSDefineObject(DefineShape3, 0),
     bounds(),
     fillStyles(),
     lineStyles(),
     shape(FSShape())
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 5
0
 FSCurve::FSCurve(FSInputStream* aStream) :
     FSShapeObject(Curve),
     controlX(0),
     controlY(0),
     anchorX(0),
     anchorY(0) 
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 6
0
 FSButton::FSButton(FSInputStream* aStream) :
     state(0),
     identifier(0),
     layer(0),
     transform(),
     colorTransform() 
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 7
0
    FSNewFunction2::FSNewFunction2(FSInputStream* aStream) :
        FSActionObject(NewFunction2),
		name(), 
		registerCount(0), 
		optimizations(0), 
		arguments(), 
		actions(),
		actionsLength(0)
	{
        decodeFromStream(aStream);
	}
  FSDefineJPEGImage2::FSDefineJPEGImage2(FSInputStream* aStream) :
     FSDefineObject(DefineJPEGImage2, 0),
     width(0),
     height(0),
     image(0),
     imageLength(0),
     encodingTable(0),
     encodingLength(0)
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 9
0
 FSDefineImage::FSDefineImage(FSInputStream* aStream) :
     FSDefineObject(DefineImage, 0),
     width(0),
     height(0),
     pixelSize(0),
     tableSize(0),
     imageLength(0),
     image(0)
 {
     extendLength = true;
     decodeFromStream(aStream);
 }
Exemplo n.º 10
0
    FSExceptionHandler::FSExceptionHandler(FSInputStream* aStream) :
        FSActionObject(ExceptionHandler),
		registerNumber(0),
		variable(),
 		tryLength(0),
		catchLength(0),
		finalLength(0),
        tryActions(),
		catchActions(),
		finalActions()
	{
		decodeFromStream(aStream);
	}
Exemplo n.º 11
0
    FSString::FSString(FSInputStream* aStream) : FSValue(FSValue::String), buffer(0), strLength(0), bufferLength(0) 
    {
        strLength = 0;
        bufferLength = strLength + 1;
        buffer = new char[bufferLength];

        if (bufferLength > 0 && buffer == 0)
            throw FSAllocationException("Cannot allocate memory to copy an FSString.");

        buffer[0] = '\0';
        
        decodeFromStream(aStream);
    }
Exemplo n.º 12
0
 FSPlaceObject2::FSPlaceObject2(FSInputStream* aStream) :
     FSMovieObject(PlaceObject2),
     place(New),
     layer(0),
     identifier(0),
     transform(),
     colorTransform(),
     ratio(-1.0f),
     depth(0),
     name(""),
     events(),
     encodedEvents(0),
     encodedLength(0)
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 13
0
FSDefineFont2::FSDefineFont2(FSInputStream* aStream) :
    FSDefineObject(DefineFont2, 0),
    wideOffsets(false),
    encoding(FSText::Unicode),
    small(false),
    italic(false),
    bold(false),
    language(0),
    name(""),
    shapes(),
    codes(),
    ascent(0),
    descent(0),
    leading(0),
    advances(),
    bounds(),
    kernings()
{
    decodeFromStream(aStream);
}
Exemplo n.º 14
0
 FSValue::FSValue(FSInputStream* aStream) : type(0)
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 15
0
 FSUnknownAction::FSUnknownAction(FSInputStream* aStream) : FSActionObject(0) , data(0)
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 16
0
 FSGotoLabel::FSGotoLabel(FSInputStream* aStream) :
     FSActionObject(GotoLabel),
     label()
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 17
0
 FSMorphGradient::FSMorphGradient(FSInputStream* aStream) : startRatio(0), endRatio(0), startColor(), endColor()
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 18
0
 FSFree::FSFree(FSInputStream* aStream) :
      FSMovieObject(Free),
      identifier(0)
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 19
0
 FSPush::FSPush(FSInputStream* aStream) :
     FSActionObject(Push),
     values()
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 20
0
 FSSetTarget::FSSetTarget(FSInputStream* aStream) :
     FSActionObject(SetTarget),
     target("")
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 21
0
 FSInteger::FSInteger(FSInputStream* aStream) : FSValue(FSValue::Integer) , value(0)
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 22
0
 FSFillStyle::FSFillStyle(FSInputStream* aStream) : type(0)
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 23
0
 FSGradient::FSGradient(FSInputStream* aStream) :
     ratio(0),
     color()
 {
     decodeFromStream(aStream);
 }
 FSMorphBitmapFill::FSMorphBitmapFill(FSInputStream* aStream) : FSFillStyle(TiledBitmap), identifier(0), startTransform(), endTransform()
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 25
0
 FSDefineMovieClip::FSDefineMovieClip(FSInputStream* aStream) :
     FSDefineObject(DefineMovieClip, 0),
     objects()
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 26
0
 FSJPEGEncodingTable::FSJPEGEncodingTable(FSInputStream* aStream) :
     FSMovieObject(JPEGEncodingTable),
     encodingTable(0)
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 27
0
 FSNull::FSNull(FSInputStream* aStream) : FSValue(Null)
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 28
0
 FSCall::FSCall(FSInputStream* aStream) :
     FSActionObject(Call)
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 29
0
 FSLineStyle::FSLineStyle(FSInputStream* aStream)
 {
     decodeFromStream(aStream);
 }
Exemplo n.º 30
0
 FSSolidLine::FSSolidLine(FSInputStream* aStream) :
     width(0),
     color()
 {
     decodeFromStream(aStream);
 }