RE: [Flashcoders] reverse play FLV?

2005-12-22 Thread Dechesne, Elvin
Yah, that's what Im doing and its not working. I ommitted to mention I'm using Flash 8 FLV with an alpha channel. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: woensdag 21 december 2005 20:37 To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders]

Re: [Flashcoders] RE: Flex vs OpenLaszo

2005-12-22 Thread Cedric Muller
commercial crap: remember Generator ? 1.5k just to dynamically load JPGs in it ... marketing crap really 15k. When Flexbuilder 2 comes out, you can create .swfs without the server, and it is rumored to be under $1000. Flex Enterprise Services 2 (the server version) will likely be back up in

RE: [Flashcoders] jumpy horizontal motion

2005-12-22 Thread Hauwert, Ralph
I've run into this several times now, with no solution as of yet. For some reason, when doing more heavy things on the graphical side of things, it seems like vsyncing is stopped. Like the renderer only renders half a frame. I did a demo for the Flash 8 launch, using optimizations using only

RE: [Flashcoders] RE: Flex vs OpenLaszo

2005-12-22 Thread Nick Weekes
Cedric, are you disagreeing with the $1000 flex 2 builder, or the undisclosed fees for enterprise services? Or the licence fee of flex 1.5? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cedric Muller Sent: 22 December 2005 09:59 To: Flashcoders

[Flashcoders] Movie Clip Loaded or not

2005-12-22 Thread Sumeet Kumar
Hi All I m using loadMovie Command to load a image in an empty Movieclip. but how to check whether the image is loaded or not. i.e mc.loadMovie (image.jpg) id = setInterval(fnCheckUploading,1) fnCheckUploading =function () { if (mc._width2){

RE: [Flashcoders] Movie Clip Loaded or not

2005-12-22 Thread Gaurav Kaushal
Hi sumeet, You can put the check through onLoad Handler of movie clip. mc.onLoad = doOnLoad; function doOnLoad() { clearInterval (id) } Regards, Gaurav Kaushal. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sumeet Kumar Sent: Thursday,

Re: [Flashcoders] Movie Clip Loaded or not

2005-12-22 Thread Roman Blöth
Sumeet Kumar schrieb: Hi All I m using loadMovie Command to load a image in an empty Movieclip. but how to check whether the image is loaded or not. i.e mc.loadMovie (image.jpg) id = setInterval(fnCheckUploading,1) fnCheckUploading =function () { if

[Flashcoders] flv batch encoding

2005-12-22 Thread Cosmin Cimpoi
Hello! I am planning a project and this is the main req: - to capture video from several cams and store it on the server as .flv What software would u choose for doing the realtime or batch conversion? Thanks for any feedback! cosmin

Re: [Flashcoders] Movie Clip Loaded or not

2005-12-22 Thread Jorge Rego
Use loadClip(). Using this method instead of loadMovie() or MovieClip.loadMovie() has a number of advantages. The following handlers are implemented by the use on a listener object: MovieClipLoader.onLoadStart handler is invoked when loading begins. MovieClipLoader.onLoadError handler is

[Flashcoders] Faster code?

2005-12-22 Thread Rakesh
JesterXL, I can't help but comment on your disdain for commenting/doc-ing. You might be missing the wood for the trees. A disclaimer - What I say next is for those working in teams that are more in number than just you and your cup of coffee :). Commenting/documenting is not for those working

Re: [Flashcoders] Faster code?

2005-12-22 Thread ryanm
If you change that function, do you re-write all of your documentation? Nope,. just add a modified comment and, if necessary, a brief description of how it was changed. Usually I write the comments before I write (or modify) the function or class, which is a great way to to write cleaner

Re: [Flashcoders] can somebody answer my component name limitquestionplease?

2005-12-22 Thread PR Durand
Thanks, Jester and Steven That's right, it's better to keep short path, and it's usefull to reuse common classes. That's what I generally do. The problem here, is that we make a big project for a biug company, wich has many flash projects, and all the classes have to be in the same main

RE: [Flashcoders] Faster code?

2005-12-22 Thread Steven Sacks
Hehe, you don't Jesse too well. I can't imagine him slowing down for anything, especially writing comments. Consider that he probably gets more done in a day than most of us and he still takes the time to answer many threads on Flashcoders. I don't write comments either. I just write good,

RE: [Flashcoders] RE: Flex vs OpenLaszo

2005-12-22 Thread Merrill, Jason
commercial crap: remember Generator ? 1.5k just to dynamically load JPGs in it ... marketing crap really Cedric - not sure I understand the basis of your rant. Are you upset with the current pricing of Flex - that 15k is outrageous? Or 1k for Flexbuilder 2 is still over priced for what it will

Re: [Flashcoders] Is Adobe settings manager usable ?

2005-12-22 Thread John Dowdell
Steve Webster wrote: I'd be interested to know what the reasons were for the settings manager being on a macromedia web page rather than in a local dialogue box. UI size is one issue... if you're viewing a 60-pixel-square SWF, there's no room for an internal dialog. There are also

Re: [Flashcoders] Is Adobe settings manager usable ?

2005-12-22 Thread erixtekila
UI size is one issue... if you're viewing a 60-pixel-square SWF, there's no room for an internal dialog. There are also localization and update issues. OK, John. I think I get your point. You're talking of small screens. BTW, there should be a minimal value for the scroller button. It's not

Re: [Flashcoders] jumpy horizontal motion

2005-12-22 Thread Toon Van de Putte
I think Ralph's problem there is that Flash hasn't finished redrawing frame 1, when it has to start drawing frame 2. As for David's choppy animation, it's typical for too much animation in too little time. 60 fps is way too high, 25 or 30 fps is more than enough for smooth animation. The player

Re: [Flashcoders] IE vs Firefox performance

2005-12-22 Thread Toon Van de Putte
1.5 Does not remedy it, it's a Flash player issue. I'm noticing a general flash player performance hit in Firefox. I think the Firefox player runs less efficiently than the IE player, and is therefore a bit of a resource hog. I can definitely notice a system-wide slowdown when i'm running a number

RE: [Flashcoders] jumpy horizontal motion

2005-12-22 Thread Hauwert, Ralph
I realize that that is the correct analysis of my problem. Strangly enough, this isn't really how the flashplayer seems to work; since I am using the onEnterFrame to update, I shouldn't be able to go out of sync with the renderer. The render should send out an ontenterframe when it's done

RE: [Flashcoders] jumpy horizontal motion

2005-12-22 Thread Hauwert, Ralph
Ow, and as a side note, I think the magic frame-rates still apply up to version 7 (not 8 ? anyone ); 21, 31, 59 Ralph. -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Verzonden: donderdag 22 december 2005 16:45 Aan: Flashcoders mailing list Onderwerp: Re:

Re: [Flashcoders] jumpy horizontal motion

2005-12-22 Thread Toon Van de Putte
Maybe there is some threshold beneath which the player will refresh the frame anyway? Some sort of minimum frame rate that is maintained at all times, even if frames cannot be fully drawn. On 12/22/05, Hauwert, Ralph [EMAIL PROTECTED] wrote: I realize that that is the correct analysis of my

Re: [FlashCoders] game slowing down - eventListener

2005-12-22 Thread John Grden
Did you make any headway? On 12/22/05, Dimitrios Bendilas [EMAIL PROTECTED] wrote: John, thanks a lot for all the help! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Pathfinding

2005-12-22 Thread Toon Van de Putte
Does anyone have a good implementation of a pathfinding algorithm, preferably for a typical side scrolling adventure game type interface? -- Toon Van de Putte ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Pathfinding

2005-12-22 Thread Chris Hill
This should get you started: http://www.electrotank.com/junk/mike/ai/precomputedPathTutorial.html http://www.tonypa.pri.ee/tbw/tut22.html Enjoy! C Toon Van de Putte wrote: Does anyone have a good implementation of a pathfinding algorithm, preferably for a typical side scrolling adventure

Re: [Flashcoders] Pathfinding

2005-12-22 Thread Alan MacDougall
Toon Van de Putte wrote: Does anyone have a good implementation of a pathfinding algorithm, preferably for a typical side scrolling adventure game type interface? If you're talking about a top-view grid-based game, like Legend of Zelda or something, I have some code that's directly

Re: [Flashcoders] RE: Flex vs OpenLaszo

2005-12-22 Thread Troy Rollins
On Dec 22, 2005, at 9:15 AM, Merrill, Jason wrote: Head on over to http://labs.macromedia.com/ and play around, you might change your mind. Wake me when there is an OSX alpha. ;-) Flex looks great, but not great enough to switch development platforms. -- Troy RPSystems, Ltd.

RE: [Flashcoders] flv repeating?

2005-12-22 Thread Corban Baxter
Here is pretty much all I am doing and its hand coded... var nc:NetConnection = new NetConnection(); nc.connect(null); var ns:NetStream = new NetStream(nc); theVideo.attachVideo(ns); ns.setBufferTime(10); ns.onStatus = function(info) { trace(info.code); if(info.code ==

Re: [Flashcoders] flv repeating?

2005-12-22 Thread Jordan L. Chilcott
Your code is telling it to go back to the beginning once the video has finished: if(info.code == NetStream.Play.Stop) { ns.seek(0); } The seek() will have the stream play once it has found your spot you wish to seek to. If you didn't want it to play again,

RE: [Flashcoders] RE: Flex vs OpenLaszo

2005-12-22 Thread Merrill, Jason
Head on over to http://labs.macromedia.com/ and play around, you might change your mind. Wake me when there is an OSX alpha. ;-) Flex looks great, but not great enough to switch development platforms. -- Troy You Mac people are always so grumpy. ;) The Mac looks great, but not enough to

Re: [Flashcoders] flv repeating?

2005-12-22 Thread Sönke Rohde
Here is pretty much all I am doing and its hand coded... var nc:NetConnection = new NetConnection(); nc.connect(null); var ns:NetStream = new NetStream(nc); theVideo.attachVideo(ns); ns.setBufferTime(10); ns.onStatus = function(info) { trace(info.code); if(info.code

RE: [Flashcoders] flv repeating?

2005-12-22 Thread Corban Baxter
I knew I was missing something with that line. Thanks a million guys. You saved me from a nightmare before Christmas. ha Corban Baxter  |  rich media designer  |  www.funimation.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sönke

Re: [FlashCoders] game slowing down - eventListener

2005-12-22 Thread Dimitrios Bendilas
Yes! I set _global.GAME = game (the object I was interested in), so I didn't have to dig in the trees and search for that, I accessed it directly from _global. I actually found what was causing the delay. My Animation class was setting some actions in the ActionManager that never got deleted if

[Flashcoders] RE: reverse play FLV?

2005-12-22 Thread Troy Gardner
I don't think it's possible unless you encode everyframe as a keyframe which can make the file pretty large. This also affects scrubbing in the video stream...jumping will take you to the nearest keyframe after. As the video playhead can only jump to keyframes, and like tweens it needs the before

Re: [FlashCoders] game slowing down - eventListener

2005-12-22 Thread John Grden
Excellent!! Thanks for letting me know D! yeah, there's a ton a ways to get at your application with xray - setting the _global pointer was a great/simple idea. Thanks again D, John On 12/22/05, Dimitrios Bendilas [EMAIL PROTECTED] wrote: Yes! I set _global.GAME = game (the object I was

[Flashcoders] Flash stock ticker

2005-12-22 Thread Alejandro Diaz
Greetings everyone, I will potentially be asked in the coming months to create a dynamic flash-powered stock ticker, being fed data from a MySQL database. I already have done some flash remoting before which is likely what I will do on this project, but my question concerns more the animation

Re: [FlashCoders] game slowing down - eventListener

2005-12-22 Thread Dimitrios Bendilas
The _global thing was Hans Wichman's idea. Just making sure he gets the credit! ;-) Dimitrios - Original Message - From: John Grden [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, December 22, 2005 7:49 PM Subject: Re: [FlashCoders]

RE: [Flashcoders] Flash stock ticker

2005-12-22 Thread Merrill, Jason
In absence of that, any hints of tips anyone can offer would be of great help. The way I have done some somewhat similar projects involved creating a large movie clip from the loaded data, and then calculating the width of that movie clip to use in its looping animation (using 2 instances to make

Re: [Flashcoders] Preloading content in background

2005-12-22 Thread Flash Mel
Was this ever resolved? It turns out I am trying to do the same thing, but the problem I am running into is that - while it loads all the elements - it also starts playing all of them. I'm using Bokel's loaderCLass and I dabbled with the extension of that class from Tin Lion. Both work well, I

Re: [Flashcoders] Is Adobe settings manager usable ?

2005-12-22 Thread Steve Webster
Hi John, I'd be interested to know what the reasons were for the settings manager being on a macromedia web page rather than in a local dialogue box. UI size is one issue... if you're viewing a 60-pixel-square SWF, there's no room for an internal dialog. There are also localization

RE: [Flashcoders] BitmapData and setPixel();

2005-12-22 Thread Claudia Barnal
Anyone? Please... From: Claudia Barnal [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] BitmapData and setPixel(); Date: Thu, 22 Dec 2005 04:03:57 + Hi everyone, I’m having some math

[Flashcoders] Drag-n-Drop from DataGrid to Tree Flash 7

2005-12-22 Thread Jeff Mastropietro
Does anyone know of a good drag-n-drop script for Flash 7. I need to be able to drag an item from a DataGrid, to a Tree component. This component is really great, but it's for Flash 8: http://www.sephiroth.it/index.php?blogId=2005_11_20_weekly.html Thanks, Jeff

RE: [Flashcoders] Faster code?

2005-12-22 Thread Merrill, Jason
Very well said Paul. Couldn't agree more - mind you this is coming from a guy who still writes crappy code. :) Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Paul BH

[Flashcoders] Combo troubles

2005-12-22 Thread Mike Boutin
I have a swf file that has a combobox component in it with two options. This is loaded into _root.holderClip For some reason when I publish and view it in flash player, it works fine. When I run the same thing in Internet Explorer and comobox does not drop down anymore? Am I missing

Re: [Flashcoders] Faster code?

2005-12-22 Thread Paul BH
everyone writes crappy code ;) we all just need to try and make it less crappy.. On 12/22/05, Merrill, Jason [EMAIL PROTECTED] wrote: Very well said Paul. Couldn't agree more - mind you this is coming from a guy who still writes crappy code. :) Jason Merrill | E-Learning Solutions |

Re: [Flashcoders] BitmapData and setPixel();

2005-12-22 Thread Paul BH
any chance you can give us a diagram or something of what you are trying to acheive? picture speaks 1000 words allthat On 12/22/05, Claudia Barnal [EMAIL PROTECTED] wrote: Anyone? Please... From: Claudia Barnal [EMAIL PROTECTED] Reply-To: Flashcoders mailing list

RE: [Flashcoders] assigning the same class to multiple library objects

2005-12-22 Thread Kevin McCormick (iStyle)
Thanks for the reply, sorry for the delay, I'm in New Zealand, so a bit of a timezone issue going on. My problem is actually a bit deeper than I originally thought. I first noticed it in a simple movie that is part of a larger project, now the main app is displaying the problem. It's not just

RE: [Flashcoders] Scrolling Landscape by Mouse position

2005-12-22 Thread Kevin Aebig
Thanks guys, but I just told him I needed another day and created it from scratch. Much obliged anyhow... =] Cheers, Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric dolecki Sent: December 21, 2005 1:42 PM To: Flashcoders mailing list Subject:

Re: [Flashcoders] Flash stock ticker

2005-12-22 Thread eric dolecki
.cacheAsBitmap might be your best friend here :) edolecki On 12/22/05, Merrill, Jason [EMAIL PROTECTED] wrote: In absence of that, any hints of tips anyone can offer would be of great help. The way I have done some somewhat similar projects involved creating a large movie clip from the

[Flashcoders] DataGrid scroll problem and Archive Access

2005-12-22 Thread Nick Appelmans
Hi List: I tried searching archives but link from webpage is broken. I have a datagrid that is bound to a dataset where both properties of the binding are property = dataprovider when the datagrid displays the resource returned from a MySQL query via amfphp it displays the rows properly until I

RE: [Flashcoders] DataGrid scroll problem and Archive Access

2005-12-22 Thread Robert Chyko
Ran into this in the past... Here are 2 workarounds we received from our Macromedia (at the time) support rep. These workarounds fixed the issue in Flash Player 7, but I think they may have been broken by Player 8 - since I've received bug reports about this again since Player 8 has come out -

[Flashcoders] Importing custom components via Actionscript

2005-12-22 Thread ccusce
Hello, I am in the process of changing something from a movie-clip based process to a component-based process. This aspect of the project is a simple color-picker that is generated on the fly based on an array of colors passed in as parameters. Instead of this, I want to create several

RE: [Flashcoders] Combo troubles

2005-12-22 Thread Steven Sacks
Put a combobox component in the loading movie (the root movie). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Boutin Sent: Thursday, December 22, 2005 11:16 AM To: Flashcoders mailing list Subject: [Flashcoders] Combo troubles I have

Re: [Flashcoders] Importing custom components via Actionscript

2005-12-22 Thread Alan MacDougall
[EMAIL PROTECTED] wrote: I wanted to load these cells from the library on the fly, but I get an error. Here is the code I use: import colorblock; c = _root.createClassObject(colorblock, blankClip + i, (i + 1), {colorParam:hexArray[i]}); Are you able to instantiate a new object of the

Re: [Flashcoders] Combo troubles

2005-12-22 Thread Ian Thomas
You might also need to set the combobox._lockroot=true to cure other standard combobox woes... Ian On 12/22/05, Steven Sacks [EMAIL PROTECTED] wrote: Put a combobox component in the loading movie (the root movie). ___ Flashcoders mailing list

Re: [Flashcoders] Is Adobe settings manager usable ?

2005-12-22 Thread ryanm
UI size is one issue... if you're viewing a 60-pixel-square SWF, there's no room for an internal dialog. There are also localization and update issues. That's an important point, but one I would think could be circumvented by opening a new browser from the same domain or even locally (on

Re: [Flashcoders] Faster code?

2005-12-22 Thread JesterXL
I know why you do it and I agree it should be done within reason. My point is, I've found an extremely small percentage of my client base who cares about it and understands why you take to the time to do it. When I go, Hey, I found this neat new documenting app! and they reply, We have more

RE: [Flashcoders] Faster code?

2005-12-22 Thread Steven Sacks
I'm sure at places like Microsoft, etc. where you have many people working on the same project, which will eventually be upgraded to new versions, possibly by a mostly new team, in a coding language that doesn't receive major revisions every year or so, then yes it makes sense. The reason Jesse

Re: [Flashcoders] Faster code?

2005-12-22 Thread Count Schemula
I comment because I'm a total hack. The comments are for me, in case I need to revisit the code, like, next week. :D It also helps me see what I'm doing, and sometimes improvements are more apparent after commenting. ___ Flashcoders mailing list

[Flashcoders] Draw a bitmap on a path

2005-12-22 Thread Judah Frangipane
I have the task of drawing an image or movieclip along a path. So for example, I have the task of drawing a rainbow, ideally I would get a 10x 60 image of 3 colors. Next I would want to draw that movieclip along a path. But the question is I have no idea where to start or if this is even

Re: [Flashcoders] Faster code?

2005-12-22 Thread hank williams
Jesse's comments about how his code is basically disposable (my word) is interesting. I think it reflects the nature of flash and its history. For example I am working on a fairly complex project. I have been working on it for more than a year. It has lots of pieces that interact. And what

[Flashcoders] date.getTime() bug when compiling to FP7 or lower and viewing on a Mac

2005-12-22 Thread Rajat Paharia
The title says it all :) date.getTime() is supposed to return an integer. Using Flash MX2004 or Flash 8 IDE, when you compile your application for Flash Player 7 or 6 (maybe lower, I didn't test), and then view your SWF on a Mac (which has player 7 or 8), it returns a float. You can see it

Re: [Flashcoders] Faster code?

2005-12-22 Thread ryanm
The ah-hoc comes from scope creep lack of a clear vision, not from developer planning. I could plan things to a T, only to have a client change their mind, and pay for that change, rendering my planning useless.. I don't lose sleep cause I'm getting paid for it. You know that youl live

Re: [Flashcoders] Faster code?

2005-12-22 Thread ryanm
The longevity of Flash code is also dubious. I mean, C/C++ pretty much stay the same. Each new version of AS adds all kinds of new syntax, class structure, methods, etc. Actionscript is far too malleable to have any real shelf life. It is pretty much the stated goal of Macromedia to put

Re: [Flashcoders] Faster code?

2005-12-22 Thread ryanm
I think it reflects the nature of flash and its history. Not to mention the diverse skillset of its developer-base. A lot of people learned to write code in Flash, and the question of whether they are doing it the right way or not is debatable. In other words, as flash becomes a real

Re: [Flashcoders] Faster code?

2005-12-22 Thread ryanm
I've yet to get a death threat from some poor sod to who had to maintain my code... but, to be on the safe side, I always keep my glock loaded. I've come pretty close to issuing several of those death threats. ;-) ryanm ___ Flashcoders mailing