RE: [Flashcoders] :: anyone passed flash 8 certification exam?::

2006-12-11 Thread Steven Sacks | BLITZ
Flash 8 Certification Exam? Srsly? And you pay for it? That's crazy talk! If you've got money to throw away, why not give it to a charity this holiday season and use it for something that actually makes a difference? ___

RE: [Flashcoders] JSFL Saving a created document

2006-12-11 Thread Steven Sacks | BLITZ
Hm. That's odd because my script saves as many files as I need it to with whatever path and filenames I want without prompting me. I wonder what's different. Are you using Flash 7 or Flash 8? ___ Flashcoders@chattyfig.figleaf.com To change your

RE: RE: [Flashcoders] :: anyone passed flash 8 certification exam?::

2006-12-11 Thread Steven Sacks | BLITZ
to use objective measures to know that they are making progress. Please stick to your normal form of playing nice with the other kids here in the Flash playground :-) Best wishes to you and yours this holiday season! Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Flash 8

RE: [Flashcoders] Which Data Structure is good for this?

2006-12-11 Thread Steven Sacks | BLITZ
function XML2AS(n, r) { var a, d, k; if (r[k=n.nodeName] == null) r = ((a=r[k]=[{}]))[d=0]; else r = (a=r[k])[d=r[k].push({})-1]; if (n.hasChildNodes()) { if ((k=n.firstChild.nodeType) == 1) { r.attributes = n.attributes;

RE: [Flashcoders] Zinc 2.5 Alternative

2006-12-08 Thread Steven Sacks | BLITZ
If you're not in a rush, there's always Apollo. :) ___ 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] JSFL Saving a created document

2006-12-08 Thread Steven Sacks | BLITZ
You should download the JSFL documentation file. fl8_extending.pdf Not sure what the URL is but search Adobe's site and you'll find it like I did. Here's a taste of the functions that handle it. Check my blog for the entire script where I am creating templates. http://www.stevensacks.net/

RE: [Flashcoders] (no subject)

2006-12-07 Thread Steven Sacks | BLITZ
ComboBoxes draw their dropdowns on the _root. If you lock the root in a nested clip, they'll draw their dropdowns there. This is why you're getting z-index problems. Second, if you're having an issue where _height is not returning the true _height, then store the original height in a variable

RE: [Flashcoders] V2 components too heavy

2006-12-06 Thread Steven Sacks | BLITZ
Check out the ghostwire components. http://www.ghostwire.com They're AS1 but they work in Flash 7 and 8 alongside AS2. They're extremely lightweight and follow the Macromedia standard methods like setDataProvider(), etc. If you want events generated, code it yourself. It's easy: import

RE: [Flashcoders] webservice delay

2006-12-06 Thread Steven Sacks | BLITZ
i tried ur suggestion but that did not work ! RTFM ! ___ 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] Compare Decimal Point Value?

2006-12-06 Thread Steven Sacks | BLITZ
Have you tried casting them as Strings and comparing those? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of T. Michael Keesey Sent: Wednesday, December 06, 2006 12:23 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Compare Decimal

RE: [Flashcoders] Compare Decimal Point Value?

2006-12-06 Thread Steven Sacks | BLITZ
Math.round(myNum * 10); :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Coning Sent: Wednesday, December 06, 2006 12:32 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Compare Decimal Point Value? Is there a better way

RE: [Flashcoders] Re: Flashcoders Digest, Vol 23, Issue 13

2006-12-06 Thread Steven Sacks | BLITZ
Yup, there are all kinds of things you can do if you cast it as a String. As far as the rounding thing goes, you want it to round. 0.2999 is supposed to be 0.3 If you multiply 0.29 by 10, you get 2.9. You round it you get 3. You divide by 10 you get .3. myNum = Math.round(myNum *

RE: [Flashcoders] How to give a swf loading priority on a page.

2006-12-05 Thread Steven Sacks | BLITZ
Use the javascript onLoad event in the body tag to trigger the FLV load in flash using the localConnection object. Or have the gallery swf tell the FLV swf to start its load after the gallery is finished loading via localConnection. -Steven ___

RE: [Flashcoders] onFrameReached {do something}

2006-12-04 Thread Steven Sacks | BLITZ
afaik there's no such thing. Not for long! Woot! :) http://www.flashguru.co.uk/undocumented-actionscript-3/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] AS2 unloading class completely

2006-12-01 Thread Steven Sacks | BLITZ
You can use the abstract factory design pattern, interface, etc. Google it. ___ 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: Re[4]: [Flashcoders] xml thumbnail gallery reverse order problem

2006-12-01 Thread Steven Sacks | BLITZ
Yuck! for(var i=myArray.length-1; i=0; i--){ trace(myArray[i]) } Yum! var i:Number = myArray.length; while (i--) { trace(i); } Zoom! var i:Number = myArray.length; while (--i -(-1)) { trace(i); } ___

RE: [Flashcoders] Issue with differnet fps in same swf

2006-11-29 Thread Steven Sacks | BLITZ
Here's a hack to fix that. Have the movie you are loading with the different frame rate have a silence audio file on the timeline set to stream. It will force the flash player to play at the new framerate of the loaded swf. On projects with multiple developers, you should decide and communicate

RE: [Flashcoders] Open PDF in Acrobat

2006-11-29 Thread Steven Sacks | BLITZ
It is opening in Acrobat Reader. However, it is opening in the Acrobat Reader plug-in for browsers as expected. There is no way to access the user's hard drive from Flash in a browser for security purposes, nor can Flash launch executables from the browser. This behavior is long-standing and

RE: [Flashcoders] How variables when using setInterval ...

2006-11-29 Thread Steven Sacks | BLITZ
Kenny Bunch wrote an interval manager way back when. http://www.kennybunch.com/index.php?p=16 To answer your question, though, setInterval returns a number, which is a unique id reference for that interval. If you set another interval to the same var, you orphan the previous interval

RE: [Flashcoders] Scroll bar math question

2006-11-28 Thread Steven Sacks | BLITZ
Sometimes, people make scrollbars more complicated than they need to be. The easiest scrollbar to write and use is one that returns a percentage 0-100 based on its position in the well. Here is a quick example. I used onEnterFrame for the update because in my experience, it's smoother than a

RE: [Flashcoders] Acronym for Actionscript/Flash/Flex

2006-11-28 Thread Steven Sacks | BLITZ
My suggestions: ABA - Annoying Banner Ads PTM - Punch The Monkey SIB - Skip Intro Button FCA - Funny Cartoon Animation SECI - Search Engines Can't Index TTUG - Tell Target Underscore Global ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] [OT] SCM/Project management tool

2006-11-28 Thread Steven Sacks | BLITZ
If you're looking for bug/feature tracking for your clients, check out Mantis. It's easy to set up, customize (if you know php), and best of all, it's free. HTH, Steven ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search

RE: [Flashcoders] listing children?

2006-11-28 Thread Steven Sacks | BLITZ
If you're looking for something a bit more advanced, check out the Composite design pattern. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Old Flash Problem - Clips stop receiving clicks

2006-11-28 Thread Steven Sacks | BLITZ
Hey everyone, There's an old problem with Flash that pops up every so often and I've never been able to determine what causes it or how to solve it. Sometimes certain clips/buttons stop receiving clicks unless you move the mouse between clicks. Does anyone know how or why this happens and how to

RE: [Flashcoders] Old Flash Problem - Clips stop receiving clicks

2006-11-28 Thread Steven Sacks | BLITZ
Haha! I solved it sort of kind of. If I go to a different application and come back no more problem. Looks like general Flash wonkiness and who knows why. Still interested if somebody knows. -Steven ___ Flashcoders@chattyfig.figleaf.com To change

RE: [Flashcoders] as 2 email validation class

2006-11-17 Thread Steven Sacks | BLITZ
However it seems to think an email address with less that 4 characters before the @' is not valid (when it is). So just modify it to allow less than 4 characters before the @. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options

RE: [Flashcoders] polymorphism, with singletons

2006-11-17 Thread Steven Sacks | BLITZ
google AbstractFactory -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rich Rodecker Sent: Friday, November 17, 2006 6:08 PM To: Flashcoders mailing list Subject: [Flashcoders] polymorphism, with singletons What's a good way to go about

RE: [Flashcoders] Flash 8: Code editors

2006-11-17 Thread Steven Sacks | BLITZ
Flash Develop http://www.flashdevelop.org/ Hands down the best Actionscript 2/3 (XML/HTML/JS/TXT) editor I've ever used. It's autocompletion and dynamic code hinting is second to none. -Steven ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] why are my class property's strong typing beingignored?

2006-11-16 Thread Steven Sacks | BLITZ
I'm coming in late to this discussion but is this lack of compiler error on strict typing in AS2 causing your code to break or is this concern purely academic? If it's academic then might I suggest you stop procrastinating and get on with your project? ;) AS2 strict typing is a lie anyway. It

RE: [Flashcoders] Run init function of MCL loaded Clip

2006-11-16 Thread Steven Sacks | BLITZ
Movieclips need one frame to initialize methods. Properties are available right away but methods are not. I suggest you put the init() function on the first frame of your loaded clip's timeline and let it handle its own init(). The properties you set on the clip will be set prior to the init()

RE: [Flashcoders] why are my class property's strong typingbeingignored?

2006-11-16 Thread Steven Sacks | BLITZ
A winky emoticon denotes sarcasm or a joke. I'm glad that somebody was able to locate your problem, though. I figured somewhere you were using a loosely typed variable so the compiler wasn't complaining. Here's a fun one. someFileName:String = something.swf; extension:String =

RE: [Flashcoders] RE: swf and referring domain

2006-11-16 Thread Steven Sacks | BLITZ
MySpace is a prime example of allowScriptAccess=never -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John VanHorn Sent: Thursday, November 16, 2006 3:27 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] RE: swf and referring domain

RE: [Flashcoders] why are my class property's strongtypingbeingignored?

2006-11-16 Thread Steven Sacks | BLITZ
emailBody:String = Strict typing is kind of an all or none thing. If you only partially strict type, which I have done plenty of in the past, then you'll only partially get compiler errors. However, in preparation for AS3 where strict typing has a very noticable improvement in speed, I am strict

RE: [Flashcoders] why are my classproperty's strongtypingbeingignored?

2006-11-16 Thread Steven Sacks | BLITZ
You can't put strict typing like that in the timeline. ( ^^) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Claus Wahlers Sent: Thursday, November 16, 2006 5:09 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] why are my

RE: [Flashcoders] why are my classproperty's strongtypingbeingignored?

2006-11-16 Thread Steven Sacks | BLITZ
Yes, you need to declare it as a var or you'll get a compile error. That's why I said like that. ;) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] :: playing multiple FLV's simultaneously //possible?

2006-11-15 Thread Steven Sacks | BLITZ
The Adobe Flash Forward Flashback site has two FLVs playing at the same time to display the world as it spins. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Letting go of AS2 for AS3

2006-11-14 Thread Steven Sacks | BLITZ
In the Flash 9 Public Alpha, it's under Publish Settings Flash ActionScript Settings Document class Or if you have nothing selected it's in the properties panel Or you can use Flash Develop or Flex Builder 2. ___

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

2006-11-08 Thread Steven Sacks | BLITZ
Inside an onEnterFrame function you have to use this when referring to things in the class (if the class extends MovieClip, which I hope it does because only MovieClips can have onEnterFrame as far as I know). class MyClass { var foo:Boolean; function MyClass() {

RE: [Flashcoders] Writing code for big teams

2006-11-08 Thread Steven Sacks | BLITZ
When working on a collaborative team on a big project, design patterns are your best friend. You should check out the Composite design pattern and/or MVC. http://www.asserttrue.com/articles/2006/10/27/max-2006 After attending their workshop, I went out and bought the book they recommended and I

RE: [Flashcoders] Freelancer Class

2006-11-08 Thread Steven Sacks | BLITZ
I don't like anything that puts arbitrary constraints on my code. Ruby on Rails has fantastic naming conventions but they have very clear benefits. Also, they use @foo for instance variable names and @@foo for class variable names. Unfortunately, they don't use braces to contain functions and

RE: [Flashcoders] Preciso de programador actionscript/flash/php

2006-11-08 Thread Steven Sacks | BLITZ
Job offers are accepted here. It's never gotten out of control and you'll find that most job postings here come straight from the source because recruiters who post here often find themselves the object of ridicule for their (sometimes) ignorant job posts and likely they never post again, which

RE: [Flashcoders] scale MC using another MC as registration point

2006-11-08 Thread Steven Sacks | BLITZ
The math for this is luckily just algebra and doesn't require any complex trig or calculus, and there are a few different ways to do it. This might help you on your way: http://www.darronschall.com/weblog/archives/54.cfm ___

RE: [Flashcoders] Writing code for big teams

2006-11-08 Thread Steven Sacks | BLITZ
Something else I recommend is have somebody who is in charge of integration and they make sure that everyone who hands them code thoroughly tests it first. This is how I write my apps when it's just me, as well, and as a result my code is pretty much bug-free. If their code can't be tested

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

2006-11-08 Thread Steven Sacks | BLITZ
That is true, however if you just need a temporary onEnterFrame then it's better to just assign it to this instead of delcaring it in the class. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rákos Attila Sent: Wednesday, November 08, 2006

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

2006-11-08 Thread Steven Sacks | BLITZ
and onEnterFrame problems From a person who keeps posting against the use of 'this' and who says it's bad practice I'd expect something better than using nested functions, especially if there's no need for it whatsoever. - Original Message - From: Steven Sacks | BLITZ [EMAIL

RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Steven Sacks | BLITZ
I don't know if it's a remnant. You may be doing property initialization and need to nail down scope: class Student { private var name:String function Student( name:String ) { this.name = name; } } That's just bad coding. Don't use class variable names as argument names. It's

RE: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread Steven Sacks | BLITZ
I think he wants to take what some artist drew in Flash and code it to draw at run-time using the drawing API. I'm not sure what benefit that has except to make designers have to code their drawings instead of draw their drawings and I don't know (m)any designers who would like to do that.

RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Steven Sacks | BLITZ
Pretty much. You either muddy up your code or your docs. I opt to muddy up docs over code, just like Macromedia. ;) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Steven Sacks | BLITZ
I shouldn't have used the term bad to describe these practices and for that I apologize. My eyes see all those extra this references as clutter and some people's eyes see them as useful pointers. I don't use document writing programs like AsDoc or Jdoc so the concerns of people who do are

RE: [Flashcoders] Freelancer Class

2006-11-07 Thread Steven Sacks | BLITZ
They (now Adobe) have pretty much done an about-face on this issue. The ActionScript 3.0 documentation (http://livedocs.macromedia.com/flex/2/langref/ ) is excellent. Macromedia's AS docs were (in)famously bad due to what many considered to be poor examples and they also had many errors. I

RE: [Flashcoders] Freelancer Class

2006-11-06 Thread Steven Sacks | BLITZ
Project 3:16 - For Client so loved the work, that he told his one and only Developer, that whosoever listens to him shall not finish, but have eternal changes. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

RE: [Flashcoders] Copy Constructor

2006-11-03 Thread Steven Sacks | BLITZ
Are these copies essentially just pointers to the same array? Yes. You need to clone the objects/arrays, not just set pointers. var newArray:Array = []; var i:Number = oldArray.length; while (i--) { newArray[i] = oldArray[i]; } return newArray; If you're storing objects in the array

RE: [Flashcoders] setNewTextFormat and textField.variable

2006-11-03 Thread Steven Sacks | BLITZ
IMO, there's nothing wrong with using TextField.variable. It has its time and place and can be used properly. Just because it's overused by novices doesn't make it a bad thing, just like bevels and dropshadows in Photoshop aren't always a bad thing either. Of course, Lens Flare is a different

RE: [Flashcoders] Flash Print Function and Callbacks ?

2006-11-02 Thread Steven Sacks | BLITZ
Flash doesn't have access to the operating system on any platform. ___ 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] Q:Justifying Flash 8 Content

2006-11-02 Thread Steven Sacks | BLITZ
(For the main thread, people usually decide what features their application might need, and then balance that against the trends in capability among their own audience.) MySpace requires Flash 9 Player, You Tube requires Flash 8 (last I checked). They seem to have no problems getting people

RE: [Flashcoders] Copy Constructor

2006-11-02 Thread Steven Sacks | BLITZ
How about this? class Test { var foo:String; var bar:String; function Test(initObj:Object) { for (var a:String in initObj) { this[a] = initObj[a]; } } public function get data():Object {

RE: [Flashcoders] Scaling problem while loading external jpeg's in theMovie Clip

2006-11-01 Thread Steven Sacks | BLITZ
this.holder.loadMovie(some.jpg); this.onEnterFrame = function() { if (this.holder._width 4) { resizeHolder(); delete this.onEnterFrame; } }; function resizeHolder() { holder._width = w; holder._height = h; }

RE: [Flashcoders] How can I get a string in a date object ?

2006-11-01 Thread Steven Sacks | BLITZ
The compiler only catches strict typing issues at compile-time, not run-time. It doesn't know what this.jaar is (because it's being loaded in at run-time) so it doesn't catch that you're loading a string into it. Since AS2 isn't actually strict (just for the compiler's sake), you can put strings

RE: [Flashcoders] Q:Justifying Flash 8 Content

2006-11-01 Thread Steven Sacks | BLITZ
You can still make banner ads and cartoons with Flash 4. That's what Flash is used for right? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Q:Justifying Flash 8 Content

2006-11-01 Thread Steven Sacks | BLITZ
You can still make banner ads and cartoons with Flash 4. That's what Flash is used for right? WINK! ;) *SARCASM* J/K ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Scaling problem while loading externaljpeg's in theMovie Clip

2006-11-01 Thread Steven Sacks | BLITZ
It addresses half the problem. I missed the other requirement. It's pretty easy to accomplish that, though. You find the largest dimension delta and determine its percentage delta and then adjust based on that. var perc:Number; if (actualW - targetW actualH - targetH) { perc =

RE: [Flashcoders] Scaling problem while loading externaljpeg'sin theMovie Clip

2006-11-01 Thread Steven Sacks | BLITZ
You don't NEED to use MovieClipLoader and onLoadInit, but feel free to if you WANT. :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to

RE: [Flashcoders] Scaling problem while loadingexternaljpeg'sin theMovie Clip

2006-11-01 Thread Steven Sacks | BLITZ
I did not write out the entire solution because I was focusing on the specific functionality. When you use a holder clip, you're going to be creating it and removing it on the fly. this.holder.removeMovieClip(); this.createEmptyMovieClip(holder, 10); this.holder.loadMovie(some.jpg); Easy peasy.

RE: [Flashcoders] Q: Firefox on a mac

2006-10-30 Thread Steven Sacks | BLITZ
Check to see if wmode=transparent in the embed tag of the Flash in the HTML. That may be the cause of your issue, but I'm not sure exactly what your issue is because your description is a bit vague. If removing the wmode=transparent doesn't help, can you please provide more information or

RE: [Flashcoders] Q: Firefox on a mac

2006-10-30 Thread Steven Sacks | BLITZ
I may be wrong, but I thought IE on Windows is pretty much the only browser that it works absolutely correctly on. AFAIK, other browsers have issues including decreased performance, etc. ___ Flashcoders@chattyfig.figleaf.com To change your subscription

RE: [Flashcoders] Q: Firefox on a mac

2006-10-30 Thread Steven Sacks | BLITZ
I thought she said that it was just not working correctly at all, but maybe she was saying it wasn't showing up at all. If she did, then I'm wrong. It's impossible to debug without more details, though. I was just stabbing blindly in the dark. I should have asked for more information before

RE: [Flashcoders] xml parsing problem

2006-10-27 Thread Steven Sacks | BLITZ
Or you could use XML2AS. // XML2AS - DO NOT AUTO FORMAT! _global.XML2AS = function(n, r) { var a, d, k; if (r[k=n.nodeName] == null) r = ((a=r[k]=[{}]))[d=0]; else r = (a=r[k])[d=r[k].push({})-1]; if (n.hasChildNodes()) { if ((k=n.firstChild.nodeType) == 1) {

[Flashcoders] Can anyone download Flex Builder 2?

2006-10-27 Thread Steven Sacks | BLITZ
http://www.adobe.com/cfusion/tdrc/index.cfm?product=flex I click download and it hangs for about 15 seconds before it reloads the page. No download occurs in either IE or Firefox. I downloaded this just fine from home last night. Anyone else not able to download Flex Builder 2?

RE: [Flashcoders] Can anyone download Flex Builder 2?

2006-10-27 Thread Steven Sacks | BLITZ
Can you link me to your forum post? BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Bbt Lists Sent: Friday, October 27, 2006 2:17 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Can

RE: [Flashcoders] Can anyone download Flex Builder 2?

2006-10-27 Thread Steven Sacks | BLITZ
ColdFusion FTL. :( ___ 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

RE: [Flashcoders] EmbedFonts = true

2006-10-23 Thread Steven Sacks | BLITZ
You don't need separate textfields for bold, italics and bold italics. You make one html textfield and in that textfield you put r b i bi Make b bold, i italic, and bi bold italic. Then embed the characters you need. :) ___

RE: [FlashCoders] Delegates and performance

2006-10-23 Thread Steven Sacks | BLITZ
Well, if you're not changing anything in the timeline(s) of the movie (such as those animations or new movieclips), and you're only making a change to the classes, then you'll definitely benefit from using FLASC for those compiles. ___

RE: [Flashcoders] onMouseup bug?

2006-10-20 Thread Steven Sacks | BLITZ
Also, you don't need to say this.onRelease inside another function. Just put the following in your class: class MyClass extends MovieClip { function MyClass() {} function onRelease():Void { // do something } }

RE: [FlashCoders] Delegates and performance

2006-10-20 Thread Steven Sacks | BLITZ
You should look into using MTASC via FLASC to compile your games. Since games are mostly code, you'll save yourself a ton of time by using MTASC. The difference in compile time is astounding. MTASC compiles in about one second when the IDE can take much longer.

RE: [Flashcoders] Converting a comma delimitted list to an array fromMySql

2006-10-20 Thread Steven Sacks | BLITZ
It used to be bad but as of Flash MX 2004, it was improved a bit. Most of the Array methods are slow, though, when compared to other languages. For instance, it's faster to use myArray[x] = val than myArray.push(val). Shift and Unshift are extremely slow. If you need speed for an array that

RE: [Flashcoders] using parseInt() and Math.floor() doesn't returnthe same value

2006-10-19 Thread Steven Sacks | BLITZ
Today's user headspace error brought to you by the number n. ___ 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] Selection.getFocus()

2006-10-19 Thread Steven Sacks | BLITZ
eval() is not deprecated. You're right. It's more than deprecated. It's been removed altogether in the next version of Flash. http://livedocs.macromedia.com/flex/2/langref/migration.html Global Functions eval() Removed No screen name said on Jul 22, 2006 at 7:59 AM : Why was eval()

RE: [Flashcoders] incrementing a target?

2006-10-19 Thread Steven Sacks | BLITZ
var mc = this[btn + i]; mc is your target. mc.onRollOver = function() {}; The issue you might have is that you cannot assign functions and certain properties to a movieclip you are going to loadMovie on because as soon as the movie is loaded, it overwrites all the methods and properties you

RE: [Flashcoders] Alternative IDE for Flash Devel

2006-10-18 Thread Steven Sacks | BLITZ
That's odd. Ben Jackson uses it exclusively and has it tied to MTASC and Subversion. He never has to open the Flash IDE. Have you seen some of the macros videos out there? I know firsthand that the learning curve can be a little steep, but if you take the time to learn the program in and out,

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

2006-10-18 Thread Steven Sacks | BLITZ
The problem I found with Director is you have to go out and buy a bunch of Xtras to really achieve anything notable. All you need with Director for OS level control is BuddyAPI. There is another extra to disable certain key combos (like CTRL+ALT+DEL, etc.) for kiosk purposes but the name of

RE: [Flashcoders] scrollable dynamic text field

2006-10-18 Thread Steven Sacks | BLITZ
I handle scrolling in the simplest, most straightforward way possible. First, I get the percentage of where the scrollbar is along its track from and have it dispatch that percentage. var perc = (BTN_Shuttle._y - orgShuttleY) / range; dispatchEvent({type:change, data:perc}); The listener then

RE: [Flashcoders] RE: LoadVars to XML object

2006-10-18 Thread Steven Sacks | BLITZ
// XML2AS - DO NOT AUTO FORMAT! _global.XML2AS = function(n, r) { var a, d, k; if (r[k=n.nodeName] == null) r = ((a=r[k]=[{}]))[d=0]; else r = (a=r[k])[d=r[k].push({})-1]; if (n.hasChildNodes()) { if ((k=n.firstChild.nodeType) == 1) { r.attributes =

RE: [Flashcoders] draggable mc with buttons in it?

2006-10-18 Thread Steven Sacks | BLITZ
Or you could skip the mouse listener and delegate and just in your movieclip put the following: onMouseDown = function() {}; onMouseUp = function() {}; No listener or delegate needed. ___ Flashcoders@chattyfig.figleaf.com To change your subscription

RE: [Flashcoders] draggable mc with buttons in it?

2006-10-18 Thread Steven Sacks | BLITZ
Well yes. That is the best way. I was just responding to using a mouse listener delegate. You definitely want to keep it simple and just put a clickable area behind the buttons in the clip. ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] Alternative IDE for Flash Devel

2006-10-17 Thread Steven Sacks | BLITZ
http://osflash.org/flasc You should also check out FLASC, a Flash panel MTASC compiler that is basically an easy to use GUI for MTASC. I often find myself with FlashDevelop and the Flash IDE open when making tests or working on projects with heavy design. I can make a code change in FD, hit

RE: [Flashcoders] hello, and interval management question

2006-10-17 Thread Steven Sacks | BLITZ
Check out Kenny Bunch's interval manager class. http://www.kennybunch.com/index.php?p=16 Might help. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] FLASC problem

2006-10-16 Thread Steven Sacks | BLITZ
Unlike Flash, which if a compile fails during it, the swf is unlaunchable, mtasc fails before it injects the code. You're not seeing a swf preview, it's just launching the swf that exists. FLASC uses MTASC but it doesn't react to a failed build, possibly because it doesn't know the compile

RE: [Flashcoders] swfObject problem

2006-10-16 Thread Steven Sacks | BLITZ
Or try Filezilla. Once you go Zilla, you never go... um...just try it. ___ 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] ::dk:: understanding roll over with addEventListener

2006-10-16 Thread Steven Sacks | BLITZ
BTN_Foo.onRollOver = Delegate.create(this, fooRollOver); BTN_Foo.onRelease = Delegrate.create(this, fooRelease); etc. etc. :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

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

2006-10-12 Thread Steven Sacks | BLITZ
A bad practice most likely, but not technically wrong. I do see it in text books from time to time. When I was in 10th grade, I had a French teacher who marked a question on a test wrong because the test came from the teacher's version of the text book and her book had a different (wrong)

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

2006-10-12 Thread Steven Sacks | BLITZ
then is not the opposite of now Now means at the present time. Then means at any other time other than now. They are opposite. The phrase now and then has no bearing on the denotation of the words. Then is the antonym of now. If you disagree, what do you think is the opposite of now? It

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

2006-10-12 Thread Steven Sacks | BLITZ
So you're saying Now refers to this SINGLE point in time, and Then refers to ANY point other than Now. Definite vs indefinite. If you put it in code the opposite of now is !now or not now, and when is not now? Then. The plaintiff rests. ___

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

2006-10-12 Thread Steven Sacks | BLITZ
This aftenoon I subscribed to this list once again. And now I remember why I unsubscribed from the list so many months ago. Goodbye again. You'll be missed. Again. ;) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

RE: [Flashcoders] Alternative IDE for Flash Devel

2006-10-12 Thread Steven Sacks | BLITZ
Why can't you use MTASC? If you're serious about Flash development, you should be using it. I have a Flash application that literally takes 30 seconds to compile in the IDE and less than a second with MTASC. If you don't want to have to write out that long command line compile script (and who

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

2006-10-12 Thread Steven Sacks | BLITZ
get fucked jerk. What happened to that whole unsubscribing thing you mentioned? How did you even receive this message if you unsubscribed? And if it indeed was not an honest statement and instead a sarcastic comment, why are you surprised by a sarcastic comment in return? I did get f**ked.

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

2006-10-12 Thread Steven Sacks | BLITZ
fin. ___ 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] Flash transparent on top of Windows Media Player

2006-10-11 Thread Steven Sacks | BLITZ
Ok, fair enough, it seems everything it's up to the browsers. However, users, bosses and even developers don't care about that. What they see is that the application is not working properly. What they see is that Flash is doing weird things _again_. What they see is that they cannot trust

RE: [Flashcoders] Logging Flash-Internal User Access?

2006-10-11 Thread Steven Sacks | BLITZ
session data and such, then you'll have to write a back-end to support it. 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

RE: [Flashcoders] Logging Flash-Internal User Access?

2006-10-11 Thread Steven Sacks | BLITZ
There's a sucker born every minute. - P.T. Barnum -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Victor Gaudioso Sent: Wednesday, October 11, 2006 10:55 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Logging Flash-Internal

RE: [Flashcoders] Flash transparent on top of Windows Media Player

2006-10-11 Thread Steven Sacks | BLITZ
Huh. I was offering an honest suggestion and also giving you a compliment. Apparently, though, you're perfect for the job you have. BLITZ | Steven Sacks - 310-551-0200 x209 -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Zárate Sent

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