flash actionscript:
[quoted text, click to view] >> I'm new to using forums so I dont know the correct etiquette
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."
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
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
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.
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
[quoted text, click to view] kglad wrote: > ok. (did you find the code?)
I'd be interested to know, too.
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
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.
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.
[quoted text, click to view] kglad wrote: > 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. >
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?
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.
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; } } };
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.
Don't see what you're looking for? Try a search.
|