Re: [Flashcoders] Voicerecording with flash?

2007-09-17 Thread John laPlante
I wouldn't sweat this. I sat down with someone and got audio recording with Flash Media Server in about 2 hours. Here is the original script that I wrote with a few buttons on the stage. The documentation that was mentioned is very valuable. But, for simply playing media or recording, the

Re: [Flashcoders] FocusManager

2007-08-21 Thread John laPlante
Are you using calling this relative to _root or _level0? _root.focusManager.setFocus Bart Wttewaall wrote: Hi list, I'm having trouble with the focusmanager. I created a Joystick component that should be able to receive focus using the tab-key (tabIndex) or by clicking it. Since it extends

Re: [Flashcoders] FocusManager

2007-08-21 Thread John laPlante
() { ... tabEnabled = true; tabChildren = false; ... } private function onRelease() { getFocusManager().setFocus(this); } } 2007/8/21, John laPlante [EMAIL PROTECTED]: Are you using calling this relative to _root or _level0? _root.focusManager.setFocus Bart Wttewaall wrote: Hi list, I'm

[Flashcoders] Using createEmptyMovieClip to create MovieClips within MovieClips

2007-07-16 Thread John laPlante
I'm writing a component and have created a MovieClip with createEmptyMovieClip. When I try to create sub-MovieClip inside the first MC with createEmptyMovieClip, it is undefined. This must be a basic Flash thing. I haven't used createEmptyMovieClip too much. I tried private var

Re: [Flashcoders] first help for as3

2007-06-15 Thread John laPlante
I ran across a problem today that I thought might help someone on this list. I looked for help on the web but couldn't find any info. I created a class for a MovieClip but found that I couldn't refer to this.attachMovie. The compiler kept giving me a warning There is no method with the name

[Flashcoders] Trying to understandi Live Preview

2007-06-01 Thread John laPlante
Live Preview has often been a difficult topic to understand. But a couple of very useful posts are available about it. http://readlist.com/lists/chattyfig.figleaf.com/flashcoders/0/243.html http://proalias.com/pipermail/flashcomponents_proalias.com/2005-April/000159.html But, I wonder if it is

Re: [Flashcoders] Trying to understandi Live Preview

2007-06-01 Thread John laPlante
):Void { __showInfo = val; if(_global.isLivePreview) setShowInfo(); } } regards, Muzak - Original Message - From: John laPlante [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Friday, June 01, 2007 7:45 PM Subject: [Flashcoders] Trying to understandi Live Preview

Re: [Flashcoders] Cross domain issue

2007-04-23 Thread John laPlante
You may be having trouble scripting one SWF to another because they are from different domains. You may need to use the allowDomain command. Here is what the Adobe docs say about it: Cross-domain and subdomain access between SWF files In files published for Flash Player 6, you could use the

[Flashcoders] Loading a SWF and calling the caller from that SWF

2007-04-16 Thread John laPlante
I am cross-movie scripting and want to call a method on the loading SWF from the loaded SWF. That is, I have a.swf and I load b.swf into it. I then want to call a.methodX. The other way around is pretty easy. I'm not sure how to get a handle on the calling swf. I've considered calling a

Re: [Flashcoders] Loading a SWF and calling the caller from that SWF

2007-04-16 Thread John laPlante
need to add allowDomain to the loading swf. John laPlante wrote: I am cross-movie scripting and want to call a method on the loading SWF from the loaded SWF. That is, I have a.swf and I load b.swf into it. I then want to call a.methodX. The other way around is pretty easy. I'm not sure how

[Flashcoders] Cross-Scripting a SWF : Problem Passing Objects and Arrays

2007-04-10 Thread John laPlante
I've written a Library SWF and and I load it into a client SWF. In the past, I've loaded it off the same server from a sister directory of the client SWF. But, I would like to load it from a URL on another machine. After some trouble with security, allowDomain(), cross-domain policy files,

Re: [Flashcoders] Cross-Scripting a SWF : Problem Passing Objects and Arrays

2007-04-10 Thread John laPlante
I have been able to get around the problem by joining the array before passing it and splitting the array in the class method. But, this seems like an awkward approach. John laPlante wrote: I've written a Library SWF and and I load it into a client SWF. In the past, I've loaded it off

Re: [Flashcoders] Cross-Scripting a SWF : Problem Passing Objects and Arrays

2007-04-10 Thread John laPlante
I have been able to get around the problem by joining the array before passing it and splitting the array in the class method. But, this seems like an awkward approach. John laPlante wrote: I've written a Library SWF and and I load it into a client SWF. In the past, I've loaded it off

[Flashcoders] Relative Paths in a MXI

2007-04-09 Thread John laPlante
I want to build an MXP installation file that installs trust configuration files. I have an MXI in which I want to refer to C:\Documents and Settings\johnl2\Application Data\Macromedia\Flash Player\#Security\FlashPlayerTrust to install a trust configuration file. The MXI format includes

[Flashcoders] Flash Programmer Opportunity

2007-03-28 Thread John laPlante
I professor who I work with is looking for a Flash or Java programmer. I think ideally they would know some of both but they can probably go with either technology. RESEARCH PROGRAMMER Job Title: RESEARCH PROGRAMMER Department: PSYCHOLOGY Hiring Range Min: $28,502 Hiring

Re: [Flashcoders] xml parse question

2007-03-15 Thread John laPlante
The xml that you've shown consists of all attributes, that is value pairs inside a tag. Each node has a attributes property. Here is a small snippet that demonstrates accessing attributes. private function loadProblems(xFileName:String):Void { var sLessonPath = this.theLessonPath;

Re: [Flashcoders] Site Check

2007-03-14 Thread John laPlante
It loads. But, at 1% per every 3 seconds, I think no one will stay long enough to see the content. Anton Kindblad wrote: On 3/14/07, Adrian Lynch [EMAIL PROTECTED] wrote: Could I get some of you to check this site: http://www.simon-mills.co.uk/test/ Some people are saying that it gets

Re: [Flashcoders] Is it possible to referene a flashvars object in Flash

2007-03-12 Thread John laPlante
I use flashvars to pass initialization parameters. These are automagically converted to root variables. Does anyone know of a way to reference a object that holds all the flashvars. I would like to loop over such an object to ensure completeness. I'm passing most of the values back to another

Re: [Flashcoders] Typing a variable instantiated from a loaded SWF

2007-03-09 Thread John laPlante
Excellent answer. I was lax on specifying packages for my classes. Once I did that, I used an import statement for the data class and I was good to go. Thanks so much. import CommLogging.ContextMessageTransferData; var theDataObj:ContextMessageTransferData =

[Flashcoders] What do you think are the best Flash projects, and RIA's

2007-02-14 Thread John laPlante
I think I heard about this from Mike Chambers. It's a bitmap image editor (~ PhotoShop) that is done in ActionScript 3.0. This is really nice and it's not gimmicky but practical and useful. While Netscape threatened to turn the browser into a platform and the OS into a commodity, this tool

[Flashcoders] Storing Components in CVS

2006-12-18 Thread John laPlante
My group is using CVS to store source files. This works well enough. But I would like to compile components once and have them available for Flash and store those components in CVS. But, Flash looks for components in a rigid directory that is not in my CVS tree e.g., C:\Documents and

[Flashcoders] isLivePreview Momentarily Undefined

2006-06-06 Thread John laPlante
. To fix this problem I found that I could add a short delay before making the socket connection and in that period isLivePreview is defined (true). John laPlante Carnegie Mellon University [EMAIL PROTECTED] Message: 15 Date: Fri, 25 Mar 2005 13:23:01 -0500 From: JesterXL [EMAIL PROTECTED] Subject

[Flashcoders] Component Initialization

2006-03-14 Thread John laPlante
. I've thought there must be a way to wait until all components have initialized but I'm not familiar with a way. I suspect that I could use getBytesLoaded for the first frame of _root. --- John laPlante Carnegie Mellon University ___ Flashcoders

[Flashcoders] Strange Compile Error

2006-03-14 Thread John laPlante
I have a class that is on the borderline of the 32K limit that flash enforces. I've run into this problem on occasion and have generally been able to factor code into classes and use composition to reduce my file size. Recently, I ran into a very strange error that in the end seems to be

[Flashcoders] Use of Delegate

2006-03-14 Thread John laPlante
I recently ran into a problem that I solved with Delegate. I thought that others might run into this problem. I built a button component that included validation of a set of other components. The user of the button would name a set of required components in a property values dialog. When

[Flashcoders] Setting Focus on TextInput Component

2006-03-14 Thread John laPlante
The focus rectangle doesn't appear when you use setFocus() or when you click into a text field. Message: 24 Date: Tue, 14 Mar 2006 16:13:12 -0600 From: Danny [EMAIL PROTECTED] Subject: [Flashcoders] Setting Focus on TextInput Component To: Flashcoders mailing list

[Flashcoders] Relative Paths, Relative to What?

2005-12-08 Thread John laPlante
to a MM media display component with the contentPath parameter. I find that the path to the .flv is relative to the path of the .swf which I think is odd and a bit disconcerting. Does anyone have a rule of thumb about relative paths and what is relative to what? --- John laPlante Carnegie