RE: [Flashcoders] 500 blur filters on 500 MCs

2007-03-20 Thread Steven Sacks | BLITZ
500 MCs is gonna be a hit already on VM1, 500 blurred MCs? Best of luck. AS3/FP9 you'll have better performance but 500 blurs seems like lot. I would suggest you write some an algorithm that creates groups of clips with the same blur into container clips and blur the container clips rather than

RE: [Flashcoders] Create an object by name

2007-03-19 Thread Steven Sacks | BLITZ
Most of the time, what I've seen is setting a temporary var to either an instance of the class, or in the case of a static class, setting it to a reference to the class. var myClass:MyClass = new com.client.project.package.MyClass(); or var myClass:MyClass = com.client.project.package.MyClass; I

RE: [Flashcoders] apollo is in macromedia labs

2007-03-19 Thread Steven Sacks | BLITZ
It's not only for Flex. Flex == Flash. That's like saying It's only for Ruby, not Rails. Rails is written in Ruby. Flex 2 is built with Flash. It's simply a bunch of classes and components written in AS3 that provide a framework for developing applications. Currently, the Apollo compiler is

RE: [Flashcoders] stopDrag question

2007-03-19 Thread Steven Sacks | BLITZ
function compareX():Void { if (MC_Drag._x == mc2._x) { endDrag(); } } function beginDrag():Void { MC_Drag.startDrag(false, t, l, b, r); clearInterval(compareInterval); compareInterval = setInterval(this, compareX, 10); } function

RE: [Flashcoders] xml parse question - Steve Sacks

2007-03-16 Thread Steven Sacks | BLITZ
Hey Jason, You don't say .nodeValue - the nodeValue is just the first item in the Array. Technically, it's a String object. Here is a sample class that parse that entire xml and traces it out. In your timeline just put: import com.Test; var test:Test = new Test(); And you'll see it trace the

RE: [Flashcoders] Q:using printjob class

2007-03-16 Thread Steven Sacks | BLITZ
1) always make a printer default to landscape mode and I know the answer to #1 is no. and... 1) You can't make the printer default to landscape, but you can rotate the clips that you are printing. Actually, you can! PrintJob is a poorly written class that you have to make special

RE: [Flashcoders] Q:using printjob class

2007-03-16 Thread Steven Sacks | BLITZ
Here's a shorter version of that link showing how to do it. Code written by me. http://tinyurl.com/38he4a ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Q:using printjob class

2007-03-16 Thread Steven Sacks | BLITZ
And on my blog: http://www.stevensacks.net/2007/03/16/force-landscape-printing-with-prin tjob/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Q:using printjob class

2007-03-16 Thread Steven Sacks | BLITZ
There is no difference between printing a rotated clip in portrait or a non-rotated clip in landscape. A printer does the same thing when it prints an image in landscape. Technically, I'm telling the printer to print in landscape mode even when it's not set to print in landscape mode. My script

RE: [Flashcoders] xml parse question

2007-03-15 Thread Steven Sacks | BLITZ
Here's XML2AS as an AS2 static class for her pleasure. class com.stevensacks.data.XML2AS { public static function parse(n, r) { var a, d, k; if (r[k=n.nodeName] == null) r = ((a=r[k]=[{}]))[d=0]; else r =

RE: [Flashcoders] Flash - using the back button

2007-03-15 Thread Steven Sacks | BLITZ
Google SWFAddress -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karim Beyrouti Sent: Thursday, March 15, 2007 4:56 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Flash - using the back button Hi All, I was just

RE: [Flashcoders] xml parse question

2007-03-15 Thread Steven Sacks | BLITZ
Or you can save yourself the very slow Array.reverse() and just iterate through the array backwards, too. You might be aware of this, but just an FYI, if you're concerned about attributes being order specific. When you loop through the attributes with a for statement, you'll get the

RE: [Flashcoders] is flash still alive?

2007-03-13 Thread Steven Sacks | BLITZ
Flash is dead. Long live WPF/E! ;) ___ 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] deleting a progress bar after loading

2007-03-12 Thread Steven Sacks | BLITZ
You can't tell an object to delete itself from within its own thread. When you delete an object outside of its own thread, you need to first delete any functions assigned to that object and remove it from any event listeners of other objects or you will end up with memory waste.

RE: [Flashcoders] RE: Cache Killer... is it bulletproof ???

2007-03-06 Thread Steven Sacks | BLITZ
A: deny a user from hotlinking Meaning? B: deny cacheing of swf files and content Impossible. C: deny playability locally. Check for domain at launch. If domain doesn't match, don't play. Cache Killer isn't about keeping something from being cached (which you can't do), it's about

RE: [Flashcoders] Cache Killer... is it bulletproof ???

2007-03-05 Thread Steven Sacks | BLITZ
The user would have to reset their clock and make the request at the EXACT SAME MILLISECOND in time. It's nigh impossible. It will never ever ever EVER happen. You're good to go. var d:Date = new Date(); var noCache:String = String(d.getTime()); var xmlPath:String =

RE: [Flashcoders] OT: Pirated Books

2007-03-02 Thread Steven Sacks | BLITZ
Omar Fouad said: this is not called piracy my little brave boy...know your right and respect your older bro. Give us a break, Omar. http://en.wikipedia.org/wiki/Software_piracy QUOTE The copyright infringement of software refers to several practices when done without the permission of the

RE: [Flashcoders] Dynamic Flash

2007-03-02 Thread Steven Sacks | BLITZ
Posting the same question under three different subjects won't get your question answered any quicker. Flash is perfectly capable of CRUD communication with a database and displaying it however you like. You're asking for advice on how to set up a relational database and how to write inner join

RE: [Flashcoders] shape tweens at 60fps

2007-03-02 Thread Steven Sacks | BLITZ
Any browser except IE on Windows will have reduced performance. Only IE gives Flash as much RAM and CPU as it wants. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] OT: Pirated Books

2007-03-02 Thread Steven Sacks | BLITZ
Are you so retarded that you would repost the same ignorant denial to the list? Omar, you broke the law and that's that. You're only making yourself look dumber by denying it. Drop it move on before you make yourself look any worse. ___

RE: [Flashcoders] ADMIN: DO NOT SEND UNSUBSCRIBE REQUESTS TO THE LIST

2007-03-02 Thread Steven Sacks | BLITZ
You should just post their emails on spam forums where they are sure to be culled by bots and then they'll start getting so much spam it'll force them to get a brand new email. Maybe then they'll see that a few unwanted emails are really not that bad compared to how bad it will be if they don't

RE: [Flashcoders] ADMIN: DO NOT SEND UNSUBSCRIBE REQUESTS TO THE LIST

2007-03-02 Thread Steven Sacks | BLITZ
I know the whining has been excessive, but there are real people behind those e-mails. Your bleeding heart is making a mess of the sarcasm on this thread. I know you work in an extremely corporate environment, but try and find a sense of humor and lighten up, Jason. ;)

RE: [Flashcoders] Subscription problems

2007-03-01 Thread Steven Sacks | BLITZ
There are those who cry and then there are those who help themselves. Hear, hear! ___ 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] Skewing MovieClip??

2007-02-28 Thread Steven Sacks | BLITZ
Please take me off this list, the emails just keep coming Ahhggg At the bottom of every email it tells you how to get off the list. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Getting frustrated. regarding set Interval, and for loop.

2007-02-28 Thread Steven Sacks | BLITZ
So even though I never wrote it I would offer the following advice, which is to *almost* not use setInterval at all. Hogwash. http://www.kennybunch.com/index.php?p=16 :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

RE: [Flashcoders] test

2007-02-26 Thread Steven Sacks | BLITZ
1 out of 1 tests completed. Errors: 0. Warnings: 0. BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Watts Sent: Sunday, February 25, 2007 11:11 AM To: flashcoders@chattyfig.figleaf.com Subject: RE

RE: [Flashcoders] What do you think are the best Flash projects andRIA's

2007-02-15 Thread Steven Sacks | BLITZ
Looks like they're using DENG or something like it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike Sent: Thursday, February 15, 2007 3:44 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] What do you think are the best

RE: [Flashcoders] Anyone hate flash 9 already?

2007-02-14 Thread Steven Sacks | BLITZ
What people keep missing here is THERE IS NO FLASH 9. There is the Flash 9 player, there is the Flash 9 beta, which is only Flash 8 with a Flash 9 player compiler, but no Flash 9 yet. The closed Flash 9 Beta (Blaze) has been going on for a few months now. You're talking about the public

RE: [Flashcoders] Anyone hate flash 9 already?

2007-02-14 Thread Steven Sacks | BLITZ
Adobe calls it Flash 9 Professional Actionscript 3.0 Preview Fair enough, though in my defense, I didn't capitalize it as if it was the actual. I just described it. Still not a beta. ;) ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] limits to AS2 levels of OOP class inheritance?

2007-02-14 Thread Steven Sacks | BLITZ
- Refactor to simpler class relationships (worst case but it did the trick for me - had to duplicate code, ewww). You could use Composition instead, which reduces the need for normal class inheritance. ___ Flashcoders@chattyfig.figleaf.com To change

RE: [Flashcoders] Coding Standards: Use of Get/Set

2007-02-13 Thread Steven Sacks | BLITZ
Get/set is useful when creating a visual object class, as well as for setting private variables on set. It's also useful when you don't want the variable that is being set to be getted, as well. For instance, I have an application which allows a user to type in the day, month and year into three

RE: [Flashcoders] Adding a function to the String prototype

2007-02-13 Thread Steven Sacks | BLITZ
You should absolutely feel comfortable and fine using prototype to add functions to the String native object if you want. I say if it works, use it. Just because they skimped on String and Array methods that MOST other languages have doesn't mean you should have to write a bunch of extra code to

RE: [Flashcoders] (no subject)

2007-02-12 Thread Steven Sacks | BLITZ
I wasn't aware that Foreigner posed their question to Flashcoders, but I'm sure they appreciate the answer. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Omar Fouad Sent: Monday, February 12, 2007 11:28 AM To: flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] determining which object is displayed at agivenpoint

2007-02-09 Thread Steven Sacks | BLITZ
Oops. I responded to the wrong thread, I'm sorry. :( That being said, perhaps rethinking your approach would help. There's a tutorial on Kirupa about managing z-order stacking of movieclips which might contribute to a solution. http://www.kirupa.com/developer/actionscript/3dexplore.htm

RE: [Flashcoders] Identifier expected

2007-02-09 Thread Steven Sacks | BLITZ
As you have discovered you are not able to use numbers as keys in line objects. That's not true. Just wrote this and it works fine. a = {}; a[a] = {}; a[a][1] = new Number(5); trace(a[a][1]); -- 5 Works for me. You must be doing something else wrong. I'm not sure why you're using new

RE: [Flashcoders] Identifier expected

2007-02-09 Thread Steven Sacks | BLITZ
private function createData():Void { this._data = {a:{t1:0, t2:0}}; } One line. :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn, Michael Sent: Friday, February 09, 2007 11:02 AM To: Flashcoders mailing list Subject: RE:

RE: Re[2]: [Flashcoders] Identifier expected

2007-02-09 Thread Steven Sacks | BLITZ
Stop using new Object() and use {}; :) I'm not experiencing the same issue you're having Jason. Not sure why. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Detecting mouse events over non-white parts of amovieClip

2007-02-08 Thread Steven Sacks | BLITZ
class com.domain.RollWhileWithin extends MovieClip { public var rolled:Boolean; function RollWhileWithin () { rolled = false; } public function doRollOver():Void { if (!rolled) {

RE: [Flashcoders] determining which object is displayed at agivenpoint

2007-02-08 Thread Steven Sacks | BLITZ
I think the class I wrote works well enough, I actually pulled it out of an app I'm working on with complex rollovers like that. Why not consider my way? It's simple, easy and, most importantly, it works. It hardly takes any processing power, too.

RE: [Flashcoders] Tab Problem

2007-02-07 Thread Steven Sacks | BLITZ
Increments are your friend. :) a = 0; tf1.tabIndex = ++a; tf2.tabIndex = ++a; tf3.tabIndex = ++a; btn4.tabIndex = ++a; btn5.tabIndex = ++a; If you had to reorder any of those tab orders all you have to do is cut and paste them into their new position. If you number your tabIndexes specifically

RE: [Flashcoders] finding out which fonts are embedded inaswfatruntime?

2007-02-07 Thread Steven Sacks | BLITZ
Mike, your signature needs an editor. :) ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964 671102 Registered in England no. 01646471 The information contained within this email expresses the views of the sender and not necessarily those of

RE: [Flashcoders] Detecting Rollover w/o onRollOver

2007-02-06 Thread Steven Sacks | BLITZ
You can use hitTest, you can use mouse position, or you can set an interval to fire a function in 10 ms when you rollout that checks to see if a flag is true that the other button will set true onRollOver. function checkFlag() { clearInterval(checkInterval); delete checkInterval;

RE: [Flashcoders] Extending List v2 component

2007-02-06 Thread Steven Sacks | BLITZ
Why use a component at all? All you're talking about doing is scrolling a bunch of movieclips behind a mask. I posted some code here awhile back that covered doing that. Search the archives and you'll find it. It's pretty straightforward to do. The MM components are heavy, take too long to

RE: [Flashcoders] What are your thoughts on creating a hook back vsDelegate ?

2007-02-05 Thread Steven Sacks | BLITZ
Also, anyone please let me know if my code formatting doesn't work (i.e: shouldn't be using hotmail to post) Your code formatting is not working. Delegate rocks. I use it all the time. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [Flashcoders] Need help with Keyboard events

2007-02-05 Thread Steven Sacks | BLITZ
Pseudo-code: obj.onKeyDown = function() { if (Key.getAscii() == C Key.isDown(Key.CONTROL)) { // copy } }; ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Progresivly track upload speed

2007-01-31 Thread Steven Sacks | BLITZ
Is there any way to progressively track upload speed in flash? http://www.speedtest.net/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought

RE: [Flashcoders] Flair Pattern bad mixins good (?)

2007-01-31 Thread Steven Sacks | BLITZ
Yeah, the GoF book is definitely like reading a calculus textbook. It's dry and to the point and the examples are in Smalltalk and some C++, which means a lot of cross-referencing with google. The concepts they discuss and the examples they give are helpful to a point but code examples you can't

RE: [Flashcoders] Shorhand for if statement without else statement

2007-01-29 Thread Steven Sacks | BLITZ
(foo) ? foo() : (bar) ? bar() : (foobar) ? foobar() : trace(sorry! no soup for you!); I feel like I need a shower after that one. ;) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Flair Pattern?

2007-01-29 Thread Steven Sacks | BLITZ
I've never heard of an OOP design pattern called Flair. From the class you've pasted, it looks like a novice attempt at implementating a design pattern known as Decorator. Perhaps they were trying to be funny with a reference to the movie Office Space where buttons decorating a TGIFriday's

RE: [Flashcoders] Incremental compilation workflow

2007-01-29 Thread Steven Sacks | BLITZ
http://www.flashos.org/flasc/ :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo de Moraes Serpa Sent: Saturday, January 27, 2007 6:04 AM To: Flashcoders mailing list Subject: [Flashcoders] Incremental compilation workflow Hello,

RE: [Flashcoders] Incremental compilation workflow

2007-01-29 Thread Steven Sacks | BLITZ
er, apparently it's a bizarro monday for me. http://www.osflash.org/flasc/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Monday, January 29, 2007 10:47 AM To: Flashcoders mailing list Subject: RE: [Flashcoders

RE: [Flashcoders] Flair Pattern?

2007-01-29 Thread Steven Sacks | BLITZ
So I was dead on about the Office Space reference. :) The class manages assigning Decorators. It isn't a design pattern. It's a class that manages the Decorator design pattern on multiple objects. I'm not sure where the idea that the Decorator pattern must be used on all or none of the objects

RE: [Flashcoders] Flair Pattern?

2007-01-29 Thread Steven Sacks | BLITZ
I felt that I did qualify my statement, I'll try again with clearly language. My statement: There is no such thing as a Flair design pattern. My qualification: Brendan Hall's book and deep in the archives of Flashcoders back when Brendan operated this list are the only places you will find

RE: [Flashcoders] Re: IE6 problem with SWFAddress?

2007-01-29 Thread Steven Sacks | BLITZ
Yes, mixing getURL and ExternalInterface causes problems with IE6 (and 7 to a lesser extent) when using SWFAddress. He talks about it on his site and there are also discussions on his forum, as well. I didn't see them at first, either. It took me awhile to figure out why the site was behaving

RE: [Flashcoders] Flair Pattern?

2007-01-29 Thread Steven Sacks | BLITZ
Can you elaborate? While a trip down memory lane replete with posts from the archives sounds like a wonderful time (not), I have work to do and it would take this thread extremely OT. ___ Flashcoders@chattyfig.figleaf.com To change your subscription

RE: [Flashcoders] Flair Pattern?

2007-01-29 Thread Steven Sacks | BLITZ
Whether something is a true design pattern or not is kind of beside the point, for me; what I want to know is if a particular approach is good for what I am trying to accomplish: in this case, adding and removing functionality to an object at runtime. If it works and you meet the

RE: [Flashcoders] Flair Pattern?

2007-01-29 Thread Steven Sacks | BLITZ
Is adding and removing identical decorators on multiple objects a commonly occuring problem in software development? ;) I avoid Decorators, as well, for the same reasons you stated and the same solutions you offered, as well. :) ___

RE: [Flashcoders] Shorhand for if statement without else statement

2007-01-26 Thread Steven Sacks | BLITZ
does anybody knows if there is any short hand for if statement without the else statement? 1. You can remove the braces. I always use: if (true) something(); But rarely use: if (true) something(); else somethingElse(); because it can get lost visually in code. 2. Inline conditional I

RE: [Flashcoders] Shorhand for if statement without else statement

2007-01-26 Thread Steven Sacks | BLITZ
function foo() { trace(foo); } function bar() { trace(bar); } (true) ? foo() : bar(); -- foo (false) ? foo() : bar(); -- bar Works fine for me. Not the best practice (I would never use it), but just showing what's possible with inline conditionals. -Original Message-

RE: [Flashcoders] Shorhand for if statement without else statement

2007-01-26 Thread Steven Sacks | BLITZ
( condition ) ( code ); Hot! I wonder how many of these shortcuts we can come up with that nobody would use unless they were trying to show off to other codemonkeys. :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

RE: [Flashcoders] Flash wish: Omit comments on publish

2007-01-25 Thread Steven Sacks | BLITZ
Comments are not compiled. If you decompile a swf with commented code, you will not see the comments. If you have tons of comments in your code, you may need to improve your coding practices and naming conventions. ___ Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] scrolling a randomly generated field function resultHELP PLEASE

2007-01-24 Thread Steven Sacks | BLITZ
Check this out http://www.kirupa.com/developer/actionscript/zooming.htm ___ 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] Getting Frames Per Second

2007-01-24 Thread Steven Sacks | BLITZ
Is there a way to know the original fps of a loaded swf? I mean, the fps to which it was compiled to, not the actual framerate? Sure, decompile it. :) http://www.sothink.com/ FYI, you can set Flash to 24fps and runtime framerate calculators will show it's running 35-38 fps. The player

RE: [Flashcoders] AS3 properties woes

2007-01-24 Thread Steven Sacks | BLITZ
I don't know about AS3 (and I can't imagine this is different from AS2) but you cannot put any code before super() in a constructor. super() must be the first line of code in a constructor. You should pass the labelClass value to the super constructor (watch your every move, super

RE: [Flashcoders] Re: flash on osx thru parallels/bootcamp

2007-01-24 Thread Steven Sacks | BLITZ
Have you tried FlashDevelop for Windows or TextMate for Mac? ___ 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] AS3 Defining Objects

2007-01-24 Thread Steven Sacks | BLITZ
You can't strict type items in a hash. You never could, and you don't need to. You cast them as you pull them out of the hash. myObject[i] = {}; myObject[i].prop = Prop Value; var someProp:String = myObject[i].prop; Not to mention, casting as object is considered weak typing since an object

RE: [Flashcoders] div over swf

2007-01-24 Thread Steven Sacks | BLITZ
Short answer: no. Long answer: It's sort of possible, but it doesn't work in all browser or on all platforms. So, unless you have total control of the delivery platform, no. Check out wmode=transparent and see if that helps but no guarantees. ___

RE: [Flashcoders] Re: flash on osx thru parallels/bootcamp

2007-01-24 Thread Steven Sacks | BLITZ
TextEdit on Mac is hands down the best text editor for Mac, possibly on both platforms. It's learning curve beyond the basics can be steep but it is so powerful and you can tightly integrate it with MTASC, SVN, etc., which makes it worthwhile. The benefits to your workflow are measurable.

RE: [Flashcoders] Re: flash on osx thru parallels/bootcamp

2007-01-24 Thread Steven Sacks | BLITZ
The thing about TextMate is, you need to watch some of the screencasts on their site to really see the awesome power of its macros and actions. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Getting Frames Per Second

2007-01-23 Thread Steven Sacks | BLITZ
In addition to being the best Flash debugging tool on the planet, Xray has a built in Framerate display. http://www.osflash.org/xray :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] External libraries

2007-01-22 Thread Steven Sacks | BLITZ
Unfortunately I'm stuck using the Flash IDE only (no MTASC). :( Why can't you use MTASC? Has somebody got a gun to your head and will pull the trigger if you use it? If that's the case, might I suggest bringing a kevlar helmet to work? ;) I highly recommend FLASC http://www.osflash.org/flasc

RE: Re[2]: [Flashcoders] External libraries

2007-01-22 Thread Steven Sacks | BLITZ
I think you have a misconception about MTASC. It isn't a replacement for Flash (unless you're a G like Ben Jackson), it's a 3rd party compiler for Flash. When Flash compiles, it recompresses all the media (graphics, sound, components) as it compiles. All MTASC does is injects code into the swf.

RE: [Flashcoders] Rotating a comboBox

2007-01-22 Thread Steven Sacks | BLITZ
Is there any easy way... Write your own. Seriously. The reason it's not rotated is because the ComboBox component's drop down is drawn on the _root. The v2 components are crap. They're hermetically sealed so you can't easily hack them, they're bloated and slow, they're much harder to skin,

RE: [Flashcoders] movement question

2007-01-19 Thread Steven Sacks | BLITZ
Need to clean up that enterFrame once it's finished. This is about as compact as it can get. this.onEnterFrame = function() { if (--myClip._rotation == -90) delete this.onEnterFrame; } ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] Override _xscale and _yscale setter in AS2

2007-01-18 Thread Steven Sacks | BLITZ
You can do it with enabled, but you can't with _xscale or _yscale. You have to use a watcher to catch it and return oldVal. BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eka Sent: Thursday, January 18

RE: [Flashcoders] Loading .html as a String variable

2007-01-16 Thread Steven Sacks | BLITZ
Can't you use LoadVars with the html file as the path? BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Murphy Sent: Tuesday, January 16, 2007 4:41 PM To: 'Flashcoders mailing list' Subject

RE: [Flashcoders] Q:Dynamically REMOVE a class linkage

2007-01-10 Thread Steven Sacks | BLITZ
Does this make sense? No it doesn't. I surmise that you are making the variable static, either by declaring it as static variable or by setting it to a value when you declare it. Thus, it ends up shared across all instances of the class (static variables are class variables, dynamic variables

RE: [Flashcoders] scrolling dynamic movie clip

2007-01-10 Thread Steven Sacks | BLITZ
I really want the scroll buttons in the loaded library item. You should rethink the way you're doing this. Putting a scrollbar inside the clip that is being scrolled is illogical. If you want them to appear together as one clip, put the scrolling content in one movieclip in the library clip

RE: [Flashcoders] Will the new iPhone run flash?

2007-01-09 Thread Steven Sacks | BLITZ
I just wish it was cheaper. iPhone: $499 for 4GB, $599 for 8GB. 4GB iPod Nano: $199 8GB iPod Nano: $249 Some other top rated Smart Phones: Palm Treo 700p ~$679 Sony Ericsson P990i ~$680 RIM BlackBerry 7130c ~$200 Even the RIM Blackberry with a Nano is the same price as the 4GB model.

RE: [Flashcoders] history, bookmarks, etc within flash

2007-01-09 Thread Steven Sacks | BLITZ
SWFAddress is the answer. http://www.asual.com/swfaddress/ BLITZ | Steven Sacks - 310-551-0200 x208 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Dean Sent: Tuesday, January 09, 2007 1:38 PM To: flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Flash Tracer / FF2

2007-01-08 Thread Steven Sacks | BLITZ
There's a standalone debug executable available too at http://www.osflash.org/xray/ BLITZ | Steven Sacks - 310-551-0200 x208 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, January 08, 2007 3:54 PM

RE: [Flashcoders] Drag on a specific angle

2007-01-05 Thread Steven Sacks | BLITZ
I did something similar awhile back for a site with a diagonal scrollbar. First, I tried the clip rotation and then rotating a container clip to the inverse rotation method. This created some pretty ugly jaggies which were unacceptable. Second, I did some Flash trickery and created an invisible

RE: [Flashcoders] Switching sound between boxes and headphones

2007-01-04 Thread Steven Sacks | BLITZ
You can't do that with Flash. In fact, the only types of applications I know that support that are professional audio suites like Cubase, Logic, and ProTools and even then you have to spend time configuring them. From: [EMAIL PROTECTED] on behalf of Dennis -

RE: [Flashcoders] Remove elements from Array

2006-12-22 Thread Steven Sacks | BLITZ
That's a fantastic example of over-architecting if I ever saw one. Put away your epeen! ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arindam Dhar Sent: Friday, December 22, 2006 12:10 AM To: Flashcoders mailing list Subject: Re:

[Flashcoders] undocumented || usage

2006-12-21 Thread Steven Sacks | BLITZ
Saw this recently in code and was surprised that it worked but it's pretty cool. a = foo; b = bar; c = a || b; trace(c); -- foo a = 0; // or a = ; // or a = false; // or a = null; // or a is undefined b = bar; c = a || b; trace(c); -- bar It will return b if a is an empty string, false, null,

RE: [Flashcoders] Senior Developer Posisition

2006-12-20 Thread Steven Sacks | BLITZ
We are currently looking for a senior flash developer The Salary is between 35K - 40K. Yeah, good luck with that. It's a seller's market right now. I wouldn't take a senior level position for less than $US 85K a year. ___

RE: [Flashcoders] Good External Actionscript Editor for Mac?

2006-12-20 Thread Steven Sacks | BLITZ
(pc - that term is a bit oldskool IMO) Apple doesn't seem to think so. ;) ___ 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] Senior Developer Posisition

2006-12-20 Thread Steven Sacks | BLITZ
http://www.citymayors.com/features/cost_survey.html World: #1 Moscow, #2 Seoul, #3 Tokyo, #4 Hong Kong, #5 London USA: #10 New York, #29 Los Angeles, #34 San Francisco As of 2006, London is one of the most expensive places to live in the world. It's #1 among Western cities, #5 overall.

RE: [Flashcoders] Senior Developer Posisition

2006-12-20 Thread Steven Sacks | BLITZ
Ok, so you've pointed out the issues with the various online Cost Of Living Comparison Calculators I used to derive those numbers (I used two different ones and took the average). That's all well and good and I certainly can't defend any of the numbers since I was just putting them up as an

RE: [Flashcoders] Good External Actionscript Editor for Mac?

2006-12-13 Thread Steven Sacks | BLITZ
TextMate is the best script editor for the Mac, period, hands down. Integrates with MTASC, auto-completion, macros, actions, command line access, etc. etc. If you take the time to learn all the cool stuff it will become an invaluable tool for you. http://www.macromates.com

RE: [Flashcoders] Re: MVC pattern problem

2006-12-13 Thread Steven Sacks | BLITZ
If you want an easy way to learn MVC, pick up this book and go through the tutorial: Agile Web Development with Rails The Ruby on Rails MVC structure is easy to implement and understand and it will set you on your way in MVC. They've got great naming conventions, too. You should use the MVC

RE: [Flashcoders] Good External Actionscript Editor for Mac?

2006-12-13 Thread Steven Sacks | BLITZ
I'm not a fan of Eclipse. I don't like that Flex Builder is based on Eclipse, but I can't seem to get the ANT compiler working with Flash Develop, so I'm stuck using the Flash IDE or Flex Builder 2 for my AS3 projects for now. ___

RE: [Flashcoders] Good External Actionscript Editor for Mac?

2006-12-13 Thread Steven Sacks | BLITZ
Yeah, I followed Keith's step by step instructions, I've followed other people's step by step instructions, John Grden has walked me through it, and it still isn't working on my box. I get a java command line error every time I try to compile. My computer is cursed or something. -Original

RE: [Flashcoders] Re: TextArea: shutting off selection?

2006-12-13 Thread Steven Sacks | BLITZ
that would be if( x == duh){ :) duh. ;) ___ 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] flashing first frame

2006-12-12 Thread Steven Sacks | BLITZ
How can we avoid this? stop(); getURL(mypage.html); ___ 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] frame 1 - stop() not working with simulate download

2006-12-12 Thread Steven Sacks | BLITZ
An empty movieclip has a size of 4 bytes so you check to see if the bytesTotal 4 in addition to the percent loaded == 100. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] loading thumbnails into a scrollable box via AS

2006-12-12 Thread Steven Sacks | BLITZ
First, break it up into different pieces. The first piece is the XML parsing, the second piece is drawing the thumbnails, and the third piece is scrolling the thumbnails. I'll leave the XML parsing out of this and focus on drawing the thumbnails. Here's the most straightforward way to do this.

RE: [Flashcoders] preloader not completely preloading...

2006-12-11 Thread Steven Sacks | BLITZ
stop(); function checkLoad() { var c = mc.getBytesLoaded(); var t = mc.getBytesTotal(); var p = (c / t) * 100; MC_LoaderBar._xscale = p; TXT_Load.text = Math.floor(p + %); if (p == 100 t 4) { delete this.onEnterFrame; mc.gotoAndPlay(main); } } this.onEnterFrame =

RE: [Flashcoders] Why does this work in Flash 6 Actionscript 2 butnot Flash 7 Actionscript 2 ...

2006-12-11 Thread Steven Sacks | BLITZ
Why does the following work when published as Flash 6 Actionscript 2, but not Flash 7 actionscript 2 (or Flash 8 Actionscript 2).var nInt:Number;var oMain:Object = {};var nCounter:Number;var sClipName:String;var nClipDepth:Number;function spawnClip():Void{var mcTemp:MovieClip =

RE: [Flashcoders] Which technique do you use ...

2006-12-11 Thread Steven Sacks | BLITZ
Neither. I use the technique where you put carriage returns after each line of code. I'm not bragging. I know it's a pretty advanced concept but I think anyone is capable of getting their head around it if they put in the time. ___

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