RE: [Flashcoders] Random numbers list

2008-07-29 Thread Jesse Graupmann
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

RE: [Flashcoders] Tweening text more smoothly - AS3

2008-05-24 Thread Jesse Graupmann
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

RE: [Flashcoders] Tweening text more smoothly - AS3

2008-05-24 Thread Jesse Graupmann
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

RE: [Flashcoders] very easy question

2008-05-21 Thread Jesse Graupmann
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

RE: [Flashcoders] URLLoader Class and some thinking

2008-04-28 Thread Jesse Graupmann
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

RE: [Flashcoders] transition

2008-03-14 Thread Jesse Graupmann
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

RE: [Flashcoders] clean scripting

2008-03-12 Thread Jesse Graupmann
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:

RE: [Flashcoders] clean scripting

2008-03-11 Thread Jesse Graupmann
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

RE: [Flashcoders] clean scripting

2008-03-11 Thread Jesse Graupmann
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); }

RE: [Flashcoders] [AS3] optional parameters - sansdefaults for Boolean/Number/int

2008-02-29 Thread Jesse Graupmann
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

[Flashcoders] [AS3] optional parameters - sans defaults for Boolean/Number/int

2008-02-29 Thread Jesse Graupmann
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

RE: [Flashcoders] Graphic design universities

2008-02-25 Thread Jesse Graupmann
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

RE: [Flashcoders] variable with # sign

2008-02-21 Thread Jesse Graupmann
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

RE: [Flashcoders] How did they do it?? A particular flash site.

2008-02-08 Thread Jesse Graupmann
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

RE: [Flashcoders] How did they do it?? A particular flash site.

2008-02-07 Thread Jesse Graupmann
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

RE: [Flashcoders] Yes or no: Moving one MC into another (AS2)

2008-02-07 Thread Jesse Graupmann
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

RE: [Flashcoders] Max MovieClip Size Before Filters are Dropped?

2008-02-07 Thread Jesse Graupmann
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

RE: [Flashcoders] copy mask from one clip to another

2008-02-07 Thread Jesse Graupmann
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

RE: [Flashcoders] Yes or no: Moving one MC into another (AS2)

2008-02-07 Thread Jesse Graupmann
) ); // 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/

RE: [Flashcoders] How to call class method from a movieclip?

2008-01-31 Thread Jesse Graupmann
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

RE: [Flashcoders] How to call class method from a movieclip?

2008-01-30 Thread Jesse Graupmann
me ():void { home.callMom(); } } } /// ON FRAME 2 OF YOUR MOVIECLIP phoneHome(); _____ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com/blog/ _ -Origin

RE: [Flashcoders] parent property woes in AS3

2008-01-06 Thread Jesse Graupmann
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

RE: [Flashcoders] Framework suggestions for games

2008-01-06 Thread Jesse Graupmann
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

RE: [Flashcoders] toString(aArray[i]) ?? does this work

2007-09-12 Thread Jesse Graupmann
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

RE: [Flashcoders] OT: Force download PDF

2007-09-10 Thread Jesse Graupmann
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 =

RE: [Flashcoders] Applying easing effect to type effect

2007-09-05 Thread Jesse Graupmann
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

RE: [Flashcoders] Intro to OOP using ActionScript

2007-08-20 Thread Jesse Graupmann
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

RE: [Flashcoders] [OT] Improve my design skills

2007-08-17 Thread Jesse Graupmann
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

RE: [Flashcoders] porting to Flash 8

2007-08-17 Thread Jesse Graupmann
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

RE: [Flashcoders] porting to Flash 8

2007-08-16 Thread Jesse Graupmann
dx = _x; dy = _y; // interaction onPress = onPress_EVENT; } } _ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com/blog/ _ -Original Message- From:

RE: [Flashcoders] porting to Flash 8

2007-08-16 Thread Jesse Graupmann
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() {

RE: [Flashcoders] porting to Flash 8

2007-08-16 Thread Jesse Graupmann
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

RE: [Flashcoders] Q: Best solution for 360 pans in flash

2007-08-14 Thread Jesse Graupmann
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

RE: [Flashcoders] division operand

2007-08-14 Thread Jesse Graupmann
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

RE: [Flashcoders] array copy with random order

2007-08-13 Thread Jesse Graupmann
@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:

RE: [Flashcoders] array copy with random order

2007-08-13 Thread Jesse Graupmann
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 __

RE: [Flashcoders] Dynamically setting properties...

2007-08-13 Thread Jesse Graupmann
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

RE: [Flashcoders] array copy with random order

2007-08-13 Thread Jesse Graupmann
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

RE: [Flashcoders] Q:Watch vs listener/broadcaster

2007-08-13 Thread Jesse Graupmann
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

RE: [Flashcoders] Finding a spot on a curveTo Line

2007-08-10 Thread Jesse Graupmann
+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

RE: [Flashcoders] Coding a circular preloader

2007-08-06 Thread Jesse Graupmann
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(); _

RE: [Flashcoders] Coding a circular preloader

2007-08-06 Thread Jesse Graupmann
le ), onUpdateParams:[ circle_obj ] }); } // starts draw and tween INIT(); _ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com/blog/ _ -Original Message- From: [EMAIL PR

RE: [Flashcoders] textures

2007-07-20 Thread Jesse Graupmann
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-

RE: [Flashcoders] AS 2.0 Tweening libraries

2007-07-18 Thread Jesse Graupmann
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

RE: [Flashcoders] AS 2.0 Tweening libraries

2007-07-18 Thread Jesse Graupmann
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

RE: [Flashcoders] textures

2007-07-17 Thread Jesse Graupmann
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

RE: [Flashcoders] onEnterFrame() and delete onEnterFrame()

2007-07-17 Thread Jesse Graupmann
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

RE: [Flashcoders] onEnterFrame() and delete onEnterFrame()

2007-07-17 Thread Jesse Graupmann
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

RE: [Flashcoders] onEnterFrame() and delete onEnterFrame()

2007-07-17 Thread Jesse Graupmann
me = fadeInMc; } function fadeInMc ( ) { this._alpha += 5; if ( this._alpha >= 100 ) { trace( 'faded: ' + this ); this.onEnterFrame = null; } } _____ Jesse Graupmann www.jessegraupmann.com w

RE: [Flashcoders] obfuscation swf !

2007-07-17 Thread Jesse Graupmann
"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

RE: [Flashcoders] Arguments.callee._name?

2007-07-16 Thread Jesse Graupmann
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 ) > { >

RE: [Flashcoders] Arguments.callee._name?

2007-07-16 Thread Jesse Graupmann
] = 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/

RE: [Flashcoders] onPress events from within a Class

2007-07-08 Thread Jesse Graupmann
"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

RE: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Jesse Graupmann
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

RE: [Flashcoders] XML loading and parsing problem

2007-07-08 Thread Jesse Graupmann
gth; trace ( this + "xml_loaded :: total: " + total ); } createAndLoadXML ( "gallery.xml", this, xml_parse ); _ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com/blog/ _ -Original

RE: [Flashcoders] XML loading and parsing problem

2007-07-07 Thread Jesse Graupmann
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

RE: [Flashcoders] SEO Question

2007-07-07 Thread Jesse Graupmann
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

RE: AW: [Flashcoders] Turn image around effect?

2007-06-30 Thread Jesse Graupmann
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;

RE: [Flashcoders] gotoAndPlay Problem (replaying a nested clip)

2007-06-29 Thread Jesse Graupmann
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

RE: AW: [Flashcoders] Turn image around effect?

2007-06-29 Thread Jesse Graupmann
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

RE: [Flashcoders] Turn image around effect?

2007-06-28 Thread Jesse Graupmann
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

RE: [Flashcoders] How can I keep some MovieClips always on top?

2007-06-28 Thread Jesse Graupmann
pth(0); mc.swapDepths(0); mc.removeMovieClip(); if(mcTemp != undefined) { mcTemp.swapDepths(0); } } _____ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com

RE: [Flashcoders] wordpress and flash integration

2007-06-25 Thread Jesse Graupmann
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

RE: [Flashcoders] loading xml into flash in spanish(desperate)

2007-06-25 Thread Jesse Graupmann
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

RE: [Flashcoders] Scroll Bar formula problem

2007-06-25 Thread Jesse Graupmann
; 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

RE: [Flashcoders] Lightbox & Flash & .mov

2007-06-20 Thread Jesse Graupmann
/ 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

RE: [Flashcoders] Mouse Velocity?

2007-06-20 Thread Jesse Graupmann
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

RE: [Flashcoders] Grid / Math - getting neighbouring positions

2007-06-20 Thread Jesse Graupmann
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] _

RE: [Flashcoders] Re: getBytes...() works only local, not online (except when imgs are cached)

2007-06-12 Thread Jesse Graupmann
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

RE: [Flashcoders] Cycle through XML nodes

2007-06-12 Thread Jesse Graupmann
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

RE: [Flashcoders] AS2: Multilanguage-Listener

2007-06-12 Thread Jesse Graupmann
() { 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

RE: [Flashcoders] AS2: Multilanguage-Listener

2007-06-12 Thread Jesse Graupmann
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

RE: [Flashcoders] another stupid XML question

2007-06-09 Thread Jesse Graupmann
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

RE: [Flashcoders] another stupid XML question

2007-06-09 Thread Jesse Graupmann
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/ _

RE: [Flashcoders] Having MovieClip behaviors in a class..

2007-06-08 Thread Jesse Graupmann
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

RE: [Flashcoders] AS2: EventDispatcher.initialize() and super()conflict?

2007-06-08 Thread Jesse Graupmann
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

RE: [Flashcoders] Having MovieClip behaviours in a class..

2007-06-08 Thread Jesse Graupmann
lineTo(0,100); lineTo(0,0); endFill(); } } } _____ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com/blog/ _ -Original Message

RE: [Flashcoders] EventDispatcher weirdness in AS2

2007-06-07 Thread Jesse Graupmann
n onTextAreaChange(event:Object ) : Void { trace("DFDelegateTest.onTextAreaChange"); _textArea.removeEventListener("change", arguments.callee.self ); } } _ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com/blog/ _

RE: [Flashcoders] MovieClips and levels

2007-06-06 Thread Jesse Graupmann
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

RE: [Flashcoders] thumbnail panel

2007-06-05 Thread Jesse Graupmann
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/ _

RE: [Flashcoders] [OT] - FYI - tabletop computing video

2007-06-03 Thread Jesse Graupmann
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.

RE: [Flashcoders] AS 2 Delegate question

2007-06-02 Thread Jesse Graupmann
// private function jgButtonEvent ( type:String ) { return function() { var evt = {}; evt.type = type; evt.target = this; this.dispatchEvent ( evt ); } } }

RE: [Flashcoders] AS 2 Delegate question

2007-06-02 Thread Jesse Graupmann
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 >

RE: [Flashcoders] AS 2 Delegate question

2007-06-02 Thread Jesse Graupmann
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@

RE: [Flashcoders] Need help creating an old-skool arc or circularscrollbar

2007-05-23 Thread Jesse Graupmann
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

RE: [Flashcoders] Fwd: Timeline label question

2007-05-23 Thread Jesse Graupmann
"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

RE: [Flashcoders] Q:Create and animate diagonal slices from Bitmap

2007-05-23 Thread Jesse Graupmann
slice._alpha = 100; } } } } // function INIT () { drawSlicedImage (); addSliceInteraction (); } INIT (); _____ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com/blog/ _ -Original Message-

RE: [Flashcoders] Extends Array ???

2007-05-22 Thread Jesse Graupmann
or ( var i in arguments ) { this [ i ] = arguments [ i ]; } } public function get sorted ():Array { return ArrayUtils.sortArray ( this ); } } ///// in Ar

RE: [Flashcoders] help with a menu in xml

2007-05-22 Thread Jesse Graupmann
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

RE: [Flashcoders] remove duplicate items in array

2007-05-22 Thread Jesse Graupmann
, 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

RE: [Flashcoders] bouncing ball

2007-05-19 Thread Jesse Graupmann
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

RE: [Flashcoders] RGB tinting using the colorMatrixFilter()

2007-05-10 Thread Jesse Graupmann
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

RE: [Flashcoders] Syntax for dynamically calling a function

2007-05-04 Thread Jesse Graupmann
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 //

RE: [Flashcoders] How to call a global method like "trace"--not theclass method?

2007-04-28 Thread Jesse Graupmann
"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

RE: [Flashcoders] Clear Set Interval Q:

2007-04-27 Thread Jesse Graupmann
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/ _

RE: [Flashcoders] Wave effect

2007-04-27 Thread Jesse Graupmann
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

RE: [Flashcoders] Clear Set Interval Q:

2007-04-26 Thread Jesse Graupmann
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

RE: [Flashcoders] WhITE SNOW and Seven Dwarf - MAth Problems!

2007-04-26 Thread Jesse Graupmann
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

RE: [Flashcoders] OT: Salary Questions

2007-04-17 Thread Jesse Graupmann
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:

RE: [Flashcoders] attaching an event to a movie clip

2007-04-06 Thread Jesse Graupmann
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   2   >