Hi Katopz
thank you for your help, but this is not my case... I'm not loading
anything, just create new Flex project, create simple UIComponent and
inside I have setup scene and everything
problem is that when I call view.render()
it calls updateScreenClipping() and there is this code
private function updateScreenClipping():void
{
//check for loaderInfo update
try {
_loaderWidth = loaderInfo.width;
_loaderHeight = loaderInfo.height;
but loaderInfo is null, becayse i'm not load anything.
Can Away3DLite used without loading? :)
Thanks
P.S. if you have any IM, it would be great to chat there, if you have
time. send me DM on twitter :)
--
Franto Kormanak ([email protected])
Owner & Senior RIA Developer
at Flexets (http://www.flexets.com)
profile: http://www.linkedin.com/in/franto
skype: franto.kormanak
On 4 February 2010 09:19, katopz <[email protected]> wrote:
> Hey Franto!
>
> nice to see you here ;)
>
> you use SWFLoader right? i think
>
>> addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
>
> should help
>
> here's some examples especially for you, done in 5 min ago
> http://away3d.googlecode.com/svn/branches/lite-flex/bin/SimpleContainer.swf
>
> src
> http://away3d.googlecode.com/svn/branches/lite-flex
>
> try explore here for more examples you saw above
> http://away3d.googlecode.com/svn/branches/lite
>
> basic setup try look at template here
> http://away3d.googlecode.com/svn/branches/lite/libs/away3dlite/templates/BasicTemplate.as
>
> or maybe just extends it, then you can setup hello world in 3 lines ;)
> fyi that all examples you saw there ("Ex" prefix) were extend this template
>
> cheers!
>
> On 4 February 2010 14:34, franto <[email protected]> wrote:
>>
>> Hi all,
>>
>> This is my first post, so hi all and thanks to the creators for this
>> engine. I need to test Away3dLite in Flex, because in my project I've
>> used native 3d from Flash player 10, but there was too many problem
>> for me to create simple 3d graph with interactivity, that I need to
>> test something else. Suggestion from Paul Neave was Away3DLite, so I'm
>> trying it :))
>>
>> I've setup first scene, and it works, except there is problem that
>> stage is null in Flex (view3D updateScreenClipping), after I close
>> exception all works as expected. Is there anything special for using
>> away3DLite with Flex rather than using it in pure as3 project?
>>
>> THank you for your help
>>
>> --
>> Franto Kormanak ([email protected])
>> Owner & Senior RIA Developer
>> at Flexets (http://www.flexets.com)
>>
>> profile: http://www.linkedin.com/in/franto
>> skype: franto.kormanak
>
>
>
> --
> katopz
> http://www.sleepydesign.com
>
>