[Flashcoders] Flash 9 Full Screen Mode - Mac Player bugs?

2007-02-28 Thread Dan Rogers
Yo Flashcoders, I am attempting to use the fullscreen feature in the Flash 9 player (Stage[displayState]), while keeping my publish version set to v8. Everything seems to work fine, but when I use the feature on Safari for the Mac, some of my button methods aren't working properly-

Re: [Flashcoders] Which object called the function

2006-10-08 Thread Dan Rogers
Not sure if this is a solution in your case, but you could identify the calling function this way... class Main { function Main() { runHello._id = Main told me to do it...; runHello(); } function runHello() {

Re: [Flashcoders] PNG sequence running slow the first time!

2006-10-08 Thread Dan Rogers
Something I've noticed that helps with this issue is on the first frame of the PNG sequence, place a copy of all of the PNGs on one frame (either masked or offstage), and it seems to load them all into memory for a faster run through. Plus, I don't think using cacheAsBitmap will give you

Re: [Flashcoders] Delegating Events and AS2

2006-09-27 Thread Dan Rogers
The problem is with this code- the onRelease function is a method of the btn movieclip... so it doesn't have access to the dispatchEvent function. btn.onRelease = function() { trace('dispatching event'); dispatchEvent({type:'click', target:this, message:btn+' was

Re: [Flashcoders] How do you manage your classes?

2006-09-26 Thread Dan Rogers
] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Dan Rogers Sent: Monday, September 25, 2006 4:36 PM To: Flashcoders mailing list Subject: [Flashcoders] How do you manage your classes? Flashcoders, I've been wondering how other flash developers deal with AS2/AS3 class management on both a project-based

Re: [Flashcoders] Delegating Events and AS2

2006-09-26 Thread Dan Rogers
I personally use an extremely simplified way of dealing with events. I've used EventDispatcher before, but it feels like overkill most of the time. I realize my method has no ability to multicast events, but it's quick, easy to read and gets the job done. Here's an example:

Re: [Flashcoders] Delegating Events and AS2

2006-09-26 Thread Dan Rogers
Vic, if you've ever used the XML or NetStream classes... it mimics those types of event updates. For example... var xmlData = new XML(); xmlData.onLoad = function () { // gets invoked by the XML instance } So if you delegate the onLoad method, you get something like this:

[Flashcoders] How do you manage your classes?

2006-09-25 Thread Dan Rogers
Flashcoders, I've been wondering how other flash developers deal with AS2/AS3 class management on both a project-based and common library level, while addressing the need to package up source code for a given project to deliver to a team member or client. I've used version control

Re: [Flashcoders] How do you manage your classes?

2006-09-25 Thread Dan Rogers
server somewhere. Include classes from there in your projects. Just make sure you update you're all good to go. On 9/25/06, Dan Rogers [EMAIL PROTECTED] wrote: Flashcoders, I've been wondering how other flash developers deal with AS2/AS3 class management on both a project-based and common

[Flashcoders] Tweening ColorTransform objects?

2006-09-23 Thread Dan Rogers
Hey Flashcoders, Has anyone here attempted to tween the Flash 8 ColorTransform class? I am having some strange issues while trying to tween some ColorTransform objects using Grant Skinner's MultiTween class. Seems that whenever I tween a ColorTransform object which contains yellow (?),

Re: [Flashcoders] Tweening ColorTransform objects?

2006-09-23 Thread Dan Rogers
to point you to the API I was recently introduced to. Fuse Kit. http://www.mosessupposes.com/Fuse/ Charles P. On 9/23/06, Dan Rogers [EMAIL PROTECTED] wrote: Hey Flashcoders, Has anyone here attempted to tween the Flash 8 ColorTransform class? I am having some strange issues while trying

[Flashcoders] Tweening ColorTransform objects? [Solved]

2006-09-23 Thread Dan Rogers
Thank you for the replies. My issue was due to the fact that I was overlooking the rgb property (doh), and inadvertently tweening it along with the other properties. Below is the functional code which uses MultiTween and mx.transitions.Tween to tween a few ColorTransform objects. -Danro

Re: [Flashcoders] Reliable local FLV stop event

2006-09-06 Thread Dan Rogers
How are you creating the FLVs to begin with? From what I can gather, the NetStream.Play.Stop issue seems to be related to how people create their FLV files. For example, I recently created a bunch of FLVs via export from After Effects (using On2 VP6 codec), and the stop event works just

Re: [Flashcoders] Slow performance

2006-09-04 Thread Dan Rogers
If you're looking to improve performance and keep the speed of your animation, you could experiment with BitmapData.draw() and render a bitmap copy of a hidden text movieclip. I think the bottleneck is mostly due to the heavy font vectors. If your font movieclip was hidden and/or moved

Re: [Flashcoders] Slow performance

2006-09-04 Thread Dan Rogers
] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Rogers Sent: 04 September 2006 19:55 To: Flashcoders mailing list Subject: Re: [Flashcoders] Slow performance If you're looking to improve performance and keep the speed of your animation, you could experiment with BitmapData.draw() and render a bitmap

Re: [Flashcoders] oop question kind of...

2006-08-21 Thread Dan Rogers
I've also found a few quirks with removeMovieClip... however most of them seem to be related to depth. I use this class whenever I remove a clip (dynamically attached or otherwise), and it seems to do the trick. /** The MovieClipRemover class is a static utility class which removes

Re: [Flashcoders] fuse kit and events

2006-08-15 Thread Dan Rogers
I can't necessarily vouch for the Fuse part of the Fuse / Zigo engine, but I can say that in certain circumstances, the Zigo tween engine will perform more smoothly than the mx Tween class. The mx Tween class is based entirely on frames to generate the animation, and will (at the expense

Re: [Flashcoders] fuse kit and events

2006-08-15 Thread Dan Rogers
of the additional shortcut functions... On Aug 15, 2006, at 9:13 AM, Dan Rogers wrote: I can't necessarily vouch for the Fuse part of the Fuse / Zigo engine, but I can say that in certain circumstances, the Zigo tween engine will perform more smoothly than the mx Tween class. The mx Tween

Re: [Flashcoders] fuse kit and events

2006-08-15 Thread Dan Rogers
- From: Dan Rogers [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, August 15, 2006 10:37 AM Subject: Re: [Flashcoders] fuse kit and events To clarify, the mx Tween package does allow you to set 'useSeconds' as an option to drop/add frames, however from

Re: [Flashcoders] AS2 - (this) vs this

2006-08-12 Thread Dan Rogers
Thank you for the response... although I am not sure if your answer contains some sort of hidden meaning. Perhaps I should just stop thinking so much and get back to writing actionscript. -Danro On Aug 11, 2006, at 3:56 PM, Steven Sacks | BLITZ wrote: Is there a reason to wrap this in

[Flashcoders] AS2 - (this) vs this

2006-08-11 Thread Dan Rogers
This may be a simple question, but I just came across it and found it strange... Is there a reason to wrap this in parentheses? (this).foo vs. this.foo Thanks, -Danro ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

Re: [Flashcoders] Trying not to loadMovie multiple times

2006-07-21 Thread Dan Rogers
If you are using loadMovie to load in static JPEGs or still images of some kind, you could initially load them into a hidden movieclip on stage... then when you're ready to duplicate them, you could use BitmapData.draw() to clone them into place. If you're loading in animated SWFs, then I

Re: [Flashcoders] BitmapData GlowFilter zebra effect?

2006-07-10 Thread Dan Rogers
, the filter worked as expected. Thanks, -Danro On Jul 10, 2006, at 4:30 AM, Yotam Laufer wrote: Seems like you are applying the filter many times. That would be my guess. Using the filters array makes sure that you apply it only once. Best, Yotam. On 09/07/06, Dan Rogers [EMAIL PROTECTED

Re: [Flashcoders] BitmapData GlowFilter zebra effect?

2006-07-09 Thread Dan Rogers
PM, John Grden wrote: Have you tried just applying the filter to the movieclip that the bitmapdata object is attached to rather than using applyFilter? On 7/8/06, Dan Rogers [EMAIL PROTECTED] wrote: Yesterday, I posted this topic regarding the inversion of a bitmap alpha channel

Re: [Flashcoders] BitmapData GlowFilter zebra effect?

2006-07-08 Thread Dan Rogers
/glowfilter_bug.jpg Has anyone else dealt with this? -Danro On Jul 7, 2006, at 3:29 PM, Dan Rogers wrote: Hi gang, I am trying to invert the alpha channel of a BitmapData object and destructively apply it to another bitmap using copyPixels. Has anyone inverted an alpha channel on a bitmap? I

[Flashcoders] BitmapData invert alpha channel

2006-07-07 Thread Dan Rogers
Hi gang, I am trying to invert the alpha channel of a BitmapData object and destructively apply it to another bitmap using copyPixels. Has anyone inverted an alpha channel on a bitmap? I assume use applyFilter with ColorMatrixFilter, but I am not very swift in figuring out the correct

Re: [Flashcoders] FLV or MP3 stops during tween

2006-06-30 Thread Dan Rogers
variable, either. This behavior seems strange to me, and I'm not sure if it's already a known bug. If anyone can shed any further light on this topic, it would be appreciated :) -Dan On Jun 29, 2006, at 7:52 PM, Dan Rogers wrote: Hi there, first time on the list... I am working on a pretty

[Flashcoders] FLV or MP3 stops during tween

2006-06-29 Thread Dan Rogers
Hi there, first time on the list... I am working on a pretty intensive flash UI, which makes use of onEnterFrame events, Tween class animations, etc... and whenever I try to stream in an FLV or MP3, the playback completely stops after about 5-10 seconds. I can usually make it stop by