Topic: Drawing a House With Only Action Script (Page 1 of 1) Pages that link to <a href="http://ozoneasylum.com/backlink?for=23734" title="Pages that link to Topic: Drawing a House With Only Action Script (Page 1 of 1)" rel="nofollow" >Topic: Drawing a House With Only Action Script <span class="small">(Page 1 of 1)</span>\

 
sirjorgeofculver
Neurotic (0) Inmate
Newly admitted

From:
Insane since: Oct 2004

IP logged posted posted 10-20-2004 15:54 Edit Quote

Hey,

I've been trying to draw a house using only Action Script to create the lines, fills, etc. in Flash Mx 2004. I can't seem to get things in the right place. If anyone could help me figure this out please let me know.

Thank You.

Sir Jorge of Culver

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

IP logged posted posted 10-21-2004 12:39 Edit Quote

at what point are you stuck exactly?

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

IP logged posted posted 10-21-2004 16:28 Edit Quote

Yeah. And how detailed are you expecting it to be? (Like a kid's drawing that's mostly simple shapes, or like a detailed CAD rendering?) And - is there any user interaction? And does it have to draw as you watch (over time), or just appear?

sirjorgeofculver
Obsessive-Compulsive (I) Inmate

From: Culver City, Ca.
Insane since: Oct 2004

IP logged posted posted 10-21-2004 23:46 Edit Quote

No, the only thing that it has to be is basically a triangle with a square underneath it, and the door can/or can't be animated. It doesn't have to appear over time and it just has to be somewhat remotely "house-esque" looking. I've got a triangle and then I get stumped. It has to be like a child drawing at best, no cad stuff.

It just has to be in action script. I tried looking online for help, but I can't find anything on this.

Sir J>

Sir Jorge of Culver

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

IP logged posted posted 10-22-2004 16:49 Edit Quote

Here's a link to a good tutorial.
http://actionscript-toolbox.com/flashmx_drawingtools.php

Does that help?

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

IP logged posted posted 10-22-2004 17:47 Edit Quote

i cant believe that if you got a triangle, then a square is a problem for you?

try this:

code:
this.lineStyle(2, 0x0000FF, 100);
this.moveTo(100,300);
this.lineTo(100,200);
this.lineTo(200,200);
this.lineTo(200,300);
this.lineTo(100,300);

this.lineStyle(2, 0xFF0000, 100);
this.moveTo(80,220);
this.lineTo(150,150);
this.lineTo(220,220);



sirjorgeofculver
Obsessive-Compulsive (I) Inmate

From: Culver City, Ca.
Insane since: Oct 2004

IP logged posted posted 10-23-2004 00:53 Edit Quote

It's been a long road to the triangle, the square isn' THAT hard it's the placement of these things that is getting me. It seems like geometry hell.

Sir J.

Sir Jorge of Culver

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

IP logged posted posted 10-23-2004 05:29 Edit Quote

Uncanny - Grumble, that looks JUST LIKE my house!

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

IP logged posted posted 10-23-2004 20:46 Edit Quote

yes, and if we look real hard, then we can see Steve's Pyjamas in the laundry room.

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

IP logged posted posted 10-24-2004 03:31 Edit Quote



Post Reply
 
Your User Name:
Your Password:
Login Options: Remember Me On This Computer
 
Your Text:
Loading...
Options: Show Signature
Enable Slimies
Enable Linkwords

« BackwardsOnwards »

Show Forum Drop Down Menu