Hi,
you should take into account the fact that the balls don't occupy one
tile only, since it is possible that it can occupy 2, 3 or even 4
tiles.
On 12/14/06, Paul Steven [EMAIL PROTECTED] wrote:
Dan, I was thinking using the tile solution would reduce the amount of
checks as instead of
Haven't used eltima, but I'd generally recommend ASV as being the best
decompiler going.
http://www.buraks.com/asv/
HTH,
Alias
On 12/12/06, Andy Herrman [EMAIL PROTECTED] wrote:
Hey all,
At work I've run into a situation where I need to decompile some SWFs.
A few weeks ago I had looked for
I asked about this a year or so ago but didn't have any luck; now it's
cropped up again. We've got a bunch of animations created in earlier
versions of Flash, and when we bring them into Flash 8 all the shape tweens
are messed up. They use shape hints extensively, and the hints seem to have
become
Hello
Please look at the following flash app in Firefox and
Internet Explorer:
http://dennislandi.com/tiledesigner/tile_designer05_x100.html
On my two machines when the cache is cleared, IE will
not load the scrollPanes correctly. Once I allow IE
to finish loading the thumbnails (although they
andy,
are you decompiling your own SWFs? also, what are you seeking from
decompiling the SWFs?
i ask for 2 reasons:
1) if you are decompiling other people's SWFs, they usually do not like it,
so stop.
2) not all SWFs come from FLAs anymore. if you do not know the provenance of
Hi list...
I have some dynamic text boxes using an embedded font. These text boxes
only use a select few glyphs, but I have to embed the font with linkage
for others to see it. The font adds a lot of bulk to the swf and I'm
wondering if there's a way to embed only the necessary glyphs and
Try:
Selecting box with text that has glyphs already in it.
Embed... Auto Fill
You should see your glyphs appear in the - Include these characters: field.
If you're setting text dynamically in the text field, simply paste the
characters you need into the - Include these characters: field.
I'm trying to figure the area of a triangle in Actionscript using the
perimeter values only, not the traditional simple formula:
area = (height/2)*base
because figuring the height is tricky given the triangle will be drawn
in odd ways (i.e. a not horizontally alinged base), so I am
To dodge your question, couldn't you just use the simple distance
forumula to determine the base even when it's not horizontal? I dont'
know much about your application or if you'll have the points where
the triangle's points lie, but that's just an idea.
Oh, but I just thought of something
I recind half of what I said after actually thinking about it, but
maybe it's a different perspective ;)
On 12/14/06, Jordan Snyder [EMAIL PROTECTED] wrote:
To dodge your question, couldn't you just use the simple distance
forumula to determine the base even when it's not horizontal? I dont'
I'm trying to figure the area of a triangle in Actionscript
using the perimeter values only, not the traditional simple formula:
area = (height/2)*base
Try: area = 1/2 * a * b * sin(C), where C is the angle between the two sides
a and b. You can calculate C using the cosine rule: c^2
To dodge your question, couldn't you just use the simple
distance forumula to determine the base even when it's not
horizontal?
yes, I could, but again, that's not what I'm after - I want to get the
area based on the length of the sides. Thanks though.
would that not
indicate a
ALL RIGHT
I'm a silly billy. I used your code and it works just fine. Maybe
the problem isn't in this function.
I'm using Flash 8/AS2.
Cheers
On 12/14/06, Jordan Snyder [EMAIL PROTECTED] wrote:
I recind half of what I said after actually thinking about it, but
maybe it's a different
Without looking up the source of that formula (i.e., just based on what
you wrote), I determine this: that in order for the result of
multiplication to be negative, one of the terms containing subtraction
must be negative. In order for that to occur, one side of your triangle
is longer than the
Hi Jason
If the number is coming out negative the most likely reason is that
the numbers you are supplying do not make a triangle. (e.g. two sides
are length 1 each and the third is 2 or more). I've tested your code
and it does produce positive numbers for all valid triangles I've
tried.
Jake
Negative result of ((a+b+c)*(b+c-a)*(c+a-b)*(a+b-c)) is not possible if a,b,
and c are lengths of a triangle's sides. The first term will always be
obviously positive, and so will the other three terms -- they are simply
the sum of the lengths of two sides less the third side, and you can't
I'd stick to using Heron's rule -- there is no reason why it shouldn't work
given correct inputs, and it is less expensive computationally.
On 12/14/06, Danny Kodicek [EMAIL PROTECTED] wrote:
I'm trying to figure the area of a triangle in Actionscript
using the perimeter values only, not the
Hello Jason,
public function getTriangleArea (a:Number, b:Number, c:Number):Number {
var p:Number = (a+b+c)/2;
return Math.sqrt(p*(p-a)*(p-b)*(p-c));
}
--
Ivan Dembicki
__
[EMAIL PROTECTED] | http://www.artlebedev.ru |
Jason,
It must be true that your inputs are incorrect, BUT to answer your
question about distributive methods - I was just thinking about
condensing that formula. If you did that(and they do it in the next
step on the MathWorld link) then you have to multiply every term in
parens by every other
Heron's formula looks pretty simple:
function triangleArea(a:Number, b:Number, c:Number):Number {
// Check that all arguments are positive and finite.
if (!(a 0) || !(b 0) || !(c 0) || !isFinite(a) ||
!isFinite(b) || !isFinite(c)) {
throw new Error(Invalid argument(s) for
Check out the Flash Player Trust Configuration files section of:
http://www.adobe.com/devnet/flash/articles/fplayer8_security_04.html
The configuration file could be updated by your install program.
-- Vishal
On 12/5/06, Holth, Daniel C. [EMAIL PROTECTED] wrote:
Is there a way to detect a
Hello,
TMK Actually, this does return NaN for some numbers, but it's pretty
TMK simple to realize why. For example, it returns NaN if you input side
TMK lengths of 1, 2, 4.
- it is not triangle.
--
Ivan Dembicki
Thanks - all, yes Jake saw it first and others chimed in with the same
thought, my numbers did not compute because they did not make a
triangle. I have it working now.
The formula is fine, and this function works for me as long as the
values come from a true triangle:
public static
I second this testament.
I have been using the Fuse Kit for a bit am very happy with it.
Just to chime in, the Fuse kit is HUGE. I would recommend against it in
some situations where performance is a factor. If it doesn't effect
performance, it's a great set of classes. Just be sure to test
Thanks everyone. Looks like a false alarm. It only her aunt, with,
more than likely an OLD computer. I'm still trying to get the specs.
I did put a link that goes to the Flash download in case of no flash
present. I'll also add this detect=false
Although, apparently, her problem was it was
Speaking of Triangles, I made an utility Class to help me solve Triangle
problems
and the formulas are all taken from mathworld website
It will help you get the missing values of your triangles :
Hope it helps someone out there ...
Alain
Nice Alain!
On 12/14/06, Alain Rousseau [EMAIL PROTECTED] wrote:
Speaking of Triangles, I made an utility Class to help me solve Triangle
problems
and the formulas are all taken from mathworld website
It will help you get the missing values of your triangles :
Hope it helps someone out there
check to see if this will help you
http://livedocs.macromedia.com/flash/8/main/3480.html#wp3797830
It might disable all controls but you could turn them back on the same way
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Appenzellar
Hi list...
Should be a simple question:
How do you set styles on checkbox components? It's not working for me.
In my singleton class:
import mx.controls.CheckBox;
import mx.controls.Label;
class o {
function o() {
_global.CheckBox.setStyle(color, 0xFF);
I've yet to use Fusekit (only used MX tras / tween) and have been quite
happy with performance / usability.
I realize that Fusekit's API is far more sexy and desireable, but so far
haven't seen them do anything that I can't accomodate myself. Such as a
Sequence, Parallel, etc.
AS3 will also
I generally use this tool for Tween dev:
http://weblogs.macromedia.com/mc/archives/2006/04/transition_and.cfm
http://weblogs.macromedia.com/mc/archives/TransitionExplorer.zip
-Scott
On 12/14/06, slangeberg [EMAIL PROTECTED] wrote:
I've yet to use Fusekit (only used MX tras / tween) and have
I love mc_tween!
http://hosted.zeh.com.br/mctween/
--
/*
Bored, sometimes.
*/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by
Hi All,
Can anyone help on this.
i have a requirement in which i want to automate the encoding process for
flash videos. uploaded videos must me encoded in flv formate automatically
and should be avalable for viewing.
please help me if anyone has done this before.
Regards,
Sachin.
http://chattyfig.figleaf.com/pipermail/flashcoders/2006-July/169819.html
On 12/12/06, Mike Mountain [EMAIL PROTECTED] wrote:
Charles
I'm well aware of both those methods, but they still won't let you
position the bitmap data anywhere other than with the registration point
at TL or positively
you can script ffmpeg encoding easily
if your server is a linux , a simple sh script can do the work
uploading video using http process is limited so for big videos uploads
, you may prefer using ftp or sftp way
tom bouillut
Sachin patil a écrit :
Hi All,
Can anyone help on this.
i have a
hi,
can you please give me more information on ffmpeg encoding. will this
encoding method be able to encode the video into flv format.
Sachin.
On 12/15/06, tom bouillut [EMAIL PROTECTED] wrote:
you can script ffmpeg encoding easily
if your server is a linux , a simple sh script can do the
Micky Hulse wrote:
Anyone know of a similar site that lets you test different variations of
the transition classes?
Thanks for all the replies all, I really appreciate the advice and links. :)
And yes, Fuse looks very cool.
Found this vid tut site a while back that does a good job at showing
http://www.google.com/search?hl=enq=ffmpegmeta=
- Original Message -
From: Sachin patil [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, December 15, 2006 6:08 AM
Subject: Re: [Flashcoders] flv encoder.
hi,
can you please give me more
Hi ,
Please anyone help me to apply the property to the all the dynamic text
boxes in my file.
I am referring some text boxes by name and some by variable. I want to
apply the autosize property to all the dynamic textboxes in the file at
the start only.
Thnx in advance .
39 matches
Mail list logo