RE: [Flashcoders] TextFormat Font Face = 'Wingdings' or 'Webdings'

2006-08-31 Thread Mike Mountain
Jason The only way I can ever get the dings fonts to display in a dynamic tf is by embedding them - even if they are on the users system. I assume this is something to do with the dings family being a symbol font. M He suggested I trace the font on the textfield, which is not the same

Re: [Flashcoders] Flash + Web Services problems

2006-08-31 Thread Mike Britton
What does your crossdomain.xml file look like? Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier

Re: [Flashcoders] Flash + Web Services problems

2006-08-31 Thread Mike Britton
Try adding a domain=* attribute to cross-domain-policy, and a allow-access-from domain=* / node to your cross-domain-policy nodes. Let me know if this works so I can feel a smug sense of satisfaction. Mike ___ Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Flash + Web Services problems

2006-08-31 Thread Mike Britton
Like this: ?xml version=1.0? cross-domain-policy domain=* / allow-access-from domain=somedomain secure=false / allow-access-from domain=anotherdomain secure=false / allow-access-from domain=* / /cross-domain-policy Mike

Re: [Flashcoders] getURL and IE 6.0.

2006-09-04 Thread Mike Cobb
- This works fine for me. Try putting it in an html file uploading it - it might just be a local problem. The only issue I have is that a second click will not bring the window into focus - so you might want to consider a javascript option. Mike Adrian Ionut Beschea wrote: I need

[Flashcoders] Text background

2006-09-05 Thread Mike Cobb
for adding a background to portions of text. Flash 8, AS2 Any ideas? Mike -- - Mike Cobb Creative Director HMC Interactive - Tel: + 44 (0)845 20 11 462 Mob: + 44 (0)785 52 54 743 Web: http://www.hmcinteractive.co.uk

RE: [Flashcoders] weird class could not be loaded.

2006-09-05 Thread Mike Keesey
What's the path? Is the class name actually myClass? ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Christian Pugliese Sent: Tuesday, September 05, 2006 2:31 PM To: Flashcoders mailing list Subject: [Flashcoders] weird

RE: [Flashcoders] Synchronizing multiple flvs

2006-09-06 Thread Mike Mountain
If the tiles were small enough this could be something you could do with bitmapData - ie. Copying the image data from a master video (offstage) into each of the tiles as it's played. Or you could just mask multiple copies of the same flv, but I suspect there would be bigger overheads with this

Re: [Flashcoders] Re:Adjust .swf to 100 % to screen size

2006-09-07 Thread Mike Britton
Jorge, here's an example of using ExternalInterface to send stage dimensions to JavaScript. http://www.randomusa.com/flash/downloads/externalInterface_screenDimensions.zip Hope I'm not OT on this one. Mike ___ Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Job postings ok?

2006-09-07 Thread Mike Britton
imho it's a distraction from the point of the list, which is coding, and for this reason it's borderline unethical. Just my opinion. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http

Re: [Flashcoders] [JOB] Sr. Flash/AS Programmers (4), Los Angeles, CA | 70-125k

2006-09-07 Thread Mike Britton
This is a ridiculous analogy, but to me, a job post here is kind of like jumping up on stage in the middle of a play with an advertisement for a nearby coffee shop. You have the target demographic's attention, but not in context. Mike ___ Flashcoders

Re: [Flashcoders] Job postings ok?

2006-09-07 Thread Mike Britton
I'm surprised people are ok w/ job posts here. if (!codeRelatedPost) offTopic = true; Can a FlashJobPosts list be started? Job posts show us options, sure, but they aren't about code, they are about jobs. Mike ___ Flashcoders

RE: [Flashcoders] XML id attribute shortcut not working?

2006-09-07 Thread Mike Keesey
it with a KLUDGE comment. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Rifled Cloaca Sent: Thursday, September 07, 2006 3:59 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] XML id attribute shortcut not working? All

RE: [Flashcoders] classes vs external .as files

2006-09-11 Thread Mike Keesey
is doing. Are they making classes? Yes. Are they making scripts to be included from the timeline? No. There is only one instance where I currently use an included timeline script instead of a class, and that is for SWFObject's expressinstall.as, which needs to work in Flash Player 6r65. ― Mike

RE: [Flashcoders] taking color out of a jpg in flash

2006-09-12 Thread Mike Mountain
http://www.senocular.com/flash/source.php?id=0.169 Googled desaturate flash -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stanford Vinson Sent: 12 September 2006 10:53 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] taking color

RE: [Flashcoders] Accessing a file on the local hard drive?

2006-09-12 Thread Mike Mountain
From what I can see of the tweenies one it does upload the photo - it just takes care of the where from bit with the text: Create a folder on your c drive called temp and save the file here, naming it me.jpg I assume this triggers a php script or something similar to upload it from that location

RE: [Flashcoders] does actionscript have something like sql's IN orLIKE ?

2006-09-12 Thread Mike Keesey
Why not just: public static function contains(str:String, val:String):Boolean { return str.indexOf(val) = 0; } ? A tad more concise (you don't need the ? true : false part), and avoids the problem your function has that if str is null or undefined, it returns true. ― Mike Keesey

RE: [Flashcoders] AS3 : chr() == String.fromCharCode()?

2006-09-14 Thread Mike Keesey
Not to be too harsh, but that's been deprecated since, what, Flash 5? ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of julien castelain Sent: Wednesday, September 13, 2006 10:45 PM To: flashcoders list Subject: [Flashcoders

[Flashcoders] Hex to HSB

2006-09-15 Thread Mike Mountain
Anyone got a quick and dirty hex to HSB and back converter algo - without having to convert to RGB first? Cheers M ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] How to get the URL of the page that a moiveis embedded on?

2006-09-15 Thread Mike Mountain
trace(this._url) Have I missed something? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Berkey Sent: 15 September 2006 12:12 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] How to get the URL of the page that a

RE: [Flashcoders] Hex to HSB

2006-09-15 Thread Mike Mountain
package : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/src/asgard/colors/ # HSV to RGB in ColorHSV class http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/src/asgard/col ors/ColorHSV.as EKA+ :) 2006/9/15, Mike Mountain [EMAIL PROTECTED]: Anyone got a quick and dirty hex

RE: [Flashcoders] Convert Regular Number back to Hex value?

2006-09-15 Thread Mike Mountain
toString(16) Cheers M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: 15 September 2006 13:01 To: Flashcoders mailing list Subject: [Flashcoders] Convert Regular Number back to Hex value? Similar to Mike's thread, is

RE: [Flashcoders] AS3 : chr() == String.fromCharCode()?

2006-09-15 Thread Mike Keesey
. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of julien castelain Sent: Friday, September 15, 2006 1:17 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] AS3 : chr() == String.fromCharCode()? ok mike, so what :) i

RE: [Flashcoders] Hex to HSB

2006-09-15 Thread Mike Mountain
To: Flashcoders mailing list Subject: Re: [Flashcoders] Hex to HSB Mike Mountain wrote: Thanks, but I was hoping this would be possible without having to convert to RGB first - I basically want to do pixel by pixel colour transform on a copy of a video whilst it's being played so it needs to be ultra

RE: [Flashcoders] Hex to HSB

2006-09-18 Thread Mike Mountain
I'm doing this in flash 9, the hex to rgb conversion is sweet and plenty fast enough, it's when I throw in the HSB conversion that is bogs down. It has to be done pixel by pixel as the type of transform depends on the input value of each individual pixel. [We're doing tilemap adjustments for

RE: [Flashcoders] specifying type of an array contents?

2006-09-18 Thread Mike Keesey
); } public function toString():String { return [type ItemList(items= + _items.join(, ) + )] ; } private var _items; } It is cumbersome to do this for all types, but it's handy for many occasions. (I do really miss C++ templates, though) ― Mike Keesey

RE: [Flashcoders] htmlText javascript link being ignored in Safari

2006-09-18 Thread Mike Keesey
an HTML link (a href=# onclick=openVidPlayer...). This may help narrow down where the failure is occuring. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Marlon Harrison Sent: Monday, September 18, 2006 2:36 PM To: Flashcoders

RE: [Flashcoders] Find item in array

2006-09-19 Thread Mike Mountain
It's a hell of a lot easier to read than the fastest for loop syntax. for (var i = myArray.length; --i -(-1); ) {} Actually that would be: var l = myArray.length; for (var i = l; --i -(-1); ) {} Then you're not looking up the length on every iteration.. :p M

RE: [Flashcoders] Find item in array

2006-09-19 Thread Mike Mountain
is evaluated condition is evaluated condition is evaluated condition is evaluated condition is evaluated _ Mike Mountain wrote: var l = myArray.length; for (var i = l; --i -(-1); ) {} Then you're not looking up the length on every iteration.. -- Fumio Nonaka mailto:[EMAIL

RE: [Flashcoders] Find item in array

2006-09-19 Thread Mike Keesey
My guess would be that postincrement it takes longer because it needs to store and return the original value, while preincrement only needs to return the result after performing the operation. But that's only a guess. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED

RE: [Flashcoders] Associate clip with class

2006-09-19 Thread Mike Keesey
, an error is thrown (which does not disrupt any other processes). -- Mike Keesey ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you

[Flashcoders] Using a swf as an animated texture in direct X

2006-09-20 Thread Mike Mountain
Anyone know if it's possible to use an animated swf as a texture for a directX object? Cheers M ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] HTTP post request in the background

2006-09-20 Thread Mike Keesey
(this, onResponseComplete); request.sendAndLoad(url, response); ― Mike Keesey ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you

RE: [Flashcoders] Working on Flash 6 player but not on Flash 8

2006-09-21 Thread Mike Keesey
The earlier post (by Jake Prime) is probably the explanation. But also, random() is deprecated; instead of random(x), you should use Math.floor(Math.random() * x). ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Berkay Unal

RE: [Flashcoders] Algorithm to find center of an irregular shape

2006-09-21 Thread Mike Keesey
) / 2; center.y = (bounds.yMax - bounds.yMin) / 2; return center; } (Assuming that the scope of this function is a movie clip timeline or a subclass of MovieClip.) ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf

RE: [Flashcoders] HTTP post request in the background

2006-09-21 Thread Mike Keesey
;, response); ... to the very end of your processForm() function. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Bill Abel Sent: Thursday, September 21, 2006 10:20 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] HTTP

RE: [Flashcoders] HTTP post request in the background

2006-09-21 Thread Mike Keesey
Actually, scratch that -- move the whole formData deal to its own function, and call that from onMailComplete(). IOW, do the calls sequentially, not simultaneously. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mike Keesey

RE: [Flashcoders] Working on Flash 6 player but not on Flash 8

2006-09-21 Thread Mike Keesey
Well, random() has two meanings then, and the Math.random() function is more generally useful than random() (for example, if you need a random floating-point number). That said, I'd love a Math.randomInt() function. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED

RE: [Flashcoders] Mute Flash Application, mac.

2006-09-22 Thread Mike Keesey
I think you can control all of the sound in a Flash movie like so: var globalSound:Sound = new Sound(_root); // Mute. globalSound.setVolume(0); // Restore. globalSound.setVolume(100); ― Mike Keesey

RE: [Flashcoders] Implicit Setters: Is validation considered a goodor bad OOP practice ?

2006-09-25 Thread Mike Keesey
This is generally the route I take. The only thing is that it may halt application flow in unforeseen circumstances, so 1) unit test and beta test really well and 2) try as much as possible to catch errors in code that sets the property. ― Mike Keesey -Original Message- From: [EMAIL

RE: [Flashcoders] How do you manage your classes?

2006-09-26 Thread Mike Keesey
back to project A with some tweaks and republish it. Because of changes in the package, there may be problems--at best you will still have to spend time regression testing. Copying your packages to a project-local folder means that you have a secure snapshot of the package. ― Mike Keesey

RE: [Flashcoders] Delegating Events and AS2

2006-09-26 Thread Mike Keesey
Whoops! -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mike Keesey Sent: Tuesday, September 26, 2006 2:23 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Delegating Events and AS2 [...] Or, if using AS3.0, I think you

RE: [Flashcoders] MC not pressed

2006-09-27 Thread Mike Mountain
Untested but what about something like this: [as] var btns = new Array(mc0_btn, mc1_btn, mc2_btn, mc3_btn, mc4_btn, mc5_btn); function scaleUp(mc) { mc._xscale = mc._yscale=150; } function scaleDown(mc) { mc._xscale = mc._yscale=50; } function hiliteButton(btn_num, transFuncOn,

Re: [Flashcoders] Escape and

2006-09-27 Thread Mike Lyda
not sure where you're using this, etc.. but maybe something like: myString = where in the world is it? myString = myString.split(?).join(\?) --- Laurent CUCHET [EMAIL PROTECTED] wrote: I try to save text in DB When I save I escape text but it doesnt work whith �� If someone save a text

[Flashcoders] Why isn't my listener firing?

2006-09-28 Thread Mike Mountain
[AS] import mx.transitions.Tween; import mx.transitions.easing.*; // var transListener:Object = new Object(); transListener.allTransitionsInDone = function(evt):Void { // direction value of 0 trace(evt.type+ triggered); }; mc.addEventListener(allTransitionsInDone, transListener);

RE: [Flashcoders] Why isn't my listener firing?

2006-09-28 Thread Mike Mountain
Never mind, having a thicko day M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: 28 September 2006 09:57 To: Flashcoders mailing list Subject: [Flashcoders] Why isn't my listener firing? [AS] import

RE: [Flashcoders] log or sin or what?

2006-09-28 Thread Mike Keesey
According the the name, it should be some kind of a quadratic equation (ax^2 + bx + c = 0). You could get something looking a lot like this with the sine or cosine functions, though. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED

RE: [Flashcoders] Mac Flash Projector Question

2006-09-29 Thread Mike Mountain
MDM Zinc may do the trick? http://www.multidmedia.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Bargar Sent: 29 September 2006 15:50 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Mac Flash Projector Question

RE: [Flashcoders] Implicit setters and exceptions in AS2.0

2006-09-29 Thread Mike Keesey
I think that's very well-put. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of David Bellerive Sent: Thursday, September 28, 2006 8:22 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Implicit setters

RE: [Flashcoders] Projector Wrapper

2006-10-03 Thread Mike Mountain
I'd be rather worried if Nicolas didn't want to promote it. The difference being Screenweaver HX is open and free - a comparison would certainly be very interesting. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: 02

RE: [Flashcoders] Projector Wrapper

2006-10-03 Thread Mike Mountain
Screenweaver HX does just work with the SWF. It just means you can extend it's capabilities with haXe if you wanted. From the blurb: the System layer : written in haXe and using the Neko API, you can access the local filesystem, databases, network sockets... You can also easily extend its

RE: [Flashcoders] when classes die...

2006-10-03 Thread Mike Keesey
destroy():Void { // Perform clean-up. delete this; } Then replace all instances of delete instanceOfYourClass; with instanceOfYourClass.destroy(). ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of grimmwerks

RE: [Flashcoders] when classes die...

2006-10-03 Thread Mike Keesey
Will that be called if you use unloadMovie() or if the playhead moves to a frame without the instance? MovieClip.onUnload is put there specifically for this kind of purpose. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf

RE: [Flashcoders] Projector Wrapper

2006-10-03 Thread Mike Mountain
, then it would undoubtdly do no harm whatsoever to give it a go and see if it does what the original post required. Apparently he was a little to succinct with his suggestion, a four page diatribe may well stand him in better stead next time. Keep on with the good flash man. Mike

RE: [Flashcoders] when classes die...

2006-10-03 Thread Mike Keesey
it to undefined? ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Peter Hall Sent: Tuesday, October 03, 2006 3:55 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] when classes die... public function destroy():Void

RE: [Flashcoders] Flash Player 9 FullScreen Mode

2006-10-05 Thread Mike Mountain
Doesn't work in win ie 6.0.2 for me -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Radley Marx Sent: 05 October 2006 05:24 To: Flashcoders mailing list Subject: Re: [Flashcoders] Flash Player 9 FullScreen Mode bwah ha ha ha ha.

RE: [Flashcoders] Google code search

2006-10-05 Thread Mike Mountain
Already loving http://krugle.com/ M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of slangeberg Sent: 05 October 2006 16:02 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Flashcoders mailing list; flexcoders@yahoogroups.com Subject: [Flashcoders]

RE: [Flashcoders] flv not playing in IE with Flash 9

2006-10-06 Thread Mike Mountain
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_04157 Does this help? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ammon Lauritzen Sent: 06 October 2006 00:01 To: Flashcoders mailing list Subject: Re: [Flashcoders] flv not

RE: [Flashcoders] Error check for parseXML()

2006-10-06 Thread Mike Keesey
Use the XML.status field. var xml:XML = new XML(); xml.ignoreWhite = true; xml.parseXML(someTextVar); if (xml.status == 0) { trace(Success!); } else { trace(Error in XML! Code: + xml.status); } ― Mike Keesey -Original Message- From: [EMAIL PROTECTED

RE: [Flashcoders] Error check for parseXML()

2006-10-09 Thread Mike Keesey
); } } The scope should probably be this instead of xml in this case. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Ray Chuan Sent: Saturday, October 07, 2006 2:21 AM To: Flashcoders mailing list Subject: Re

RE: [Flashcoders] simple gotoAndPlay :: Am I losing my mind?

2006-10-11 Thread Mike Mountain
Are you using MoveClipLoader within IE? If so it's listeners behave eratically with different content caching settings - this could be the problem, your main swf would think the content was loaded in and ready, when in fact it wasn't. M -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] Moving to AS2, array always undefined

2006-10-13 Thread Mike Keesey
; } } private var _radius:Number; private var _theta:Number; } �D Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of JOR Sent: Thursday, October 12, 2006 7:27 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Moving

RE: [Flashcoders] Flash Projectors - mProjector vs. Zinc

2006-10-18 Thread Mike Mountain
The problem I found with Director is you have to go out and buy a bunch of Xtras to really achieve anything notable. Have you considered ScreenweaverHX? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of slangeberg Sent: 17 October 2006 17:58

RE: [Flashcoders] Zinc issues

2006-10-24 Thread Mike Mountain
Zinc fixed this issue a few releases back, sounds like you're using an old build - ours works fine with SVN now... M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stan Vassilev Sent: 23 October 2006 20:42 To: flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Q:passing a variable as argument with getURL(javascript:testfunc(arg));

2006-10-24 Thread Mike Keesey
Use this: var arg:String = myvar; getURL(javascript:testfunc(' + arg + ')); // Note: arg's value cannot have apostrophes in it. Or, better yet, look into the flash.external.ExternalInterface class. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL

RE: [Flashcoders] Easy to learn and use 3d program

2006-10-27 Thread Mike Mountain
Cinema 4D by Maxon is both simple to use and very powerful M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johan Nyberg Sent: 27 October 2006 08:50 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Easy to learn and use 3d

RE: [Flashcoders] AS 3 - event args

2006-10-30 Thread Mike Keesey
stuff with button. } If you need to specifically use an index number, I'd attach that to the button instances themselves. Then you could retrieve that via event.target. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of dnk Sent

RE: [Flashcoders] AS 3 - event args

2006-10-30 Thread Mike Keesey
) { var index:uint = IndexButton(event.target).index; // Do something with index. } } //... ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL

RE: [Flashcoders] AS 3 - event args

2006-10-30 Thread Mike Keesey
Err, that last function should probably be called onButtonRelease ... but you get the idea ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Mike Keesey Sent: Monday, October 30, 2006 5:04 PM To: 'Flashcoders mailing

Re: [Flashcoders] AS 3 - event args

2006-10-30 Thread Mike Chambers
syntax errors). Personally, I would always have one event listener per button as I feel it make it a little easier to read the code. mike chambers [EMAIL PROTECTED] On Oct 30, 2006, at 4:12 PM, Mike Keesey wrote: One way would be to create a subclass of Event that stores the parameters

RE: [Flashcoders] Create zip file through flash

2006-11-01 Thread Mike Keesey
class interesting! ― Mike Keesey ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe

RE: [Flashcoders] Q:Coding : from Procedural to Class based code?

2006-11-01 Thread Mike Keesey
/write] nodes:Array [read/write] radius:Number [read/write] copy(source:TweenSettings):Void ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 12:10 PM

RE: [Flashcoders] AS 3 - event args

2006-11-01 Thread Mike Keesey
Yeah, the simplest way is to create an index field on the buttons themselves, and then access that in the listener with event.target.index. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of dnk Sent: Tuesday, October 31, 2006

RE: [Flashcoders] playing audio filetypes other than mp3?

2006-11-01 Thread Mike Keesey
, you're kind of stuck with MP3. ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Josh Santangelo Sent: Wednesday, November 01, 2006 3:54 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] playing audio filetypes

RE: [Flashcoders] Flash Print Function and Callbacks ?

2006-11-02 Thread Mike Keesey
Pretty sure you can't. Just noticed something odd whil looking at the documentation on AS3.0's ProntJob class (http://livedocs.macromedia.com/flex/2/langref/)--it extends EventDispatcher, yet it doesn't have any documented events. Vot der hey? ― Mike Keesey -Original Message- From

RE: [Flashcoders] Copy Constructor

2006-11-02 Thread Mike Keesey
(); } public var board:Array; public var score:Array; } Then you could call the construct with or without a parameter. (Actually, I would never use public variables, but that's another topic) ― Mike Keesey -Original Message- From: [EMAIL PROTECTED

RE: [Flashcoders] Copy Constructor

2006-11-02 Thread Mike Keesey
{ var cloneObj:ClassName = new ClassName(); cloneObj.copy(this); return cloneObj; } // ... ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Thursday, November 02, 2006 2:53 PM

RE: [Flashcoders] Copy Constructor

2006-11-02 Thread Mike Keesey
.: public function toString():String { return super.toString() + extra subclass info; } ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Thursday, November 02, 2006 4:03 PM To: 'Flashcoders mailing

RE: [Flashcoders] terminating hotspots etc

2006-11-02 Thread Mike Keesey
, Delegate.create(this, stop)); // To stop all controlled animations: MotionController.instance.stopped = true; // To restart all controlled animations: MotionController.instance.stopped = false; ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED

RE: [Flashcoders] OT conver java code to flash

2006-11-02 Thread Mike Keesey
= Math.floor(MAX * Math.random()); // Sets it to some number from 0 to MAX - 1. ― Mike Keesey ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought

[Flashcoders] Tween question

2006-11-02 Thread Mike O'Grady
but not vertically. Is this just Flash's normal behavior, that moving an object using actionscript means that the timeline will be ignored? Are there any work arounds? Thanks, Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options

RE: [Flashcoders] OT conver java code to flash

2006-11-03 Thread Mike Keesey
matter much in practice, but ― Mike Keesey ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier

RE: [Flashcoders] Copy Constructor

2006-11-03 Thread Mike Keesey
copy(source:GameState):Void { _board = new Board(source._board); // Copy other fields. } private var _board:Board; // Other private fields. } ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL

RE: [Flashcoders] Copy Constructor

2006-11-06 Thread Mike Keesey
-Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Saturday, November 04, 2006 2:39 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Copy Constructor Couldn't quite figure out your code Mike so have just

RE: [Flashcoders] OOP advice for game

2006-11-06 Thread Mike Keesey
on as part of the name, but a function responding to them might, e.g.: WeatherManager.instance.addEventListener(windChange, Delegate.create(this, onWindChange)); Or, in AS3.0: WeatherManager.instance.addEventListener(windChange, onWindChange); -- Mike Keesey

RE: [Flashcoders] Have I got this OOP business right?

2006-11-06 Thread Mike Keesey
Looks pretty good to me! You might consider having the display classes dispatch an event instead of calling a single function when they close--then you can extend behavior more easily in the future, if several things need to happen based on the same event. ― Mike Keesey -Original Message

RE: [Flashcoders] preventing scientific notation

2006-11-06 Thread Mike Keesey
AS3.0 has Number.toFixed(): http://livedocs.macromedia.com/flex/2/langref/Number.html#toFixed() Of course, that probably doesn't help you ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Hans Wichman Sent: Monday

Re: [Flashcoders] Flash Lite - Could someone clarify?

2006-11-06 Thread Mike Krisher
and install on their own device. You may want to look into delivering your content to Blackberry users via the browser. Blackberry's browser is actually quite good. Hope that helps, -- Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription

RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Mike Keesey
. That said, the code itself is clearer the other way. Six of one and half a dozen of the other. (Programming is so often like that.) -- Mike Keesey ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http

RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Mike Keesey
/langref/Error.html Error(message:String = , id:int = 0) Creates a new Error object. (Well, the id argument corresponds to the errorID property--so I guess they went both ways on this one!) ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED

[Flashcoders] Accordion Pains!

2006-11-08 Thread Mike Mountain
Don't use components often, so excuse the ignorance. And I have RTFM'd and googled. Can't find anyway of setting the state of the Accordion Panel (ie. Which one subpanel is open) using AS? Anyone? Bueller? Cheers M ___

RE: [Flashcoders] Accordion Pains!

2006-11-08 Thread Mike Mountain
, Peer http://www.weiqi.nl http://www.weiqi.nl/blog http://www.schoolvoordetoekomst.nl mobiel: 06 36 13 45 56 werk:073 62 00 274 -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Mike Mountain Verzonden: woensdag 8 november

RE: [Flashcoders] Freelancer Class

2006-11-08 Thread Mike Keesey
) { _name = value.toUpperCase(); } else { _name = null; } } private var _name:String = null; } ― Mike Keesey ___ Flashcoders@chattyfig.figleaf.com To change

RE: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread Mike Keesey
{ foo = !foo; traceFoo(); } } (Me, I prefer to use an event dispatcher that sends enterFrame events, but I'll admit that that's often overkill.) ― Mike Keesey ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] Writing code for big teams

2006-11-08 Thread Mike Keesey
It really opened my eyes to the utility of unit-testing, and how paying some time up front can allow your code to be more stable and more flexible down the road. (Yes, the examples are in Java, but it's extremely similar to AS.) ― Mike Keesey

[Flashcoders] List items of differing row height

2006-11-09 Thread Mike Mountain
List items of differing row height - is this possible in the list component? Cheers M ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to

RE: [Flashcoders] Test if using ActionScript 2.0

2006-11-09 Thread Mike Keesey
If you were using AS3.0 you could use the flash.display.LoaderInfo.actionScriptversion property. Wait--no, that only distinguishes 1.0 and 2.0 from 3.0. You could use the swfVersion property, though. Why exactly do you need to detect this? ― Mike Keesey -Original Message- From: [EMAIL

[Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Mike Keesey
I was playing around with the idea of passing data from an HTML page directly into a Flash movie via Javascript/SWFObject. One thing I wanted to try was sending the text that SWFObject replaces into the Flash movie. In Firefox this was pretty simple. E.g., if SWFObject was replacing the contents

RE: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Mike Keesey
That sounds *much* nicer--how do you grab the whole XHTML page in Javascript? ― Mike Keesey -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Ryan Potter Sent: Thursday, November 09, 2006 11:39 AM To: Flashcoders mailing list Subject: RE

RE: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Mike Keesey
Ah, that works. The only thing is that it requires a double load of the page and the data isn't instantly available (although, with browser-caching, it should load in very quickly). Not huge concerns, but the double load could skew metrics. ― Mike Keesey -Original Message- From: [EMAIL

<    2   3   4   5   6   7   8   9   >