Code Monkey home page Code Monkey logo

Comments (5)

DerSchmale avatar DerSchmale commented on July 28, 2024

Do you have a demo to illustrate that issue? I can't reproduce it (Unless you have multiple views inside a container and are trying to move that - which is something that's waiting to be committed asap)

from away3d-core-fp11.

cameraMan avatar cameraMan commented on July 28, 2024

hope this helps (I dont use multiple views)

import away3d.containers.View3D;
import away3d.cameras.Camera3D;
var _view:View3D;
var _cam:Camera3D;
var cNT2:Number=0;

function iNIT() : void {
_view = new View3D();
addChild(_view);
_view.x=30;
_view.y=30;
_view.width = 100;
_view.height =100;
_view.backgroundColor=0x520000;
}

function rESIZE() : void {
var cNT=0;
var tMPsTG33D;
while(cNT<stage.stage3Ds.length){
tMPsTG33D=Stage3D(stage.stage3Ds[cNT]);
tMPsTG33D.x=30;
tMPsTG33D.y=30;
cNT++;
}
}

function dRAW(e : Event) : void {
if(cNT2==10){ //no repositioning
_view.x=30;
_view.y=30;
}
if(cNT2==60){ // repositioning
rESIZE();
}
_view.render();
cNT2++;
}

iNIT();
addEventListener(Event.ENTER_FRAME, dRAW);
stop();

from away3d-core-fp11.

DerSchmale avatar DerSchmale commented on July 28, 2024

Pretty weird, I'm running that code, and it works just as expected for me. Further, removing any code in the draw method except for the render call creates a small view at (30, 30) in the init. Any system specs you can provide?

from away3d-core-fp11.

cameraMan avatar cameraMan commented on July 28, 2024

Yes its weird and if I'm the only one here for this, it must be my system's problem.

2 systems
cpu: amd double core | single core
gpu: nvidia gf gt230m | gf6600gt
os: win7 | winxp sp3
flash 5 pro
away3d fp11 rev647
flash player debuger 11,0,1,60 32 | 64bit

from away3d-core-fp11.

cameraMan avatar cameraMan commented on July 28, 2024

I found it and it was a conflict. I was targeting both broomstick + fp11 source paths.
Sorry for the delay

from away3d-core-fp11.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.