I'm sure this isn't needed by now, just thought I'd take it as a fun
challenge.
var rangeMin:int = 0;
var rangeMax:int = 100;
var rangeSample:int = 10;
// copy
var numbers:Array = [];
// original values
var numberList:Array = [];
for ( var i:int = 0; i <= (rangeMax - rangeMin); i++ ) numberLi
x27;s next post.
the article about using modulus:
http://www.gskinner.com/blog/archives/2008/05/core_as3_modulu.html
L
Jesse Graupmann a écrit :
> Maybe converting the actual time elapsed to a constant rate of motion
could
> help... who knows?
>
>
> stage.align = "TL";
> st
Maybe converting the actual time elapsed to a constant rate of motion could
help... who knows?
stage.align = "TL";
stage.scaleMode = "noScale";
function checkWrap ( o:DisplayObject ):void
{
if ( o.x > stage.stageWidth ) o.x = 0;
}
var speed:Number = 1;
var tick:Number = 30;
var lastTic
http://www.kirupa.com/forum/showthread.php?p=1910480
Jonathan mentioned this before... you're goal isn't to set your text to
display what the loader is. Your goal is to display the content that is
loaded. In order to do that, you need to listen to the load event and get
the data out of there.
loa
An alternate version...
QueueLoader
http://code.google.com/p/queueloader-as3/
http://blog.hydrotik.com/category/queueloader/
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Patrick
Jakub Jankun
Sent: Monday, April 28, 2008 1:10 AM
To: Flash Coders List
http://www.websector.de/blog/2007/08/28/tweener-as3-extension-for-color-prop
erties-_brightness-_contrast-and-_saturation/
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of marcellouz
Sent: Friday, March 14, 2008 6:21 AM
To: Flash Coders List
Subject: [Flas
04 AM
To: Flash Coders List
Subject: Re: [Flashcoders] clean scripting
In AS2 it does (and has been discussed here in the past), in AS3 it doesn't.
- Original Message -
From: "Jesse Graupmann" <[EMAIL PROTECTED]>
To: "'Flash Coders List'"
Sent:
I agree with Steven. You may want to put your variable declarations in
another function when they either get suuuper messy or you need more data
(ie. stage.stageWidth).
Going back to style... typically I like to run an INIT() in the constructor
and then break down the tasks into INIT_name(). It cl
Muzak,
Maybe I missed something, but instance2 in your example has no data. Only
static members can be shared across all instances - did you mean...
class MyClass
{
private static var myArray:Array = new Array();
public function addItem(item:Object)
{
MyClass.myArray.push(item);
}
Ha! That works just fine.
Thanks for reminding me Glen.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike
Sent: Friday, February 29, 2008 2:49 AM
To: Flash Coders List
Subject: Re: [Flashcoders] [AS3] optional parameters - sansdefaults for
Boole
I'm trying to create typed functions using optional parameters sans the
defaults. I'm finding String to be the only thing that allows for null to be
passed. Is there a way to extend that functionality to other types like;
Numbers, Booleans, and/or ints?
NOTE : I am aware of ...rest and passing an
I've had friends attend;
Vancouver Film School
http://www.vfs.com/
Western Washington
http://www.ac.wwu.edu/~artdept/degreesdetail.html#Bachelor%20of%20Arts%20Des
ign
and
Art Institute of Seattle
http://www.artinstituteseattle.com/programs.php
Whereas I went to;
University of Washington
htt
How are you "passing" the variable to an email form? You typically never
NEED to create a funky variable name if creative string solutions could do
the job. How about something like "f_31" until you have to package it up to
send? And how does the end process know the variable name?
var str:String
Thanks Adrian, I couldn't have said it better. Sorry for the confusion
folks.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian Park
Sent: Friday, February 08, 2008 6:16 AM
To: Flash Coders List
Subject: Re: [Flashcoders] How did they do it?? A part
With magic!
Unfortunately if you haven't learned it by now you'll never be able to
understand its full potential.
Full screen - FLASH and HTML
http://www.kirupa.com/developer/mx2004/fullscreen.htm
http://gotoandlearn.com/player.php?id=31
CSS
http://www.kirupa.com/developer/mx2004/css.htm
VIDE
Yup.
It's never too late to make the switch to AS3. You'll also sleep better at
night if you do.
;)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn,
Michael
Sent: Thursday, February 07, 2008 11:14 AM
To: Flash Coders List
Subject: RE: [Flashc
AS 2
http://www.sephiroth.it/tutorials/flashPHP/scrollRect/
_____
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Zeh Fer
1. Create empty MovieClip ( clipC ) on same parent as clipB
2. Create BitmapData from clipA
3. Draw BitmapData to clipC
4. Set mask of clipB to clipC ( check cacheAsBitmap == true )
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Sinning
Sent: Thu
) );
// If the MovieClips extended a custom class
// you could ask for information to initialize another
// once it hit the stage
mcB.Y.initialize ( mcA.X.getInitData () );
_
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
movieclip?
Jesse Graupmann wrote:
> function callMom ()
> {
> trace( "YOU NEVER CALL" );
> }
While we appreciate your code sample, Jesse, and we're all supportive of
you, Flashcoders isn't a surrogate for your group therapy sessions. ;)
Steven Sacks
Flash Maest
me ():void
{
home.callMom();
}
}
}
/// ON FRAME 2 OF YOUR MOVIECLIP
phoneHome();
_____
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
-Origin
play through a reference with static type
flash.display:DisplayObjectContainer.
_
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
These looked promising - never used em' though.
http://lab.polygonal.de/ds/ AS3 Data Structures for Game Developers
http://lab.polygonal.de/motor_physics/ Motor2
http://lab.polygonal.de/2007/12/31/motor-physics-released/
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTE
Maybe try;
var myStr:String = String( aArray[i] );
or
var myStr:String = aArray[i].toString();
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, September 10, 2007 8:30 PM
To: Flash Coders
Subject: [Flashcoders] toSt
SOURCE
http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm
?context=LiveDocs_Parts&file=2210.html
NOTES
- Max 100 MB for download
- Only 1 download at a time
//
//
//
//
import flash.net.FileReference;
var listener:Object =
en ( o, to );
return o;
}
var tweenerObject:Object = {time:4, transition:'easeOutCubic'};
var effectObject:Object = typeEffect( myText, "This is a Basic Tweener
Typewriter", tweenerObject );
_____
Jesse Graupmann
www.jessegraupmann.co
http://www.debreuil.com/docs/ch01_Intro.htm
http://www.kirupa.com/developer/oop2/AS2OOPindex.htm
---
http://proto.layer51.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
h
Just look around, go to a contemporary bookstore and read up on design
history, and then see how it has evolved.
http://witcombe.sbc.edu/ARTHLinks.html
http://www.architectureweek.com/2001/0905/culture_1-1.html
http://www.typorganism.com/
http://typographica.org/
http://diuf.unifr.ch/people/bert
Only you know your project, and that works just fine.
One idea to consider would be to try and minimize the memory footprint.
By not messing up the MovieClip prototype, you keep your adjustments to only
relevant MovieClips that need those properties rather than every MovieClip.
Creating a single
dx = _x;
dy = _y;
// interaction
onPress = onPress_EVENT;
}
}
_
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
-Original Message-
From:
This works, but it's not really doing anything specific to AS2.0.
MovieClip.prototype.mcbounceload = function()
{
this.bounce = 0.4;
this.speed = 0.9;
this.x = this.xpos = this._x;
this.y = this.ypos = this._y;
};
MovieClip.prototype.mcbounceenter = function()
{
AS 2.0 is case sensitive. You can start by changing Movieclip to MovieClip
Not sure why you are using a function as a multiplier, so you might want to
get rid of theMover reference inside itself.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of coker tod
http://www.visicam.de/ - Panorama360 ( Papervision3D )
http://www.popforge.de/ - CubicVR360
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brough
On the TextField properties, try Embed > Include these characters > ÷
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of natalia
Vikhtinskaya
Sent: Tuesday, August 14, 2007 2:41 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] division o
@Mark - Thanks for the suggestion
@Steven - Thanks for the code! This does work better than the others.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks
Sent: Monday, August 13, 2007 3:16 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re:
vg: 2.2 med: 0 mov: 0,0,4,5,1,-1,-4,0,1,-6
0,1,6,9,5,4,2,7,3,8
ttl: 20 avg: 2 med: 0 mov: 0,2,2,-1,3,3,-5,-1,-3,0
0,6,3,1,2,8,7,4,5,9
ttl: 22 avg: 2.2 med: 0 mov: 1,6,0,0,0,4,-1,-1,0,-9
9,0,2,3,4,6,7,1,8,5
++++++ org
0,1,2,3,4,5,6,7,8,9
__
of (this[i]) != undefined && props[i] !=
undefined ) this[i] = props[i];
}
}
}
_
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
-Original Message-
From: [EMAIL PROTEC
var array = [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ];
var array2 = [].concat(array);
array2.sort ( function (){ return Math.round(Math.random()); } );
trace( array ); // 0,1,2,3,4,5,6,7,8,9
trace( array2 ); // 8,2,3,6,5,4,1,7,0,9
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTEC
rea();
}
function set_width( val:Number ):Void
{
if ( isNaN(val)) return;
__width = val;
calculateArea();
}
function calculateArea ():Void
{
__area = __height * __width;
}
width = 2;
height = 10;
trace ( area ) // 20
+y);
mc.curveTo(-Math.tan(Math.PI/8)*r+x, -r+y, x, -r+y);
mc.curveTo(Math.tan(Math.PI/8)*r+x, -r+y, Math.sin(Math.PI/4)*r+x,
-Math.sin(Math.PI/4)*r+y);
mc.curveTo(r+x, -Math.tan(Math.PI/8)*r+y, r+x, y);
}
_____
Jesse Graupmann
www.jes
e_holder._x = (W>>1);
circle_holder._y = (H>>1)- circle_top.radius;
}
circle_draw ( circle_top );
circle_draw ( circle_bottom );
onMouseMove = adjust_view;
onResize();
setPer ( 0 );
}
INIT();
_
le ),
onUpdateParams:[ circle_obj ]
});
}
// starts draw and tween
INIT();
_
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
-Original Message-
From: [EMAIL PR
Cryzto,
I think this gets you one step closer.
Bump Mapping in Flash
http://drawk.wordpress.com/2007/04/18/bump-mapping-in-flash/
found via:
3D Materials, Texturing and Mapping in AS3 and the Limits of Flash and
Software Rendering
http://drawk.wordpress.com/2007/07/07/3d-materials-texturing-and-
WWMND - What would Muzak not do? Yes, Jesse?
Tweener makes you jump higher, live longer, save the world, AND gives you
more attractive examples http://labs.blitzagency.com/?p=314
"oh boy.."
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Wed
ht change your mind about switching from any of these to another?
- Size
- Syntax
- Sequencing
_____
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
-Original Message-
From: [EMAIL
cheAsBitmap = true;
bmp_mc.setMask ( mask );
bmp_mc.blendMode = blend_mode;
_
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cristo @
Cryzto
ckage:
http://www.alex-uhlmann.de/flash/animationpackage/
- Original Message -
From: "Jesse Graupmann" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, July 18, 2007 1:34 AM
Subject: RE: [Flashcoders] onEnterFrame() and delete onEnterFrame()
>I was just making an example bas
and delete onEnterFrame()
- Original Message -
From: "Jesse Graupmann" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, July 18, 2007 12:49 AM
Subject: RE: [Flashcoders] onEnterFrame() and delete onEnterFrame()
> You could make it just a bit more lean than that...
>
Exce
me = fadeInMc;
}
function fadeInMc ( )
{
this._alpha += 5;
if ( this._alpha >= 100 )
{
trace( 'faded: ' + this );
this.onEnterFrame = null;
}
}
_____
Jesse Graupmann
www.jessegraupmann.com
w
"Check it out, and see if you can 'steal' this game - it is yours for the
taking:"
Instead of "Alert!" you should have wrote, "Congrats! This game is yours!"
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Frederic
Caron
Sent: Tuesday, July 17, 2007 9:32
7;, mx.utils.Delegate.create ( this,
> eventHandler ) )
>
> function handleEvent ( obj:Object, event:String )
> {
>obj [ event ] = function(){this.dispatchEvent ({type:event,
> target:this }) }
> }
>
> function eventHandler ( evt:Object )
> {
>
] = function(){this.dispatchEvent ({type:event,
target:this }) }
}
function eventHandler ( evt:Object )
{
trace( evt.type + '\t\t\t' + evt.target );
}
_
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
"One way is to create a MyButton clip in the library and attach a class
to it." - Ricky | Good Angel
"Instead of Delegate, use the Proxy class from Person13.com. It will make
you happy." - Adam | Bad Angel
___
Flashcoders@chattyfig.figleaf.com
To ch
Muzak, we all know you bought stock in Delegate back in the day - you're
just protecting your assets. I'm still curious what the Delegate tattoo
looks like...
;)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Sunday, July 08, 2007 3:57 PM
T
gth;
trace ( this + "xml_loaded :: total: " + total );
}
createAndLoadXML ( "gallery.xml", this, xml_parse );
_
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
-Original
if ( success ) xml_loaded (); else trace( 'nada' );
}
function xml_loaded ()
{
var total = xmlData.firstChild.firstChild.childNodes.length;
trace ( "xml_loaded :: total: " + total ); // 4
}
_____
Jesse Gr
http://labs.blitzagency.com/?p=171
http://labs.blitzagency.com/?p=51
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave
Mennenoh
Sent: Saturday, July 07, 2007 10:11 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] SEO Question
We're dev
You could totally do it with magic. ;)
http://lab.andre-michelle.com/bitmap-particles-2
http://lab.andre-michelle.com/bitmap-particles
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Zeh Fernando
Sent: Saturday, June 30, 2007 1:32 PM
To: Rákos Attila;
ame;
}
}
}
_
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul V.
Sent: Friday, June 29, 2007 12:49 PM
To: Flash Coders
Subject: [Flashcod
nvisible and the other one from invisible to visible
>
> hth,
> Cedric
>
> > I know the card flip effect,
> > but I think its more like the effect Jesse Graupmann posted.
> >
> > The question is how ja shows the image backside???
> > I have no idea how t
http://www.reflektions.com/miniml/template_permalink.asp?id=344
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Geller
Sent: Thursday, June 28, 2007 11:29 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Turn image around effect?
Hi
pth(0);
mc.swapDepths(0);
mc.removeMovieClip();
if(mcTemp != undefined)
{
mcTemp.swapDepths(0);
}
}
_____
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com
S, and CREATES MENUS in an XML format."
_____
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rostislav
Hristov
Sent: Saturday
Using Macromedia Flash MX as a multilingual authoring tool
http://www.adobe.com/support/flash/languages/flashlocalization/
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gustavo
Duenas
Sent: Monday, June 25, 2007 11:50 AM
To: flashcoders@chattyfig.figlea
;
content._y = dY;
}
_
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of O. Fouad
Sent: Monday, June 25, 2007 1:15 AM
To
/
LightBox
http://www.huddletogether.com/projects/lightbox/
_
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carl Welch
Sent
line )
};
}
onMouseUp = function()
{
this.onEnterFrame = null;
}
_____
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of e
var i in array ) { result = '[' + array[i].col + ',' + array[i].row
+'] ' + result }
trace( result + newline )
// [0,0] [1,0] [1,1] [0,1] [2,0] [2,1] [2,2] [1,2] [0,2] [3,0] [3,1] [3,2]
[3,3] [2,3] [1,3] [0,3] [4,0] [4,1] [4,2] [4,3] [4,4] [3,4] [2,4] [1,4]
[0,4]
_
ies, you can just set the trackProgress_boolean
property to false to skip that initial delay.
* Compatibility: Flash Player 6 and later (ActionScript 2.0) (FLV preloading
requires Flash Player 7)
* File Size added to published SWF: About 3Kb
_____
Jesse Graupma
As someone that doesn't read Flash help, will not do a Google search, will
never register or participate on a Flash forum, will ask the same question
enough times an re: has to be added to the beginning to keep it fresh, will
always asks the list before logically thinking through any project, let's
()
{
this.dispatchEvent({type:'click',target:this,
lang:this.label.toLowerCase() });
}
function loadLanguage ( evt:Object )
{
_root.lang_xml.load("conf_"+evt.lang+".xml");
}
_
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign
er( "click", listener );
obj.dispatchEvent ( {type:'click', target:obj } );
_____
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
So I gave you links to loading, parsing, and querying - all that is left is
creating.
Create and Edit XML in Flash
http://www.kirupa.com/developer/actionscript/create_edit_xml.htm
_
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog
ng, you can go back to the xml and work on
parsing it into that object above. You can try your own parser, or the handy
XML2Object - everything after this is just logic.
_
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
I'm not saying you have to create a new instance but was just getting as
close to your example as I could, which looks like a new instance to me;
"var myBox:DrawBox("boxname");
myBox._y = 100;
myBox._alpha = 50;"
" this is just an example..
u know i wanted to apply some custom effect to a movieCl
addEventListener:Function;
public var removeEventListener:Function;
public var dispatchEvent:Function;
public function myClass (m:Model) {
super();
}
}
_
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog
lineTo(0,100);
lineTo(0,0);
endFill();
}
}
}
_____
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
-Original Message
n onTextAreaChange(event:Object ) : Void {
trace("DFDelegateTest.onTextAreaChange");
_textArea.removeEventListener("change", arguments.callee.self );
}
}
_
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
i in mc) trace('\tmc.' + i + ' = ' + mc[i]);
trace( '\ncopy: ' + copy )
for(var i in copy) trace('\tcopy.' + i + ' = ' + copy[i]);
//
mc: _level0.mc
mc.prop = this is a prop
uot;box_" + i, depth );
var col = (i % rows);
var row = (Math.floor( i/rows ));
t._x = width * col;
t._y = height * row;
}
_
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
Since Surface will only support WPF and not Flash, that doesn't mean you
can't build your own for under $500
http://www.lumenlab.com/forums/index.php?showtopic=17532&st=0
Then get some Flash AS3 code to play around with
http://nuigroup.com/log/comments/touchlib_flash_clients/
http://www.benchun.
//
private function jgButtonEvent ( type:String )
{
return function()
{
var evt = {};
evt.type = type;
evt.target = this;
this.dispatchEvent ( evt );
}
}
}
eencast making the above:
http://muzakdeezign.com/flashcoders/create_component/MyButton.html
regards,
Muzak
- Original Message -
From: "Jesse Graupmann" <[EMAIL PROTECTED]>
To:
Sent: Sunday, June 03, 2007 1:43 AM
Subject: RE: [Flashcoders] AS 2 Delegate question
>
Muzak,
You bring this up every time proxy is mentioned. Do you mind sharing an
actual code example that is just as quick and easy?
Hasta,
Jesse
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Saturday, June 02, 2007 2:53 PM
To: flashcoders@
Trigonometry
http://www.codylindley.com/Tutorials/trigonometry/
Trig Tutorial
http://www.albinoblacksheep.com/flash/trig
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ash Warren
Sent: Wednesday, May 23, 2007 9:58 AM
To: flashcoders@chattyfig.figlea
"Colin Moock's book Essential ActionScript 2.0 - page 288 - set2/#6
6. At frames 4 and 15 of the labels layer, add a new keyframe."
"Colin Moock's book Essential ActionScript 2.0 - page 288 - set3/#1&2
1. At frame 5 of the scripts layer, add a new keyframe
2. With frame 5 of the scripts layer sele
slice._alpha = 100;
}
}
}
}
//
function INIT ()
{
drawSlicedImage ();
addSliceInteraction ();
}
INIT ();
_____
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
-Original Message-
or ( var i in arguments )
{
this [ i ] = arguments [ i ];
}
}
public function get sorted ():Array
{
return ArrayUtils.sortArray ( this );
}
}
///// in Ar
itle: menuContent.childNodes[i].attributes.title
};
btn.poa.text = btn.data.text;
btn.onRelease = function(){
target.text = this.data.title + ":" +
this.data.text;
}
}
}
menus.lo
, 1 );
}
return a;
}
var array = [ 'a', 'a', 'b', 'c', 'a', 'b', 'b', 1, 5, 1, 2, 3, 1, 'AA',
'AA' ];
trace( 'array before: ' + array );
var arrayAFTER = removeArrayDuplicat
6/11/camera_interact.html
Collision detection with Recursive Dimensional Clustering
http://lab.polygonal.de/articles/recursive-dimensional-clustering/
2-Dimensional Collisions
http://www.geocities.com/vobarian/2dcollisions/
_____
Jesse Graupmann
www.jessegraupmann
4DAFF, 100 );
var filter = new flash.filters.ColorMatrixFilter ( matrix );
mc.filters = [ filter ];
_____
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
-Original Message-
From: [EMAIL PROTECTED
My personal favorite is the use of the Delegate loaded with arguments.
//
// INTERACTION
//
function button_onPress ( btn:MovieClip )
{
var data = dataArray [ btn.id ];
var func = this [ 'func_' + data.section ];
func ( data );
}
//
// EVENTS
//
"Out" - by Big Space Ship
http://labs.bigspaceship.com/blog/?p=28
"...it does make it a lot easier to scan through large volumes of trace()
output and find the information you're looking for by formatting it nicely.
This means that every line traced out is prefixed with the classname of the
instan
terval ( this, 'test', 1000, 5, 1000 );
var exceptionArray = [ _4, _5 ];
clearAllIntervalsExcept ( exceptionArray ); // only _4 and _5 will run
_
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
http://www.reflektions.com/miniml/ has a ton of info on this and more.
Check out:
http://www.reflektions.com/miniml/template_permalink.asp?id=356
http://www.reflektions.com/miniml/template_permalink.asp?id=108
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Beha
7
onInterval: f: 2c: 28
onFrame:f: 2c: 108
onInterval: f: 3c: 5
onInterval: f: 3c: 7
onInterval: f: 3c: 8
onInterval: f: 3c: 8
onInterval: f: 3c: 8
onInterval: f: 3c: 9
onInterval: f: 3c: 7
onInterval
I'm glad you cleared up exactly what you are attempting to do. I found this
to be a very interesting challenge.
The goal here was to minimize the amount of processes it will take to
increment a given length at an adjustable stagger. I'm no mathematician but
I haven't seen any problems unless you
More orientated to designers & front end developers - but still interesting:
AIGA|Aquent Salary Survey
http://www.aiga.org/content.cfm/salary-survey
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kelly Smith
Sent: Tuesday, April 17, 2007 11:37 AM
To:
var a:Array = arguments.slice(2, arguments.length);
return function ():Void { func.apply(s, a.concat(arguments));};
}
_
Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_
-Original Message-
Fro
1 - 100 of 113 matches
Mail list logo