[Flashcoders] Re: Disable focus change on arrow keys down

2009-08-04 Thread Patrick Matte
I forgot to mention, it works if I set the scrollpane focusRect property to false. But I want to use the default yellow focusrect. > From: Patrick Matte > Date: Tue, 04 Aug 2009 16:35:43 -0700 > To: Flash Coders List > Conversation: Disable focus change on arrow keys down > Subject: Disable foc

[Flashcoders] Disable focus change on arrow keys down

2009-08-04 Thread Patrick Matte
When the focus is set to this scrollpane I made, I want to use the arrow keys to scroll the scrollpane content left, up, down, and right. But flash automatically changes focus to the next object in the tab order as soon as I press an arrow key. Is there any way to prevent that? I've tried calling p

Re: [Flashcoders] re: gotoStopAndWait

2009-08-04 Thread Leandro Ferreira
m aware of how the flash player works, that it needs a step sometimes to > process the assets in the frame. > Does anyone have a kind of magic bullet solution or workaround for this or > in general i'm interested in hearing how you guys have dealt with this > problem. > -- >

Re: [Flashcoders] removeMovieClip, Flashlite3, AS2

2009-08-04 Thread Jim Lafser
Tried that. Have also verified that the depth is in valid range. --- On Tue, 8/4/09, Karl DeSaulniers wrote: From: Karl DeSaulniers Subject: Re: [Flashcoders] removeMovieClip, Flashlite3, AS2 To: "Flash Coders List" Date: Tuesday, August 4, 2009, 4:32 PM Hi, I have a suggestion, but someone

Re: [Flashcoders] removeMovieClip, Flashlite3, AS2

2009-08-04 Thread Karl DeSaulniers
Hi, I have a suggestion, but someone may have a more in-depth answer. Have you tried just using: removeMovieClip(my_mc); ? Best, Karl DeSaulniers Design Drumm k...@designdrumm.com http://designdrumm.com On Aug 4, 2009, at 3:15 PM, Jim Lafser wrote: I'm having some trouble with removeMovieC

[Flashcoders] removeMovieClip, Flashlite3, AS2

2009-08-04 Thread Jim Lafser
I'm having some trouble with removeMovieClip - it doesn't appear to be working I have code that does an attachMovie that looks like: var my_mt_mc:MovieClip = createEmptyMovieClip( ... ); var my_mc:MovieClip = attachMovie(linkageId, "aMovie"+depth, depth, init);   and later I do my_mc.removeMovieCli

[Flashcoders] re: gotoStopAndWait

2009-08-04 Thread Mario Gonzalez
ith this problem. -- Mario Gonzalez http://www.onedayitwillmake.com __ Information from ESET NOD32 Antivirus, version of virus signature database 4305 (20090804) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com _

RE: [Flashcoders] MVC and Event Architecture

2009-08-04 Thread Merrill, Jason
Thanks all - great discussion! Someday I'll have some time to tackle Pure MVC. Cairngorm is cool, but gave me headaches and seemed way too complicated and bloated to use. Jason Merrill Bank of America Global Learning Shared Services Solutions Development Monthly meetings on the Adobe

RE: [Flashcoders] Seek cue points from texthtml list.

2009-08-04 Thread Merrill, Jason
FYI - that's only good if you want the link to go to a URL - if you want it to trigger some actionscript to do something else (like the OP mentioned to go to a point in the video), you have to use TextEvent.LINK AFAIK. Jason Merrill Bank of America Global Learning Shared Services Solutions

Re: [Flashcoders] gotoStopAndWait

2009-08-04 Thread Bob Wohl
till the light turns green? gotta be safe you know. ;) On Tue, Aug 4, 2009 at 10:20 AM, Mario Gonzalez wrote: > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _

[Flashcoders] gotoStopAndWait

2009-08-04 Thread Mario Gonzalez
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] MVC and Event Architecture

2009-08-04 Thread Matt Gitchell
This is about how I'm doing things at present. If something only affects one 'branch' of the MVC model (mostly View), then I handle it with events, for the most part. If it engages two, then I move to a Command (Controller).I've been working a lot in PureMVC lately, and while it seems like a pain w

Re: [Flashcoders] Seek cue points from texthtml list.

2009-08-04 Thread Karl DeSaulniers
texthtml = ''+string+''; Or texthtml = ''+string+''; Have not tested, but I think these should work. Hth Karl Sent from losPhone On Aug 4, 2009, at 10:13 AM, Paul Jinks wrote: Hi I have a video player which takes event cue points in the flv and outputs them as a rolling list of bullet po

Re: [Flashcoders] MVC and Event Architecture

2009-08-04 Thread Piers Cowburn
I'll sometimes use callbacks in small, enclosed parts of a system, which are coupled by their nature and are never going to have their component classes used individually in other systems. As a general rule though, this is the only time that I use them. WRT the event / notification question

Re: [Flashcoders] MVC and Event Architecture

2009-08-04 Thread Piers Cowburn
It depends which type of framework you're talking about, because in PureMVC the controller is the commands. The commands only exist temporarliy, and so you can't 'listen to events from the controller', if that makes sense. So in PureMVC you have the commands directly call public methods in

RE: [Flashcoders] MVC and Event Architecture

2009-08-04 Thread Merrill, Jason
So, if you want the Controller to alter the View (say, tell it to animate), you don't have the controller call a public method of the view - you have the controller dispatch an event and some other class (say, a command class) tells the view to animate? Or do you have the view listen to the contro

RE: [Flashcoders] MVC and Event Architecture

2009-08-04 Thread Merrill, Jason
Ah, good point Ian. Jason Merrill Bank of America Global Learning Shared Services Solutions Development Monthly meetings on the Adobe Flash platform for rich media experiences - join the Bank of America Flash Platform Community -Original Message- From: flashcoders-boun...@ch

RE: [Flashcoders] MVC and Event Architecture

2009-08-04 Thread Merrill, Jason
>>> That said, for small systems I still sometimes use callbacks. >>Me too, but I feel dirty afterward. Well, nobody likes to feel dirty when they code... thanks Dave ! Jason Merrill Bank of America Global Learning Shared Services Solutions Development Monthly meetings on the Adobe Flas

Re: [Flashcoders] MVC and Event Architecture

2009-08-04 Thread Ian Thomas
On Tue, Aug 4, 2009 at 4:24 PM, Dave Watts wrote: >> The real point is that to call public methods, you have to know about the >> object whose method you want to call and you need to know about the method >> itself. When you broadcast an event, you don't need to know whose listening, >> your just i

RE: [Flashcoders] MVC and Event Architecture

2009-08-04 Thread Merrill, Jason
Ok thanks Paul, yeah, I know about the concept of loose coupling, I was just wondering how strict people generally follow event-driven loose coupling design when using MVC - so it seems you're saying, for small MVC projects, callbacks are OK, but for large projects, they should really be 100% ev

Re: [Flashcoders] MVC and Event Architecture

2009-08-04 Thread Dave Watts
> The real point is that to call public methods, you have to know about the > object whose method you want to call and you need to know about the method > itself. When you broadcast an event, you don't need to know whose listening, > your just indicating that something meaningful has happenned and

RE: [Flashcoders] Seek cue points from texthtml list.

2009-08-04 Thread Merrill, Jason
Hi Paul Yep - this is do-able - just search for textEvent.LINK in the Flash help docs - there are examples there on how the event works (how to write a method to capture the event) and how to format the HTML that is embedded in your FLV metadata. Or, here is an article on it: http://troyworks.com

Re: [Flashcoders] MVC and Event Architecture

2009-08-04 Thread Paul Andrews
Merrill, Jason wrote: I know there is probably no definite right or wrong answer here, and it depends on the type of project, but I'm curious to get your opinion, if you're experienced with the MVC pattern (not frameworks per se that use MVC, I know about, say, Commands in Cairngorm and have c

[Flashcoders] Seek cue points from texthtml list.

2009-08-04 Thread Paul Jinks
Hi I have a video player which takes event cue points in the flv and outputs them as a rolling list of bullet points (kind of a summary of what's being said). I do this by listening for the cue point name and putting it within html list tags which are then displayed in a text field. texthtml = ("

[Flashcoders] MVC and Event Architecture

2009-08-04 Thread Merrill, Jason
I know there is probably no definite right or wrong answer here, and it depends on the type of project, but I'm curious to get your opinion, if you're experienced with the MVC pattern (not frameworks per se that use MVC, I know about, say, Commands in Cairngorm and have checked into the Pure MVC

Re: [Flashcoders] Compiling API Docs with Flex 3 SDK

2009-08-04 Thread Latcho
clean up all the import statments for classes that aren't used in the class that throws errors. Cheers, Latcho Jeff Fox wrote: I've tried a few times to compile my API docs for a framework I am working on with the asdoc tool that comes in the FLEX 3 SDK, but I always run into a number of strang

Re: [Flashcoders] Extending Flex UIComponent in flash SWC

2009-08-04 Thread Matt Muller
ok, if you add the FlexComponentBase to the library manually, you can publish to FP9 no problem. If its not in the lib and you try and convert, this is where it warns you. I am using skinning for buttons etc. But for bringing in ad-hoc graphics, im using swc instead of swf lib. cheers, MaTT On

Re: [Flashcoders] Creating Fonts dynamically

2009-08-04 Thread Greg Starr
Would swfmill do what you are lookong for? Or are you trying to generate a font from the swf app itself? Please clarify On Fri, Jul 3, 2009 at 3:30 AM, Sumeet Kumar wrote: > Thanks for the reply, > > I forgot to mention, i need this for ActionScript 2.0 and for a standalone > application. > >