Thanks,

I deleted it and pulled it down again from SVn and it seems correct now.

On Sun, Jun 12, 2011 at 11:35 AM, richardolsson <[email protected]> wrote:
> Jeff,
>
> That file hasn't existed for a very long time. That entire folder was
> removed very early in favor of different structure for example files.
> So please don't linger too long with any issues you may have with that
> file. Just do an SVN update (or even better, start using Git to get
> changes sooner) and make sure to stay up to date as we're spurting
> through this last bit of the alpha period where things are still
> changing rapidly.
>
>
> Cheers
> /R
>
> On Jun 12, 11:20 am, Jeffrey Kesselman <[email protected]> wrote:
>> Hmm. revision 3318 shows on the web, but when I browse with
>> subversive, it shows 3301 for Examples as the head revision.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Sun, Jun 12, 2011 at 11:12 AM, Jeffrey Kesselman <[email protected]> wrote:
>> > According to my IDE its in
>> >http://away3d.googlecode.com/svn/trunk/broomstick/Examples/src/Main.as
>>
>> > Having said that, I don't see it from the web browser in the svn today
>> > so I AM a might confused.....
>>
>> > Is there a good way to check version?  Myu IDe says its revision 3301 (I 
>> > think)
>>
>> > On Sun, Jun 12, 2011 at 12:57 AM, richardolsson <[email protected]> 
>> > wrote:
>> >> Where exactly is this file? Can you tell me that path relative to the
>> >> trunk root?
>>
>> >> /R
>>
>> >> On Jun 11, 4:05 pm, Jeffrey Kesselman <[email protected]> wrote:
>> >>> I just grabbed this from the SVN trunk last night....
>>
>> >>> Is the SVN no loger current?
>>
>> >>> On Sat, Jun 11, 2011 at 3:37 PM, richardolsson <[email protected]> 
>> >>> wrote:
>> >>> > I don't even know what that example is, and it doesn't exist in SVN or
>> >>> > Git (anymore) so if you update you will probably see it being removed.
>> >>> > However, I can tell from the name of the enter-frame handled that I
>> >>> > probably wrote it at some point. :)
>>
>> >>> > I suggest you go get the most recent version of everything and
>> >>> > experiment with that.
>>
>> >>> > Cheers
>> >>> > /R
>>
>> >>> > On Jun 11, 6:25 pm, Jeffrey Kesselman <[email protected]> wrote:
>> >>> >> It doesn't look like anything that FB would automatically create.  Its
>> >>> >> in my Broomstick example project pulled from the SVN.  Code below:
>>
>> >>> >> package
>> >>> >> {
>> >>> >>         import flash.display.Sprite;
>> >>> >>         import flash.events.Event;
>> >>> >>         import away3d.containers.*;
>> >>> >>         import away3d.lights.PointLight;
>> >>> >>         import flash.display.StageAlign;
>> >>> >>         import flash.display.StageScaleMode;
>> >>> >>         import away3d.primitives.Cube;
>>
>> >>> >>         public class Main extends Sprite
>> >>> >>         {
>>
>> >>> >>                 private var _view : View3D;
>> >>> >>                 //private var _ctr : ObjectContainer3D;
>> >>> >>                 private var _light : PointLight;
>>
>> >>> >>                 public function Main()
>> >>> >>                 {
>> >>> >>                         addEventListener(Event.ADDED_TO_STAGE, init);
>>
>> >>> >>                 }
>>
>> >>> >>                 private function init(e:Event):void
>> >>> >>                 {
>> >>> >>                         _view = new View3D();
>> >>> >>                         initView();
>> >>> >>                         initObjects();
>> >>> >>                         this.addEventListener(Event.ENTER_FRAME, 
>> >>> >> _handleEnterFrame);
>> >>> >>                 }
>>
>> >>> >>                 private function initView():void
>> >>> >>                 {
>> >>> >>                         _view = new View3D();
>>
>> >>> >>                         this.addChild(_view);
>> >>> >>                         _view.camera.x = 50;
>> >>> >>                         _view.camera.y = 100;
>> >>> >>                         _view.camera.z = -800;
>>
>> >>> >>                         _light = new PointLight();
>> >>> >>                         _light.x = -1000;
>> >>> >>                         _light.y = 1000;
>> >>> >>                         _light.z = -1000;
>> >>> >>                         _light.radius = 1000;
>> >>> >>                         _light.fallOff = 4000;
>> >>> >>                         _light.color = 0x66FFFFF;
>>
>> >>> >>                         _view.scene.addChild(_light);
>>
>> >>> >>                         stage.scaleMode = StageScaleMode.NO_SCALE;
>> >>> >>                         stage.align = StageAlign.TOP_LEFT;
>> >>> >>                         stage.addEventListener(Event.RESIZE, 
>> >>> >> onStageResize);
>> >>> >>                 }
>>
>> >>> >>                 private function initObjects():void
>> >>> >>                 {
>> >>> >>                         var cube:Cube = new Cube();
>> >>> >>                         _view.scene.addChild(cube);
>> >>> >>                 }
>>
>> >>> >>                 private function onStageResize(event : Event) : void
>> >>> >>                 {
>> >>> >>                 _view.width = stage.stageWidth;
>> >>> >>                 _view.height = stage.stageHeight;
>> >>> >>                 }
>>
>> >>> >>                 private function _handleEnterFrame(ev : Event) : void
>> >>> >>                 {
>> >>> >>                         _view.render();
>> >>> >>                 }
>> >>> >>         }
>>
>> >>> >> }
>> >>> >> On Sat, Jun 11, 2011 at 2:13 PM, richardolsson 
>> >>> >> <[email protected]> wrote:
>> >>> >> > What is this "Main.as" that you are referring to? Is it not just 
>> >>> >> > what
>> >>> >> > your IDE (e.g. FlashDevelop) creates as a main entry point? I don't
>> >>> >> > believe we are supplying any example class called "Main.as", so 
>> >>> >> > where
>> >>> >> > are you getting it from, and what does it contain?
>>
>> >>> >> > Cheers
>> >>> >> > /R
>>
>> >>> >> > On Jun 11, 5:56 pm, Jeffrey Kesselman <[email protected]> wrote:
>> >>> >> >> So, Main.as looks on paper to be exactly what i am looking for in a
>> >>> >> >> "HelloWorld", a minimal display of a cube.
>>
>> >>> >> >> When i run it however all I get is a black view.
>>
>> >>> >> >> is it broken or am I doing something wrong still? 
>> >>> >> >> AnimatedBitmapTest
>> >>> >> >> seems to run fine.
>>
>> >>> >> >> JK
>>
>> >>> >> >> --
>> >>> >> >> It's always darkest just before you are eaten by a grue.
>>
>> >>> >> --
>> >>> >> It's always darkest just before you are eaten by a grue.
>>
>> >>> --
>> >>> It's always darkest just before you are eaten by a grue.
>>
>> > --
>> > It's always darkest just before you are eaten by a grue.
>>
>> --
>> It's always darkest just before you are eaten by a grue.



-- 
It's always darkest just before you are eaten by a grue.

Reply via email to