Re: [Flashcoders] Casting to Array

2007-07-20 Thread Steven Sacks
Danny, I'm still not entirely clear on what you're attempting to do. Can you show more code to give us a bigger picture? Danny Kodicek wrote: I'm trying to do something like this: if (a instanceof Array) { doMyArrayFunction(a) } ___ Flashcoder

flashcoders@chattyfig.figleaf.com

2007-07-17 Thread Steven Sacks
How about some real time T&A, instead? ___ 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 Adob

Re: [Flashcoders] +Infinite Loop -Dignity

2007-07-11 Thread Steven Sacks
> while(i--)a[i].n.t(); You ain't what? ___ 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 Ad

Re: [Flashcoders] +Infinite Loop -Dignity

2007-07-11 Thread Steven Sacks
Oops! var i:Number = elements.length; while (i--) { elements[i].animation.update(); } Steven Sacks wrote: Decrementing is faster than incrementing. var i:Number = elements.length; while (--i) { elements[i].animation.update

Re: [Flashcoders] Flash ActionScript Programmer

2007-07-11 Thread Steven Sacks
Posting jobs is acceptable, but if you start posting them egregiously, expect a swift rebuke from the populace and the powers that be. Also, avoid posting jobs that require 5+ years of AS2 experience. ;) ___ Flashcoders@chattyfig.figleaf.com To change

Re: [Flashcoders] +Infinite Loop -Dignity

2007-07-11 Thread Steven Sacks
Decrementing is faster than incrementing. var i:Number = elements.length; while (--i) { elements[i].animation.update(); } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/m

Re: [Flashcoders] XML loading and parsing problem

2007-07-09 Thread Steven Sacks
> It's completely wrong to insist that you have to use a delegate in all > situations. Delegate is teh bomb dot com. If u don't use it, ur n00b. ;) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http:/

[Flashcoders] Gaia Framework v1.0.4 released

2007-07-03 Thread Steven Sacks
Hey everyone! Just wanted to announce the latest version of my Gaia Framework for Adobe Flash. v1.0.4 brings some cool new features for manipulating sounds, as well as improved Gaia Scaffolding to support nested folder structures. http://www.gaiaflashframework.com/ -- Steven Sacks Flash

Re: [Flashcoders] test (sorry)

2007-07-03 Thread Steven Sacks
Thanks for your understanding. Glad it's working. Steven Sacks Flash Maestro Los Angeles, CA -- blog: http://www.stevensacks.net gaia: http://www.gaiaflashframework.com Tony Trapp wrote: Hey Steven no biggie test away if need be.

[Flashcoders] test (sorry)

2007-07-02 Thread Steven Sacks
Just testing this new email account for Flashcoders. ___ 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 A

Re: [Flashcoders] Flash Debugger's not up to it.

2007-06-30 Thread Steven Sacks
Heh. Nothing to do now but get old school and trace out the values you want to see. I personally never use the Flash Debugger for reasons like the one you're talking about. I find it a lot faster to just spit out the variables I want to see and debug that way. Xray is the bomb dot com. _gl

Re: [Flashcoders] MP3 Attaching issues and Streaming issue on IE

2007-06-30 Thread Steven Sacks
You might also want to try embedding an mp3 in a swf and loading the swf instead. ___ 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] MP3 Attaching issues and Streaming issue on IE

2007-06-30 Thread Steven Sacks
Looks right to me. That is pretty much how it's done. I know it sucks, but it's these little tricks that you gotta do to get things to work consistently across browsers. In the greater scheme of things, this is relatively minor when you take into account the insanely dumb stuff that XHTML/J

Re: [Flashcoders] Preloading mp3 - onLoad vs GetBytesLoaded()

2007-06-29 Thread Steven Sacks
Unfortunately, loading from the cache isn't instantaneous. If it's a really large file then you will notice a little lag before it starts if you're playing it as an event. Watch it in Firebug if you want to see how large cached files take a bit to load from the cache. Have you tried streamin

Re: [Flashcoders] Missing characters in XML

2007-06-22 Thread Steven Sacks
Ha! That is the best case of "It's not a bug, it's a feature!" I've ever seen. Danny Kodicek wrote: you might have to go nodeValue.toString() first.. No, nodeValue is already a string. I fixed the problem by reading the file in Director and passing it to Flash as a string - one case where

Re: [Flashcoders] Asynchronous ExternalInterface Calls From Javascript, possible?

2007-06-20 Thread Steven Sacks
setInterval is a handy way to break scope. Have the AS method called by JS set an interval for let's say 10ms, and then have the method assigned to the interval take care of business. Javascript will be free and Flash will keep on going. -Steven Seth Green wrote: I'm not calling a JS functi

Re: [Flashcoders] Does FLEX have web services?

2007-06-20 Thread Steven Sacks
Does Google include a search engine? http://www.google.com/search?q=Flex+SOAP Cheers, Steven Pete Miller wrote: Does FLEX include a SOAP-based web services component? Does it work better than the buggy MX component (i.e. huge memory leak)? We have shied away from Flash Remoting for the time

[Flashcoders] Gaia v1.0.3 Update!

2007-06-18 Thread Steven Sacks
existing project to the latest version of the Gaia Framework. Plus, some various optimizations to the internal classes of Gaia thrown in for good measure. -- Steven Sacks Flash Maestro Los Angeles, CA -- blog: http://www.stevensacks.net gaia: http://www.gaiaflashframework.com

[Flashcoders] Gaia Framework CS3 Scaffold Bug FIXED

2007-06-15 Thread Steven Sacks
me so I didn't test the installer for CS3 since the rename. However, I just installed the CS3 trial and verified it is working now. That is the only difference between the CS3 and Flash 8 versions and the Flash 8 version works perfectly. -- Steven Sacks Flash Maestro Los Angel

[Flashcoders] JSFL not getting along with Swedish characters

2007-06-13 Thread Steven Sacks
There is an issue with JSFL not being able to open an FLA using fl.openDocument(path) where path contains a special character, a Swedish vowel. It seems that the vowel is being removed from the string. This is how the path is generated: FLfile.listFolder() is used to target a folder, which

Re: [Flashcoders] Gaia Flash Framework Released

2007-06-13 Thread Steven Sacks
Muzak, If this is a known issue, is there a known solution? Thanks, Steven Muzak wrote: I'll put my money on the "Swedish vowel" then ;-) Muzak - Original Message - From: "Måns Asplund" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 13, 2007 2:38 PM Subject: Re: [Flashcoders] Gai

Re: [Flashcoders] Gaia Flash Framework Released

2007-06-13 Thread Steven Sacks
Hey, I'm not sure, I'll have to get more information. Flashcoders isn't the place to get support for Gaia, though. Please register an account on the forum and post your issue on the Support board. Thanks, Steven Sacks blog: http://www.stevensacks.net gaia: http://www.gaiafla

Re: [Flashcoders] anyone have CS3 and willing to save 3 files as CS3 for me please?

2007-06-13 Thread Steven Sacks
Tom was nice enough to help me out. Thanks! Steven Sacks wrote: I don't own Flash CS3 yet and the download link is broken at Adobe for the trial and I just need to Save And Compact three tiny flash files as CS3 that are currently Flash 8. Could anyone help please? Email me off

Re: [Flashcoders] anyone have CS3 and willing to save 3 files as CS3 for me please?

2007-06-13 Thread Steven Sacks
Somebody already helped me, but thank you all the same! :) Måns Asplund wrote: I can do that for you. Just e-mail me those files. Regards Måns 2007/6/13, Steven Sacks <[EMAIL PROTECTED]>: I don't own Flash CS3 yet and the download link is broken at Adobe for the trial and I j

[Flashcoders] anyone have CS3 and willing to save 3 files as CS3 for me please?

2007-06-13 Thread Steven Sacks
I don't own Flash CS3 yet and the download link is broken at Adobe for the trial and I just need to Save And Compact three tiny flash files as CS3 that are currently Flash 8. Could anyone help please? Email me off-list. Thanks! -- Steven Sacks Flash Maestro Los Angeles, CA -- blog:

Re: [Flashcoders] Gaia Flash Framework Released

2007-06-12 Thread Steven Sacks
Cool! You might be interested in Jason Grunstra's post regarding SEO with Flash: http://labs.blitzagency.com/?p=171 Frederic Caron wrote: Hey Steven, Nice job! I was really interested in the fact that you included best practices like SWFObject and SWFaddress, you should have a look through

[Flashcoders] Gaia Flash Framework Released

2007-06-12 Thread Steven Sacks
http://www.stevensacks.net/ Technology author Steven Sacks today announced the free public release of his Gaia Flash Framework® (gaiaflashframework.com). Gaia (pronounced "guy-uh") is an open-source framework that provides powerful solutions for building Flash websites to des

Re: [Flashcoders] examples of scripting the Flash application?

2007-06-07 Thread Steven Sacks
Everything you want to do is actually pretty easy with JSFL. Get the API documentation for it on Adobe's site and start digging. You'll be amazed at everything you can do with it. I've written many tools with JSFL. Basically, there isn't much you can do in Flash that you can't do with JSFL.

Re: [Flashcoders] Flash CS3 Prof copy: missing Tree component.

2007-06-01 Thread Steven Sacks
Flash Remoting has always been a separate download, but I would think that they would have shipped it with CS3 considering. I assume it's on their site as a separate download? Muzak wrote: That's not the only things *missing*.. No Flash Remoting No Webservices - Original Message

Re: [Flashcoders] Best Practices question...

2007-06-01 Thread Steven Sacks
And since we're talking best practices, you don't > have any public instance variables anyhow, hmm? :) I don't know what "best practice" you're referring to that claims that you shouldn't have public instance variables. The Wikipedia says "NEED CITATION". Which I will promptly ignore as rubb

Re: [Flashcoders] Best Practices question...

2007-06-01 Thread Steven Sacks
eturn isActive; } Steven Sacks wrote: I only use underscore for private variables if I have a public getter and/or setter for that private variable. Otherwise, I don't use underscore. It's also a easy way to see, at a glance, which private variables are private and which are pub

Re: [Flashcoders] Best Practices question...

2007-06-01 Thread Steven Sacks
I only use underscore for private variables if I have a public getter and/or setter for that private variable. Otherwise, I don't use underscore. It's also a easy way to see, at a glance, which private variables are private and which are public but private. private var _title:String; public

Re: [Flashcoders] seamless audio loops

2007-05-30 Thread Steven Sacks
Import the mp3 into Flash, set it as an event on the timeline with loops and export as SWF and that will loop seamlessly. nik crosina wrote: Hi Guys, We are having problems with seamlessly looping audio in Flash - is there a special way of doing this? We are using mp3 and even thought eh

Re: [Flashcoders] More Video Tutorials

2007-05-29 Thread Steven Sacks
I got this message off-list, too. Conrad, are you harvesting our emails from Flashcoders for your own commercial purposes? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/ma

Re: [Flashcoders] (no subject)

2007-05-29 Thread Steven Sacks
Apollo Gustavo Duenas wrote: Hi coders , Does anyone know a tutorial about how can I do desktop applications using flex builder? Because I googled and I wasn't much successful in my search... Maybe I don't know where I can find it? Regards. Gustavo Duenas Creative Director LEFT AND RIGHT

Re: [Flashcoders] objects can't delete themselves right?

2007-05-25 Thread Steven Sacks
Thank you for your addition to the thread, Mark. It was quite helpful! :) Mark Winterhalder wrote: On 5/26/07, Steven Sacks <[EMAIL PROTECTED]> wrote: Correct me if I'm wrong, but I thought objects could not delete themselves, and if you delete an object with a function

Re: [Flashcoders] objects can't delete themselves right?

2007-05-25 Thread Steven Sacks
Ok I get it now. By removing all references to the functions of class B, even though class B is telling class A to delete class B, after the delete fires and the thread is done, arguments falls out of scope, all references to class B are gone so the GC will pick it up on the next sweep. This

Re: [Flashcoders] objects can't delete themselves right?

2007-05-25 Thread Steven Sacks
.onEnterFrame = undefined; for example) I'm not sure if the delete operator works on function objects, but by all means try delete _root.foo.hello instead... and for more about flash's GC see http://www.kaourantin.net/2005/09/garbage-collection-in-flash-player-8.html Jonathan On 5/25/07

[Flashcoders] objects can't delete themselves right?

2007-05-25 Thread Steven Sacks
Correct me if I'm wrong, but I thought objects could not delete themselves, and if you delete an object with a function and store a reference to that function before you delete it, that function is orphaned and will never be cleaned up by the GC. Am I wrong? I have a trivial test to demonstra

Re: [Flashcoders] MC xscale/width/yscale/height with MCL

2007-05-24 Thread Steven Sacks
Check out Xray http://osflash.org/xray/ One of its features is it lets you take snapshots of the current application so you can see where your movieclip is. Xray is the best thing to happen to Flash Development. Ever. Rock on John Grden! \m/ Jonathan Berry wrote: Hello all, I searched th

Re: [Flashcoders] remove duplicate items in array

2007-05-22 Thread Steven Sacks
From my XArray mixin class (all 3 are needed). /** * Returns a new array by removing duplicate values in Array. */ Array.prototype.uniq = function() { var r = []; var l = this.length; for (var a = 0; a < l; a++) { if (!r.has(this[a])) r.push(this[a]);

Re: [Flashcoders] jFlash and other web-based, non-browser options

2007-05-20 Thread Steven Sacks
mProjector Andrew Sinning wrote: What are the options for delivering Flash over the web, but outside of the browser? Has anybody used jFlash (a module that allows you to use Flash content in stead of Swing within Java)? Our objective is to deliver an interactive IRC/remote-control which wil

Re: [Flashcoders] Challenge: open YouTube FLV in your own SWF

2007-05-15 Thread Steven Sacks
There are tons of sites that come up on google if you search for download youtube flv, or things of that ilk. There are sites that will give you the direct path to the FLV and you can use their scripts for any YouTube movie ID url. FireBug for Firefox and Fiddler for IE7 are two examples of a

Re: [Flashcoders] Strange problem with AS2 class

2007-05-14 Thread Steven Sacks
I highly suggest you get FLASC http://www.osflash.org/flasc 1) Your code will be cleaner. MTASC forces you to write clean code in order to compile. It is more strict than the Flash IDE compiler. 2) MTASC helps identify bugs before they happen. For instance, I had an issue I couldn't figur

Re: [Flashcoders] jsapi question

2007-05-12 Thread Steven Sacks
Hey Jason, Are you calling this from a panel? If you are, make sure the panel is docked. There are bugs with certain JSFL commands if a panel isn't docked when it calls them and setTextString is one of them. Also, you could also try selecting the text field using the rectangle selection co

Re: [Flashcoders] Quick syntax q: how to write a function that canreceive an undefined number of parameters

2007-05-11 Thread Steven Sacks
I think he was pointing out how the loop could be optimized even further. Pre-decrementing is faster than post-decrementing. However, his greater than comparison slows it down. The right way to do it is: while (--i -(-1)) { } since subtraction is faster than addition. This is all academic,

Re: [Flashcoders] Quick syntax q: how to write a function that can receive an undefined number of parameters

2007-05-11 Thread Steven Sacks
Even more optimized public static function center():Void { var targetClip:MovieClip = MovieClip(arguments.shift()); centerX:Number = targetClip._x + (targetClip._width / 2); centerY:Number = targetClip._y + (targetClip._height / 2); var i:Number = arguments.length; while (i--) {

Re: [Flashcoders] Quick syntax q: how to write a function that can receive an undefined number of parameters

2007-05-11 Thread Steven Sacks
public static function center():Void { var targetClip:MovieClip = MovieClip(arguments.shift()); var i:Number = arguments.length; while (i--) { arguments[i]._x = targetClip._x + (targetClip._width / 2); arguments[i]._y = targetClip._y + (targetClip._height / 2); } } :)

Re: [Flashcoders] looking for library naming conventions

2007-05-10 Thread Steven Sacks
I use the following naming conventions for both library and instance. MC_Foo for movieclips BTN_Foo for buttons or movieclips that behave as buttons GR_Foo for Graphic Symbols FONT_Foo for font symbols and their linkage IDs VID_Foo for Video symbols, not for instances, though I use the foll

[Flashcoders] Bug with importing publish profiles and class paths

2007-05-10 Thread Steven Sacks
Nasty bug with Publish Profile XML importing. I've got a publish profile that has my class path set up. If I export that publish profile, the resulting XML has the class path in it. See line 76. 74: 2 75: 1 76: ./classes 77: When I import this publish profile xml file into the same Flash

[Flashcoders] OT: Spiderman 3 === Worst movie ever

2007-05-07 Thread Steven Sacks
Spiderman 3: So bad, I have to post OT on Flashcoders to warn my colleagues to avoid it at all costs. Never see Spiderman 3. Ever. Go your whole life without seeing it. It might be the worst movie ever made. Seriously. It was unbelievable how bad it was. Of the people who did not walk ou

Re: [Flashcoders] Flash 8 OSX - Classpath woes

2007-05-07 Thread Steven Sacks
errors stopped appear. Maybe it can give you a hint to your problem on the mac. See details on : http://ericlin2.tripod.com/as2/conflict.html. Nimrod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Sunday, May 06, 2007 1:40 AM To: flashc

Re: [Flashcoders] Flash 8 OSX - Classpath woes SOLVED

2007-05-06 Thread Steven Sacks
Hey all. Well, it was an ASO issue. I had to clear the ASO on my Windows box, then create my MXP, then bring it over to my Mac box, clear the ASO and then it worked from then on. I'm hoping that people don't run into this issue if they install my MXP. Are there any negative effects that ari

Re: [Flashcoders] Flash 8 OSX - Classpath woes

2007-05-06 Thread Steven Sacks
Thanks Wagner. Unfortunately, that's not the issue. These files were built on my Windows box (not on a network drive) and packaged up in an MXP. Also, this is a brand new install of the trial version of Flash 8 for OSX, so deleting the ASO wouldn't (and didn't) help. :(

Re: [Flashcoders] Flash 8 OSX - Classpath woes

2007-05-06 Thread Steven Sacks
Delete .aso files (in Command or Control menu) and recompile. - Original Message - From: "Steven Sacks" <[EMAIL PROTECTED]> To: Sent: Sunday, May 06, 2007 12:40 AM Subject: [Flashcoders] Flash 8 OSX - Classpath woes Calling all OSX Flash users: Does the clas

[Flashcoders] Flash 8 OSX - Classpath woes

2007-05-05 Thread Steven Sacks
ith the name of another class that was loaded, 'net.stevensacks.gaia.core.SiteModel'. class net.stevensacks.gaia.core.SiteModel That class declaration is line 28, btw. How can a class conflict with itself? -- Steven Sacks Flash Maestro Los Angeles, CA -- blog: h

[Flashcoders] Flash is BUGGED with Panels

2007-05-05 Thread Steven Sacks
nd does not even appear in the list of available panels to Flash and the loaded panel is empty. If I am going to distribute my panel and people own a copy of gProject, how am I supposed to deal with this terribly nasty bug? -- Steven Sacks Flash Maestro Los

Re: [Flashcoders] Syntax for dynamically calling a function

2007-05-03 Thread Steven Sacks
IIRC, instanceof is faster than typeof. ___ 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 Ado

Re: [Flashcoders] Any good XML api out there?

2007-05-03 Thread Steven Sacks
XML2AS is the best one I've found. It's also the fastest. I didn't write it, but I have included it in my package of data tools. It creates String objects out of nodes and applies attributes and the names of the child nodes as array properties. I have written about it on many occasions on F

Re: [Flashcoders] AS2: generating new instances dynamically?

2007-05-02 Thread Steven Sacks
You might want to consider using composition. class Sample { private var self:MovieClip; function Sample(clip:MovieClip) { self = clip; } } Usage: mySample = new Sample(this.attachMovie(id, instance, depth)); Composition has many advantages over extending MovieClip. I

Re: [Flashcoders] printJob, orientation and rotation or scaling issues

2007-05-02 Thread Steven Sacks
I cover this topic on my blog. :) http://www.stevensacks.net/2007/03/16/force-landscape-printing-with-printjob/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/lis

[Flashcoders] SOLVED: MTASC/FLASC type error class not found

2007-04-25 Thread Steven Sacks
Nevermind. I had the class path going one level too deep. Isn't that always the way? You bang your head against something for awhile and as soon as you ask the list, you figure it out. ___ Flashcoders@chattyfig.figleaf.com To change your subscriptio

[Flashcoders] MTASC/FLASC type error class not found

2007-04-25 Thread Steven Sacks
I'm having a weird issue with MTASC that just started up. It compiles fine in Flash. C:/Project/src/classes/com/stevensacks/site/data/SiteModel.as:10: characters 16-25 : type error class not found : com.stevensacks.site.data.PageModel Here is line 10: private static var _pm:PageModel; It's

Re: [Flashcoders] Clear Set Interval Q:

2007-04-25 Thread Steven Sacks
Danny, I think you're missing out by not using Intervals. They're extremely useful (and efficient) once you get familiar with them. If you're looking for one that you don't have to keep track of, google "Kenny Bunch Interval Manager". It takes care of a lot of interval overhead and puts al

Re: [Flashcoders] Class for movie - best practice question

2007-04-24 Thread Steven Sacks
If you like Java so much, why don't you marry it? If you want to make deferential commentary regarding Actionscript, go to Java forums and seek validation from your Java friends. Unlike us Flashcoders, I'm sure they'd be happy to oblige. It's extremely easy to make a document class in AS2 an

Re: [Flashcoders] Class for movie - best practice question

2007-04-24 Thread Steven Sacks
Best practices: A lot of people use main.swf and main.as. FLASC/MTASC has a feature to support this very functionality. Never put classes in the same folder as your movie. Always put them in a namespace folder chain. For instance: class com.clientname.projectname.Main HTH, Steven

Re: [Flashcoders] Clear Set Interval Q:

2007-04-24 Thread Steven Sacks
An interval ID is just a number. If you clear the interval, it doesn't get rid of the number, it just stops the interval of that ID from running. delete intervalID; Helmut Granda wrote: Is there any specific reason why after calling clearInterval the variable with the interval returns 1 ins

Re: [Flashcoders] seek() in VideoPlayer class

2007-04-23 Thread Steven Sacks
ood to know. If you need more info: I'm calling seek() on a button release and at times the FLV will go back to the beginning of the FLV instead of seeking to the time passed in the seek() call. Thanks! On 4/23/07, Steven Sacks <[EMAIL PROTECTED]> wrote: The FLV component (both 7 an

Re: [Flashcoders] setInterval woes

2007-04-23 Thread Steven Sacks
(this, 'myFunc', 100); Using setInterval this way specifies the scope object you want to call your method on. This also goes a long way to ensuring that your interval will work as you intended it to. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: [Flashcoders] flash and paypal

2007-04-23 Thread Steven Sacks
You link off to PayPal just like you do with an HTML link? PayPal has their own forms. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought t

Re: [Flashcoders] setInterval woes

2007-04-23 Thread Steven Sacks
hy is that? If he's only calling it once and the interval is > only defined/set once, why would you call clearInterval? > > On 4/20/07, Steven Sacks <[EMAIL PROTECTED]> wrote: > > You should always call clearInterval before setInterval. ALWAYS. > > > > >

Re: [Flashcoders] seek() in VideoPlayer class

2007-04-23 Thread Steven Sacks
The FLV component (both 7 and 8) are totally messed up when it comes to calling seek manually on an interval or enterFrame. I mean, it's pretty ridiculous that such an obvious bug got through QA. Allegedly, there is an undocumented public method that exposes the true seek method of the FLVPla

Re: [Flashcoders] UNSUBRSCRIBE

2007-04-20 Thread Steven Sacks
Some of us work in corporate environments (read: Jason Merrill) and swear words get us (read: him) in trouble. Watch your language. And I had no trouble unsubcribing recently from Flashcoders. You do realize you have to confirm the unsubscription right? And to do that, you need your passwor

Re: [Flashcoders] setInterval woes

2007-04-20 Thread Steven Sacks
You should always call clearInterval before setInterval. ALWAYS. Michael King wrote: Hey all, Some of you may remember my problems with visually mapping streaming data before. I ended up needing them as separate clips to provide individual roll-over support with the ability to add links in a

[Flashcoders] TEST

2007-04-18 Thread Steven Sacks
Test message ___ 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

[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
u "get hurt" by god blessings? How could you possibly be hurt by god blessings if you don't believe in god? That's ridiculous. Did it feel good to have your temper tantrum? I hope so, but don't pretend for a moment that temper tantrums are respectful. They'

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

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)/_heightThat 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

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