[Flashcoders] Workflow question: attaching scripts to external movieClips

2006-08-20 Thread js
I was searching for a solution to an issue that I am having and I came across a post in the Flashcoders archive from 2005. The post describes exactly the same issues I am having right now, but it was unfortunately never answered. If anyone can address the issues described in the post below, it

Re: [Flashcoders] Array Empowerment

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

Re: [Flashcoders] Array Empowerment

2006-07-26 Thread js
As a relative newcomer to Actionscript, I have found the entirety of this thread very useful. I want to thank all of you for sharing this code, as well as providing a considerable amount of insight to those of us lurking in the shadows. I was fairly surprised to see that if(this.length == 0) i

Re: [Flashcoders] Issue with reapeat test publish

2006-07-02 Thread js
t any preloading you wouldn't see anything happen until it's finished loading. you can either change the download setting to something higher, or just close each time and republish. -dave On Jul 2, 2006, at 12:21 PM, js wrote: When I test publish a file the first time, everything wo

[Flashcoders] Issue with reapeat test publish

2006-07-02 Thread js
When I test publish a file the first time, everything works as expected. However when I press ctl-enter again (while the window is still open), absolutely nothing works. If I close the window, and then test-publish again from within the IDE, the file works again. Has anyone else experienced thi

Re: [Flashcoders] Accurate duration info from the Sound Class

2006-07-01 Thread js
If I may rephrase that first sentence: There is no way to get the actual duration of a *loading* mp3 through the Sound class. Regards js wrote: Since mySound.duration reflects *loaded* duration - there is no way to get the actual duration of a loaded mp3 through the Sound class. A work

[Flashcoders] Accurate duration info from the Sound Class

2006-07-01 Thread js
Since mySound.duration reflects *loaded* duration - there is no way to get the actual duration of a loaded mp3 through the Sound class. A work around and what I've been doing: Divide mySound.getBytesLoaded by mySound.getBytesTotal to get a percentage of the song that is currently loaded; and t

Re: [Flashcoders] Re: loadvars vs xml onData

2006-06-28 Thread js
I saw you asking this question the other day on EFNet. Apologies if I can't be of much help, but, intuitively the first explanation (and only explanation) that I can think of is that you are incurring some sort of overhead due to the higher size and complexity of the XML class. How this could p

Re: [Flashcoders] To script or not to script... flash animations and drawing

2006-06-27 Thread js
Hey Marcelo, You really touched upon a subject that I have issues with as well. Unfortunately, it seems that the vast majority of OOP supporters out there are code purists to extreme extents. While the organization and extensibility that OOP provides is very helpful under specific circumstanc

Re: [Flashcoders] Best component set for Flash 8 / MTASC development?

2006-06-19 Thread js
Hi Todd, You may find interest in GSkinner's Metaliq component set: http://www.metaliq.com/mCOM/ I'm not exactly sure about MTASC compatibility; possibly someone on the list who has more experience with these components can help you there. Regards, Joseph Sorensen Todd Hivnor wrote: I'm t

[Flashcoders] UML + Actionscript

2006-06-19 Thread js
I have been trying to learn the basics of UML for the past couple days or so by assembling a class diagram for a hypothetical Contact Manager--although it may not stay hypothetical if I can learn this properly ;). Unfortunately I am experiencing a bit of confusion in regards to properly communi

Re: [Flashcoders] XML load within an object

2006-06-18 Thread js
<<<<<<<<<<<<<<<<<< xmlData.onLoad = function(success:Boolean){ ref.init(success,this); } /David - Original Message - From: "js" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Sunday, Ju

Re: [Flashcoders] XML load within an object

2006-06-18 Thread js
import util.Proxy; class Widget { private var _someProperty:Number = 5; public function Widget(xmlFile:String){ var xmlData:XML; xmlData = new XML(); xmlData.ignoreWhite = true; xmlData.onL

Re: [Flashcoders] The Delegate class ...

2006-06-14 Thread js
} } On 6/14/06 1:39 PM, "js" <[EMAIL PROTECTED]> wrote: While not as elegant, you can get around this issue delegate-free with the following: class SomeClass { private var a:Number = 3; function SomeClass(mc:MovieClip){ var thisObj = this; // Set a referenc

Re: [Flashcoders] The Delegate class ...

2006-06-14 Thread js
While not as elegant, you can get around this issue delegate-free with the following: class SomeClass { private var a:Number = 3; function SomeClass(mc:MovieClip){ var thisObj = this; // Set a reference to "this"

[Flashcoders] gotoAndPlay and onLoad

2006-06-12 Thread js
This is the most weird thing I've run into all week... I don't work much with actual animation on the timeline, most of my flash work is done through pure AS, so I have not yet run into this issue: 1. Create a movie clip on the stage with an instance name of "my_mc" and place a stop command on

Re: [Flashcoders] Regarding ascb Proxy

2006-06-09 Thread js
Thank you for this excellent enhanced version erixtekila. Just read through the blog post on http://dynamicflash.com/ and it was also a good read. He actually updated the class if you didn't notice--you can find it here: http://dynamicflash.com/classes/Delegate.as erixtekila wrote: Hi, I

Re: [Flashcoders] Regarding ascb Proxy

2006-06-09 Thread js
using the Macromedia Delegate class i came accross times when it would have been neater to supply additional paramters, but it wasnt essential. Im sure somone else can give you a specific example of when its needed. Mike On 09/06/06, js <[EMAIL PROTECTED]> wrote: I was taking a look r

[Flashcoders] Regarding ascb Proxy

2006-06-08 Thread js
I was taking a look recently at the Proxy class created by Joey Lott of Person13 for educational purposes, as I have just started learning OOP, and a couple questions popped into my mind. Here is the full class: class ascb.util.Proxy { public static function create(oTarget:Object, fFunction

[Flashcoders] Test Post

2006-06-08 Thread js
Test post, please disregard! ___ 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 Consulti