RE: [SPAM] RE: [Flashcoders] String Empowerment

2006-07-28 Thread Steven Sacks | BLITZ
Here's toTitleCase: String.prototype.toTitleCase = function() { var a = this.length; if (a == 0) return ; var c; var w; var s = ; while (--a -(-1)) { c = this.charCodeAt(a); w = this.charAt(a - 1); w =

RE: [Flashcoders] Array Empowerment

2006-07-27 Thread Steven Sacks | BLITZ
After thinking about it, I believe the eql method is fine how it is and here's why. If there is an object in there with the same exact properties, but it's a different instance of the object, then I don't think it should be a match. If it points to the same place in memory (same instance) then

RE: [Flashcoders] Array Empowerment

2006-07-27 Thread Steven Sacks | BLITZ
Latest and greatest! http://paste.plone.org/7317 ___ 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

[Flashcoders] String Empowerment

2006-07-27 Thread Steven Sacks | BLITZ
My follow up to the Array extensions is this set of String extension methods, again, borrowed from other languages. Time for optimization! Some methods are still in development - some pretty tricky checking. I also need to make _parseParams a bit more robust in allowing multiple arguments to be

RE: [Flashcoders] String Empowerment

2006-07-27 Thread Steven Sacks | BLITZ
Pseudocode examples of usage: hello.capitalize() Hello HELLO.capitalize() Hello 123ABC.capitalize() 123abc hello.center(4) hello hello.center(20, _) ___hello hello.chomp() hello hello\n.chomp() hello hello \n there.chomp() hello \n there

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
I appreciate all feedback on this Array extension. Why do the function names have underscores when camel-humped names are the customary syntax in ActionScript It's how Ruby does it and I'm learning Ruby so I guess it just carried over. I've changed them to AS formatting. Some of the names

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
Thanks for pointing out the issues with sum. I think I have found a decent solution, though I'm not certain of the performance hit. Array.prototype.sum = function() { var x = 0; var a = this.length; while (--a -(-1)) { if (!isNaN(Number(this[a]))) {

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
Yes I see it. Thanks for pointing that out. Yes, the isNaN(Number(this[a])) check will convert string numbers to numbers and that's a great benenfit in a language where strict typing is bogus. ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
Those are great additions. You need a duplicate_deep and a replicate_deep, though. Right now, any obejcts stored in the array will be references in the new array. A _deep method would make copies of those too, recursively caling Array.duplicate, or Object.duplicate. ;-) I'm not sure this is

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
Version 3 - Keep those revisions, suggestions, comments coming! --- // Empowered Array // Runs a function on every item in the array // Returns true if the function returns true for any one item Array.prototype.any = function(block) { var a = this.length;

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
Quick optimization - Pulled the if instanceof Array out of the loop: Array.prototype.lastIndexOf = function(obj) { var a = this.length; if (!(this[a] instanceof Array)) { while (--a -(-1)) { if (this[a] == obj) return a;

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
Ah. Thanks! I updated the list. Ok, I'm getting back to work on String extension, the next in the series. Keep the feedback coming! -Steven ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
There must be equivalent Java functions somewhere (and ActionScript is far more akin to Java than PHP or Ruby). I think every and any are fine, to be honest. But, as pointed out before, ActionScript is far more akin to Java, where equals is something just about every single object has.

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
Chris, You rock! How about calling it PowerArray or XArray instead. :) -Steven BLITZ | Steven Sacks - 310-551-0200 x209 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
Ok, I'll go through and make those changes to every loop with this[a] is referenced more than once. BLITZ | Steven Sacks - 310-551-0200 x209 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
| Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Chris Hill Sent: Wednesday, July 26, 2006 2:56 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Array Empowerment Done! :D http://ubergeek.tv

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
http://paste.plone.org/7080 I've fixed some bugs, implemented flatten4, and also changed the methods to just function() calls for easier implementation into the great mixin class that Chris wrote. I also assigned this[a] to a variable 'e' where this[a] is used more than once in a loop. Removing

RE: [Flashcoders] Attention Recursion Speed Experts

2006-07-26 Thread Steven Sacks | BLITZ
Sweet. The only other method that uses recursion is eql. -Steven ___ 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] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
http://paste.plone.org/7081 Meh, silly bug with indices now that it's just functions. Removed for now. -s ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
Remove and delete aren't synonymous, and I think remove is much better suited to what is happening in the function. Without looking at the function or reading any documentation, I would assume that a delete method destroyed the object, not just removed it from the array. An Array.delete

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
I just had a look at eql (equality) because of the recursion there and actually I'm not sure it should be there at all. By that logic you would have to compare the properties of objects, too, which would raise questions about recursion depth. You're right. Object == Object doesn't work.

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
DataProvider is not secretly decorating things, BUT something somewhere in the V2 stuff is iterating over the array object itself, and is silently blowing up when it finds these extra functions. I've had a similar problem when some third party code was adding a function to object.prototype,

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
to reel it in and save yourself from potential debugging issues down the road, and make it easier if you ever intend on learning a lower level language. :) BLITZ | Steven Sacks - 310-551-0200 x209 ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] Array Empowerment

2006-07-26 Thread Steven Sacks | BLITZ
As a relative newcomer to Actionscript, I have found the entirety of this thread very useful. I want to thank all of you for sharing this code, as well as providing a considerable amount of insight to those of us lurking in the shadows. Glad to hear it. I was fairly surprised to see that

RE: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Steven Sacks | BLITZ
First off, thanks to everyone helping on this thread. I originally was using object == typeof(this[a]). Glad to see instanceof Array was fastest. What I'm trying to do here is write new methods for Array (and next up is String) that other languages have but Flash does not. Some of these

RE: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Steven Sacks | BLITZ
Oh, I just noticed that Mark's was fastest. But, I can't get it to work (freezes flash) There seems to be an error in the final while loop. It's a single = not a double ==. Is that a typo? ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Steven Sacks | BLITZ
Ok, I got Mark's to work however it does not work when turned into a prototype and I set list = this. Why it doesn't work may be the result of another problem, though, and I'm not sure yet what it is, but here's the behavior. I created a movie with 3 buttons. An new array is instantiated.

RE: [Flashcoders] Attention Recursion Speed Experts

2006-07-25 Thread Steven Sacks | BLITZ
Could you post (or send me) the test script, please? Sure, here you go. --- function randomArray(p) { var a = []; for (var i = 0; i p; i++) { if (random(2) random(5)) { a.push(i); } else {

[Flashcoders] Array Empowerment

2006-07-25 Thread Steven Sacks | BLITZ
Other programming languages have more comprehensive Array methods. While some are rarely used, some are quite useful, and some are merely shortcuts. I have included them all here in my Array Empowerment script. If anyone can speed any of these up, please let me know. Some of these for loops

RE: [Flashcoders] Array Empowerment

2006-07-25 Thread Steven Sacks | BLITZ
Thank you for your comments. Writing these methods is like creating and solving little puzzles. Much fun! // Remove all elements from Array Array.prototype.clear = function() { this.length = 0; }; This function scares me to death. According to the official Flash documentation

RE: [Flashcoders] Array Empowerment

2006-07-25 Thread Steven Sacks | BLITZ
Here is the next iteration - new and improved. Again, all comments and optimizations, including conversations about optimizations, are most welcome! // Array Empowerment // Removes all elements from Array Array.prototype.clear = function() { this.length = 0; }; // Invoking block once

[Flashcoders] Attention Recursion Speed Experts

2006-07-24 Thread Steven Sacks | BLITZ
Is there a way to make this script any faster? Array.prototype.flatten = function(r) { if (!r) r = []; var l = this.length; for (var a = 0; a l; a++) { if (this[a].__proto__ != Array.prototype) { r.push(this[a]); } else { this[a].flatten(r); } }

RE: [Flashcoders] Attention Recursion Speed Experts

2006-07-24 Thread Steven Sacks | BLITZ
the same method, which means recursion. BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Bernard Poulin Sent: Monday, July 24, 2006 9:56 PM To: Flashcoders mailing list Subject: Re: [Flashcoders

RE: [Flashcoders] Trying not to loadMovie multiple times

2006-07-21 Thread Steven Sacks | BLITZ
I may be asking a stupid question, but did you by chance duplicate it before it was finished loading? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] ActionScript Application Framework

2006-07-21 Thread Steven Sacks | BLITZ
Another issue with developing a Rails or Cake type of framework for Flash is the rate at which Flash changes undermines the effort. PHP, Java, Ruby - these languages get upgrades, improvements and bug fixes over the years, but for the most part, don't change that much, and get a lot of additional

RE: [Flashcoders] ActionScript Application Framework

2006-07-20 Thread Steven Sacks | BLITZ
James, Rails and Flex work very well together. Maybe you should consider following that career path - a Flex/Rails developer. Jesse Warden has gone that way and loves it. http://www.recentrambles.com/pragmatic/view/31 BLITZ | Steven Sacks - 310-551-0200 x209

RE: [Flashcoders] ActionScript Application Framework

2006-07-19 Thread Steven Sacks | BLITZ
in ruby and rails) and you might be able to apply some of the brilliance found there to your Flash development approach. BLITZ | Steven Sacks - 310-551-0200 x209 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search

RE: [Flashcoders] ActionScript Application Framework

2006-07-19 Thread Steven Sacks | BLITZ
Well, Ruby on Rails is just a hype. Their are some issues with it which cause database corruption. Oh really? Do tell. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] ActionScript Application Framework

2006-07-19 Thread Steven Sacks | BLITZ
Well, Ruby on Rails is just a hype. Their are some issues with it which cause database corruption. Oh really? Do tell. The reason I ask is because I don't think you can blame Rails for something that's a programmer issue. That's like blaming Flash for bugs in people's Flash apps. On top

RE: [Flashcoders] ActionScript Application Framework

2006-07-19 Thread Steven Sacks | BLITZ
http://blogs.borland.com/fhaglund/archive/2006/07/15/25963.aspx ;-) And yet at the end of said article There might be easy ways get this to work in Rails but I'm a Rails rookie and I have not found it yet. Can someone with deeper knowledge enlighten me? What we have here is a programmer error,

RE: [Flashcoders] ActionScript Application Framework

2006-07-19 Thread Steven Sacks | BLITZ
I think that says more about the average Director developer than about Flash or Macromedia. ;-) Heh, I was joking to make a point. I don't think anyone can claim to know the future and label new technologies as just hype, especially not having delved into them personally to weigh the benefits

RE: [Flashcoders] Scrollpane and masking

2006-07-18 Thread Steven Sacks | BLITZ
the scrollpane inside that movieclip. See if that works. BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Haikal Saadh Sent: Monday, July 17, 2006 9:03 PM To: Flashcoders mailing list Subject: Re

RE: [Flashcoders] ActionScript Application Framework

2006-07-18 Thread Steven Sacks | BLITZ
Sure, here's the first step. Buy and read the following books: Agile Web Development with Rails - 2nd Edition http://www.pragmaticprogrammer.com/titles/rails/index.html This will give you a solid foundation on why Rails is such an outstanding framework. Practices of an Agile Developer

RE: [Flashcoders] Techniques to disable/enable debug mode

2006-07-18 Thread Steven Sacks | BLITZ
Debugger, and with Xray. BLITZ | Steven Sacks - 310-551-0200 x209 ___ 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] Techniques to disable/enable debug mode

2006-07-18 Thread Steven Sacks | BLITZ
Is it open source and freely available like Xray is? BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of eric dolecki Sent: Tuesday, July 18, 2006 4:00 PM To: Flashcoders mailing list Subject: Re

RE: [Flashcoders] In the List Component how to add more than one iconin one item (eg. Yahoo Messenger's Address Book)

2006-07-17 Thread Steven Sacks | BLITZ
Write your own, don't use the component. BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Santhakumar K Sent: Friday, July 14, 2006 7:25 PM To: Flashcoders@chattyfig.figleaf.com Subject

RE: [Flashcoders] First attempts at wirting code in AS2

2006-07-17 Thread Steven Sacks | BLITZ
You need to declare your class variables before you use them: class GameObject extends MovieClip { var little_stars_mc:MovieClip; var game_number:Number; function GameObject() { game_number = 1; little_stars_mc.gotoAndStop(game +

RE: [Flashcoders] Output to Text File

2006-07-17 Thread Steven Sacks | BLITZ
And I feel happy using mProjector from Binary Noise, a wrapper written with a Flash developer in mind from the ground up. The API is second to none and the performance and stability is unmatched, IMO. BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED

RE: [Flashcoders] Scrollpane and masking

2006-07-17 Thread Steven Sacks | BLITZ
How is your movie built? Is the scrollpane component in a loaded in swf? If so, you must have the scrollpane component in the library of the root/loading swf. Do you have the scrollpane embedded in another component? Do you have the scrollpane masked?

RE: [Flashcoders] Eclipse Assistance (beginner)

2006-07-14 Thread Steven Sacks | BLITZ
for hijacking your thread. BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Andy Stone Sent: Friday, July 14, 2006 12:41 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Eclipse Assistance

RE: [Flashcoders] Media player version detection on Firefox

2006-07-12 Thread Steven Sacks | BLITZ
Hi, You need to check google before you spam the list. Especially with an off-topic post that has nothing to do with Flash. http://forums.mozillazine.org/viewtopic.php?t=206213 google search: detect windows media player in firefox BLITZ | Steven Sacks - 310-551-0200 x209

RE: [Flashcoders] Creating Custom Documentation MXP

2006-07-11 Thread Steven Sacks | BLITZ
With such a great subject line i think it would benefit the archives to share your results... Everything you need to know can be found on this thread: http://www.northcode.com/forums/showthread.php?t=6086 BLITZ | Steven Sacks - 310-551-0200 x209

RE: [Flashcoders] help with embedded fonts...

2006-07-11 Thread Steven Sacks | BLITZ
Hi grimm, You need to embed the italic and bold versions of the font, too. Best bet is to stick all three in off-screen dynamic textfields somewhere (or exported in your library). Old school Flasher trick - works like a charm. Nice suggestion for all these code monkeys who forget (or never

RE: [Flashcoders] improving ScrollPane performance

2006-07-10 Thread Steven Sacks | BLITZ
when 2 was, etc. 1 2 3 4 5 That way, Flash is only drawing 5 clips, and you're just swapping data out. This is how MM does it. No smooth scrolling, but it's hardly noticeable, esp considering the performance is great. BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From

RE: [Flashcoders] Helper

2006-07-10 Thread Steven Sacks | BLITZ
Hello! Buddy your words are out of my thought.right me clearly whatever you want to tell. thnx. I am at once nonplussed and entertained. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search

RE: [Flashcoders] htmlText, CDATA and inputText fun...

2006-07-10 Thread Steven Sacks | BLITZ
Did you try using _sans, not just imported Arial? Is the field masked? BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Monday, July 10, 2006 2:40 PM To: Flashcoders mailing

[Flashcoders] Creating Custom Documentation MXP

2006-07-10 Thread Steven Sacks | BLITZ
I've spent some time on google trying to find information and no luck. I'm looking for a pointer in the right direction on how to create custom documentation that would integrate into the Flash Help window installed via an MXP file. Thanks! ___

RE: [Flashcoders] Creating Custom Documentation MXP

2006-07-10 Thread Steven Sacks | BLITZ
Nevermind, I found it. -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Monday, July 10, 2006 6:52 PM To: Flashcoders mailing list Subject: [Flashcoders] Creating Custom Documentation MXP I've spent some

RE: [Flashcoders] Detecting a Sound Card

2006-07-07 Thread Steven Sacks | BLITZ
. -Steven BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Friday, July 07, 2006 7:16 AM To: Flashcoders mailing list Subject: [Flashcoders] Detecting a Sound Card Hi folks, I

RE: [Flashcoders] Fullscreen from SWF

2006-07-07 Thread Steven Sacks | BLITZ
Pop-up blockers don't block pop-ups if the user clicks the link that launches the pop-up (they're effectively opting-in). BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of 8ball Developer Sent

RE: [Flashcoders] Flash 9 Public Alpha ...

2006-07-06 Thread Steven Sacks | BLITZ
There are plenty of reasons why people in corporate environments run Windows 2000 Workstation, that have nothing to do with the speed of technology or Moore's law (which has absolutely nothing to do with operating systems). There are plenty of reasons I don't work in corporate environments.

RE: [Flashcoders] Flash 9 Public Alpha ...

2006-07-06 Thread Steven Sacks | BLITZ
Stephen You can see in the From it's spelled with a v. It's not like you heard my name and spelled it with a ph. You read the word right in front of you with a v and yet you still misspelled it. Astounding. ;) you're misreading the information on that link. And you're misreading the

RE: [Flashcoders] a swf asking itself : whereAmI ?

2006-07-06 Thread Steven Sacks | BLITZ
From the Flash Help panel: _url (MovieClip._url property) public _url : String [read-only] Retrieves the URL of the SWF, JPEG, GIF, or PNG file from which the movie clip was downloaded. ___ Flashcoders@chattyfig.figleaf.com To change your subscription

RE: [Flashcoders] LocalConnection to multiple swfs

2006-07-05 Thread Steven Sacks | BLITZ
So, you can have multiple swfs listening to a single swf, but you cannot have a single swf listen to multiple swfs. The best analogy I can think of is a radio station. A radio station can transmit its signal to all its listeners. But, the radio station can only receive calls from one listener

RE: [Flashcoders] LocalConnection to multiple swfs

2006-07-05 Thread Steven Sacks | BLITZ
it will reconnect. http://chattyfig.figleaf.com/pipermail/flashcoders/2003-May/076262.html BLITZ | Steven Sacks - 310-551-0200 x209 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com

RE: [Flashcoders] Tabbed Browsing support? htmlText, contextMenu, Javascript?

2006-07-05 Thread Steven Sacks | BLITZ
This thread might be of use to you: http://my.opera.com/userjs/forums/topic.dml?id=125641 Did a google search: http://www.google.com/search?q=open+link+in+new+tab+javascript BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders

RE: [Flashcoders] LocalConnection to multiple swfs

2006-07-05 Thread Steven Sacks | BLITZ
Sorry, I meant on a single LocalConnection. BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of John Grden Sent: Wednesday, July 05, 2006 2:34 PM To: Flashcoders mailing list Subject: Re

RE: [Flashcoders] LocalConnection to multiple swfs

2006-07-05 Thread Steven Sacks | BLITZ
Wait, you and I are saying the same thing. I can broadcast on as many channels as I want but I can't have a LocalConnection listen to more than the channel you pass it in the connect method. LC = new LocalConnection(): LC.connect(channelA); If you call LC.connect(channelB); It disconnects

RE: [Flashcoders] the speed of bitmapdata

2006-06-29 Thread Steven Sacks | BLITZ
| Steven Sacks - 310-551-0200 x209 ___ 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: [SPAM?] RE: [Flashcoders] XPcomponents set

2006-06-29 Thread Steven Sacks | BLITZ
Maybe a scam is a harsh word ... but you don't just forget to mention such a huge detail by accident. I sold you a car that looks fairly new. It will get you from point A to point B. I forgot to mention that it's not street legal and it runs on leaded fuel. What's the word for that?

RE: [SPAM?] RE: [Flashcoders] XPcomponents set

2006-06-29 Thread Steven Sacks | BLITZ
I don't think it's a scam. I gave them a call when I was working with them and they were amazingly helpful and polite. I think it's 3 guys coding a component framework, and one that's not too shabby. Sure, it doesn't work with MM's framework, but who cares? V2 is garbage anyways. It's not

RE: [SPAM?] RE: [Flashcoders] XPcomponents set

2006-06-29 Thread Steven Sacks | BLITZ
I think that's false. There are lots of people who are interested in using frameworks and using them completely. We have to agree to disagree on this one. There are always tradeoffs: adopt the framework, you give some things up, but you get others. Depending on their needs, some people

RE: [SPAM?] RE: [Flashcoders] XPcomponents set

2006-06-29 Thread Steven Sacks | BLITZ
MM did that as well, did you say scam then too ? With the exception of the DRK series of components, MM's components came free with Flash. And I don't recall any MM components that caused other things to break in your application. The components themselves were buggy and certain components

RE: RE: [SPAM?] RE: [Flashcoders] XPcomponents set

2006-06-29 Thread Steven Sacks | BLITZ
Case in point - to use Rails, you must do things inn VERY specific ways. Rails is all about convention, and if you don't adhere to its conventions, you will be boned. Not true. For example, one of the conventions Rails uses to make things easier is their naming conventions, specifically,

RE: [Flashcoders] XPcomponents set

2006-06-28 Thread Steven Sacks | BLITZ
What is not entirely clear on the website is that the XPComponents are NOT designed to be used as standalone components in YOUR application, but are meant to be used when you build applications using the DEVELOPERS' EXACT framework. We paid for the components but found out very quickly that they

[Flashcoders] test

2006-06-28 Thread Steven Sacks | BLITZ
test --- Steven Sacks Senior Flash Developer [EMAIL PROTECTED] Ph: 310-551-0200 x209 Fax: 310-551-0022 BLITZ | 405 S Beverly Drive, 3rd Floor - Beverly Hills, CA 90212 www.blitzagency.com ___ Flashcoders@chattyfig.figleaf.com To change your

[Flashcoders] Issue running local swfs in IE in Windows XP SP2

2006-06-28 Thread Steven Sacks | BLITZ
Hey everyone, I recently upgraded to Windows XP SP2 and this stupid information bar keeps me from running local html pages with swfs in them without clicking on it, and then a subsequent pop up alert box. I googled the web and couldn't find any way to stop this from happeneing. The methods

RE: [SPAM?] RE: [Flashcoders] XPcomponents set

2006-06-28 Thread Steven Sacks | BLITZ
Are the Ghostwire components still being developed further or added to? Ville -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Wednesday, June 28, 2006 12:01 To: Flashcoders mailing list Subject: RE: [Flashcoders] XPcomponents

RE: [Flashcoders] Q:Determining timeline scope from within class

2006-06-28 Thread Steven Sacks | BLITZ
Use a _global namespace. On your root timeline: _global.APP = this; Then, in your sub-timelines/swfs APP.ContentClip = this; APP.Navigation = this; etc. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

RE: [Flashcoders] loadClip is OK with loading a text file

2006-06-28 Thread Steven Sacks | BLITZ
Maybe check length 0 if there is text in the file... BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of edwin Sent: Wednesday, June 28, 2006 4:46 PM To: flashcoders@chattyfig.figleaf.com Subject

RE: [Flashcoders] Re: loadvars vs xml onData

2006-06-26 Thread Steven Sacks | BLITZ
You're loading in a non-cached version each time right? var myXml = new XML(); for (var a = 0; a 30; a++) { myXml.load(path + ?x= + a); } BLITZ | Steven Sacks - 310-551-0200 x209 ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] Fjax... does this seem ridiculous to anyone els e?

2006-06-23 Thread Steven Sacks | BLITZ
AJAX is just a buzzword anyway. The methodology has been around forever. ___ 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] Best Flash data access way opinions

2006-06-22 Thread Steven Sacks | BLITZ
But unless I am totally wrong, AMFPHP wasn't out of beta until recently. And it isn't officially supported by Adobe/MM, or if it is, it wasn't until recently. CF is. Macromedia doesn't support free technologies that are in direct competition with their technologies. Why would they? If you

RE: [Flashcoders] Best Flash data access way opinions

2006-06-21 Thread Steven Sacks | BLITZ
AMFPHP is faster and easier to implement than CF Remoting, IMO. ___ 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] Best Flash data access way opinions

2006-06-21 Thread Steven Sacks | BLITZ
Almost every hosting company has PHP already installed. I mean, if you don't include the time it takes to get CF set up, then yeah, I guess they're about even. CF costs money. PHP is free. PHP wins, at least for me. Hence, the IMO. -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] Best Flash data access way opinions

2006-06-21 Thread Steven Sacks | BLITZ
Plus, I don't really like CF. So I guess I'm biased. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Wednesday, June 21, 2006 12:24 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Best Flash data access way

RE: [Flashcoders] external .AS and debuggin

2006-06-20 Thread Steven Sacks | BLITZ
You can use the NetConnection Debugger, an amazing debugging tool that comes with the free remoting components from Macromedia/Adobe (search the site for 'Download Flash Remoting Components'), or if you're feeling frisky, you can grab XRay from osflash and learn that. Breakpoints aren't really

RE: [Flashcoders] For...in counts backwards?

2006-06-20 Thread Steven Sacks | BLITZ
That's how the for-in loop works, no idea why. for in loops go backwards because they compile to reverse loops which are MUCH faster than forward loops. For more detailed information on this subject, check out the Flasm page. http://flasm.sourceforge.net/#optas Here are the fastest loops:

RE: [Flashcoders] OT: Junior Developer Flash/Flex Salary?

2006-06-20 Thread Steven Sacks | BLITZ
You get what you pay for. You earn what you ask for. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Brunswick Sent: Tuesday, June 20, 2006 10:09 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] OT: Junior Developer Flash/Flex

[Flashcoders] test

2006-06-20 Thread Steven Sacks | BLITZ
test ___ 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

RE: [Flashcoders] Targeting multiple player versions with one swf

2006-06-20 Thread Steven Sacks | BLITZ
Why don't you just load one of two swfs, each with their own includes? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee Sent: Tuesday, June 20, 2006 1:56 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] Targeting multiple player

RE: RE: [Flashcoders] OT: Junior Developer Flash/Flex Salary?

2006-06-20 Thread Steven Sacks | BLITZ
Please move this thread somewhere else. If 'OT' appears in the subject line, that ought to be a clue to everyone that the thread no longer belongs on Flashcoders. Intellectual property and business practice discussions don't really belong here. Not to mention it has been discussed to death

RE: [Flashcoders] Sort within an object ....

2006-06-19 Thread Steven Sacks | BLITZ
Yes, objects are hashes. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Ford Sent: Monday, June 19, 2006 5:28 PM To: flashcoders Subject: [Flashcoders] Sort within an object I thought all objects were associative arrays ? Is this

RE: [Flashcoders] Sort within an object ....

2006-06-19 Thread Steven Sacks | BLITZ
Sorry. Yes to your first question. No to your second. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Monday, June 19, 2006 5:58 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Sort within an object Yes

RE: [Flashcoders] Can't update text in rotated text field

2006-06-16 Thread Steven Sacks
Did you try making a new Flash file and trying it in there? ___ 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

RE: [Flashcoders] is extending TextField usable with AS2?

2006-06-16 Thread Steven Sacks
If you give a damn about performance, just use prototype, or manually extend every textfield in the clip with a for loop, especially if you have a bunch of textfields on a screen (like a form). If you want to manually extend, be pragmatic and do what I do. Name all your textfields with TXT_ or

RE: [Flashcoders] Can't update text in rotated text field

2006-06-16 Thread Steven Sacks
Developer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Friday, June 16, 2006 1:07 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Can't update text in rotated text field Did you try making a new Flash file

RE: [Flashcoders] Can't update text in rotated text field

2006-06-16 Thread Steven Sacks
Oh, and the reason setting orientation to landscape doesn't work is because orientation is read-only. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Please ignore - test

2006-06-16 Thread Steven Sacks
test ___ 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

RE: [Flashcoders] Can't update text in rotated text field

2006-06-16 Thread Steven Sacks
My code for printing landscape works in five different applications I have used it in. The author of the PrintJob class made some poor choices when coding it and you have to code around it. Here is my method explained with comments: function printCertificate() { // reference to the

<    4   5   6   7   8   9   10   11   >