[Flashcoders] Muzak's MXI Creator Fatal Error

2007-04-12 Thread Steven Sacks | BLITZ
Everyone is my office is getting a Fatal Exception Error when they try to run Muzak's MXI Creator. XP, Vista, SP1, SP2, machines that never had it installed before, machines that uninstalled and resintalled. Same Fatal Error on launch on all of them. Anyone know if there's a fix for this? ___

RE: [Flashcoders] "named" while loops in AS3

2007-04-11 Thread Steven Sacks | BLITZ
You'll have to set a flag. var a:Number = 10; var b:Number = 10; var breakLoop:Boolean = false; while (a--) { if (breakLoop) break; trace("a = " + a); while (b--) { if (b < 5) { breakLoop = true; break;

RE: [Flashcoders] Create MXI/MXP with External JSFL

2007-04-10 Thread Steven Sacks | BLITZ
Muzak, Are you on Windows or OSX? ___ 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 Con

RE: [Flashcoders] Create MXI/MXP with External JSFL

2007-04-09 Thread Steven Sacks | BLITZ
Muzak, Thanks for your response. Unfortunately, it's not working for me when I try to test it before I even make it an MXI/MXP. I created a jsfl folder inside the Configuration folder and put my jsfl file in there. uri = MMExecute("fl.configURI") + "jsfl/test.jsfl"; MMExecute("fl.trace(\"" + ur

[Flashcoders] Flashcoders really bad lag - just me?

2007-04-09 Thread Steven Sacks | BLITZ
Ever since the Flashcoders server went down, my posts to Flashcoders are taking a long time to appear. Is it just me or are other people experiencing this? These are from today, for instance: RE: [Flashcoders] OT: Happy Easter Sent: Mon 4/9/2007 11:56 AM Appeared: Mon 4/9/2007 2:55 PM 3 hours t

[Flashcoders] Create MXI/MXP with External JSFL

2007-04-09 Thread Steven Sacks | BLITZ
Hey FC, I have a Flash panel I created which requires an external JSFL file to run. How do I package up the JSFL file into the MXI/MXP and how do I determine what the file path is to it load said JSFL from inside the Actionscript of the panel SWF? Wrapping the JSFL into Actionscript is not an op

[Flashcoders] Kick this guy off the list

2007-04-09 Thread Steven Sacks | BLITZ
KICK THIS GUY OFF THE LIST! His out of office email is spamming every thread. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Tareq AlJaber > Sent: Monday, April 09, 2007 12:34 PM > To: flashcoders@chattyfig.figleaf.com > Subject: Re: [Flashc

RE: [Flashcoders] OT: Happy Easter

2007-04-09 Thread Steven Sacks | BLITZ
cular coding... this > is JUST ABOUT CODING WITH FLASH :P sorry if this hurts, but I > do get hurt by 'god blessings'... > respect > Cedric > > > > > Happy easter to everyone and god bless you all guys. > > > > > > Regards > > > > >

RE: [Flashcoders] OT: Happy Easter

2007-04-08 Thread Steven Sacks | BLITZ
On behalf of Jews everywhere, may I be the first to say you're welcome! :) ___ 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 Le

RE: [Flashcoders] attaching an event to a movie clip

2007-04-06 Thread Steven Sacks | BLITZ
Here's a quick and dirty example: this.createEmptyMovieClip("img", 10); img.loadMovie("some.jpg"); this.onEnterFrame = function() { if (img._width > 2) { this.assignActions(); delete this.onEnterFrame; } }; function assignActions() { img.onRo

RE: [Flashcoders] Window component scrolling...am I insane?

2007-04-06 Thread Steven Sacks | BLITZ
I've never used the Window component. I don't even know what it does. I don't use MM components unless I'm mocking something up really quick. The combo box, check box and radio buttons are the only ones I ever use. IMO, the rest are garbage, especially the scrollpane. Everything else I'm better o

RE: [Flashcoders] Enumerating properties from outside an instance.

2007-04-05 Thread Steven Sacks | BLITZ
function loopThrough(mc:MovieClip):Void { for (var a:String in mc) { trace(a + ": " + mc[a]); if (mc[a] typeof "movieclip") loopThrough(mc[a]); } } You can use recursion and hope that you don't end up with circular references. ___

RE: [Flashcoders] Enumerating properties from outside an instance.

2007-04-05 Thread Steven Sacks | BLITZ
Pretend you're a mechanic and somebody calls you up and says the following: "My car starts when it's in my driveway, but it doesn't start when I'm at the store. What's wrong with my car?" Would you be able to help? Show us your code or we can't help you. :) -Steven > -Original Mess

RE: [Flashcoders] NetStream.play() - Start parameter

2007-04-04 Thread Steven Sacks | BLITZ
You have to wait for the ready event before you can seek. Read the docs and it will all come clear. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] NetStream.play() - Start parameter

2007-04-04 Thread Steven Sacks | BLITZ
netStream.play(flvPath); netStream.seek(5); BLITZ | Steven Sacks - 310-551-0200 x209 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of leolea > Sent: Wednesday, April 04, 2007 12:20 PM > To: Flashcoders mailing list > Subject: [Flashcoders] NetStr

RE: [Flashcoders] FLV (like youtube)

2007-04-04 Thread Steven Sacks | BLITZ
Did you even google this? There are many tools that convert to FLV server-side. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Tom Huynen > Sent: Wednesday, April 04, 2007 6:07 AM > To: flashcoders@chattyfig.figleaf.com > Subject: [Flashcoder

RE: [Flashcoders] eolas fix for IE7

2007-04-03 Thread Steven Sacks | BLITZ
Just in case you were unaware, there's a forum on SWFObject site where you can research these issues (I'm sure somebody had the same issue you're having at some time) and you can post questions. I think you'll have better luck there troubleshooting your issues. :)

RE: [Flashcoders] JSFL - Saving FLAs

2007-04-02 Thread Steven Sacks | BLITZ
Maybe I'm confused about what you're trying to do. Are you concerned with the published (swf) version or the source (fla) version? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figlea

RE: [Flashcoders] scale 9?

2007-04-02 Thread Steven Sacks | BLITZ
Are you using a bitmap or vector in the slice 9 clip? ___ 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 FLAs

2007-04-02 Thread Steven Sacks | BLITZ
The version is located in the XML Publish Settings file. It's been reported that changing this value using JSFL does not work (a bug). However, you CAN read it. Refer to my blog entry regarding the XML Publish settings file to see how to get the version number out of it. http://www.stevensacks.n

RE: [Flashcoders] Is there a way to center an FLV in it's FLVplaybackcomponent?

2007-03-30 Thread Steven Sacks | BLITZ
3 easy steps. 1. Make a black square movieclip. 2. Set it to the size you want. 3. Position the resized FLV video in the center of it. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Dave Lenz > Sent: Friday, March 30, 2007 2:36 PM > To:

RE: [Flashcoders] SWF Only Loads Once

2007-03-29 Thread Steven Sacks | BLITZ
XML almost always caches. Use a noCache param. var path:String = "some.xml"; var d:Date = new Date(); var p:String = (path.indexOf("?") > -1) ? "&noCache=" : "?noCache="; var noCache:String = (_root._url.indexOf("http://";) > -1) ? p + d.getTime() : ""; var xmlPath:String = path + noCache; myXML

RE: [Flashcoders] Confused about accessing nested movieclips in AS3

2007-03-29 Thread Steven Sacks | BLITZ
If you're not using absolute strict typing and everything that AS3 has (display, addChild, etc.), then you're gaining no benefit because Flash will just kick down to VM1. IMO, you should either rebuild it from scratch in AS3 style (using sprites, display objects, etc.) or leave it as AS2 and save

RE: [Flashcoders] Scaling Up an Image in Proportion to width or height

2007-03-29 Thread Steven Sacks | BLITZ
Proportion > to width or > height > > That'd do it...except that you need to define var ratio:Number = > _height/_width. > > If var ratio:Number = _width/_height, then _width * ratio = (_width * > _width)/_height....That ain't right. > > > -Ori

RE: [Flashcoders] Scaling Up an Image in Proportion to width or height

2007-03-29 Thread Steven Sacks | BLITZ
Simple. You solve for the ratio: var ratio:Number = _width / _height; You resize the _width: _width = Math.max(newWidth, 500); You set _height to the _width * ratio: _height = _width * ratio; fin. ___ Flashcoders@chattyfig.figleaf.com To change

RE: [Flashcoders] scope in AS3

2007-03-29 Thread Steven Sacks | BLITZ
> in flash8 the propertie is _visible You are correct. However, he is coding in AS3 (see: package) and the subject of the thread has "AS3" in it, which means this is Flash 9, which means the property is visible, no underscore. ___ Flashcoders@chattyfi

RE: [Flashcoders] Image resizer that maintains ratio

2007-03-28 Thread Steven Sacks | BLITZ
mc._width = maxW; mc._height = maxH; (mc._xscale > mc._yscale) ? mc._xscale = mc._yscale : mc._yscale = mc._xscale; > You could probably optimize a little bit by removing the Math > function... > > mc._width = maxW; > mc._height = maxH; > if ( mc._xscale > mc._yscale ) { > mc._xscale

RE: [Flashcoders] Flash controling "Z" with div layers

2007-03-28 Thread Steven Sacks | BLITZ
wmode=transparent might help. not sure. BLITZ | Steven Sacks - 310-551-0200 x209 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Patrick Lemiuex > Sent: Tuesday, March 27, 2007 4:57 PM > To: flashcoders@chattyfig.figleaf.com > Subject: [Flash

RE: [Flashcoders] Flash CS3 Announced

2007-03-27 Thread Steven Sacks | BLITZ
I was only speaking of people who I have discussed the issue with (hence, "My experience is"). It was not my intent to lump you in with them. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfi

RE: [Flashcoders] Flash CS3 Announced

2007-03-27 Thread Steven Sacks | BLITZ
> Freehand was terrible IMO. I know quite a few people who feel exactly opposite of you. They absolutely hate Illustrator and mourn the loss of what they believe to be a clearly better product. My experience is that most people who don't like Freehand never actually gave it a proper chance or w

RE: [Flashcoders] empty textfield of type "input" and embedded font

2007-03-26 Thread Steven Sacks | BLITZ
VM1 requires that you wait a frame before certain methods of dynamically attached clips are available. The easiest way around this is to put a method configUI(); on frame 1 of the timeline in your clip and put that method in your class to do what you need to do. And if any of y'all on Flashcoders

RE: [Flashcoders] Re: empty textfield of type "input" and embedded font

2007-03-26 Thread Steven Sacks | BLITZ
And setTextFormat works fine with HTML textfields. I've been using it throughout an application I just built. I never use setNewTextFormat. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig

RE: [Flashcoders] Re: empty textfield of type "input" and embedded font

2007-03-26 Thread Steven Sacks | BLITZ
That's because you do your text formatting with HTML tags. BLITZ | Steven Sacks - 310-551-0200 x209 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Matthias Dittgen > Sent: Monday, March 26, 2007 12:50 AM > To: Flashcoders mailing list > Subj

RE: [Flashcoders] Test

2007-03-24 Thread Steven Sacks | BLITZ
Hello. Flashcoders has been really laggy the past few days. It usually takes an hour or two before I see my posts. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Danny Kodicek > Sent: Friday, March 23, 2007 6:02 AM > To: flashcoders@chattyf

RE: [Flashcoders] Event calendar

2007-03-24 Thread Steven Sacks | BLITZ
Wow! http://slash7.com/pages > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of natalia Vikhtinskaya > Sent: Friday, March 23, 2007 7:14 AM > To: Flashcoders mailing list > Subject: [Flashcoders] Event calendar > > Hi to all > I should create ev

RE: [Flashcoders] Trouble getting _x position

2007-03-23 Thread Steven Sacks | BLITZ
Draw your box from 0,0 and then set the _x and _y of the movieclip you drew in. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by F

RE: [Flashcoders] Using JSFL with AS files

2007-03-23 Thread Steven Sacks | BLITZ
You can read and write any text files, so you can certainly read and write AS files. Here is the full Flash 8 JSFL API PDF document which is IMPOSSIBLE to find anymore on Adobe's site. http://tinyurl.com/2qu83v Of particular interest to you are: Flfile Object Flfilre.read(fileOrFolderURI); Flf

RE: [Flashcoders] Got milk? (the game)

2007-03-23 Thread Steven Sacks | BLITZ
> That dice is cheaty! It's a dirty cheaty dice. A friend of mine rolled a "1" 14 times in a row. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Using JSFL with AS files

2007-03-22 Thread Steven Sacks | BLITZ
What do you mean specifically? BLITZ | Steven Sacks - 310-551-0200 x209 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Danny Kodicek > Sent: Thursday, March 22, 2007 6:30 AM > To: flashcoders@chattyfig.figleaf.com > Subject: [Flashcoders] Us

RE: [Flashcoders] disabling carriage returns in wrapping text fields

2007-03-21 Thread Steven Sacks | BLITZ
You could fake it and instead of using an input textfield, capture keystrokes and put them into a dynamic textfield. :) You could also validate the input textfield on every key up event and strip any carriage returns out then. INP_Field.text = INP_Field.text.split("\n").join("").split("\r").join

RE: [Flashcoders] Flash extension question

2007-03-21 Thread Steven Sacks | BLITZ
If you want to export to a different directory, you'll have to modify the publish settings xml file, which I discuss on my blog...which for some reason is down right now (writes email to hosting company)...so I'll copy and paste the code here. If you are publishing to the same folder as the FLA, y

RE: [Flashcoders] Localization issue with XML

2007-03-21 Thread Steven Sacks | BLITZ
field > > Cheers, > >B) Søren > > > > >> > >> -----Original Message----- > >> From: [EMAIL PROTECTED] > >> [mailto:[EMAIL PROTECTED] On Behalf Of > >> Steven Sacks > >> | BLITZ > >> Sent: Tuesday, March 20, 2007

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] Localization issue with XML - SOLVED!

2007-03-20 Thread Steven Sacks | BLITZ
And I solved it heh so thanks anyway! Solution was to use the numeric codes. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Steven Sacks | BLITZ > Sent: Tuesday, March 20, 2007 11:32 AM > To: flashcoders@chattyfig.fig

[Flashcoders] Localization issue with XML

2007-03-20 Thread Steven Sacks | BLITZ
Hey Flashcoders, I'm having an issue with special characters not showing up from other languages, such as German (ü, ö, etc.). The issue is specifically with text loaded in from XML. The textfields are set to embed all latin glyphs (1076 glyphs, Uppercase, Lowercase, Numerals, Punctuation,

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 en

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 i

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

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

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 spec

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 t

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 a

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 wa

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 = (a=r[k])[d=r[k].push({})-1

RE: [Flashcoders] is flash still alive?

2007-03-13 Thread Steven Sacks | BLITZ
I was joking, hence the ;) ___ 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

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 fo

RE: [Flashcoders] AS3... when to start?

2007-03-05 Thread Steven Sacks | BLITZ
The issue at hand is that there is really a lack of information out there to educate Flash developers on what the benefits and differences are of using Flex. You pretty much have to take the plunge and learn it to educate yourself on why you should be using it in the first place. This is, IMO, Ad

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 = "http://www.domain.com/my.xm

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

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. ___ Flashcoders@cha

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

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 S

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 The copyright infringement of software refers to several practices when done without the permission of the copyright

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

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

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

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] limits to AS2 levels of OOP class inheritance?

2007-02-15 Thread Steven Sacks | BLITZ
I was going to recommend trying to compile with MTASC as its strictness often exposes mistakes that the IDE won't catch. Since you're already doing that, I suggest you do some Debugging 101 and make a trivial example to see if you can replicate it outside your application environment. ___

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

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

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

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

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] 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] 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) { roll

RE: [Flashcoders] to get last browsed web page before current

2007-02-07 Thread Steven Sacks | BLITZ
http://jeremiahgrossman.blogspot.com/2006/08/i-know-where-youve-been.htm l#whereyoubeen Use at your own moral peril. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/lis

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

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] brain is dead: Syntax Error, why?

2007-02-06 Thread Steven Sacks | BLITZ
A normal standard I use is: com.domain_or_client.and.your.class.paths Put those in a folder called classes. Go into your AS2 options (publish Flash panel) and set ./classes as your classpath. -Steven ___ Flashcoders@chattyfig.figleaf.com To change you

RE: [Flashcoders] Pretty impressive Flash website

2007-02-06 Thread Steven Sacks | BLITZ
Road Runner has been around for awhile, it's def not Flex. It was done by Fantasy Interactive. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders B

RE: [Flashcoders] Scrolling text with dragger??

2007-02-06 Thread Steven Sacks | BLITZ
You don't assign a movieclip to it, you add your movieclip as a listener to the scrollbar. MC_Scrollbar.addEventListener("change", yourClip); or if you want to use Delegate ...("change", Delegate.create(yourClip, onScroll); or if your clip has its own class ...("change", Delegate.create(this,

RE: [Flashcoders] Scrolling text with dragger??

2007-02-06 Thread Steven Sacks | BLITZ
I have a scrollbar class I wrote and blogged about. You might find it useful for your needs. http://www.stevensacks.net/2007/02/06/flash-scrollbar-ftw/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http

RE: [Flashcoders] text length difference

2007-02-06 Thread Steven Sacks | BLITZ
You might also want to strip any non-html carriage returns, which will not get picked up by ignoreWhiteSpace, as well. myHtmlString.split("\n").join("").split("\r").join(""); ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or se

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 rend

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] 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: http://chattyf

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

  1   2   3   4   5   >