In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

forked from: flash on 2013-2-20

http://www.geocities.co.jp/Playtown-Spade/7188/
Get Adobe Flash player
by 0954321982 22 Sep 2013
/**
 * Copyright 0954321982 ( http://wonderfl.net/user/0954321982 )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/3UQW
 */

// forked from ohisama's flash on 2013-2-20
//http://www.geocities.co.jp/Playtown-Spade/7188/
package 
{
    import flash.events.Event;
    import org.papervision3d.objects.parsers.DAE;
    import org.papervision3d.view.BasicView;
    import org.papervision3d.objects.parsers.Collada;
    public class Main extends BasicView
    {
        private var i : Number;
        public function Main()
        {
            var c : Collada;
            c = new Collada("http://yumekikaku.dip.jp/obj/bottoms.dae", null, 0.02);
            c.y = -650;
            scene.addChild(c);
            i = 0;
            startRendering();
        } 
        override protected function onRenderTick(event : Event = null) : void
        {
            i += 0.02; 
            camera.x = Math.sin(i) * 1000;
            camera.z = Math.cos(i) * 1000;
            camera.y = Math.sin(i) * 1000;
            super.onRenderTick(event);
        }
    }
}