RE: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-23 Thread Mike Keesey
g // It's easier to read than all those asterisks // IMNSHO / Oh I used about 6 asterisks in my example. I don't like huge lines of them, either. -- Mike Keesey ___ Flashcoders@chattyfig.figleaf.com To change your subscriptio

RE: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-23 Thread Mike Keesey
asy to do "Move Method" refactorings and suchlike. > I'm not going to make my process suffer nor am I going to litter my code > with ugly asterisks just to document my work when I can spend that > energy writing cleaner, easier to read code with light commenting in the >

RE: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-24 Thread Mike Mountain
Surely this is just a matter of using a fully featured IDE to develop your code in - if you use Flashdevelop for instance you can block comment/uncomment any lines/lines using "//" syntax from the edit menu with "comment line", or with keyboard shortcuts - this will not conflict with block comment

RE: [Flashcoders] onLoadInit failure

2006-08-24 Thread Mike Mountain
The MovieCLip Loader events do not fire off correctly in IE when the content has been cached and IE is set to check for updates "Automatically" or "Never". It's utter crap. Cheers M > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Tony Fairfiel

RE: [Flashcoders] Flash/Actionscript Coding conventions

2006-08-24 Thread Mike Keesey
It ends when you make your own damn third-party tools! ;) Seriously, though, I don't find that I have to comment out huge swaths of class functions at a time very often. Even if I did have to comment out several functions, they might not be next to each other, anyway. And, as I said before, commen

RE: [Flashcoders] retrieving vars using query string

2006-08-24 Thread Mike Keesey
You can just set your FlashVars on the first frame on the main timeline. (And make sure you delete them when done testing.) I don't know of a better way. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, August 24, 2006 4:0

[Flashcoders] UML Diagrams

2006-08-24 Thread Mike Keesey
27;ve experimented with a few such programs. I'd really like to find something (or a combo solution) that can work both ways. -- Mike Keesey ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the arc

RE: [Flashcoders] Protect model setters from being called by any classexcept Controller

2006-08-24 Thread Mike Keesey
In AS3.0 I think it can be package-private, but until then One way is to have the Model class satisfy an interface that lacks the property (of course, in AS2.0, all interfaces lack properties...), and then only expose the model class as the interface elsewhere. interface IModel { func

RE: [Flashcoders] Protect model setters from being called by anyclassexcept Controller

2006-08-24 Thread Mike Keesey
it should work. A bit weird, though. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Keesey Sent: Thursday, August 24, 2006 6:46 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Protect model setters from being called by anyclasse

Re: [FlashCoders] Local storage warning

2006-08-25 Thread Mike Cobb
figleaf.com http://training.figleaf.com -- ----- 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 - Grosvenor Hous

Re: [Flashcoders] UML Diagrams

2006-08-25 Thread Mike Britton
Enterprise Architect: http://www.sparxsystems.com.au/products/ea.html 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

Re: [Flashcoders] UML Diagrams

2006-08-25 Thread Mike Britton
It also has round trip AS2 code generation. Gotta love that. http://www.5etdemi.com/blog/archives/2005/11/uml-to-as2-generator-for-enterprise-architect/ Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

RE: [Flashcoders] Singleton not always Singleton?

2006-08-25 Thread Mike Keesey
PET PEEVE ALERT class com.shell.util.IntroAnimProxy Unless you are actually doing Shell Petroleum's website at http://shell.com, this isn't a proper name for the package. The "com" convention is a strategy to keep package paths from overlapping on different projects: if you're doing a website, yo

Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-29 Thread Mike Britton
tellTarget and _global to accomplish this is questionable. Maybe I'm missing something. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Broug

Re: [Flashcoders] mvc dillema

2006-08-29 Thread Mike Britton
You could use EventDispatcher in the Model, View and Controller, and send the XML data to your Model through your Controller. When the Model changes, make it dispatch an event that updates the view, etc. Mike ___ Flashcoders@chattyfig.figleaf.com To

Re: [Flashcoders] FLV8/VP6 decoding?

2006-08-30 Thread Mike Cobb
ized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- - Mike Cobb Creative Director HMC Interactive - Tel: + 44 (0)845 20 11 462 Mob: + 44 (0)785 52 54 743 Web: http://www.hmcinterac

RE: [Flashcoders] Singleton not always Singleton?

2006-08-30 Thread Mike Keesey
Boy, is my face red! But I have seen bad package-naming conventions used before, so hopefully the post wasn't completely useless for eveyone out there. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Park Sent: Sunday, August 27, 2006 4:34 AM To: Fl

RE: [Flashcoders] TextFormat

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 , and a 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 To change your subscription options or

Re: [Flashcoders] Flash + Web Services problems

2006-08-31 Thread Mike Britton
Like this: 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

Re: [Flashcoders] Fwd: Application Framework

2006-08-31 Thread Mike Britton
It's built into Flash 8: import mx.xpath.XPathAPI; function getXMLData() { var myXML:XML = new XML(); myXML.ignoreWhite = true; myXML.onLoad = function(success:Boolean) { if (success) { var groupAr:Array = XPathAPI.selectNodeList(t

Re: [Flashcoders] getURL and IE 6.0.

2006-09-04 Thread Mike Cobb
.figleaf.com http://training.figleaf.com -- ----- 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 - Grosvenor Hou

[Flashcoders] Text background

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

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 mailin

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 tech

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

2006-09-07 Thread Mike Britton
It's good to know these jobs are out there, but there has to be a better place for these posts than a coding list. Plerase have some respect. Mike Britton ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the ar

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.figl

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 arc

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 ___ Flashc

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 ___ F

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

2006-09-07 Thread Mike Keesey
Use the XML.idMap property. ― Mike Keesey > -Original Message- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of Rifled Cloaca > Sent: Thursday, September 07, 2006 3:27 PM > To: Flashcoders mailing list > Subject: [Flashcoders] XML id attr

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

2006-09-07 Thread Mike Keesey
t and mark 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: [Fl

[Flashcoders] AS3 Diesel Blitting engine - FAO Jesse Warden

2006-09-08 Thread Mike Mountain
http://www.jessewarden.com/archives/2006/01/diesel_battlefi.html Briefly had a look at this, it doesn't seem to run under the latest releases - anyone progressing with this? Cheers M ___ Flashcoders@chattyfig.figleaf.com To change your subscription opt

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

2006-09-08 Thread Mike Mountain
Personally I think you'd be better using a webcam photo - take a snapshot using bitmapdata - then there's no uploading/downloading etc. to be done. Most PC's have webcams nowadays and they'll require less technical knowledge end user wise than a file upload. Cheers M > -Original Message-

RE: [Flashcoders] classes vs external .as files

2006-09-11 Thread Mike Keesey
line with what Adobe 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

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] takin

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 locati

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 t

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: flashc

[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: http://chattyfig.figleaf.com/mailman/lis

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

RE: [Flashcoders] Hex to HSB

2006-09-15 Thread Mike Mountain
gt; http://osflash.org/vegas > > # Color tools in asgard.colors 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.a

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 threa

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

2006-09-15 Thread Mike Keesey
lowed ECMA standards. ― 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() == S

RE: [Flashcoders] Hex to HSB

2006-09-15 Thread Mike Mountain
6 17:07 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 s

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 a

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

2006-09-18 Thread Mike Keesey
lice(index, 1); } 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

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

2006-09-18 Thread Mike Keesey
I can think of a reason: SAFARI SUCKS!!! Sorry, I can't be more helpful; just had to get that out there. ;) Okay, I'll try to be a little helpful--have you tried putting an alert() call in your JS function to see if Safari's calling it at all? Or, better yet, try calling the function from an HTM

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
aluated"); > return 3; > } > // [Output]: > initial value 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

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: [EMAI

RE: [Flashcoders] Associate clip with class

2006-09-19 Thread Mike Keesey
, and if there is no such symbol, 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/fl

[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 by

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

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 PROT

RE: [Flashcoders] HTTP post request in the background

2006-09-21 Thread Mike Keesey
ntact.aspx";, 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: Flashcod

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 Behal

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: [EMAI

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] Mute Flash Application, mac.

2006-09-22 Thread Mike Keesey
Well, can he load it into a holder SWF and set the global volume on that? ― Mike Keesey > -Original Message- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of Merrill, Jason > Sent: Friday, September 22, 2006 12:11 PM > To: Flashcoders mailing

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:

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

2006-09-26 Thread Mike Keesey
to go 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

RE: [Flashcoders] Delegating Events and AS2

2006-09-26 Thread Mike Keesey
tried AS3.0, so someone let me know if I messed anything up.) ― Mike Keesey > -Original Message- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of Sean Scott > Sent: Tuesday, September 26, 2006 12:09 PM > To: Flashcoders@chattyfig.figle

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 [...

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, tr

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 sa

[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", transListene

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 fir

RE: [Flashcoders] movieclip._y = textField._height

2006-09-28 Thread Mike Mountain
I assume that trace(textField._height) yields 60? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Lieven Cardoen > Sent: 28 September 2006 14:06 > To: Flashcoders mailing list > Subject: [Flashcoders] movieclip._y = textField._height > > Really

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 PROT

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: [Flashc

Re: [Flashcoders] Selection class makes me want to kick someone in the face

2006-10-02 Thread Mike Cobb
__ 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 Consulting and Training http://www.figleaf.com http://training.figleaf

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:

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 capab

RE: [Flashcoders] when classes die...

2006-10-03 Thread Mike Keesey
troy(): public function 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:flas

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

RE: [Flashcoders] Projector Wrapper

2006-10-03 Thread Mike Mountain
it Nicolas was proposing that as Screenweaver is "free", 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 sta

RE: [Flashcoders] when classes die...

2006-10-03 Thread Mike Keesey
deleting a variable and setting 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: [Fl

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

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: [Flash

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 no

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- &

RE: [Flashcoders] Error check for parseXML()

2006-10-09 Thread Mike Keesey
" + this.status); } } 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, 2

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
_theta = value; } } 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: Flashcode

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:5

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

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---

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 3

RE: [Flashcoders] AS 3 -> event args

2006-10-30 Thread Mike Keesey
// Do 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 PROTECTE

RE: [Flashcoders] AS 3 -> event args

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

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

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. In

RE: [Flashcoders] Create zip file through flash

2006-11-01 Thread Mike Keesey
esystem. Sorry for the noise. Don't apologize--I found the unzip class interesting! ― Mike Keesey ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashco

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, 2

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

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

2006-11-01 Thread Mike Keesey
r as sound goes, 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 >

<    1   2   3   4   5   6   7   8   9   10   >