Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flash In Action > Site Check

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-26-2007, 01:11 AM   #1
fromchaos
Registered User
 
Join Date: Oct 2007
Posts: 24
Cool input wanted

http://www.chaostheorydesign.com/test/alpha%20cube.html this is a new site I am working on for myself, it is not complete yet, but it's coming along. Just thought I would see if I could get some input from people. Took al day to figure out the javascript code, so that it can get and send variables to the flash module, and also control the mc's. each link is a different mc that loads into a blank clip.

Like I said, any input would be great.

Thanks

From Chaos
fromchaos is offline   Reply With Quote
Old 11-26-2007, 01:30 AM   #2
Flash Gordon
rather be programming
 
Flash Gordon's Avatar
 
Join Date: Feb 2005
Location: City of Angels
Posts: 10,140
Default

Nice job with the blocks, but the depths when they switch aren't true. Smaller blocks shouldn't be infront of larger ones. If you fix that it will look a lot better.

And the design of the navigation needs a little help.
Good job and keep going!
__________________
trace("Good bye Flash.") Log.i(TAG, "Hello Droid");
Flash Gordon is offline   Reply With Quote
Old 11-26-2007, 01:44 AM   #3
Flash Gordon
rather be programming
 
Flash Gordon's Avatar
 
Join Date: Feb 2005
Location: City of Angels
Posts: 10,140
Default

Quote:
Originally Posted by fromchaos
on the site check with the cubes, I am confused with what you ment by the smaller cubes shouldn't be in front of the larger ones. could you explain a little more??? they are all the same size and only get larger and change levels when you mouse over them?? any imput would be great.

Thanks

From Chaos
Keep it in the forms....

When you mouse off a cube that is grown larger, immediately it swaps depths with the new cube that is growing. The old cube is larger yet it appears behind the new growing cube. This isn't true behavior in life, but it is your creation so maybe that is what you want.
__________________
trace("Good bye Flash.") Log.i(TAG, "Hello Droid");
Flash Gordon is offline   Reply With Quote
Old 11-26-2007, 01:45 AM   #4
fromchaos
Registered User
 
Join Date: Oct 2007
Posts: 24
Default

now that I look at it closer I see what you mean about the blocks. I will need to add a timer to delay it by a sec or so. I am still working on the nav part, not sure exactly where I am going to go with that, any idea's toss my way.

Thanks

FC
fromchaos is offline   Reply With Quote
Old 11-26-2007, 01:49 AM   #5
Flash Gordon
rather be programming
 
Flash Gordon's Avatar
 
Join Date: Feb 2005
Location: City of Angels
Posts: 10,140
Default

compare the 2 cube scale values. When the growing cube's scale is larger than the shrinking cube's scale, then swap depths. Don't "timer" it.
__________________
trace("Good bye Flash.") Log.i(TAG, "Hello Droid");
Flash Gordon is offline   Reply With Quote
Old 11-26-2007, 01:55 AM   #6
fromchaos
Registered User
 
Join Date: Oct 2007
Posts: 24
Default

not sure how to do that?? they are all the same size, and when you mouse over one, it grows to 150% it's size, the ones in the background stay their original size.
fromchaos is offline   Reply With Quote
Old 11-26-2007, 02:49 AM   #7
fromchaos
Registered User
 
Join Date: Oct 2007
Posts: 24
Default

ok, take a look at it now. I changed the speed of the tween and the type of tween that is used when it bounces back. It looks pretty close to me, but please give me your opinion. I like the help, and thanks for that observation, I never noticed that until you pointed it out.

Thanks

From Chaos
fromchaos is offline   Reply With Quote
Old 11-26-2007, 03:12 AM   #8
Flash Gordon
rather be programming
 
Flash Gordon's Avatar
 
Join Date: Feb 2005
Location: City of Angels
Posts: 10,140
Default

here is a very quick and dirty example, maybe it will help a little
ActionScript Code:
import fl.transitions.Tween; import fl.transitions.easing.*; import fl.transitions.TweenEvent; function decorate():Sprite {     var m:Sprite = new Sprite();     m.graphics.beginFill(Math.random()*0xFFFFFF);     m.graphics.drawRect(0, 0, 100, 100);     m.graphics.endFill();     return m; } var m1:Sprite = decorate(); var m2:Sprite = decorate(); addChild(m1); addChild(m2); m1.y = m2.y = 100; m1.x = 100; m2.x = 150; m2.scaleX = m2.scaleY = 1.50; m1.addEventListener(MouseEvent.MOUSE_OVER, over1); function over1(e:MouseEvent):void {     var t:Tween = new Tween(m1, "scaleX", Strong.easeOut, m1.scaleX, 1.5, 1.0, true);     var t2:Tween = new Tween(m2, "scaleX", Strong.easeOut, m2.scaleX, 1.0, 1.0, true);     t.addEventListener(TweenEvent.MOTION_CHANGE, tChange);     t2.addEventListener(TweenEvent.MOTION_CHANGE, t2Change); } function tChange(e:TweenEvent):void {     m1.scaleY = m1.scaleX;         // check the scale values     if (m1.scaleX > m2.scaleX && getChildIndex(m1) < getChildIndex(m2))     {         swapChildren(m1, m2); // swap them     } } function t2Change(e:TweenEvent):void {     m2.scaleY = m2.scaleX; }
__________________
trace("Good bye Flash.") Log.i(TAG, "Hello Droid");
Flash Gordon is offline   Reply With Quote
Old 11-26-2007, 03:23 AM   #9
Flash Gordon
rather be programming
 
Flash Gordon's Avatar
 
Join Date: Feb 2005
Location: City of Angels
Posts: 10,140
Default

Quote:
Originally Posted by fromchaos View Post
ok, take a look at it now. I changed the speed of the tween and the type of tween that is used when it bounces back. It looks pretty close to me, but please give me your opinion. I like the help, and thanks for that observation, I never noticed that until you pointed it out.

Thanks

From Chaos
yea, looks pretty good.
__________________
trace("Good bye Flash.") Log.i(TAG, "Hello Droid");
Flash Gordon is offline   Reply With Quote
Old 11-26-2007, 09:24 PM   #10
devilmaycry
DevilMayCry
 
devilmaycry's Avatar
 
Join Date: Nov 2005
Location: France
Posts: 469
Send a message via MSN to devilmaycry Send a message via Yahoo to devilmaycry
Default

i like the idea of the cube navigation, dont know if its better but try instead to scale it try to move the cube up a little bit and the name of the section fades in ...

cheers
devilmaycry 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem to jump to next input textfield with tab key when embedFonts is set to true maes100 ActionScript 2.0 1 10-23-2007 10:55 AM
help modifying this script to validate 2 email input fields Cheska ActionScript 1.0 (and below) 0 05-10-2007 04:48 PM
Input boxes - then printing a frame with dynamic boxes with the input text in them... yinyang042 ActionScript 1.0 (and below) 1 11-03-2005 08:48 PM
setTextFormat input button (it's not about setNewTextFormat) geecu ActionScript 2.0 3 02-28-2005 01:44 AM
Bar Code Readers, PDQs and Flash and ColdFusion niklas ActionScript 1.0 (and below) 5 04-09-2003 05:32 PM


All times are GMT. The time now is 04:32 AM.

///
Follow actionscriptorg on Twitter

 


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