Spiral Code
I snipped this code from an earlier post. Everything works fine but when I try to publish it in Flash 8. Nothing.
Any Clue?
Code:
Movieclip.prototype.initSpiral=function(){ this.mult=1; } Movieclip.prototype.spiral=function(speed,amp,centreX,centreY){ i<360?(i++):(i=0); if(j>360 || j<-360){this.mult=this.mult*-3} j+=this.mult; _x = Math.sin(i*speed*Math.PI/180)*j+centreX; _y = Math.cos(i*speed*Math.PI/180)*j+centreY;
}
ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 04-13-2006, 10:11 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
[MX04] Comparing Array Data -spiral Loop Of Code
Hi Guys and Girls,
Say I have an array [loadlist] with 7 empty entries in it. I am trying to generate a random sequence of numbers 0-7 and entering it, but no doubling up on any of the numbers.
Code:
for(k=0;k<7;k++){
//generate random number
randomnumber=Math.round(Math.random()*7)
//check aganst existing entries in loadlist array
for (i=0;i<7;i++){
//if match found
if(loadlist[i]==randomnumber){
...and this is where I can't comprehend what's next. What's the code for repeating all of the above again (as many times as it takes!) until it finds the correct number?
Code:
}
}
}
If I have gone about this in the first place, which I am starting to suspect, can someone please point me in the right direction? Also if this question belongs on the newbies page please let me know.
Thanks,
Spiral Help
i would like to make a spiral starting from a dot and i just want to have one line that becomes a spiral how do i do that plz help
Spiral Help
i would like to make a spiral starting with a dot and it has to be one line that makes the roundings to a spiral plz help
Help With Spiral
Here is the code.
If anyone can help me get it to spiral that would be great.
Also any tutorials you can point me to that explains whats happening in this code would be great also.
One other problem when trying to publish this code to Flash 8. It would slow down and give me an error.
?????
Code:
MovieClip.prototype.ball3d = function (localX, localY) {
ballX = (localX * Math.PI) / 180;
ballY = (localY * Math.PI) / 180;
tempZ = (z * Math.cos (ballY)) - (x * Math.sin (ballY));
Xpos = (z * Math.sin (ballY)) + (x * Math.cos (ballY));
Zpos = (y * Math.sin (ballX))-75 + (tempZ * Math.cos (ballX));
Ypos = (y * Math.cos (ballX)) - (tempZ * Math.sin (ballX));
_x = 4 * Xpos;
_y = 4 * Ypos;
_xscale = (_yscale = Zpos + 150);
swapDepths (Zpos * 50);
};
MovieClip.prototype.spiral = function () {
if (tester && signal) {
i = 0;
while (nextBall >= i) {
spin ();
this["ball" + i].ball3d (tilt, _root.ballY);
i++;
}
}
};
MovieClip.prototype.orbit = function (radius, gesamt) {
x = new Array (0, 0);
y = new Array (0, 0);
z = new Array (0, 0);
angle = (radians = ((360 / gesamt) * Math.PI) / 180);
i = 1;
while (gesamt >= i) {
x[i] = Math.round (radius * Math.cos (angle));
z[i] = Math.round (radius * Math.sin (angle));
y[i] = 0;
angle = angle - radians;
i++;
}
};
MovieClip.prototype.initSpin = function () {
nextBall = ballName.length - 1;
orbit (40, nextBall);
i = 0;
while (nextBall >= i) {
if (i != 0) {
attachMovie ("ball", "ball" + i, i);
}
this["ball" + i].x = x[i];
this["ball" + i].y = y[i];
this["ball" + i].z = z[i];
i++;
}
tester = 4;
};
MovieClip.prototype.spin = function () {
_root.ballY = _root.ballY - (speed);
};
3D Nav Spiral 2
:: Navigation & Interface ::
13 {3d spiral menu 02}
Hello again Ultra Shock.....
I want to use the 3D spiral 2 navigational system but i cannot figure out how to use it.....there is some type of a smart clip and somehow the movie clip is a component.... but then when i try to remake the sytem it doesnt work so i cant get into it and i cannot get it to work please help idk what to do it would be much appreciated.
Thanks In Advance
D.Rob
Help On Spiral Menu
Hi
Can i have some help with the attached menu, i have been told by the designer i can use it and edit it but he cannot offer any support.
Do i need to be an expert to modify it into a working menu like reduce the number of spheres colours and text on the balls. Also hoe do i attach links to it anybody feeling helpful or can point me in the right direction for a tutorial.
Cheers Dale
Help With 3D Spiral Menu
Hey all,
Ive just stumbelled upon a fla i found ages ago!
And ive found the perfect use for it,
my problem is, i cant customise it...
The menu is generating multiple buttons off 1 single button.
and i cant work out how, i can change the name, and make a seperate link for each button!
Can anyone take a look at the fla and modify it?
Its worth the download anyway!
ITs an awsome 3D perspective spiral menu!
Id be extremely great full for any help!
Thanks,
Aden
3D Spiral Menu Help
Hey all,
Ive just stumbelled upon a fla i found ages ago!
And ive found the perfect use for it,
my problem is, i cant customise it...
The menu is generating multiple buttons off 1 single button.
and i cant work out how, i can change the name, and make a seperate link for each button!
Can anyone take a look at the fla and modify it?
Its worth the download anyway!
ITs an awsome 3D perspective spiral menu!
Id be extremely great full for any help!
Thanks,
Aden
Spiral Animation
I posted yesterday under a heading of vortex animation but I got no replies..
I'm trying to animate a movie clip on a path. I want the path to be generated by script (spiral) and have the movie clip also change size and colour as it proceeds along the path (also by script if possible).
Imagine water going down a plughuole
I've looked in the tutorials section and the movies and I can't find anything similar... can anyone..point me to any tutorials? or have some tips on where to start?
Hypnotic Spiral
i'm trying to create a hypnotic spiral in flash that behaves the way you can see in this example...
http://incubator.quasimondo.com/processing/hypnosis.php
unfortunately this one's in java...
i'm wondering if something similar can be done in flash
thanx in advance
Drawing A Spiral
i have a grid of movie clips and i can turn each one off or on by using its x, y location
im trying to make a spiral pattern on them buy using a spiral formula and seeing if the lamps x and y position is within the formula x and y and then lights it up
i have got this working but not really using a spiral formula but having a Ang variable and a Radius variable
first i have an outer loop with Ang variable goin from 0 - 360 within this loop i have Radius goin up as well. i also have a loop grabbing each x and y location of my movie clip lamps and then checkin then against x and y of a formula that is given my centre x and y and my radius and my angle and this tells me were the x and y should be for the spiral
so i check my movie clip x and y with the formula's x and y and i am able to draw the sprial in lamps
my problem is having this outer loop doing 360 and a inner loop then doin 120ish the program is running sooooo slow im getting like a frame a sec and i need at least 30
is there any other way of doin thing i was thinking alone the lines of
having 1 loop goin though all my movie clips returning me there x and y locations, then check some sort of spiral formula to see if they r within my spiral
but aint got a clue how u write a spiral formula that would give you this infomation
any ideas
thx
Spiral Movement
hi there,
i am urgently looking for a way to make a mc move in a spiral pattern
it should start at the center, and then just turn around this center in a spiraling motion to a certain coordinate.
my math really sucks on this one..
any ideas ?
thanks
Golden Spiral
I want to write a script that will trace a golden spiral for at leasts 360 degrees. I'm having a hard time thinking about the math, i think art school erased that part of my brain. For people that don't know, the spiral is based on the golden rectangle.
http://en.wikipedia.org/wiki/Golden_ratio
Visually, you can fake the spiral by using connected quarter circles, but I wouldn't know what to write to get the quarter circles to line up with each other. A true spiral is a logarithmic function, and i figured it would be possible (and maybe simple) to write a script for it because flash like radians so much.
I know that this is a big question, but I'm having a hard time wrapping my head around this one, and i don't really know how to write a Math function. I would appreciate any help to get the ball rolling on this one.
Related to this, James Mellers made a pretty cool application in a flash projector. It's a really simple, elegant phi calculator:
http://www.thismanslife.co.uk/main.asp?contentid=phiculator
Logarithmic Spiral
Hi, my name is Eric and I was wondering if you might have any foresight into a mathematical flash actionscript problem that I am looking for a solution to. Basically, I have creating a logarithmic spiral using actionscript. While it works, I would like to adapt it to use the curveTo function and not the lineTo function, as I think that would be less CPU intensive, faster, and just the smarter / simpler way of doing it. My code is as follows if you would like to take a look at it. Thanks in advance
ActionScript Code:
this.createEmptyMovieClip("spiral_mc",0);
spiral_mc._x = Stage.width /2;
spiral_mc._y = Stage.height /2;
spiral_mc.DrawSpiral = DrawSpiral;
spiral_mc.DrawSpiral();
function DrawSpiral() {
var points:Array = new Array();
var b:Number = DegToRad(80);
var a:Number = 1;
for (var i:Number=0; i<=500; i++) {
var t:Number = a * Math.PI/4;
var r:Number = Math.exp(t * cot(b));
points[i] = new Object();
points[i].r = r;
points[i].x = r * Math.cos(t);
points[i].y = r * Math.sin(t);
a+=0.2;
}
with (this) {
lineStyle(.25,0xff0000);
moveTo(points[0].x, points[0].y);
for (i=1; i<=500; i++) {
lineTo(points[i].x, points[i].y);
}
}
}
function DegToRad(deg:Number) {
return deg * Math.PI/180;
}
function cot(t:Number) {
return 1 / Math.tan(t);
}
Reverse Spiral?
so, this draws the spiral: and stops @ specified point. how
would u make the spiral undraw itself once it reaches the point?
PHP Code:
_root.createEmptyMovieClip("mc",1);
mc.lineStyle(1,0xffffff,75);
r=0;
count=0;
mc.moveTo(300,200);
_root.onEnterFrame=function(){
count+=10;
xp=(Math.sin((Math.PI/180)*-count)*r)+300;
yp=(Math.cos((Math.PI/180)*-count)*r)+200;
mc.lineTo(xp,yp);
r+=0.1;
if(yp>=400){
_root.onEnterFrame=null;
}
}
thnx !!~~
Spiral Text
not sure is it the right place to post ?
PHP Code:
var my_fmt:TextFormat = new TextFormat();
//YOU NEED a FONT SYMBOL WHIT LINKAGE NAME "Font 1" IN THE LIBRARY
my_fmt.font = "Font 1";
T = "Hallo This is a Spiral Text and Even Colored :)";
Text = [];
q = 0;
ToCount = 0;
for (a=0; a<T.length; a++) {
txt = {step:0, alpha:0, color:0, color2:0, text:T.substr(a, 1)};
Text[a] = txt;
}
function spiral() {
q++;
if (q>10) {
q = 0;
if (ToCount<Text.length-1) {
ToCount++;
}
}
for (count=0; count<ToCount+1; count++) {
txtName = "L"+count;
if (Text[count].step<1000) {
if (Text[count].alpha<100) {
Text[count].alpha++;
}
if (Text[count].step>900) {
Text[count].alpha -= 2;
}
Text[count].step++;
x = 250+(200-Text[count].step/10)*Math.sin((100+Text[count].step)/180*Math.PI);
y = 250+(200-Text[count].step/10)*Math.cos((100+Text[count].step)/180*Math.PI);
if (!eval(txtName)) {
_root.createTextField(txtName, count, x, y, 10, 10);
}
Text[count].color++;
if (Text[count].color>255) {
Text[count].color = 0;
Text[count].color2 += 10000;
}
eval(txtName).wordWrap = true;
eval(txtName).embedFonts = true;
eval(txtName).text = Text[count].text;
eval(txtName).setTextFormat(my_fmt);
eval(txtName)._x = x;
eval(txtName)._y = y;
eval(txtName).textColor = Text[count].color2+Text[count].color;
eval(txtName)._alpha = Text[count].alpha;
eval(txtName)._rotation = 80-Text[count].step;
} else {
Text[count].step = 0;
Text[count].alpha = 0;
}
}
}
setInterval(spiral, 1);
Spiral Flowers
I am looking to draw some simple flower stem shapes (not the actual flower heads) in actionscript. I have been experimenting with various different methods of spirals and drawing lines but I am having difficulty putting it all together. Any help would be much appreciated.
The main difficulty I am having is that I want the flower stems to draw over a set amount of time (i.e dependent on a variable for time.) and develop new "branches" as if they were growing. I also want the number of branches, length, thickness, curvyness etc to be controlled by variables which will allow me to replicate but vary the stems.
I have included a jpeg of a couple of examples of what I am after.
Again any help or direction on this would be greatly appreciated. I am a graphic designer and not a great actionscripter!!!
Spiral Menu
Hi everyone,
Could any possible help me, I'm currently trying to build my own website and have designed it to have this menu.
http://www.swishzone.com/index.php?a...d&link_id=2320.
Does anyone know the coding for it or know where i could find it as I completely stuck. Thanks in advance for any help.
Matt
Spiral Movement
hi there,
i need to make a menu which consists of items, that are supposed to fold out in a spiral motion around a specific point.
I found some very useful code here on the site: http://www.kirupa.com/forum/showthread.php?t=243118.
to get a better understanding for myself i simplified the code like this:
Code:
center = new flash.geom.Point(Stage.width / 2, Stage.height / 2);
this.createEmptyMovieClip("dot",10)
dot.lineStyle(1,0,100)
dot.lineTo(0,1)
dot._xscale=dot._yscale=300
//
function onMouseDown() {
curr_point.x = _xmouse;
curr_point.y = _ymouse;
this.lineStyle(0,0,20);
this.moveTo(curr_point.x,curr_point.y);
}
function onEnterFrame() {
curr_point = curr_point.subtract(center);
var v3 = Math.min(curr_point.length, 200) / 400;
curr_point.x *= .95
curr_point.y *= .95;
//
var m = new flash.geom.Matrix();
m.rotate((1 - v3 * v3) / 5);
curr_point = m.transformPoint(curr_point);
curr_point = curr_point.add(center);
this.lineTo(curr_point.x,curr_point.y);
dot._x = curr_point.x;
dot._y = curr_point.y;
}
Now to make this work for my task i would have to reverse the animation, so that the dot
spirals out from the center to the destination point.
Can someone help me analyze and modify the code accordingly?
I never worked with flash.geom.Matrix and flash.geom.point before and i am kinda stumped.
thanks!
Moving In A Spiral...
How would you make an instance move in a spiral?
I tried using the motion guide thing, but there are some problems with that.
1) The spirals aren't actual spirals... (drawin good ones are hard..)
2) Whenever it gets to a certain point of the guide, it'll run off the guide and go straight towards the end of the guide.
[AS3] Spiral Carousel XML
Spiral carousel effect for thumbnail gallery which is powered by Papervision3D. This flash file is based on Lee Brimelow’s example.
When you edit the objects on stage, make sure you also change the last value 7 at line no. 93 and 109 because I didn't use any custom event handler for mouse events.
var s_no:Number = parseInt(sp.name.slice(8,10)) - 7;
If you have a better idea on it, please let me know.
UPDATE: I have updated it by giving instance names. So just ignore the red text.
UPDATE 2: Here are more 3D Thumbnail Galleries. You can download FULL source files.
3D Cylinder Box
3D Thumbnail Box - rectangular shape
As3 Spiral Effect
I was wondering if there was anyway to create a spiral effect in AS3? Possibly using cos and sin? It would be similiar to those xml carousels, but it would be more of a spiral....like a fibonacci sequence. If anyone could point me in the direction of an equation to help me do this It would be greatly appreciated.
thank you very much
3d Spiral Menu 2
Last edited by wezwest : 2004-09-10 at 02:15.
Hi, could someone please help me with editing the 3d spiral menu (2) flash navigation/menu file, which is available from this site. I am not a wizz with ActionScript and can't for the life of me understand how to change the titles of the menu items. It appears the script is duplicating one menu item. Can anybody help?
There must be somebody who can do this. Over 42,000 people have downloaded it!!!
How To Create A Dna Spiral?
Guys,
I' d like to ask some help. How can I create a dna spiral in flash mx?
A simple dna spiral, which is spinning around. (apart from the mouse position)
Thank you
Blaise
Spiral Effect
I am trying to create a hypnotic spiral effect in flash that will run continuously... has anyone ever done this before?
3d Spiral Menu #2
I downloaded the file and had questions regarding its ability to be reeled in as a functional nav system. I'm pretty novice here when it comes to actionscripting/etc, but what I'd ideally love to do with this is have a sized window pop up, going to a different location for each circle. Is that possible?
3d Spiral Menu 2
hello,
can anyone tell me or give me the code of how to change each individual text for each button in the 3d spiralmenu 2. I am sorta new at this but i have figured out how to make each buttton link, now i just have to figure out how to change the text for each link...when i try to change one they all change. Im sure i have to add a code for each one but im confused about where todo it nd how..any help would be greatly appreciated.
3d Spiral Menu 01
Does anyone know how to change the text? I was able to change it to something else but all of the rest of them say the same thing...
Spiral Menu
howdy dudey ppl.
and along comes another noob woohooo!
well here is mi big Q -: Ive took the spiral menu 2 yeah edited it a lil well the culas and now im wondering how do i edit the text.
i want each circle to have a diffrent text caption not just option.
possible? If so please help.
Thanks
Desire.
3d Spiral Menu 2 Help
hello everyone, this is my first thread so bear with me.
i was having some problems editing one of the source fla's found on this site; 3d Spiral Menu 2.
when i change the text where it says, option, it changes all of the navigation. and i think i have an idea why. i think its because when you make a copy of a movie clip, it will duplicate everything in it?
duplicateMovieClip("Vertex", "Vertex" add count, count );
my problem is, i want to have different text on each different "circle". for example.. first one could be Home, second one could be Links, etc... I'm not sure where or what i edit to do this.. could someone please help me? Do you have to take out the duplicateMovieClip ? or do you simply add something else?
Thanks!!
Spiral Array
Hello,
I am looking for some help on creating an array populated with a library mc. Instead of the basic linear and grid menus, I would like the layout to be a spiral.
This will be similar to the finished product:
I have seen the threads on the 3D Spiral Menu but can't seem to find the source code.
If anyone has a tutorial I should look at or advice please respond as this kind of math is beyond me at this point
Spiral Menu
Hi i donwloaded the spiral menu at FLA SOURCE section.
But i can´t set up the ittems names, any help?
Help Me Please With Spiral Menue
I'am from Belarus Ind my English can be funny, byt i need YOU help!
Please, help me with spiral menu (fla source file -> navigation).
How can i add my text on each button? I cant understand how it works...
Please, Help me!
Spiral Nav Doesn't Work So Hot Help
I designed an interface/nav from a great spiral/helix file that I got from FK movies. trouble is that while it works like a champ in the player it sucks ie: slow and jerky in the IE 5 browser on my Mac...it actually slows up everything in the browser ie: back button, close window and quit. Netscape seems to work ok but a little slower than it should be. I haven't checked any other platforms yet. Can anybody help me out with this?
go to: http://www.ismism.net/portfolio.html
(it's just the spiral navigator that is in question)
I can get the .fla (458 k) to anyone willing to have a look at the code...if that's what's causing it
THX
Spiral Motion Trigonometry?
I want to make an object "ball" move from whereever it's at to new variable X and Y posistions. Furthermore I want it move along a spiral path.
I guess these would be the variables involved:newX (new X position)
newY (new Y position)
counter (how many steps)
curveFactor (how curved should the motion be)
Can anybody help me out with some code?
podenphant
Customising 3D Spiral Menu
Hey all,
Ive just stumbelled upon a fla i found ages ago!
And ive found the perfect use for it,
my problem is, i cant customise it...
The menu is generating multiple buttons off 1 single button.
and i cant work out how, i can change the name, and make a seperate link for each button!
Can anyone take a look at the fla and modify it?
Its worth the download anyway!
ITs an awsome 3D perspective spiral menu!
Id be extremely great full for any help!
Thanks,
Aden
Spiral Effect In Flash
Hey all,
I have this spiral to re-create in Flash, and it has to rotate on itself. Not a plain rotation but an "hypnotic" one, as if it is being sucked in on itself, it shouldn't go bigger, but rather go inwards.
I have looked all over for actionscript to re-create the effect but i cannot find any. Is there a way to do it? I have the spiral in vector, but i don't see a way of doing that effect with animation methods.
Here is the spiral: http://www.makeshift.ca/temp/spiral.jpg
And the .fla http://www.makeshift.ca/temp/spiral2.fla
Thanks for the help!
Spiral Pattern With DuplicateMovieClips
I'm practicing working with rotation and patterns in flash, im working on createing a simple spiral pattern, using duplicateMovieClips. I was hoping to achieve clips starting at the center and getting progressively bigger.
At the moment i have the starting at the center and scale thing down but i cant seem to create a spiral pattern. The best i have achieved is a circle, can someone point me in the right direction.
setProperty('newclip' + i, _x, 200);
setProperty('newclip' + i, _y, 550);
setProperty('newclip' + i, _rotation, 360/30*i);
Is this approach overly simplistic for what im trying to achieve?
[MX] Help Creating Spiral Animation
This will be hard to explain, but I'll try. I'm creating a spiral shape that begins very small in the middle (1px x 1px) and moves out, creating the spiral, from there. I have no problem creating the key frames to move my symbol *around* a spiral path, but am I able to fill in the animation from point A to B, so the first frame remains in place and "morphs" into the final spiral as it moves. Picture a brush painting the spiral, with the ink filling in as it goes, I guess. Any help at all?
Placing Objects Along Spiral
can anyone give me any idea on how to go about spreading items ( i.e. boxes ) out along a path such as below via Actionscript:
http://mathworld.wolfram.com/LogarithmicSpiral.html
So they are smaller and in tight toward the centre and as they move out along the spiral they grow larger and have more distance between them.
This seems very complicated and probably is so i'm not asking anyone to actually supply finished code on this, even just links to relevant info, snippets etc would be great .. obviously if it's something quite easy to do even better!
Thx in advance.
Calculate The Length Of A Spiral
I need to find an equation that gives me the length of a spiral from its point of origin to its center. Trigonometry is really not my forte, and searching through the internet has led me to find there's tons of different types of spirals as there are equations for them. The effect I'm looking for is the following:
A big circle starts moving towards the center of a spiral it stops once its edge touches its starting point (starting point of the circle towards the center of the spiral. After a small distance (5 px in the example below), another smaller circle continues towards the center of the spiral, it stops as soon as te edge of its circumference (its radius) equals the distance it has crossed.
I rougly managed to plot the desired effect
across a straight line on the x axis:
Code:
var i=1;
var endpoint = 550;
var animate_id;
sx = _root.m1._x = 0;//starting point
sy = _root.m1._y = Stage.height/2; //starting point
lr = _root.m1._width; // "last" radius is the diamater, could be any value higher than the radius
function moveMovieClip(){
// upgrade current x by 2 everytime function is called
cx = _root["m"+i]._x += 2;
_root["m"+i]._y = sy;
// radius of current
cr = _root["m"+i]._width/2;
xd = cx-sx; // current x minus last starting point
yd = sy-sy;
d = Math.sqrt(xd*xd+yd*yd); // distance between starting point and current point
// if the value of d is larger than the sum of last radius (lr) and current radius (cr)
// plus 5px(space in between)
if(d >=lr+cr+5)
{
// make current radius las radius
lr = cr;
// make new starting point the current point
sx = cx;
i++;
_root["m"+i]._x = sx;
_root["m"+i]._y = sy;
if(i>5){
clearInterval(animate_id);
}
}
updateAfterEvent();
}
animate_id= setInterval(this, "moveMovieClip", 20)
stop();
this is my spiral equation, i've been on this all day and I have to deliver tomorrow, my brain is not working its best...
Code:
_root.s0.angle = 0;
// initialize first movieClip (m0)
_root.m0.angleChange = 20;
//the radius of the circle
_root.m0.radius = 100;
// the point around which the satellite will orbit
_root.m0.centerX = Stage.width / 2;
_root.m0.centerY = Stage.height / 2;
_root.["m"+i].onEnterFrame = animateSpiral;
m_radius = _root.["m"+i]._width/2
length_of_spiral = ???;
function deg2rad(degree) {
return degree * (Math.PI / 180);
}
function animateSpiral() {
var radian = deg2rad(this.angle);
this._x = this.centerX + this.radius * Math.cos(radian);
this._y = this.centerY + this.radius * Math.sin(radian);
//add the angle change to the master angle for this clip with each
// iteration, so we know how to determine the next x,y point.
this.angle += this.angleChange;
//use modulus to determine the correct angle for any angle greater
// than 360-degrees.
this.angle %= 360;
}
Even if you don't know how to go about it, any advice on coding style is greatly appreciated, i still consider myself a young grasshopper.
Thanks for reading
3d Spiral Menu 2 En Español
hola amigos por favor pueden darme el enlace para bajar el menu spiral 2 donde pueda cambiar lo nombres facilmente, al navegar por la pagina encontre este enlace http://matt.pixelseven.com/menu.fla
pero cuando la descargo y trato de abrirla me dice que el formato no es el esperado.
por favor no se si pueden subir el .fla aqui o enviarmelo a l correo edografico@gmail.com
muchas gracias
HELP: The 3D Spiral Menu Tutorial
Hi,
My name is Ryan Male, from London. Just been employed by a web design agency to train in Flash. They have put me on to some of this websites tutorials for training purposes.
I'm doing the 3D spiral menu tutorial from Experimental Actionscript. The script seems to be using components, which I am not allowed to use. However, I notice functions are being called such as call(calc3D) and call(mouseTracker)...
My question is... where are these functions defined? I can't see them anywhere in the ActionScript. I would really appreciate any help anyone can offer.
with thanks in advance,
Ryan
3D Spiral Menu 2 Question
Hi, I was messing around with the 3D Spiral Menu 2 on UltraShock and I'v done alot of things but im not able to figure it out, How do you change the buttons so I can have like Home, Games, Login, Contact other wise I'm still learning the code and I'm stumped.
The menu is in the Flas Source Files in the menus section
Thanks
About 3D Spiral Menu 02 In This Site
Hello,
I have the 3D Spiral Menu 02 .fla file downloading from this site. I want to change each word from each button. How can I do?
Also I want to asign to each botton a sound when mouse cursor will be on and another sound when I press the button. The RollOver sound and OnPress sound is the same for all the buttons...
Thank you very much for your help friends!
About 3D Spiral Menu 02 From This Site
Hello,
I have the 3D Spiral Menu 02 .fla file downloading from this site. I want to change each word from each button. How can I do?
Also I want to asign to each botton a sound when mouse cursor will be on and another sound when I press the button. The RollOver sound and OnPress sound is the same for all the buttons...
Thank you very much for your help friends!
Question To The Spiral Menue
Hello Everybody!
First of all: my actionscript skills are ... basic.
Here is my question:
How can I change the button text (for each button a different text) in the spiral menu which is downloadable in the FLA's section!
Please help me!
THX :-)
Duplicate MC In A Circle Or Spiral
how can i duplicate MCs in the shape of a spiral or circle?
I've got some code that does waves but its old and doesn't work too well in mx2004. I've got something doing this;
http://www.jynk.net/test/part_1.8.swf
but i want to be able to control it more. ie. get 50 mcs to duplicate into the shape of a circle or spiral.
present code;
nodes = 70;
R = 300;
d = 10;
i = 1;
ActionScript Code:
function xmetr(x, y) {
return Math.sqrt(10)/5*(x-y)+250;
}
function ymetr(x, y, z) {
return x/5+y/5-z;
}
// end axonometrie
x = R*Math.cos(i/d);
y = R*Math.sin(i/d);
z = dz;
if (i<nodes) {
if (Math.round(i/120) != i/120) {
duplicateMovieClip("point0", "point"+i, i);
set("point" add i add ":i", i);
name = eval("point"+i);
name._x = xmetr(x, y);
k = i-2;
duplicateMovieClip("point0", "point"+k, k);
set("point" add k add ":i", k);
name = eval("point"+k);
name._x = xmetr(x, y);
i++;
} else {
dz -= 2;
R = Math.sqrt(Math.abs(z*z-R*R));
i++;
}
}
3d Spiral Menu Tutorial
hi there plese 3d spiral menu tutorial menu item (options) and links
please send to mail akgunk@ihlas.net.tr
|