Search:
Type: Posts; User: robertpenner
Search:
Search took 0.63 seconds.
-
Swampy will perish in the Dead Marshes.
-
The Silmarillion by J.R.R. Tolkien. It tells the story of how Illuvatar (God) created Middle Earth, Elves, Men, Dwarves, and what happened in the First Age.
-
ActionScript for Flash MX: The Definitive Guide, by Colin Moock
Reviewed by Robert Penner
Read it here
Excerpt:
'I remember first hearing Colin Moock speak at FlashForward 2001 in San...
-
ActionScript for Flash MX: The Definitive Guide, by Colin Moock
Reviewed by Robert Penner
Read it here
Excerpt:
'I remember first hearing Colin Moock speak at FlashForward 2001 in San...
-
// copy vars from a to b
for (var p in a) {
b[p] = a;
}
It's really as easy as that. You can make this into a function:
function copyVars (a, b) {
for (var p in a) {
-
I'm not sure what you're trying to do, but it looks like you're not clear on how function parameters and function calls work.
-
There are several problems with your function.
1. The parameter is called "number", which is a reserved word.
2. You aren't using the function parameter inside the function.
3. You're calling...
-
You probably mean 3x + 3y + z - 82 = 0, right? (missing y)
And tER means that t is a real number?
-
It would be helpful if you posted some code or more explanation.
Perhaps this will start you off:
angleInRadians = Math.atan2 (y, x);
angleInDegrees = angleInRadians * 180 / Math.PI;
This...
-
I created a Flash 5 version of Object.registerClass()--it can't do everything that MX can, but it helps:
// create functions if in Flash 5
if ( getVersion().indexOf(" 5,") != -1 ) {
...
-
As a Math function:
Math.logBase = function (num, base) {
if (base == undefined) base = Math.E;
return Math.log (num) / Math.log (base);
};
// test
-
You can use the equation for a lemniscate (parametric form):
http://mathworld.wolfram.com/Lemniscate.html
Translated to ActionScript, this should get you started:
// put a "ball" movie...
-
Sorry, there is no equivalent in Flash 5.
-
Cross-reference:
Scam: OpenLGX - We were fooled
http://www.flashguru.co.uk/000118.php
-
Hello everyone, I am speaking at FlashForward in New York on "Dynamic Drawing in Flash MX." I would like to show off some creative examples using the shape drawing API. Post your URLs in this thread...
-
[QUOTE]Originally posted by snowdude
[B]
Nowhere does the article say that. Why are you saying it? I don't think this is true at all.
-
Thank you CrashStar, I changed my settings right away. For the longest time, I would rarely get spammed on my Yahoo address--maybe once a week on average. Now it's more often.
If you have a Yahoo...
-
I'm got some nice setBrightness() code for you here:
http://www.robertpenner.com/scripts/color_extensions.txt
-
Thanks for the reminder, Stickman.
-
Here's all the undocumented features I can think of. Feel free to add on.
1. Cookie object
2. fscommand ("save", "file.txt")
3. asfunction (added to revised Actionscript Dictionary)
4....
-
Right you are, Stickman. Peculiar.
-
Good catch, Stickman. I rejigged it so you don't need the load initialization:
onClipEvent (enterFrame) {
rButton = !Key.isToggled(2);
if (rButton ^ old) {
trace ("right click detected");...
-
An explanation of the above code--
The Key object is used to detect keyboard interaction. For some reason, Flash treats the right mouse button as "key 2" (and the left mouse button as key 1).
...
-
Great work, Sem.
Stickman, Flash can detect mouse right-click, although it's not a widely-known technique.
Paste this code onto a movieclip instance:
onClipEvent (enterFrame) {
rButton...
-
I've been wondering for a while about the mathematical properties of Flash's built-in easing. I thought it was probably cubic, because a lot of animation programs use cubic splines for their easing....
|
Click Here to Expand Forum to Full Width
|