Package com.anotherbigidea.flash.movie

Examples of com.anotherbigidea.flash.movie.Instance


        Frame frame;
        Shape line_shape;
        AlphaColor alpha_color;
        int draw_points = speed + 1;
        Point[] point = new Point[draw_points];
        Instance instance;
       
        if ( points_.size() > 0 )
        {
            alpha_color = new AlphaColor( pen_color_.getRed(), pen_color_.getGreen(), pen_color_.getBlue(), pen_color_.getAlpha() );
            point[0] = (Point) points_.get(0);
View Full Code Here


        transe.setScaleX(scale_);
        transe.setScaleY(scale_);
        transe.setTranslateX( position_.getX() );
        transe.setTranslateY( position_.getY() );
       
        Instance instance = frame.placeSymbol( shape, transe, null );
       
        // sleep in flash...
        for (int count = 0; count < 5; count++ )
        {
            movie.appendFrame();
View Full Code Here

        shape.setLineStyle(1);
        shape.setRightFillStyle(1);
       
        shape.drawAWTPathIterator(rect_.getPathIterator(null));
       
        Instance instance = frame.placeSymbol(shape, 0, 0);
       
        // sleep in flash...
        for (int count = 0; count < 5; count++ )
        {
            movie.appendFrame();
View Full Code Here

        shape.setLineStyle(1);
        shape.setRightFillStyle(1);
       
        shape.drawAWTPathIterator(ellipse_.getPathIterator(null));

        Instance instance = frame.placeSymbol(shape, 0, 0);
       
        // sleep in flash...
        for (int count = 0; count < 5; count++ )
        {
            movie.appendFrame();
View Full Code Here

        shape.defineLineStyle((stroke_.getLineWidth()), line_color);
        shape.setLineStyle(1);
        shape.move( line_.getX1(), line_.getY1());
        shape.line( line_.getX2(), line_.getY2());
       
        Instance instance = frame.placeSymbol(shape, 0, 0);
       
        // sleep in flash...
        for (int count = 0; count < 5; count++ )
        {
            movie.appendFrame();
View Full Code Here

    Shape shape = new Shape();
    shape.defineFillStyle(fill_color);
    shape.setRightFillStyle(1);
    shape.drawAWTPathIterator(glyphs.getOutline().getPathIterator(null));

    Instance instance = frame.placeSymbol(shape, (int) position_.getX(), (int) position_.getY());

    waitMovie(movie, speed);
  }
View Full Code Here

  //----------------------------------------------------------------------------
  protected void fadeIn(Movie movie, int speed)
  {
    Frame frame;
    Instance instance;
    AlphaColor fill_color = new AlphaColor(font_.getColor().getRed(), font_.getColor().getGreen(), font_.getColor().getBlue(), font_.getColor().getAlpha());
    GlyphVector glyphs = font_.getAWTFont().layoutGlyphVector(DrawSWFFont.CONTEXT, font_.getText().toCharArray(), 0, font_.getText().length(), Font.LAYOUT_LEFT_TO_RIGHT);
    Shape shape = new Shape();
    shape.defineFillStyle(fill_color);
    shape.setRightFillStyle(1);
View Full Code Here

  //----------------------------------------------------------------------------
  protected void typeLetters(Movie movie, int speed)
  {
    Frame frame;
    Instance instance;
    AlphaColor fill_color = new AlphaColor(font_.getColor().getRed(), font_.getColor().getGreen(), font_.getColor().getBlue(), font_.getColor().getAlpha());
    GlyphVector glyphs = font_.getAWTFont().layoutGlyphVector(DrawSWFFont.CONTEXT, font_.getText().toCharArray(), 0, font_.getText().length(), Font.LAYOUT_LEFT_TO_RIGHT);
    Shape shape;

    for (int char_index = 0; char_index < glyphs.getNumGlyphs(); char_index++)
View Full Code Here

TOP

Related Classes of com.anotherbigidea.flash.movie.Instance

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.