Re: Flash Challenge #1 - A rectangle

Posted 20 May 2006 - 12:23 PM

Ah ok, two more:
- positioned at: does it mean the position of the upper left corner, or the center of the rectangle?
- rectangle: is this the border of the rectangle, or a filled one? - although looking at the more advanced questions I think you mean the border only.

Re: Flash Challenge #1 - A rectangle

Posted 20 May 2006 - 03:08 PM

Haha, looks-like I'm hijacking this thread
So another question:
In #4 and #5 you write "When pressed and dragged, the side should move and follow the mouse along one axis." Is that the parallel, or the perpendicular axis relative to the dragged side?

.. but you did something I was hoping someone would do and that was to prepare for the next Parts right at the beginning. It may take more time somtimes, but creating "modules" like yours increases productivity and function of the overall project.

Your way is one of two main ways of doing small "modules". There is another way, very similar to a function, but is a bit more flexible

(there are three actually, but the third is a bit more advanced and requires external files and Flash preferences modification.. won't go into it just yet)

Re: Flash Challenge #1 - A rectangle

Posted 25 May 2006 - 12:05 AM

I have two corrections for you

#1 - You can't have negative lengths This is simple to fix. Just but a Math.abs() around your values.

#2 - There is a significant delay in redrawing the rectangle when moving a side. The sides that are being resized aren't catching up with the moving side. It may be detail but clients/editors don't accept it and 99% of the time will tell you to fix it.

If you want, fix it.. or move on to Part V and leave it for somebody else to try and fix/simplify your code

Overall, great job.. especially for not using library objects. Two thumbs up.

Re: Flash Challenge #1 - A rectangle

Posted 25 August 2007 - 08:12 PM

The problem I would have with #1 would go along with the problem I am having attempting to develop a flash website. I have a question thread in the FLASH & ACTIONSCRIPT forumn but its just been ignored.

Re: Flash Challenge #1 - A rectangle

This thread is for the discussion of the Flash Challenge. Attempting to hijack this thread, in an effort to get your question answered quicker, will only discourage others from wanting to help you.

I'm reminded of the song "Cry Me a River" .. . Nobody is ignoring you. The people in this forum are not paid to answer your questions. We're just fellow coders who hop online and help when we can. So forgive us all if we didn't get to your question fast enough – a question that could have been answered by simply reading Section 1 of the Help Documentation.

Re: Flash Challenge #1 - A rectangle

Posted 26 August 2007 - 08:19 AM

I suppose I should justify myself here just a second. I havent been on forums a great detail; although I have been on newsgroups of old quite a bit and its of course not to much different (in its own way). I didn't realize that my determination to get a quick answer that I knew should have been an easy solution would be considered hijacking. Frankly...its my bad (my apologies). I know people take these forums seriously, which is why I am here. Individuals give solid answers and give their time which is great.

So, if anyone took my antics as hijacking then I apologize; BUT, the challenge question had a lot to do with a step in my own project I was attempting thus I resourced it as well.