| Author |
Message |
|
|
Jim

Joined: Aug 15, 2005
Messages: 34
Location: China
Offline
|
maybe setDepth event is useful
|
|
|
 |
|
|
Ralf

Joined: Jul 20, 2005
Messages: 127
Location: Germany
Offline
|
I'm not sure what you mean. You pass the depth value to the constructor (depth is a mandatory property). What do you mean by "event"? Please give me more details.
|
|
|
 |
|
|
Jim

Joined: Aug 15, 2005
Messages: 34
Location: China
Offline
|
just like getDepth()
|
|
|
 |
|
|
Ralf

Joined: Jul 20, 2005
Messages: 127
Location: Germany
Offline
|
I see, you need a setter for depth. My crystal ball tells me that you need it because you're too lazy to recreate a PlaceObject2 instance - or you think that creation is too expensive. Give me more details.
|
|
|
 |
|
|
Jim

Joined: Aug 15, 2005
Messages: 34
Location: China
Offline
|
yes, recreate a PlaceObject2 instance is ok.
You can guess this situation, you want to copy a PlaceObject2 instance from one SWFDocument to another SWFDocument, I think the PlaceObject2's depth maybe is not correct, so I want setter for depth.
BTW, if JSWIFF is a framework or a platform for user, I think we cannot guess what users can do with it.
|
|
|
 |
|
|
Ralf

Joined: Jul 20, 2005
Messages: 127
Location: Germany
Offline
|
Ok, thanks. That's reasonable. I just added setDepth() methods to PlaceObject and PlaceObject2.
Don't get me wrong - I just needed a reason
|
|
|
 |
|
|