Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Community Boards > Just for Kicks Challenges

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-21-2003, 10:45 PM   #1
Jon B
Gloomy
 
Jon B's Avatar
 
Join Date: Sep 2002
Location: Newcastle Upon Tyne, UK
Posts: 180
Default erm..., can a moderator check this challenge is right for me?

I would like to start a challenge based on a cool idea I've had - trouble is I'm not a good coder and have none of my own examples to post.

The idea comes from dynamic file trees, you see I have this php script that pulls out all files from my website into an array (php array). For useability purposes I wanted to put this info into a explorer type file tree as an aid to navigation on my site. Whilst working on this I was struck with what I consider an interesting idea:

Basically take the term 'tree' literally and actually dynamically construct a three dimensional file tree that looks like an actual tree in structure. I had seen this code competition before where somebody created a random 3d rotating tree like object and I was thinking it would be cool to create a dynamic tree that actual has it's roots in the hosting site's contents. Sorry for the pun.

Does that constitute a challenge? it is something that is just for kicks, I'm not sure of it's practical benefits other than the fact that it'd look cool.

Please can a moderator check this and remove it if necessary. Just see if it's worthy.

Thanks,

Jon
Jon B is offline   Reply With Quote
Old 05-23-2003, 03:11 AM   #2
annexion
I make out with chicks
 
Join Date: Oct 2002
Location: NYC
Posts: 1,586
Default

In 25 lines??

I've NEVER seen a 3D engine for Flash that's less than 25 lines long.

However, it is a novel idea. Perhaps you could start a thread in Flash MX and get people to help you.
__________________
www.perpetuated.com
annexion is offline   Reply With Quote
Old 05-23-2003, 10:19 AM   #3
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

I guess it's worthy. Everythign is worth a try. It's not really what I was aiming for in terms of challenges though; the scope is a bit too limited to be honest.
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 05-23-2003, 12:37 PM   #4
Jon B
Gloomy
 
Jon B's Avatar
 
Join Date: Sep 2002
Location: Newcastle Upon Tyne, UK
Posts: 180
Default 3d tree in 14 lines!

This is the code, lump it in the first frame of an empty flash movie and let rip. Impressive, even tho it does eat the cpu.

I can't remember who did this and there is no identifying info with the script so I'm sorry to the guy who made it. It was an entry into a flash competition, I think I even found the link for the site through actionscript.org - it was a while back now tho.
ActionScript Code:
this.createEmptyMovieClip("c3d", 1); c3d._y = center_y = (center_x = 150) * 2; angles = new Array (40, 80, 120, 160, 200, 240, 280, 320, 360); for (var j = 0; j < (num_menu_items = (radius = 1) * 9); j++) {     c3d.attachMovie ("item", "item" + j, j); } c3d.onEnterFrame = function () {     for (var j = 0; j < num_menu_items; j++) {         menu_x = radius * Math.cos ((angles[j] += (center_x - _root._xmouse) / 20) * (trans = Math.PI / 180));         c3d["item" + j]._x = center_x + menu_x;         c3d["item" + j]._alpha = Math.abs(c3d["item" + j]._xscale);         c3d["item" + j]._xscale = 100 * Math.cos (angles[j] * trans);     } }
doesn't really offer the level of interactivity that would be cool for a 3d site map, so if you guys reckon to make this cool it would take more than 25 lines then could one of you move this post to the flash mx section or whatever the next best section is for this challenge.
Attached Files
File Type: zip compentry.zip (989 Bytes, 324 views)

Last edited by Jon B; 05-23-2003 at 12:39 PM..
Jon B is offline   Reply With Quote
Old 05-25-2003, 06:44 AM   #5
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: EGYPT
Posts: 12,439
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

wow
very cool, reminds me of Penner's movies
but I think the attachMovie() isn't for this kinda challenges


Jesse !!??
__________________
â€* GOD Is Near â€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 05-27-2003, 11:16 PM   #6
xxlm
Meuh? MMeuh!
 
xxlm's Avatar
 
Join Date: Sep 2001
Location: Auckland - New Zealand
Posts: 3,049
Send a message via ICQ to xxlm Send a message via AIM to xxlm Send a message via MSN to xxlm Send a message via Yahoo to xxlm
Default

I really like it.
Can you zip your src with it pls?

Thx...
__________________
I'm a froggy, so excuse me for my poor english
Blog - Dev By MX
For any jobs go on my blog on the contact page...
xxlm is offline   Reply With Quote
Old 05-27-2003, 11:26 PM   #7
Jon B
Gloomy
 
Jon B's Avatar
 
Join Date: Sep 2002
Location: Newcastle Upon Tyne, UK
Posts: 180
Default huh?

zip my src? what src do you mean? the src as in actionscript or the src as in creator? I don't remember who the creator was, it was on a competition site but no names were included in the .fla file.

If it's the .fla you are after here it is:
Attached Files
File Type: zip compentry_incl_src_fla.zip (5.7 KB, 305 views)
Jon B is offline   Reply With Quote
Old 05-28-2003, 12:06 AM   #8
xxlm
Meuh? MMeuh!
 
xxlm's Avatar
 
Join Date: Sep 2001
Location: Auckland - New Zealand
Posts: 3,049
Send a message via ICQ to xxlm Send a message via AIM to xxlm Send a message via MSN to xxlm Send a message via Yahoo to xxlm
Default

Thx you...
__________________
I'm a froggy, so excuse me for my poor english
Blog - Dev By MX
For any jobs go on my blog on the contact page...
xxlm is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:19 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.