Re: [Flashcoders] Programmatically instantiating a class that extends MovieClip.

2006-06-30 Thread eka
Hello :) it's easy, you must use __proto__ AS2 - MyClass extend MovieClip !!! MyClass extends MovieClip { // o Constructor public function MyClass() { } } var mc = createEmptyMovieClip(myInstance, 1) ; mc.__proto__ == MyClass.prototype ; MyClass.call(mc) ; EKA + :)

Re: [Flashcoders] FLV or MP3 stops during tween

2006-06-30 Thread Dan Rogers
For the record... I think I finally figured out what the problem was with my FLV. It turns out to have less to do with Tweening functions and more to do with the fact that the NetStream class hates to be instantiated into a local variable. As a reference for anyone having trouble with

Re: [Flashcoders] Flash 9 Professional AS 3 Preview on labs

2006-06-30 Thread Aaron Buchanan
If adobe would stop boycotting it, heh. Jk just waiting for photoshop at the moment.. On 6/29/06 1:46 PM, Weyert de Boer [EMAIL PROTECTED] wrote: Yeah, it sucks... but a reason to buy a mactel though ;-) ___ Flashcoders@chattyfig.figleaf.com To

[Flashcoders] very basic question: Help?

2006-06-30 Thread jcarlos
I want to understand which is the best/right way to concatenate movies which are dependent on serInterval to finish their execution, example this is part of a very simple image slice movement, I can have n slices, but just after the finish of the last one I´d like to know that it has finished

Re: [Flashcoders] trying to call a function passed as an argument

2006-06-30 Thread Latcho
if the function-param in public function doFirst(aString:String, bString:String, aFunction:Function) is a good reference to an existing function you don't need to use the call() to execute aFunction you can just use public function doFirst(aString:String,

Re: [Flashcoders] AS3 Flash 9 - Speed Freak

2006-06-30 Thread Zárate
Hi, I was quite happy hearing about the performance until I went to play here: http://www.teagames.com/games/tgmotocross/play.php Please take a look to the performance playing with player 8 and playing with player 9. Then it's curious because the CPU usage remains under 50% at all times, even

[Flashcoders] extends / super.function() bug

2006-06-30 Thread Joeri van Oostveen
I'm having this (weird) problem: (Not sure if it's Flash Player (8/Mac) related, or compiletime related (mtasc)) I have for example this code: class A { public function A() { } public function doSomething():Void { // all

Re: [Flashcoders] AS3 Flash 9 - Speed Freak

2006-06-30 Thread Nicolas Cannasse
If this is the compatibilty we can expect for the new player. Anyone finding broken content? Yes we have a problem with LoadVars.send and getURL. Looks like installing the Player 9 makes some changes into the security model, even when you run Flash 8 content. Nicolas

Re: [Flashcoders] AS3 Flash 9 - Speed Freak

2006-06-30 Thread Michael Stuhr
Zárate schrieb: Hi, I was quite happy hearing about the performance until I went to play here: http://www.teagames.com/games/tgmotocross/play.php Please take a look to the performance playing with player 8 and playing with player 9. Then it's curious because the CPU usage remains under 50% at

[Flashcoders] About OOP metodology

2006-06-30 Thread Ricardo Sánchez
I've just started to work in a big internet communication agency. We have to make 2 or 3 microsites every week. Each of which uses a very similar form to get user data. All that changes from one to another is a couple of fields and the look of it. My question is: What's the best way to

Re: [Flashcoders] Flash Player 9 Public Beta for Apple Intel-based Macintosh computers

2006-06-30 Thread Scott Hyndman
It does. It's just been updated. The problem I was having was that SWT password boxes on Intel Macs wouldn't let me enter characters. I couldn't get or put anything into version control, making Eclipse pretty useless for me. If you write any JSP/Servlets/J2EE stuff, be sure to check out WTP. It

Re: [Flashcoders] Flash Player 9 Public Beta for Apple Intel-based Macintosh computers

2006-06-30 Thread hank williams
If you write any JSP/Servlets/J2EE stuff, be sure to check out WTP. It makes life a lot easier. The deployment stuff is great. That sounds great. I have a friend who uses netbeans and keeps teasing me about how much better it is for this stuff. And of course I couldnt switch if I wanted to,

RE: [Flashcoders] AS3 Flash 9 - Speed Freak

2006-06-30 Thread neo binedell
I dunno, plays fine for me in both FF and IE with both players. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Stuhr Sent: 30 June 2006 12:55 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] AS3 Flash 9 - Speed Freak Zárate schrieb:

Re: [Flashcoders] AS3 Flash 9 - Speed Freak

2006-06-30 Thread Jobe Makar
Hi, Is your game written in AS 3? If not then you shouldn't expect a tremendous increase in performance. Simply using the Flash 9 player won't do it. Jobe Makar http://www.electrotank.com http://www.electro-server.com phone: 252-627-8026 mobile: 919-609-0408 fax: 919-341-8104 - Original

RE: [Flashcoders] trying to call a function passed as an argument

2006-06-30 Thread Doug Coning
This is how I do it: var functA:Function = function(){ trace(A); } var functB:Function = function(){ trace(B); } function performFunctions(funct:Function){ funct(); } performFunctions(functA); performFunctions(functB); Doug Coning Senior Web Development Programmer

Re: [Flashcoders] very basic question: Help?

2006-06-30 Thread Mick G
This is the perfect scenario for using any of the many tweening classes... It might seem a bit confusing at first, but once you get familiar with them you'll wonder how you ever lived without them. I like... http://hosted.zeh.com.br/mctween/ (has filter tweens which are nice, and I like the way

RE: [Flashcoders] AS3 Flash 9 - Speed Freak

2006-06-30 Thread David Mendels
Nicolas, Zarate, Did you file bugs for these in the beta period? If not, please send specifics of the problems you are having and I will forward to the team. -David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nicolas Cannasse Sent: Friday,

Re: [Flashcoders] About OOP metodology

2006-06-30 Thread Adam Pasztory
I generally prefer loading external SWFs for this sort of thing. That way the individual form SWFs are not dependent on the master SWF. And you avoid library bloat. You could create a template that is a starting point for building individual forms. -Adam On 6/30/06, Ricardo Sánchez [EMAIL

[Flashcoders] exporting dynamic swf art to other apps

2006-06-30 Thread Mason Wendell
Hey all, I'm generating art in actionscript that I need to export from my swf and bring into Illustrator or Photoshop for final tweaks before sending it out to a large format printer. I know you can export from the IDE but since everything I'm using is dynamic I can't use those functions. My

Re: [Flashcoders] AS3 Flash 9 - Speed Freak

2006-06-30 Thread Nicolas Cannasse
Nicolas, Zarate, Hello David, Did you file bugs for these in the beta period? I didn't have enough free time to test the Flash Player 9 during the beta. The problem has been reported by some of our end-users and so we confirmed it today. I have been describing the problem clearly in a mail I

RE: [Flashcoders] exporting dynamic swf art to other apps

2006-06-30 Thread Lee McColl-Sylvester
I think the issue you'll find here is that, the work area of the Flash IDE is not the Flash player. Any content created in the IDE can be made use of however Adobe see fit as it's an IDE, but the player is cut down for file size and speed purposes. Your best bet is to either look up exporting

[Flashcoders] MX 2004 Listbox

2006-06-30 Thread Graham Pearson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 My question regarding this component is how can I test the value of the data to make sure the user has selected at least 1 entry from this list. I am able to retrieve the data value if the user has selected one or more entries but if the user did not

[Flashcoders] Smoothing dynamically loaded images in AS3

2006-06-30 Thread Paul Neave
When Flash 8 was released there was a 'feature' that meant any dynamically loaded image could not have its pixels smoothed when resized, and an ugly workaround was needed to smooth the image using BitmapData. Tinic Uro blogged about the problem here:

Re: [Flashcoders] About OOP metodology

2006-06-30 Thread elibol
Try a compositional approach. You might design a set of classes that reference movieclips and delegate events to the class; this would be contrary to extending movieclips. This way you can design movieclips specific to the site and design the code specific to the logic. You could even abstract

Re: [Flashcoders] exporting dynamic swf art to other apps

2006-06-30 Thread Mason Wendell
Thanks a lot. I haven't explored decompilers. I'll check some out and see what my options are. Has anyone else tried this method? Any recommendations for a good decompiler or technique? On 6/30/06, Lee McColl-Sylvester [EMAIL PROTECTED] wrote: I think the issue you'll find here is that, the

Re: [Flashcoders] exporting dynamic swf art to other apps

2006-06-30 Thread Jolyon Russ
This is a method used a lot by Joshua Davis, I took his FITC boot camp course and no, you can't retain the alpha values and presumably filter (not tried w/filters). I think you'll find that because the alpha and filter properties are applied at run-time the pdf you output will only embed the

Re: Re: [Flashcoders] exporting dynamic swf art to other apps

2006-06-30 Thread John Mark Hawley
How about trying to print the _root as a pdf using {printAsBitmap: true}? That's supposed to play well with transparency, innit? From: Jolyon Russ [EMAIL PROTECTED] Date: 2006/06/30 Fri AM 10:39:24 CDT To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: Re:

Re: [Flashcoders] How to japanese people embed fonts?

2006-06-30 Thread Kenneth Kawamoto
i have to get japanese characters into our application, but as i see it, there is no solution for this :( If you embed a Japanese font the file size will increase by 1.75MB or more per font, so I would not embed Japanese fonts for on-line delivery. I would use generic device fonts for

[Flashcoders] MovieClipLoader vs component

2006-06-30 Thread Rick Lecoat
Hi to all on the list from a new sign-up. I'm also new to the whole AS thing, so do please bear with me if I ask questions that seem obvious or stupid to those with more experience then I (which will be all of you). The book that I used to teach myself Flash offered two ways of loading a SWF

Re: [Flashcoders] How to japanese people embed fonts?

2006-06-30 Thread Adrian Park
I'd agree with Kenneth. If possible, use something like Verdana which definitely includes all the characters you need - not all fonts do. But, if you really do need to embed the fonts, then you can use a combination of your first two suggestions to acheive what you want. 1) create a font

[Flashcoders] Getter/Setter behaviour question

2006-06-30 Thread Derek Vadneau
I checked the archives and Googled variations of this issue but I couldn't find anything specific to this issue. I created a component that contains some inspectable properties, which are actually getters and setters. I simplified the class to demonstrate the issue. The inpectable prop is an

Re: [Flashcoders] extends / super.function() bug

2006-06-30 Thread Jim Cheng
Joeri van Oostveen wrote: I'm having this (weird) problem: the doSomething() gets called 3 times! First time the B version, which calls the A function (2nd one). Next, the A function is called again... which should not be so!!! :( It's a rather annoying but poorly documented bug that's been

Re: [Flashcoders] How to japanese people embed fonts?

2006-06-30 Thread Zeh Fernando
i have to get japanese characters into our application, but as i see it, there is no solution for this :( If you embed a Japanese font the file size will increase by 1.75MB or more per font, so I would not embed Japanese fonts for on-line delivery. I would use generic device fonts for

[Flashcoders] FOSS, Science, and Public activism

2006-06-30 Thread proclus
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (Sorry if you get more than one copy of this message, but I felt that it was urgent to get this important info out.) The values of freedom and openness are crucial to understanding itself, so that civilization and public welfare now depend on them,

RE: [Flashcoders] FOSS, Science, and Public activism

2006-06-30 Thread Dave Watts
Subject: [Flashcoders] FOSS, Science, and Public activism Try as I might, I can't find anything about Flash coding within this message. This kind of completely OT crap is unacceptable. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber

Re: [Flashcoders] How to japanese people embed fonts?

2006-06-30 Thread Kenneth Kawamoto
But, if you really do need to embed the fonts, then you can use a combination of your first two suggestions to acheive what you want. 1) create a font symbol, giving it whatever name you want to use to refer to your font. 2) create a text field on the stage and use that to force Flash to

Re: [Flashcoders] Biased Random Particle Distribution

2006-06-30 Thread elibol
I wish there were more discussions like this... I experimented a bit with this with some curving equations, this is what I have to contribute: import flash.geom.Point; var particleAmount = 100; var particles = []; var radiusMin = 3; var radiusMax = 100; function createParticles(){ var i =

[Flashcoders] AS3 Reference Library PDF?

2006-06-30 Thread Charles Parcell
Now that Flash Player 9 is officially released, does anyone know if there is a PDF of the AS3 Reference Library? While I know it is on LiveDocs, I like to thumb through actual paper. Thanks, Charles P. ___ Flashcoders@chattyfig.figleaf.com To change

Re: [Flashcoders] Flex 2 and Flash 9 Press Releases

2006-06-30 Thread David Rorex
FYI, the (free) Flex SDK works fine for me on linux (since it's java based). Also the standalone player runs under Wine (even if a bit slow), so I can test simple apps. -David R On 6/29/06, Chris Allen [EMAIL PROTECTED] wrote: Any official word on whether a Mac and/or Linux version of Flex

Re: Re: [Flashcoders] Flex 2 and Flash 9 Press Releases

2006-06-30 Thread Chris Allen
Thanks for the reply David, What I'm really hoping for is the Eclipse IDE plugin AKA Flex Builder 2. I realize I can build Flex 2 applications without it, but I love using Eclipse for AS2 and Java development, so it's logical for me to want the AS3 editor and all the other tools it comes with.

Re: Re: [Flashcoders] exporting dynamic swf art to other apps

2006-06-30 Thread Mason Wendell
John: I just played around with this. Unfortunately it flattens all the layers to screen resolution and I need to blow it up for print. It also flattens it to the background, and Ideally I'm looking for a more flexible solution. Joylon: That's a good point about the pdf writer only having the

RE: Re: [Flashcoders] Flex 2 and Flash 9 Press Releases

2006-06-30 Thread David Mendels
Hi, Expect a post on the Flex team blog ot Matt's blog in the near term. The team is hoping to provide some roadmap info on this as soon as possible. Bookmark www.flex.org and/or use the link to the Flex blog aggregator at the upper right of that page (which is really just a smart search on

RE: [Flashcoders] MovieClipLoader vs component

2006-06-30 Thread Palmer, Jim
Rick, I use the MovieClipLoader object seeing as I'm anti-component usage, at least the stock components that come with the Flash IDE. The MovieClipLoader works well with great event handlers and a simple loadClip() method. I utilize the onLoadStart, onLoadProgress, onLoadComplete, and

Re: Re: [Flashcoders] exporting dynamic swf art to other apps

2006-06-30 Thread John Mark Hawley
Going the PrintJob route is going to flatten everything no matter what, unless your layers are in separate movieclips that you can print to PDF separately, but you can always scale your clip up to the required resolution, print, then scale back down again... From: Mason Wendell [EMAIL

[Flashcoders] Out of Office June 30 - July 4

2006-06-30 Thread tracey
I will be out of the office June 30 through July 4, returning July 5th in the a.m. I will return all messages and emails on Weds. July 5th. Thanks - Tracey Halvorsen fastspot ___ Flashcoders@chattyfig.figleaf.com To change your subscription options

[Flashcoders] Slightly OT: New Flex 2 Courses!

2006-06-30 Thread Steve Drucker
Greetings everyone! The new Flex 2 instructor led courseware has just been released by Adobe and we have these new courses scheduled starting in July/August! You can view the curriculum and course dates at the following url:

Re: [Flashcoders] Ajax and ActionScript 2.0

2006-06-30 Thread Spencer Markowski
Where flash fails = Text manipulation, CSS and HTML support. Ajax isn't just XMLHttpRequest.. It's packaging XML/Markup with Javascript and CSS while being asynchronous. XHTML and CSS are much more suited to display and edit text than flash. On 6/28/06, Tyler Wright [EMAIL PROTECTED] wrote:

RE: [Flashcoders] Ajax and ActionScript 2.0

2006-06-30 Thread Merrill, Jason
XHTML and CSS are much more suited to display and edit text than flash. I would take issue with that. You're leaving out the whole beauty of embedded (programmatically or otherwise) anti-aliased fonts in Flash! A big plus for me and my clients. :) Jason Merrill Bank of America Learning

[Flashcoders] RTSP in flash?

2006-06-30 Thread Wade Arnold
I have a desktop application that I am working on that has one camera that it connects at: rtsp://127.0.0.1/livefeed I have scoured the web and do not see any way of natively accessing this stream from flash. Does anyone know of any third part flash players that allow you to connect to

Re: [Flashcoders] Ajax and ActionScript 2.0

2006-06-30 Thread ryanm
Where flash fails = Text manipulation, CSS and HTML support. Ajax isn't just XMLHttpRequest.. It's packaging XML/Markup with Javascript and CSS while being asynchronous. XHTML and CSS are much more suited to display and edit text than flash. Hhhmmm... I can't find a single true statement in

RE: [Flashcoders] RTSP in flash?

2006-06-30 Thread Wade Arnold
Technically the camera is streaming MPEG4IP over RTSP Thanks; Wade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wade Arnold Sent: Friday, June 30, 2006 3:45 PM To: 'Flashcoders mailing list' Subject: [Flashcoders] RTSP in flash? I have a desktop

Re: [Flashcoders] Getter/Setter behaviour question [SOLVED]

2006-06-30 Thread Derek Vadneau
For anyone interested: I figured something out and remember reading something about this, although I can't find a link at the moment. The getter is setting the property. The setter is ignored, and in fact there doesn't need to be a setter, and the private property is set. Example: (the same

Re: RE: Re: [Flashcoders] Flex 2 and Flash 9 Press Releases

2006-06-30 Thread Chris Allen
Thanks very much for the information David. I'm glad to hear that this is on the roadmap. Have a happy 4th of July. -Chris On 6/30/06, David Mendels [EMAIL PROTECTED] wrote: Hi, Expect a post on the Flex team blog ot Matt's blog in the near term. The team is hoping to provide some roadmap

RE: [Flashcoders] About OOP metodology

2006-06-30 Thread Bernard Visscher
I think you could do this the MVC way (http://en.wikipedia.org/wiki/Model_view_controller) The only thing that really changes is your view, the model and the controller are almost the same. You could even write a model, controller and view which holds all fields and logic that returns in all the

Re: [Flashcoders] RTSP in flash?

2006-06-30 Thread Jim Cheng
Wade Arnold wrote: I have a desktop application that I am working on that has one camera that it connects at: rtsp://127.0.0.1/livefeed I have scoured the web and do not see any way of natively accessing this stream from flash. Does anyone know of any third part flash players that allow you

RE: [Flashcoders] Ajax and ActionScript 2.0

2006-06-30 Thread Bernard Visscher
I'm not trying to make you look foolish, it's just that overblown descriptions like that are what make real programmers delete the job posting without finishing the first paragraph. I'm in with that. IMO you should only say We need people! This is our portfolio, if you think you can

RE: [Flashcoders] FOSS, Science, and Public activism

2006-06-30 Thread Dave Watts
Thank you for getting back to me. As noted in the message, it is targeted to forums which are bound to find it interesting, although clearly not everyone in a given forum will find it so. You and I are both developers, and the current actions of the Apple corporation are deteriorating

Re: [Flashcoders] RTSP in flash?

2006-06-30 Thread Chafic Kazoun
The Flash Player doesn't support the RTSP protocol (neither RTP, RTCP which are usually also required for proper RTSP) and it doesn't support decoding MPEG4 Video. So, currently there is no way for you to play such a stream natively in the player and I doubt it will be coming anytime soon

Re: [Flashcoders] Ajax and ActionScript 2.0

2006-06-30 Thread Spencer Markowski
Thanks for the correction. Your input has been beyond valuable. On 6/30/06, Bernard Visscher [EMAIL PROTECTED] wrote: I'm not trying to make you look foolish, it's just that overblown descriptions like that are what make real programmers delete the job posting without finishing the

Re: [Flashcoders] Ajax and ActionScript 2.0

2006-06-30 Thread ryanm
but I see very much job postings with With a good knowledge of PHP, ASP, ASP.NET, XHTML, HTML, CSS, PERL, JS, SQL, C# etc etc... I could answer that ad, couldn't you? ;-) It's actually the part where they want all of those skills and the job only pays $30k that bothers me. Here's

Re: [Flashcoders] Ajax and ActionScript 2.0

2006-06-30 Thread Steve Rachels
uh... you forgot the contact info. ryanm wrote: but I see very much job postings with With a good knowledge of PHP, ASP, ASP.NET, XHTML, HTML, CSS, PERL, JS, SQL, C# etc etc... I could answer that ad, couldn't you? ;-) It's actually the part where they want all of those skills and

Re: [Flashcoders] HashMap?

2006-06-30 Thread Bernard Poulin
For some AVM1 and AVM2 flash representation of objects, fire up this breeze presentation about the flash player 9. http://seminars.breezecentral.com/p64058844/ Around minute 28 into the presentation, it talks about AVM1 and AVM2 representation of an object. Like I suspected, AVM1 uses a