School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,461 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,672 people online right now. Registration is fast and FREE... Join Now!




Flash Challenges

 

Flash Challenges

pioSko

19 May, 2006 - 10:08 AM
Post #1

still.dreaming
Group Icon

Joined: 6 Jun, 2003
Posts: 1,888



Thanked: 14 times
Dream Kudos: 225
My Contributions
Alright guys, I've decided to post small Flash "challenges" for anyone to try. Majority will be based on mathematics simulations that I have everyday here at work. I'll try to have each challenge split into a number of parts starting from easy beginnings to "Holy Shit", so that everybody can at least try each challenge. The final parts will be difficult. I'll be around to help anybody that wants it, so feel free to post on the Flash & ActionScript boards.

Flash Challenge "Rules":
1. Use ActionScript and as little library objects as possible.
2. Don't panic. Ask for help wink2.gif
3. When using a library object make sure you tell us that in the documentation or post.
4. If somebody has already posted a solution to one of the challenges:
* Beginners: Try to do your own script from scratch using an exsisting solution as a guide.
* !Beginners: Either do your own "better" version or simplify an existing solution.
5. This thread is for challenge briefs. Do NOT post your solutions in this thread.
6. Start every Challenge on Part I.. Don't skip any parts.
7. Post your solutions to ALL the parts you've attempted, not just the last one.

Here goes smile.gif

User is offlineProfile CardPM
+Quote Post


pioSko

RE: Flash Challenges

19 May, 2006 - 10:10 AM
Post #2

still.dreaming
Group Icon

Joined: 6 Jun, 2003
Posts: 1,888



Thanked: 14 times
Dream Kudos: 225
My Contributions
Flash Challenge #1 - A rectangle

PART I
Draw a rectangle with dimentions 200px wide and 100px high. The rectangle should be positioned at coordinates x=200, y=200.

PART II
Draw 3 rectangles with different colour outlines and dimentions 100px by 50px, 80px by 25px and 60px by 120px. They can be positioned anywhere on the screen.

PART III
Draw a rectangle anywhere on the stage, with dimentions 200px by 100px. Eash side of the rectangle must react to mouse interaction (like a button) with the following styles for states: on up #000099 2px, on over #990000 2px, on down #009900 3px.

PART IV
Draw a rectangle anywhere on the stage, with dimentions 200px by 100px. Eash side of the rectangle must react to mouse interaction (like a button) with the following styles for states: on up #000099 2px, on over #990000 2px, on down #009900 3px. Each side must have a label with current dimentions displayed (use library object if neccessary.. extra cred if you don't) and must be positioned in the middle of the line and just outside the rectangle. When pressed and dragged, the side should move and follow the mouse along one axis. The rest of the rectangle must resize. Dimention's labels and their position must update.

PART V - Holy Shit
Draw a rectangle centered on the stage, with dimentions 200px by 100px. Eash side of the rectangle must react to mouse interaction (like a button) with the following styles for states: on up #000099 2px, on over #990000 2px, on down #009900 3px. Each side must have a label with current dimentions displayed and must be positioned in the middle of the line and just outside the rectangle. When pressed and dragged, the side should move and follow the mouse along one axis. The rest of the rectangle must resize. Include 4 corner points (8px diameter dots) which have mouse interaction. When dot pressed and dragged, the rectangle should rotate corresponding to mouse movement and dots must remain positioned on the rectangle's corners. Dimention's labels and their position must update, but must not rotate.


Discussion and solutions here
User is offlineProfile CardPM
+Quote Post

skyhawk133

RE: Flash Challenges

19 May, 2006 - 11:13 AM
Post #3

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 16,844



Thanked: 152 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
For those interested in trying the challenges but you don't have Flash, you can download a free 30 day trial directly from Adobe (formerly Macromedia):

http://www.adobe.com/cfusion/tdrc/index.cfm?product=flashpro
User is offlineProfile CardPM
+Quote Post

RiazMC

RE: Flash Challenges

18 Dec, 2006 - 06:21 PM
Post #4

New D.I.C Head
*

Joined: 18 Dec, 2006
Posts: 1


My Contributions

Ok im having trouble with the first challenge! Where would i even start!

User is offlineProfile CardPM
+Quote Post

pioSko

RE: Flash Challenges

18 Dec, 2006 - 11:59 PM
Post #5

still.dreaming
Group Icon

Joined: 6 Jun, 2003
Posts: 1,888



Thanked: 14 times
Dream Kudos: 225
My Contributions
Heres the discussion page smile.gif

http://www.dreamincode.net/forums/showtopic16324.htm
User is offlineProfile CardPM
+Quote Post

sharkyvk

RE: Flash Challenges

3 Aug, 2008 - 10:11 AM
Post #6

New D.I.C Head
*

Joined: 3 Aug, 2008
Posts: 4


My Contributions
QUOTE(pioSko @ 19 May, 2006 - 11:08 AM) *

Alright guys, I've decided to post small Flash "challenges" for anyone to try. Majority will be based on mathematics simulations that I have everyday here at work. I'll try to have each challenge split into a number of parts starting from easy beginnings to "Holy Shit", so that everybody can at least try each challenge. The final parts will be difficult. I'll be around to help anybody that wants it, so feel free to post on the Flash & ActionScript boards.

Flash Challenge "Rules":
1. Use ActionScript and as little library objects as possible.
2. Don't panic. Ask for help wink2.gif
3. When using a library object make sure you tell us that in the documentation or post.
4. If somebody has already posted a solution to one of the challenges:
* Beginners: Try to do your own script from scratch using an exsisting solution as a guide.
* !Beginners: Either do your own "better" version or simplify an existing solution.
5. This thread is for challenge briefs. Do NOT post your solutions in this thread.
6. Start every Challenge on Part I.. Don't skip any parts.
7. Post your solutions to ALL the parts you've attempted, not just the last one.

Here goes smile.gif


Hi Is this post still being read and replied to if I try to make these questions/scripts.

THX

User is offlineProfile CardPM
+Quote Post

BetaWar

RE: Flash Challenges

7 Aug, 2008 - 06:27 AM
Post #7

#include <soul.h>
Group Icon

Joined: 7 Sep, 2006
Posts: 4,729



Thanked: 269 times
Dream Kudos: 1400
My Contributions
When you reply to them it will be bumped to the top and people will see, that way we will know when you have posted in it and may be able to help you out.
User is offlineProfile CardPM
+Quote Post

GreenSpiral

RE: Flash Challenges

31 Dec, 2008 - 07:04 AM
Post #8

D.I.C Head
**

Joined: 30 Dec, 2008
Posts: 55



Thanked: 1 times
My Contributions
For those people who want to try Flash but can't buy adobe and don't want a 30 day trial -> use LiveSwif (google it to find it). LiveSwif is free but it isn't perfect.
User is offlineProfile CardPM
+Quote Post

Charlie IronGleet

RE: Flash Challenges

16 Feb, 2009 - 05:04 AM
Post #9

D.I.C Head
**

Joined: 29 Jan, 2009
Posts: 120



Thanked: 1 times
My Contributions
QUOTE(GreenSpiral @ 31 Dec, 2008 - 07:04 AM) *

For those people who want to try Flash but can't buy adobe and don't want a 30 day trial -> use LiveSwif (google it to find it). LiveSwif is free but it isn't perfect.


Yeah - thats an option. Heres a better one: Pirate software is the great democratizer of the tech world. How many successful and now wealthy developers learned their trade on bootleg copies of flash, visual studio, photshop, etc., I wonder? Alot more than would care to admit no doubt. It can't be discussed here -- and I respect that -- but I will give aspiring flash programmers who are poor a clue: google "flash torrent".

IronGleet pirate.gif

This post has been edited by Charlie IronGleet: 16 Feb, 2009 - 05:05 AM
User is offlineProfile CardPM
+Quote Post

SwiftStriker00

RE: Flash Challenges

24 Jun, 2009 - 05:07 AM
Post #10

D.I.C Regular
Group Icon

Joined: 25 Dec, 2008
Posts: 295



Thanked: 18 times
Dream Kudos: 125
My Contributions
QUOTE(Charlie IronGleet @ 16 Feb, 2009 - 07:04 AM) *

QUOTE(GreenSpiral @ 31 Dec, 2008 - 07:04 AM) *

For those people who want to try Flash but can't buy adobe and don't want a 30 day trial -> use LiveSwif (google it to find it). LiveSwif is free but it isn't perfect.


Yeah - thats an option. Heres a better one: Pirate software is the great democratizer of the tech world. How many successful and now wealthy developers learned their trade on bootleg copies of flash, visual studio, photshop, etc., I wonder? Alot more than would care to admit no doubt. It can't be discussed here -- and I respect that -- but I will give aspiring flash programmers who are poor a clue: google "flash torrent".

IronGleet pirate.gif


>.> <.< .... who does that tongue.gif ? Anyway slightly more legal ways are : Here. Also if you know a professor or friend, you can ask them for their key, granted you can't register and get teh "advanced" tech support. But who registers software anyway?

In regards to the challenges, I like what you got going, Part IV isn't that bad, but Holy Shit is going to take me a little bit smile.gif

This post has been edited by SwiftStriker00: 24 Jun, 2009 - 05:07 AM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/8/09 02:19AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month