[Flashcoders] HTML r not working
HTML tags are not supported when the font of Text field is embedded. Wat may be the prob.. -Pandian ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] need 3D concept beginner guide
hi i want to create basic 3D objects ... Pls give some article upon it -Thanx Pandian ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Superscripting
I am having an input text field...whenever entering values into it all numbers that are typed into it should be superscripted .. :-( Is there any way...? [i should use only the arial font.] -thanx Pandian ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How to solve SSS triangle?
Thank u... :-P ryanm wrote: I am having 3 movie Clips named point1_mc, point2_mc, point3_mc in the stage. They are arranged in such a way to form a triangle... Now how can i get those 3 angles and sides formed by these points.? With a high school geometry textbook? ;-) Law of cosines: c^2 = a^2 + b^2 - 2ab*Cos(q) Where a, b, and c are the sides, and q is the angle opposite c ryanm ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Hi Thanks and Regards, Peria Pandi. J Flash Programmer, +91 9886742392 Excel-Soft Technologies Pvt Ltd, 1-B,Hotagalli Industrial Area, Mysore - 570018 Karnataka. Love your Job. But dont fall in love with your Company ! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How to solve SSS triangle?-Solution
Thank u Danny Kodicek... and i am presenting the solution to solve SSS triangle... /SOLVE TRIANGLE /// ///pass the instance names of there movieclips on the stage //this function returns a Solution Object //Solution object has: //a-side1 //b-side2 //c-side3 //A-angle1 //B-angle2 //C-angle3 function solveTriangle(a_mc, b_mc, c_mc) { a = distance(b_mc, c_mc); b = distance(c_mc, a_mc); c = distance(a_mc, b_mc); //find Angle A var A = (Math.pow(b, 2)+Math.pow(c, 2)-Math.pow(a, 2))/(2*b*c); A = Degree(Math.acos(A)); //trace(A); /find Angle B var B = (Math.pow(a, 2)+Math.pow(c, 2)-Math.pow(b, 2))/(2*a*c); B = Degree(Math.acos(B)); //trace(B); var C = 180-(A+B); //trace(C); A = Math.round(A); B = Math.round(B); C = Math.round(C); var solution = {a:a, b:b, c:c, A:A, B:B, C:C}; return solution; } function distance(p1, p2) { //returns pixels var dx = p2._x-p1._x; var dy = p2._y-p1._y; var dis = Math.pow(dx, 2)+Math.pow(dy, 2); var dis = Math.sqrt(dis); return dis; } function Degree(rad) { return (180/Math.PI)*rad; } function Radian(deg) { return (Math.PI/180)*deg; } end// enjoy -Pandian Danny Kodicek wrote: I am having 3 movie Clips named point1_mc, point2_mc, point3_mc in the stage. They are arranged in such a way to form a triangle... Now how can i get those 3 angles and sides formed by these points.? Sides are given by the lengths of the vectors between the points (eg: x = point1_mc._x - point2_mc._x, y = point1_mc._y - point2_mc._y, so side length =sqrt(x*x + y*y) ) Once you have these sides, you can use the cosine rule to find the angles: If you know the three sides a,b,c, the angle A between the sides b and c is given by a*a = b*b + c*c - 2*b*c*cosA. To get acos(A), you need to use atan(A): acos(A)=atan(A/sqrt(1 - A*A)) Best Danny ___ 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
[Flashcoders] How to solve SSS triangle?
I am having 3 movie Clips named point1_mc, point2_mc, point3_mc in the stage. They are arranged in such a way to form a triangle... Now how can i get those 3 angles and sides formed by these points.? Thank u -Pandian ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] how to draw Circle?
Thank you karthik.. :-) Karthik wrote: http://www.macromedia.com/devnet/flash/articles/adv_draw_methods.html -K On 19/11/05, Pandian <[EMAIL PROTECTED]> wrote: how to draw circles in Flash using Action Script ? ___ 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
[Flashcoders] how to draw Circle?
-- how to draw circles in Flash using Action Script ? Thanks and Regards, Peria Pandi. J Flash Programmer, +91 9886742392 Excel-Soft Technologies Pvt Ltd, 1-B,Hotagalli Industrial Area, Mysore - 570018 Karnataka. Love your Job. But dont fall in love with your Company ! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders