all groups > flash actionscript > march 2006 >
You're in the

flash actionscript

group:

URGENT ATTENTION!


Re: URGENT ATTENTION! David Stiller
3/17/2006 8:31:23 PM
flash actionscript:
[quoted text, click to view]

Heh, if you just look around, you'll learn plenty, even without the
worthy advice given by Rothrock. How many other posts to you see with the
word "urgent" in them? How many posts do you see in all caps? What you've
done is a bit like running into a meeting room -- actually, into sevearl
meeting rooms -- shouting, "HEY, HEY!!! OVER HERE!!!" when no one else is
doing such a thing. ;)

Catch your breath. We're all going to be here for a while. Go over
Rothrock's notes and have fun here.


David
stiller (at) quip (dot) net
"Luck is the residue of good design."

URGENT ATTENTION! L_ogistics
3/17/2006 9:06:19 PM
vist this site

http://www.fantastic4dvd.com/main.html

or

http://www.fantastic4dvd.com/

How would a junior designer like myself go about greating this illusion of
spinning rotating

Any suggetions!

Re: URGENT ATTENTION! Wolf van Ween
3/17/2006 9:18:31 PM
L_ogistics. I work in advertising. That's why your "URGENT ATTENTION!" got me.
But only once. I won't look at another of your messages. I consider this spam.
Probably you're not aware of it, but there are people that really have a
deadline to deliver work and something doesn't work and they need our help.
These are the situations where the word "urgent" is appropriate.

Now to your question. I can't see what's so marvellous about this rotation.
These are movieclips that change in location, size and depth. You can do it,
too. If you're a designer, you must understand perspective. 3D illusion. Apply
it in motion (through actionscript) and you're there.

Good luck
Wolf
Re: URGENT ATTENTION! L_ogistics
3/17/2006 11:47:35 PM
Sorry for giving you the impression i haven't got a deadline. Thanks for the
advice though i'll look into it. I'm new to using forums so I dont know the
correct etiquette but from the response im getting im painfully learning
thanx
Re: URGENT ATTENTION! Rothrock
3/18/2006 12:45:01 AM
The etiquette is remember that everybody here is a volunteer and gives of their
time freely. So don't try and suck more than your fair share of it up.

Read the built-in Flash help files.

Search the forums for the answer first.

When posting, post what it is really about. Include the types of keywords that
people who might have the answers would look for.

Remember that pretty much everybody's question is important to them. Nobody's
is more important than anybody else's.

If nobody answers right away don't just do a generic bump or some
whining/berating post. Keep working on your problem and update us with what
kind of progress you have made. In general we prefer to help those who are
willing to help themselves.

All that being said. I didn't have the patience to wait for those pages to
download. But search the forums for the words "ferris wheel" and "carousel". I
think those might help. kglad has posted some code that might be the effect you
are talking about.

Re: URGENT ATTENTION! L_ogistics
3/18/2006 3:33:04 AM
Thanks folks, specialy Rothrock. Kglad knows his stuff. I'm still going through
code when i make a break through i'll post a holla. also if any 1 has made a
example of this ferris wheel an example would be most appreciated
Re: URGENT ATTENTION! kglad
3/18/2006 8:17:52 PM
Re: Ferris wheel action any idea about how to create L_ogistics
3/18/2006 8:26:20 PM
Re: Ferris wheel action any idea about how to create kglad
3/18/2006 11:09:55 PM
Re: Ferris wheel action any idea about how to create theartist
3/19/2006 12:00:00 AM
[quoted text, click to view]
I'd be interested to know, too.
Re: Ferris wheel action any idea about how to create L_ogistics
3/19/2006 1:16:07 PM
Yeah found the code im trying to get round another problem with loading swf
files first. I'm hoping to use the as soundtracks to be loaded into a media
player.
If you have time check out my other posting.
But the ferris wheel code seems difficult but not imposible just have to
analyse it

Cheers
Re: Ferris wheel action any idea about how to create Rothrock
3/19/2006 2:50:59 PM
Can someone explain to me why so many people want to load sound files into
media players? The MM media player ads so much size to your swf and for what,
playing a sound? Maybe there is something I'm missing here.

The actionscript for loading and controlling a sound is pretty easy. I really
recommend learning it.
Re: Ferris wheel action any idea about how to create kglad
3/19/2006 3:55:19 PM
i believe many people are under the impression that components, in general, do
something (or many things) better than can be done without components. because
components appear professional they feel the component is professionally coded.
Re: Ferris wheel action any idea about how to create theartist
3/20/2006 7:37:32 PM
[quoted text, click to view]

Well, I'm having a problem learning how to get .jpgs to scale correctly
after loading them, and I am reading on components to go about making
something to allow me to handle incorporating images.

I'm just learning too, and please, feel free to sideline and correct me
on this; but arent' components written to extend the capabilities of an
object at a future date; through _prototype_'s?

maybe that's what L_ogistics is planning to do later?

Re: Ferris wheel action any idea about how to create SGSpirit
3/27/2006 1:36:58 PM
Hi

Re: Ferris wheel action any idea about how to create kglad
3/27/2006 3:02:31 PM
Re: Ferris wheel action any idea about how to create SGSpirit
3/27/2006 3:10:00 PM
hi kglad

Thanks for your code, yes I have found the code and it work perfectly but
there is one question, when I change the min width in minA array, and add a pic
to the tf movie, the pic and text alignment is on the left, is there any way to
make them centre alignment.

I have play around with the xPos and change it value accordingly, it make an
elipse rotation instead. though it nice but I am working on it to see if I am
able to use function to make it more manageable and controlable. :)

Thanks again.

Re: Ferris wheel action any idea about how to create SGSpirit
3/27/2006 3:26:13 PM
Hi kglad

Thanks again I have manage to solve the problem.

Below are the code, hope it benefit anyone who is working on sometime similar
to this.

a = 0;
speedMax = .2;
speedInit = 0.02;
speed = speedInit;
centre = 200;
radius = 100;
xPos = 100;
//maxA=
//minA=
propertyA = ;
maxA = ;// ;
minA = ;// ;
textA = ;
field._width = maxA;
field._height = 2*(radius+maxA);
field._x = xPos;//+(field._width/2);
field._y = ((centre+radius)/2);
tfor = new TextFormat();
initializeF();
function initializeF() {
for (var i = 0; i<textA.length; i++) {
rclip = _root.attachMovie("tfmc", "text"+i, _root.getNextHighestDepth());
rclip.tf.text = textA;
rclip.angle = i*2*Math.PI/textA.length;
rclip._x = (xPos+maxA/2);
}
}
tfor = new TextFormat();
function colorF(mc, a) {
if (mc.colorFade) {
alphaConvert = (a-minA)*255/(100-minA);
m = Math.floor(alphaConvert/16);
n = alphaConvert%16;
tfor.color = "0x"+m.toString(16)+n.toString(16)+"0000";
mc.tf.setTextFormat(tfor);
}
}
spinI = setInterval(spinF, 70);
function spinF() {
for (var i = 0; i<textA.length; i++) {
rclip = _root;
rclip.angle += speed;
rclip._y = centre+radius*Math.sin(rclip.angle);
trace(rclip+ " "+rclip._width+" "+rclip._x);
d = radius-radius*Math.cos(rclip.angle);
for (var j = 0; j<propertyA.length; j++) {
rclip] = (minA-maxA)*d/(2*radius)+maxA;
rclip._x = ((110.4-rclip._width)/2)+xPos;
}
rclip.colorFade = 1;
colorF(rclip, rclip._alpha);
}
updateAfterEvent();
}
_root.onMouseMove = function() {
// checks wether the mouse is in the black area
if (_root.field.hitTest(_root._xmouse, _root._ymouse, true)) {
//changes the speed of the text controlled by the mouse
speed = -1*speedMax*(_root._ymouse-centre)/radius;
if (Math.abs(speed)<.01) {
speed = 0;
}
} else {
if (Math.abs(speed)<.01) {
speed = speedInit;
}
}
};
Re: Ferris wheel action any idea about how to create kglad
3/27/2006 3:31:48 PM
lol, why that code looks surprisingly familiar.

if you're going to use someone's code, you shouldn't imply you've done it
yourself. especially when you're replying to the person that created the code.
AddThis Social Bookmark Button