[Flashcoders] jion

2006-01-28 Thread r cs
... _ 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flash

Re: [Flashcoders] fscommand('exec', 'myprogram.exe') WITHOUT a projector?

2006-01-28 Thread John Grden
;) me too, so no worries Thanks Stacey, On 1/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > gotcha. I'm an admittant skimmer at times:) > > > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/li

Re: [Flashcoders] fscommand("exec", "myprogram.exe") WITHOUT a projector?

2006-01-28 Thread John Grden
Yeah, I think that's what I'm now realizing. and yes, not the browser, but the FlashPlayer or at least running in a Panel in the IDE. On 1/28/06, hank williams <[EMAIL PROTECTED]> wrote: > > Do you mean in a browser? Wouldnt this be a horrible security/sandbox > violation for the player to be abl

Re: [Flashcoders] fscommand('exec', 'myprogram.exe') WITHOUT a projector?

2006-01-28 Thread stacey
gotcha. I'm an admittant skimmer at times:) > You're missing what I'm saying Stacey - In a container OTHER than a > plugin/activeX control. The player knows when it's in the local > FlashPlayer.exe or the IDE (exe) - so, that's nearly the same as having > the SWF wrapped in a projector.exe (Flash

Re: [Flashcoders] fscommand('exec', 'myprogram.exe') WITHOUT a projector?

2006-01-28 Thread John Grden
You're missing what I'm saying Stacey - In a container OTHER than a plugin/activeX control. The player knows when it's in the local FlashPlayer.exe or the IDE (exe) - so, that's nearly the same as having the SWF wrapped in a projector.exe (FlashPlayer.exe + SWF) - see my point? of course - lock d

RE: [Flashcoders] Re: Q: All OOP or ??????

2006-01-28 Thread Robert Sandie
Juegas, you nailed in on the head. It may be uncomfortable at first to create classes and may take an extra hour or two to create "quality code". If you are interested in making a career of software development (assume so if you are on flashcoders list) and want to be involved with Rich-Internet Ap

Re: [Flashcoders] Re: Q: All OOP or ??????

2006-01-28 Thread Flash guru
I agree with j.c. Being a fairly young developer I find myself bringing in all sorts of resources in to my projects. It all depends on the project and what it entails. The beauty of OOP is that it's reusable and once your library is big enough you'll find that the work you've put into it will pay o

[Flashcoders] AS2 Method for Resizing Screen

2006-01-28 Thread Robert Sandie
I have been trying to use a delegate for the Stage and have been having problems: /* * This works but hate calling _root and would like to include a Boolean into the LetsResize function. */ private function mainController ( mc:MovieClip ) { var resizeThis = new Object(); resiz

OT THANK YOU: Re: [Flashcoders] How to call functions in sequence

2006-01-28 Thread dls
Thanks for the help, folks this is the kind of information that is really helpful to me right now. I (like many) started as a designer but am being pushed (mostly by my fascination) into the code side of things. Anyway, I'm learning as I go. --dan Yes, don't think in terms of avoiding functio

Re: [Flashcoders] fscommand('exec', 'myprogram.exe') WITHOUT a projector?

2006-01-28 Thread stacey
it does breach the security sandbox violation and therefore, if you want a plain ole swf to execute a fscommand - it won't work. The jsfl solution is for the authoring environment - but otherwise, imagine the havoc you could create if you could have a swf in a browser or elsewhere execute an extern

[Flashcoders] Re: Q: All OOP or ??????

2006-01-28 Thread A.Cicak
>For example, (just a few examples, books could probably be written on this >subject), You actually wrote book in your post :) "j.c.wichman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi, > You are probably going to hear this a lot: it depends. > You'll find a lot of people

Re: [Flashcoders] How to call functions in sequence

2006-01-28 Thread Mike Britton
Yes, don't think in terms of avoiding functions. If something needs to be repeated, it's a candidate for a function. Performance is important for a game, but if an app's object-orientated design makes it a millisecond slower than procedural (inline) code, that's acceptable if you get the benefits

RE: [Flashcoders] How to call functions in sequence

2006-01-28 Thread Adrian Lynch
Nooo, don't start thinking functions are slow. They're just slower than inline code. Functions are the first step in making more reusable code, use liberally! :O) Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of dls Sent: 28 January 2006 22:20 To:

Re: [Flashcoders] How to call functions in sequence

2006-01-28 Thread dls
That's a drag! Well, I'll use them sparingly -- they helped alot in this project. Thanks Again! --dan The more of them you use, the slower the performance. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mail

Re: [Flashcoders] fscommand("exec", "myprogram.exe") WITHOUT a projector?

2006-01-28 Thread hank williams
Do you mean in a browser? Wouldnt this be a horrible security/sandbox violation for the player to be able to execute an app? Perhaps you mean the stand alone player that isnt in the browser but isnt a projector. If that is the case, I would not expect it to work. The fscommand is designed to commu

RE: [Flashcoders] AMFPHP for commercial projects

2006-01-28 Thread Anthony Pace
The protocol outputs data in open text. If they wanted the protocol to be proprietary it would have to be encoded or ciphered in a way that could not be decompiled or read by the end user. It is also based on an open standard; therefore, absolutely legal to utilize. AMF is essentially a lightwei

Re: [Flashcoders] How to call functions in sequence

2006-01-28 Thread Mike Britton
The more of them you use, the slower the performance. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Q: All OOP or ??????

2006-01-28 Thread Alan MacDougall
What I ask myself on new projects is "what parts of this can I reuse?" Can I put this behavior in a class or a component? It's more work up front to make your classes for your daily tasks (not much more work) but on project 2 or project 3 your work will pay off. What's more, OOP design pat

Re: [Flashcoders] How to call functions in sequence

2006-01-28 Thread dls
Thanks! I can tell right away that functions are going to save me a ton of troubleshooting! Do you know if they speed up player performance as well? --dan function1() { function2(); } function2() { function3(); } You could also use onEnterFrame to conditionally check for flags indicat

Re: [Flashcoders] How to call functions in sequence

2006-01-28 Thread Mike Britton
function1() { function2(); } function2() { function3(); } You could also use onEnterFrame to conditionally check for flags indicating the progress of execution: var f1Fired = false; var f2Fired = false; var f3Fired = false; this.onEnterFrame = function() { if (f1Fired) { tr

Re: [Flashcoders] Q: All OOP or ??????

2006-01-28 Thread judah
Hans hit the nail on the head. I break it down to is it a small project, scoped defined or not? If not then I throw some things on the timeline. But more and more I'm moving away from that. It is taking *more* time to do it non OOP than it is to do it "quick". With scope creep comes more code,

[Flashcoders] .attachMovie issue

2006-01-28 Thread Mark Ribau
Ok. Someone please help. I use the new point function listed below twice in the test code below that. Whichever 'point' is created last is the only one displayed, while the others are lost. How do I get it to keep the old attached movies too?? bleh.NewPoint function: function NewPoint

[Flashcoders] How to call functions in sequence

2006-01-28 Thread dls
Trying to cut down on hundreds of lines of repeated code with functions, but I have a real "newbie" question: What is the best way to get functions to "fire" in sequence. (have function 1 wait until function 2 is finished etc.) Right now the functions below all fire at the same time. function1

Re: [Flashcoders] How to "auto-maximze" font size

2006-01-28 Thread Yotam Laufer
You can just set the entire string and then set the _width and _height values of the encompassing movieclip to be whatever you like. On 28/01/06, Andrew Sinning <[EMAIL PROTECTED]> wrote: > > I've tried searching for scripts on this subject, but the subject is > just too ambiguous. Here's what I

[Flashcoders] the tool used to make this presentation

2006-01-28 Thread Alfonso Florio
Hi folks, do you think this presentation is made "by hand" with flash or they use a particular tool? http://www.macromedia.com/resources/business/rich_internet_apps/overview/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chat

[Flashcoders] How to "auto-maximze" font size

2006-01-28 Thread Andrew Sinning
I've tried searching for scripts on this subject, but the subject is just too ambiguous. Here's what I'm after: You (or your designer) has laid out a movieClip with an allocated dynamic textField to be populated with un unknown string. Perhaps the string is going to come from a translation t

Re: [Flashcoders] Sandy 0.2, a 3D API for Flash

2006-01-28 Thread Alan Shaw
Paul, I posted this on the forum as a tutorial on the technique. I believe it's slower than Immervision's because it uses class libraries rather than timeline code. The tradeoff is simplicity of coding. I explain in the forum page that it's slow and will remain slow until the AS3 version. Altho

[Flashcoders] RE: Lines of code in a Flash project

2006-01-28 Thread Randy Tinfow
>"Functional" lines per hour.< Which rewards sloppy and inefficent code rather than clean OOP. Randy Tinfow IMAGE PLANT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] absolute path moviecliploader+ draw

2006-01-28 Thread Latcho
Clips I loaded with an absolute path (www.blabla.nl/folder/file.jpg) Moviecliploader in flash 8 *would visibly *(!*) load* but the mc-reference to the loaded mc would *NOT draw* to Bitmap (they would but the resuling bitmap was empty, default new bitmap color) Properties of the mc, like width etc

Re: [Flashcoders] fscommand('exec', 'myprogram.exe') WITHOUT a projector?

2006-01-28 Thread John Grden
I see what you're saying, and yeah, i thought about that - hence my question. What's the difference between me opting to run a projector and running a SWF in a panel in the IDE (exe) OR the local Flash Player (exe)? Aren't I opting "in" for the same exact things? I guess there's gotta be some ho

Re: [Flashcoders] fscommand('exec', 'myprogram.exe') WITHOUT a projector?

2006-01-28 Thread John Grden
Rajat! you ROCK \m/ Thanks for the help! John On 1/28/06, Rajat Paharia <[EMAIL PROTECTED]> wrote: > > Hi John - > > If you want to execute a file via JSFL there's two ways that I know of: > > 1. There's an undocumented command in the JSFL File API called > runCommandLine: > http://www.asvguy.c

RE: [Flashcoders] Q: All OOP or ??????

2006-01-28 Thread j.c.wichman
Hi, You are probably going to hear this a lot: it depends. You'll find a lot of people doing 1, you'll find a lot doing 2... 3 4 5 6 etc. For example, (just a few examples, books could probably be written on this subject), an animation of a car driving down a road, sliding, going through corn

[Flashcoders] Q: All OOP or ??????

2006-01-28 Thread bitstreams
Hi I was curious what approach most developers are using for their projects: 1 doing ALL of there development for every project within an OOP based framewrok, ie everything, from drawing and/or placing of objects, transitioning, interacting with server special effects, is done with a custom Cla

Re: [Flashcoders] Sandy 0.2, a 3D API for Flash

2006-01-28 Thread Paul Neave
On 28/01/06, Alan Shaw <[EMAIL PROTECTED]> wrote: > I've posted a cubic panorama example in the Sandy forum: > http://sandy.media-box.net/forum/index.php?act=ST&f=51&t=5126 Here's the example online for y'all to see: http://www.neave.com/temp/pano/ Some optimisation is still needed... it's still

RE: [Flashcoders] voice recognition in flash

2006-01-28 Thread Anthony Pace
Or you could create a listener that monitors the level of microphone input being generated, appends information into a 2d array (length of trace and height at a given second). Once the data is collected you would be able to analyze sections of the newly stored array, against previously stored phra