Hi!

First of all I will explain what my application is suposed to do:
- Firstly, reads an XML files, where a building is defined, and it
takes floor, walls, windows and doors data to draw it in Flex.
- It creates a 2D representation, where I can change wall positions.
- Then I can see that in 3D (because while it creates the 2D
representation, it does the same with the 3D, but it keeps it
invisible).

If the apartment is simple, for example with 5 walls, 3 doors and 6
windows, it works perfectly. The problem comes when I try to build a
real house, with more than five rooms. It gives me the Error #1502: A
script has executed for longer than the default timeout period of 15
seconds.

For each wall I'm using a segment extrude, because depending on the
rooms it belongs to, it will have differents materials on the sides.
Right now I'm not using any BitmapMaterial, just color textures. Then,
when I add a window or a dor to the wall, I have to to the hole
manually dividing the original Segment Extrude in 4 parts to simulate
the hole (because I think there is not a class or function to do a
hole yet).

So, what I want to ask is if there is any way to do this
asynchronously, or by parts. I have an array with all the walls I need
to build, with their windows and doors. I don't mind if it takes some
time to do it, but I don't know how to expand that 15 seconds period.
Is there any way to do it by code?

I'm terrible explaining myself, so, if you don't understand the
question i'll try to explain it better.

Thanks in advance,

Irati


-- 
Subscription settings: http://groups.google.com/group/away3d-dev/subscribe?hl=en

Reply via email to