### Re: [Flashcoders] Performance from casting array/vector?

]; } Good luck, -- Fumio Nonaka http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ English bloghttp://blog.jactionscripters.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http

### [Flashcoders] Resizing the drop down list of ComboBox when removeItem() is called

-the-drop-down-list-of-combobox-when-removeitem-is-called/ -- Fumio Nonaka http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

### Re: [Flashcoders] Multiplying a Vector3D by a projection Matrix3D

for multiplication http://blog.jactionscripters.com/2009/05/17/test/ Any comments would be very appreciated. _ Ron Wheeler wrote: Fumio Nonaka wrote: var myMatrix3D:Matrix3D = new Matrix3D(); var myVector3D:Vector3D = new Vector3D(); trace(myVector3D, myVector3D.w); // Output: Vector3D(0, 0, 0) 0 myVector3D

### [Flashcoders] Multiplying a Vector3D by a projection Matrix3D

Matrix3D(); var myVector3D:Vector3D = new Vector3D(); trace(myVector3D, myVector3D.w); // Output: Vector3D(0, 0, 0) 0 myVector3D = myMatrix3D.transformVector(myVector3D); trace(myVector3D, myVector3D.w); // Output: Vector3D(0, 0, 0) 1 Any advices or suggestions would be very appreciated. -- Fumio

### Re: [Flashcoders] Math: Is this correct?

://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/images/matrix_rotate.jpg The figure in Flash CS4 Help is incorrect, though. I added comment to correct it. http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/geom/Matrix.html Good luck, -- Fumio Nonaka mailto:fu...@mx10.ttcn.ne.jp http

### Re: [Flashcoders] ColorPicker.selectedValue to #hex?

: +hexColor); trace(dec: +hex2dec(hexColor)); -- Fumio Nonaka http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http

### Re: [Flashcoders] Calling super.apply

{ // protected var _index:int; public function ArrayIterator(...args) { super(args); _index = 0; } What am i doing wrong here and what can i do to solve this? -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books

### Re: [Flashcoders] calculating distance between two points

points with different x and y values? I know it is some simple math formula - I just don't know it -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http

### Re: [Flashcoders] clean scripting

.addItem(Hello World); trace(instance1.data); trace(instance2.data); //output: Hello World Hello World Good luck, -- Fumio Nonaka http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders

### Re: [Flashcoders] urgent angle problem

angle = (angle%360+360)%360; Then: 810 - 90 -810 - 270 _ Bob Leisle wrote: if (angle 0) { angle += 360; } -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org

### Re: [Flashcoders] parent property woes in AS3

).play(); ??? On Jan 6, 2008 5:45 AM, Fumio Nonaka [EMAIL PROTECTED] wrote: The parent is a property of DisplayObject class, while the play() method is belongs to MovieClip class which is a sub class of DisplayObject. Therefore the reference of the property should be cast to MovieClip class

### Re: [Flashcoders] parent property woes in AS3

the parent movieClip that contains some movieClip timeline animation... parent.play(); It gets me an Error??? Good luck, -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org

### Re: [Flashcoders] MovieClip Buttons in Flash CS3 ActionScript 3

. at FinalAssets2_fla::MainTimeline/FinalAssets2_fla::frame1() Good luck, -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders

### Re: [Flashcoders] MovieClip Buttons in Flash CS3 ActionScript 3

. In your version, the buttons states are just raw graphics and text the timeline of the button. Do a convert to symbol on your graphics, and change each button state into a MovieClip. The hit areas will no longer work. Good luck, -- Fumio Nonaka mailto:[EMAIL PROTECTED] http

### Re: [Flashcoders] attachMovie fails on embedded clip in a movie, why?

One sidenote: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15638sliceId=2 Instances of imported symbols must be manually placed on the Timeline during authoring. _ Ian Thomas wrote: The only exception is when using shared libraries. Good luck, -- Fumio Nonaka mailto

### Re: [Flashcoders] onReleaseOutside event - AS3

not AS3? Good luck, -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search

### Re: [Flashcoders] rotate a cube

/rotation_center.htm -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search

### Re: [Flashcoders] Are string literals and String objects the same in AS3?

literals are now treated the same by Flash Player 9 using AS3 (there are no more implicit temporary String objects created by the Flash Player). -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org

### Re: [Flashcoders] 寂しい人妻は、本当 にビックリするくらい。。。

To: Web master This is a SPAM mail in Japanese. Please remove this account from this mailing list. Original Message Subject: [Flashcoders] 寂しい人妻は、本当にビックリするくらい。。。 Date: 28 Mar 2007 02:08:33 -0700 From: 心の隙間 [EMAIL PROTECTED] - Thank you. -- Fumio Nonaka mailto:[EMAIL

### Re: [Flashcoders] AS3 parseFloat issue?

. var n1:Number = parseFloat(test1_str); trace(n1-(6.3e51)); //AS3 1.32922799578491e+36 On 3/5/07, Fumio Nonaka [EMAIL PROTECTED] wrote: I am not sure whether it is a bug or by design, though. var test0_str:String = 6.30e+51; var n0:Number = parseFloat(test0_str); trace(n0

### Re: [Flashcoders] AS3 parseFloat issue?

, -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http

### Re: [Flashcoders] Set Interval Question

It is inadvertently undocumented but officially supported. See the comment by Francis Cheng of Adobe: http://livedocs.adobe.com/flash/8/main/1717.html _ Muzak wrote: It's an undocumented feature: http://www.flashguru.co.uk/flash-8-settimeout/ Good luck, -- Fumio Nonaka mailto:[EMAIL

### Re: [Flashcoders] removeMovieclip actions on 1000 MCs

= function(){ trace(this); this.removeMovieClip(); } } it all works fine, I'm just wondering if anyone can think of anything more efficient for such a large number of MCs. Like a listener or something? Good luck, -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com

### [Flashcoders] How to clear the settings of data bindings?

appreciated. -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive

### Re: [Flashcoders] questions about [embed] in AS3

] is a flex thing. i'm not sure on this. anyone else who can comment? the square brackets indicate compiler directive metadata. i think the flash compiler just ignores [Embed] Good luck, -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com

### Re: [Flashcoders] A v2 Window with a Checkbox and a Button

() { trace(Settings ::: CONSTRUCTOR); } //= // PRIVATE METHODS //= private function onLoad() { trace(Settings ::: onLoad); this.dispatchEvent({type:ready}); } } Good luck, -- Fumio Nonaka mailto:[EMAIL PROTECTED] http

### Re: [Flashcoders] Is UIEventDispatcher class functioning?

it higher in your class path, so that flash will check it again if you make changes. I remember reading a couple of blog posts about lowlevel events, so I would try googling for mx v2 lowlevelevents Regards, -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp

### [Flashcoders] Is UIEventDispatcher class functioning?

be found. I wonder if few people use this class. Any suggestions and comments would be very appreciated. Regards, -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org

### Re: [Flashcoders] Object registerClass

// import lib.buttons.test; // var force:test lib.buttons.test; var clase = test; var ap = new (lib.buttons[clase]);//works! var ap = new lib.buttons[clase]();//works! Good luck, -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com

### Re: [Flashcoders] Boolean question

); trace (w.zoomed); //false test = !(w.zoomed); trace(test); Good luck, -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders

### Re: [Flashcoders] Find item in array

.. -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive

### Re: [Flashcoders] AS3: Objects never get deleted

,onFrame,false,0,true); } private function onFrame(e:Event):void{ trace(A); } So I don't think that's it, else it wouldn't really matter if I pass arguments or set variables or not , because if I don't it does get deleted properly. Good luck, -- Fumio

### [Flashcoders] [AS3] Does useWeakReference parameter of addEventListener() work?

be very appreciated. Regards, -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options

### Re: [Flashcoders] [AS3] Does useWeakReference parameter of addEventListener() work?

Sorry, one typo: Fumio Nonaka wrote: // frame action import flash.events.Event; // addEventListener(EVENT.ENTER_FRAME, addEventListener(Event.ENTER_FRAME, function (eventObject:Event):void { trace(eventObject);; }, false, 0, true); // sets useWeakReference to true -- Fumio

### Re: [Flashcoders] Misreporting instanceof operator.

in the loaded movies and vice versa, so that sounds pretty correct to me.) -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders

### [Flashcoders] NumericStepper.checkValidValue() method

; } } else { if (val=maxVal) { return maxVal; } else { return minVal; } } }; -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books

### [Flashcoders] How to declare an instance in a MovieClip in a AS3 class

{ import flash.display.MovieClip; import flash.display.Button; public class ButtonTest extends MovieClip { var my_btn:Button; // Compile error Any advices or suggestions would be very appreciated. Thank you, -- Fumio Nonaka mailto:[EMAIL PROTECTED] http

### Re: [Flashcoders] How to declare an instance in a MovieClip in a AS3 class

I am sorry for invalid data typing. _ Fumio Nonaka wrote: However, ActionScript 3.0 yields a compile error to the class definition below. // ActionScript 3.0 class definition: ButtonTest.as // This is associated with a MovieClip symbol package { import flash.display.MovieClip

### Re: [Flashcoders] import statement and accessing a class in AS3

you, Fumio Nonaka Phone: +81-42-397-9452 Fax: +81-42-397-9452 mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders@chattyfig.figleaf.com To change your

### [Flashcoders] import statement and accessing a class in AS3

); // ReferenceError } } } Are the behaviors above the specification of ActionScript 3.0? Thank you, -- Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org

### Re: [Flashcoders] OOP 101: Is import really necessary?

']['containers']['Accordion']); // Output: undefined Good luck, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders@chattyfig.figleaf.com

### Re: [Flashcoders] OOP 101: Is import really necessary?

: undefined Good luck, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options

### Re: [Flashcoders] \r

kluge is to simply hard return again. Good luck, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders@chattyfig.figleaf.com To change your

### Re: [Flashcoders] \r

: The bugger is using \n or newline in a string and setting the text of a textfield to that string converts \n to \r when you read the text again. It's why I never use \n or newline. Good luck, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books

### Re: [Flashcoders] \r

is a hard return, two of them is not two hard returns, it is a hard return and a line feed. Good luck, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org

### Re: [Flashcoders] createClassObject with List Class funky

luck, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive

### Re: [Flashcoders] Howto randomize the elements of an array?

science, but it should do the job perfectly well for your purposes. Good luck, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders

### Re: [Flashcoders] RE:Flashcoders] Extending Array Question

, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive

### [Flashcoders] Variable containing a String instance crash Flash 8 on [List Variables]

.4.5 and Windows XP (SP1). Regards, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription

### Re: [Flashcoders] crosspost: update your flash-players immediately

I got the url from the following post: [Flashcoders] updating the ide-players http://chattyfig.figleaf.com/pipermail/flashcoders/2006-March/162063.html _ Fumio Nonaka wrote: Have the players 8.0r24 for developers including debug version and SAFlashPlayer been available, too? Thanks

### Re: [Flashcoders] updating the ide-players

Thank you very much, micha. I have been looking for the url. :) _ Michael Stuhr wrote: http://www.macromedia.com/support/flashplayer/downloads.html ~30MB wtf ? :-) Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash

### Re: [Flashcoders] updating the ide-players

://www.macromedia.com/support/flashplayer/downloads.html ~30MB wtf ? :-) Thanks in advance, Fumio Nonaka Phone: +81-42-397-9452 Fax: +81-42-397-9452 mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org

### Re: [Flashcoders] updating the ide-players

. BUT ON THE FLASH AUTHORING ENVIRONMENT trace(getVersion()) // 8,0,22,0 !!! On Mar 16, 2006, at 12:20 PM, Michael Stuhr wrote: Fumio Nonaka schrieb: I installed the players on Flash 8/Mac OS X. While the plug-ins and the standalone players seem to be updated, getVersion() in the test movie

### Re: [Flashcoders] crosspost: update your flash-players immediately

Have the players 8.0r24 for developers including debug version and SAFlashPlayer been available, too? Regards, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org

### Re: [Flashcoders] Flash Player bug?

== 0); // false trace(test 0); // undefined Good luck, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders@chattyfig.figleaf.com

### Re: [Flashcoders] Q:getter setters vs accessor methods

; trace([set, _rotation]); } } _ JesterXL wrote: Setters call the getters automatically. Good luck, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org

### Re: [Flashcoders] Q:getter setters vs accessor methods

Sorry. The formula's value should be its assignment expression, i.e. righthand side expression. _ Fumio Nonaka wrote: Right. And in simple assignment, getter's returned value is returned as the assignment formula's value. According to ECMA-262 (11.13.1), the formula's value should

if it works with narrow band as well. Does the MovieClipLoader class manage multiple request to load files from a server at the same time? Or, is it better practice to load one file each after the prior file is completed? Regards, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com

### Re: [Flashcoders] Seeking a bit of drawing API inspiration..

other circles has given me the performance I need. Good luck, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders mailing list

### Re: [Flashcoders] Text not showing up in Flash Player 7 with Flash 8SWF

in f8 but stilla cceptable in f7? I ran in to the same issue when trying to do the same. The swf runs fine in the 7 player but the text doesnt show. Good luck, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash

### [Flashcoders] What does the newline constant insert?

.my4_str = \n Variable _level0.my5_str = 0\r Variable _level0.my6_str = 0\n Variable _level0.my7_str = true\r Variable _level0.my8_str = undefined\n Variable _level0.my9_str = NaN\n Regards, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books

### Re: [Flashcoders] No Key.isDown() method in AS3?

through the array. Good luck, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http

### Re: [Flashcoders] Resizing Imported Images

and _yscale values. Good luck, Fumio Nonaka Phone: +81-42-397-9452 Fax: +81-42-397-9452 mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/ ___ Flashcoders mailing