RE: [Flashcoders] Any ideas / thoughts on this?

2009-04-09 Thread Cor
I am just in the midlle of doing some tweening in FlashDevelop

Its far from ready and only the CMajor is filled.

www.badmintonclubnetwerk.nl/_Cor/music

Every button(guitarfret) is tweening in from a location.
I used TweenMax for this which is a nice piece of work from Grant Skinner.

I did my buttons separately and with a little math they tween in position.

If you don't want the other page to be seen, I suggest using a mask on the
area where the page should show.

HTH
Cor

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Dav
Sent: donderdag 9 april 2009 14:05
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Any ideas / thoughts on this?

I'm trying to create a flash website where 6 pages are placed on the stage
with different rotations. The active page fills the viewport and a menu sits
just below the active page.

Now when you click on the menu for say page 2, the viewport will appear to
move and rotate to the correct angle to display page 2.

I have worked up a site to better explain what I mean.

http://79.170.40.163/flashdev.com/

For the sake of keeping things simple each of the three buttons just move
you to the next page.

I believe the best way to achieve the effect is to put each "page" into a
"group" movieclip, that will hold all 6 pages.

Then when a menu item is clicked, just rotate the "group" movieclip and move
it to a pre-defined x and y.

I'm hoping to code it in FlashDevelop, so it will be dynamic and not static
content.

Does anyone think there is a better way to achieve the end result?

Thanks in advance,
Dav

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.285 / Virus Database: 270.11.48/2048 - Release Date: 04/08/09
19:02:00

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Any ideas / thoughts on this?

2009-04-09 Thread Glen Pike
Putting all the clips in your group will probably make your rotation 
calc's so much easier as you only have to spin one clip.


You could store the position & rotation of each child clip when you add 
it, then when you need to rotate, you can work out your "current" 
rotation / position, then offset the position and rotation of your child 
clip vs your parent and tween...   Not sure off the top of my head, but 
you know where you are placing pages so that's probably your starting 
point - it does not matter hugely if you hardcode positions - if the 
number of pages does not change, you could be at an advantage keeping it 
simple :)


Dav wrote:

I'm trying to create a flash website where 6 pages are placed on the stage
with different rotations. The active page fills the viewport and a menu sits
just below the active page.

Now when you click on the menu for say page 2, the viewport will appear to
move and rotate to the correct angle to display page 2.

I have worked up a site to better explain what I mean.

http://79.170.40.163/flashdev.com/

For the sake of keeping things simple each of the three buttons just move
you to the next page.

I believe the best way to achieve the effect is to put each "page" into a
"group" movieclip, that will hold all 6 pages.

Then when a menu item is clicked, just rotate the "group" movieclip and move
it to a pre-defined x and y.

I'm hoping to code it in FlashDevelop, so it will be dynamic and not static
content.

Does anyone think there is a better way to achieve the end result?

Thanks in advance,
Dav

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders