开发者

Flash dynamic shape resizing

I need to create a designer tool in Flash for laying out how kitchen worktops/countertops look. I found something similar to what I need:

http开发者_如何转开发://www.kitchenplanneronline.com/

If you scroll down the page you place a rooms dimensions onto the workspace, and resize it. If you notice, when you resize the shape moves and a measurement shows on each edge.

Does anyone know how to do this?


Program on the page you refer does not seem to work. As I understood you try to change and move measurements each time object is changed. Try to throw events (e.g. "objectResized", "xChanged", "yChanged") in setter of size and coords. And then handle replacing and changing of measurements on those events.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜