[Flashcoders] Anyone compile tamarin w/VS 2005 yet?

2006-11-08 Thread Flash Developer
Hi All, 1) I grabbed Tamarin from Mozilla's CVS tree (it's under the MozillaSources module) 2) I'm trying to compile Tamarin (the newly released, open source AVM2 engine by Adobe). The problem I'm having is that the shell.vcproj has these dependencies: File

[Flashcoders] Help needed. Embeding fonts in Deng Modular Browser

2006-11-08 Thread vipin chandran
Hello All, Can any body help me about embedding fonts in Deng Modular Browser? The official deng site is not having any link to this tutorial. If anybody came across this...please help me... Thanks in advance Vipin ___

[Flashcoders] Accordion Pains!

2006-11-08 Thread Mike Mountain
Don't use components often, so excuse the ignorance. And I have RTFM'd and googled. Can't find anyway of setting the state of the Accordion Panel (ie. Which one subpanel is open) using AS? Anyone? Bueller? Cheers M ___

RE: [Flashcoders] Accordion Pains!

2006-11-08 Thread Peter Brouwers
From the help file ;-) Accordion.selectedChild Availability Flash Player 6 (6.0.79.0). Edition Flash MX Professional 2004. Usage accordionInstance.selectedChild Description Property; the selected child (of type UIObject) if one or more children exist; undefined if no children exist. If the

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread Marcelo de Moraes Serpa
I've done a project with arp and even though I learned a lot from it, I've also found arp to be somewhat limited and unflexible. I've started using pixlib for a few months now and I can say that it is one of the most well designed and pattern-based AS2 frameworks I've ever seen. It goes far

RE: [Flashcoders] Accordion Pains!

2006-11-08 Thread Mike Mountain
Ah, thanks, case of wood for trees - I thought this was a read only prop to tell you which one was selected. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Brouwers Sent: 08 November 2006 10:46 To: Flashcoders mailing list Subject: RE:

Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-08 Thread Ben
You can see an example of what I'm talking about here: http://www.imagination3.com/ now THAT, my friend, is EXACTLY what I'm talking about! That's a beautiful example, it looks really well designed. With its various tools, eg the 'stamper', it goes way beyond what I was looking for. I guess

Re: [Flashcoders] about BitmapData.draw() crossdomain

2006-11-08 Thread Zeh Fernando
when crossdomain , BitmapData.draw Expiration,the swf in a.com,and the jpg in b.com,have any Solution in this? No, you can't do a BitmapData.draw from content from other domain, regardless of crossdomain policy files or whatnot. Solutions are: 1. Use AS3 as this issue seem to have been

Re: [Flashcoders] Freelancer Class

2006-11-08 Thread Cedric Muller
one nice thing would be to add a '_p' (for param) suffix function Student (name_p:String) { this.name = name_p; } -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Tuesday, November 07, 2006 12:05 PM To:

Re: [Flashcoders] Freelancer Class

2006-11-08 Thread Alias™
Unless You are passing a function into a newly created object and need to explicityle refer to the object that it is passed into. ..inside class var myFunction:Function = new Function(){ this.a = 2; this.b = 5; this.c = this.a + this.b; } var newObj = new Object();

[Flashcoders] scale MC using another MC as registration point

2006-11-08 Thread Jon Bennett
Hi, I've built a simple location plotting app. It consists of a map, in a scrollpane, which you can zoom to different percentages, move a dot around (the dot is not inside the scrollpane, but locked to its dimensions), and a textfield outputs the x and y co-ords at 100% using globalToLocal.

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread Muzak
Can you provide some more details on these 2 statements? - found arp to be somewhat limited and unflexible - It goes far beyond ARP, no doubt regards, Muzak - Original Message - From: Marcelo de Moraes Serpa [EMAIL PROTECTED] To: Flashcoders mailing list

[Flashcoders] How to play automatically an MP3 file when user loads webpage

2006-11-08 Thread thomas Armstrong
Hi. I want a webpage to play automatically an MP3 file when user loads the webpage. I'm trying to find a Flash player which, by using JavaScript, plays the file. I was browsing this tutorial, but didn't find what I'm looking for: http://www.kennybellew.com/tutorial/ Any suggestion is welcome.

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread Marcelo de Moraes Serpa
Hi Muzak, Can you provide some more details on these 2 statements? - found arp to be somewhat limited and unflexible - It goes far beyond ARP, no doubt ARP was no doubt the pioneer in introducing design patterns development into flash apps. However, its MVC model is not what I would call

Re: [Flashcoders] about BitmapData.draw() crossdomain

2006-11-08 Thread Muzak
Add System.security.allowDomain(www.b.com); in swf on a.com You'll still need a crossdomain policy file on b.com to be able to load the image in an swf on a.com. regards, Muzak - Original Message - From: Zeh Fernando [EMAIL PROTECTED] To: Flashcoders mailing list

RE: [Flashcoders] Freelancer Class

2006-11-08 Thread jim
I prefer having the this. On the beginning of all calls to properties in a class so that I can easily see what is class level what is method level. It works without but I feel happier reading it that way. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [Flashcoders] Freelancer Class

2006-11-08 Thread Ian Thomas
Sometimes I really wish the language enforced a particular way of naming methods and properties; if only because then we wouldn't have exactly the same conversation posted on this list every couple of months. :-) Ian On 11/8/06, jim [EMAIL PROTECTED] wrote: I prefer having the this. On the

RE: [Flashcoders] Freelancer Class

2006-11-08 Thread jim
Looks like I joined this argument a bit late, sorry for rehashing the same points. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jim Sent: 08 November 2006 13:08 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Freelancer Class I prefer

RE: [Flashcoders] Freelancer Class

2006-11-08 Thread jim
This is a recognized way of initializing a class, you can call them different things, but if they are the same thing why give them different names? The this keyword tells you exactly what is going on. I don't think its bad code. Just my opinion. Jim -Original Message- From: [EMAIL

RE: [Flashcoders] FLEX 2.0 Chart and PDF Generation

2006-11-08 Thread Merrill, Jason
Is there a way to include a chart created with the FLEX Charting library into a PDF file ? I also would like to know if it's possible to do it in batch mode ! Claude, try the flexcoders list at Yahoo. Jason Merrill Bank of America Learning Organizational Effectiveness

RE: [Flashcoders] Freelancer Class

2006-11-08 Thread jim
Yeah, I joined the conversation late. I have a habit of not reading mail for a few days and going from the bottom of the pile up, so I will replay to a mail on this list only to go a little further up the pile to see exactly the same comment from someone else. Sorry. Jim -Original

Re: [Flashcoders] Freelancer Class

2006-11-08 Thread Ian Thomas
Hi Jim, Not target at you particularly; just that as I say, every couple of months the same thing rolls by. :-) Anyway; I'm just adding noise, so I'll shut up now. Ian On 11/8/06, jim [EMAIL PROTECTED] wrote: Yeah, I joined the conversation late. I have a habit of not reading mail for a few

RE: [Flashcoders] How to play automatically an MP3 file when user loads webpage

2006-11-08 Thread Merrill, Jason
I want a webpage to play automatically an MP3 file when user loads the webpage. I guess I'm not understanding your constraint, because if you tell the sound in Flash to play, it will play (as soon as the flash file loads). Why involve Javascript? Jason Merrill Bank of America Learning

[Flashcoders] Closing Browser Through Flash/Javascript

2006-11-08 Thread Holth, Daniel C.
Hello, We are building Flash application that will be run off a CD and would like to have a button that closes the browser the Flash application is running in. We keep getting security errors that 'main.swf' is trying to communicate with 'index.html'. I know that I can personally set these

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread Muzak
See reply inline.. - Original Message - From: Marcelo de Moraes Serpa [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, November 08, 2006 1:51 PM Subject: Re: [Flashcoders] Q:Framework ARP vs PixLib Hi Muzak, Can you provide some more

Re: [Flashcoders] How to play automatically an MP3 file when user loads webpage

2006-11-08 Thread eric dolecki
use a SWF that streams an MP3 from your server... should work almost immediately. No JavaScript required. On 11/8/06, thomas Armstrong [EMAIL PROTECTED] wrote: Hi. I want a webpage to play automatically an MP3 file when user loads the webpage. I'm trying to find a Flash player which, by

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread eka
Hello :) We can find very good ideas in all opensource framework :) All librairies are good :) Only the vision of the concepts change with the practices of uses. There is not only one manner of implementing a design pattern for me. You can test for example my library VEGAS (it's an other

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread Muzak
Does it come with documentation? Couldn't find any useful info or documentation on osflash regarding VEGAS. All it says is: VEGAS is an AS2, AS3 and SSAS OpenSource Framework regards, Muzak - Original Message - From: eka [EMAIL PROTECTED] To: Flashcoders mailing list

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread eka
hello :) the documentation is in progress (en english with javadoc) and i think finish it in the version 0.8 :) but for the moment, you can find examples in the svn : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/ EKA+ :) 2006/11/8, Muzak [EMAIL PROTECTED]: Does it come with

Re: [Flashcoders] Closing Browser Through Flash/Javascript

2006-11-08 Thread Geoff Stearns
you need to add allowscriptaccess=always to your embed code. BUT, even with that, you might not be able to close it.. usually when you try to close a window you didn't open yourself, you get prompted by the browser... nothing you can do about that. if you really want it to behave like an

Re: [Flashcoders] How to play automatically an MP3 file when user loads webpage

2006-11-08 Thread thomas Armstrong
Every MP3 Flash Player I found need to click Play: http://musicplayer.sourceforge.net/ http://blog.forret.com/2005/01/playing-mp3-with-an-embedded-flash-player/ I don't've Adobe Flash software. On 11/8/06, eric dolecki [EMAIL PROTECTED] wrote: use a SWF that streams an MP3 from your server...

[Flashcoders] Writing code for big teams

2006-11-08 Thread Ricardo Sánchez
Hi! Where I work we are about to begin a pretty big project collaborating with some other agencies. The thing is we are going to develop the main movie with the menus and other stuff where every other movie any agency develops is going to be loaded. I was thinking about writing an interface

[Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Mendelsohn, Michael
Hi list... I can't figure out why MovieClipLoader isn't working. In the authoring environment, I get no error but it doesn't load, and in the browser, I get urlNotFound error. I don't understand it as the two swfs sit next to each other in the same folder. Any thoughts are appreciated.

RE: [Flashcoders] How to play automatically an MP3 file when userloads webpage

2006-11-08 Thread Danny Kodicek
Every MP3 Flash Player I found need to click Play: http://musicplayer.sourceforge.net/ http://blog.forret.com/2005/01/playing-mp3-with-an-embedded-fl ash-player/ I don't've Adobe Flash software. Without being funny, how do you expect to do what you want to do without having Flash? Danny

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Éric Thibault
I've just copy/past your code inside a new flash file and it is working fine both in the IDE and the browser Published for 7 or 8 AS 2 with the Flash player 8. P.S. I don't have any JS functions inside my HTML... maybe the bug is there? A+ Mendelsohn, Michael a écrit : Hi list... I

[Flashcoders] Q:reference main timeline from within class

2006-11-08 Thread moveup
Normally as a workaround to reference the main timeline from within a class, I first define a global scope in the main timeline like this: _global.root=this; And then simply reference the timeline with 'root'. I'm sure there must be a better way that doesn't involve use of _globals...anyone

RE: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Mendelsohn, Michael
Thanks for trying. The External Interface is the only thing there that works for me. I get the alerts from the html page, but that's it. It never finds the other swf. Could it be some kind of security issue? I've just copy/past your code inside a new flash file and it is working fine both

[Flashcoders] Detecting a click on an html link in a text field

2006-11-08 Thread Mark Burvill
Hi List, If you have an href link within an html text field in Flash, is there any way of detecting when the user clicks on it? Not being a standard button, you obviously can't do: on (press) { doStuff(); } But is there another way? Cheers.

Re: [Flashcoders] Writing code for big teams

2006-11-08 Thread Janis Radins
just force them to execute some registration code on first frame of theyr movie and pass instance which will accept all those calls according to predefined communication interface 2006/11/8, Ricardo Sánchez [EMAIL PROTECTED]: Hi! Where I work we are about to begin a pretty big project

RE: [Flashcoders] Detecting a click on an html link in a text field

2006-11-08 Thread Alain Rousseau
Hi Mark, You should look into asfunction http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhel p.htm?context=LiveDocs_Partsfile=1719.html It lets you call AS functions through links in a html textlike this : a href=asfunction:myFunction,arg1,arg2 HTH A.

Re: [Flashcoders] Detecting a click on an html link in a text field

2006-11-08 Thread Gustavo Teider - Adobe Flash Developer
Mark Burvill escreveu: Hi List, If you have an href link within an html text field in Flash, is there any way of detecting when the user clicks on it? Not being a standard button, you obviously can't do: on (press) { doStuff(); } But is there another way? teste.htmlText = a

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Éric Thibault
I've redone the test on my webserver with the externalinterface and all is functionning normaly if all (HTML and SWF) are in the same folder! If the HTML page is not in the same folder, the external SWF must be called relative to the HTML, not to the loader SWF. Maybe your bug is there! A+

Re: [Flashcoders] Q:reference main timeline from within class

2006-11-08 Thread Chris Alexander
inside the initialization of the class create a reference to this._parent, where this is the class. Or create a static var in the class and assign it this, referring to the class. Extend the class from a movieclip on the stage. On 11/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Normally

Re: [Flashcoders] Detecting a click on an html link in a text field

2006-11-08 Thread Mark Burvill
Lovely - that's what I need. Cheers. Alain Rousseau wrote: Hi Mark, You should look into asfunction http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhel p.htm?context=LiveDocs_Partsfile=1719.html It lets you call AS functions through links in a html textlike

RE: [Flashcoders] How to play automatically an MP3 file when user loads webpage

2006-11-08 Thread Merrill, Jason
I want a webpage to play automatically an MP3 file when user loads the webpage. Every MP3 Flash Player I found need to click Play: http://musicplayer.sourceforge.net/ http://blog.forret.com/2005/01/playing-mp3-with-an-embedded-flash-play er/ Well, sure - that's how they chose to code their

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread Rich Rodecker
i gotta say, even though it makes it a little more difficult to pick one to go with, I'm really glad to see all these different frameworks out there. On 11/8/06, eka [EMAIL PROTECTED] wrote: hello :) the documentation is in progress (en english with javadoc) and i think finish it in the

[Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread Chase Brammer
Hi yall, I am using EventDispatcher and I can use it everywhere in my class BUT when I need too! Which is in a onEnterFrame loop that I am running... I think that it must be scope problem. Any idea's on what could be wrong, or another work around? Thanks. Cheers, Chase

RE: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread Ryan Potter
You want to post some code? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chase Brammer Sent: Wednesday, November 08, 2006 10:45 AM To: Flashcoders mailing list Subject: [Flashcoders] EventDispatcher and onEnterFrame problems Hi yall, I am

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread Jon Bennett
i gotta say, even though it makes it a little more difficult to pick one to go with, I'm really glad to see all these different frameworks out there. I wish I'd thought to look out for them! especially since I recently adopted cakephp for all my php apps, that's made my life a whole load easier

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread Marcelo de Moraes Serpa
Hey Jon, I currently also use CakePHP for the back-end and pixlib for the client-side :) Marcelo. On 11/8/06, Jon Bennett [EMAIL PROTECTED] wrote: i gotta say, even though it makes it a little more difficult to pick one to go with, I'm really glad to see all these different frameworks out

Re: [Flashcoders] Preciso de programador actionscript/flash/php

2006-11-08 Thread nelson ramirez
job offers are good : ) On 11/7/06, Pedro Rodrigues [EMAIL PROTECTED] wrote: i am new to the list but it seems to me this is for discussion of flash programming and not for job offers... On 11/7/06, Zeh Fernando [EMAIL PROTECTED] wrote: Preciso de programador actionscript/flash/php se tiver

Re: Re: [Flashcoders] Preciso de programador actionscript/flash/php

2006-11-08 Thread Marlon Harrison
You are correct. You are new :-) On 11/7/06, Pedro Rodrigues [EMAIL PROTECTED] wrote: i am new to the list but it seems to me this is for discussion of flash programming and not for job offers... On 11/7/06, Zeh Fernando [EMAIL PROTECTED] wrote: Preciso de programador actionscript/flash/php

RE: [Flashcoders] Closing Browser Through Flash/Javascript

2006-11-08 Thread Merrill, Jason
You can also do a trick where you do a getURL() to a small special html file which simply has this in it: BODY ONLOAD=top.close() Should be pretty transparent to the user. So essentially, the HTML file does the Javascript, not Flash. However, if the original Flash file is not spawned from

RE: [Flashcoders] Detecting a click on an html link in a text field

2006-11-08 Thread Merrill, Jason
A side note, fairly irrelevant, but I heard/read somewhere asfunction is going away in AS3 - I think I saw that in the AS3 documentation - anyone know what the equivalent form would be in the future? Jason Merrill Bank of America Learning Organizational Effectiveness -Original

Re: [Flashcoders] Writing code for big teams

2006-11-08 Thread Ricardo Sánchez
By registration code you mean register to a class? As in Object.registerClass() ? On 11/8/06, Janis Radins [EMAIL PROTECTED] wrote: just force them to execute some registration code on first frame of theyr movie and pass instance which will accept all those calls according to predefined

RE: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread Steven Sacks | BLITZ
Inside an onEnterFrame function you have to use this when referring to things in the class (if the class extends MovieClip, which I hope it does because only MovieClips can have onEnterFrame as far as I know). class MyClass { var foo:Boolean; function MyClass() {

RE: [Flashcoders] Writing code for big teams

2006-11-08 Thread Steven Sacks | BLITZ
When working on a collaborative team on a big project, design patterns are your best friend. You should check out the Composite design pattern and/or MVC. http://www.asserttrue.com/articles/2006/10/27/max-2006 After attending their workshop, I went out and bought the book they recommended and I

Re: [Flashcoders] Writing code for big teams

2006-11-08 Thread Michael Nisi
Hi Ricardo, why do you think using Interface or Interfaces will force you to compile the collaborators code. I don't get the point. They can compile your Interfaces into their swfs and you can compile them into yours. That's what interfaces are for. No? Regards Michael On 11/8/06, Ricardo

RE: [Flashcoders] Detecting a click on an html link in a text field

2006-11-08 Thread Marc Hoffman
And on yet another side note, I believe only one arg can be passed with an a-href asfunction call. However, it could contain several args separated by a character other than a comma, such as the pipe (|) character, then in the function declaration, convert the pipe character to comas to split

RE: [Flashcoders] Freelancer Class

2006-11-08 Thread Steven Sacks | BLITZ
I don't like anything that puts arbitrary constraints on my code. Ruby on Rails has fantastic naming conventions but they have very clear benefits. Also, they use @foo for instance variable names and @@foo for class variable names. Unfortunately, they don't use braces to contain functions and

RE: [Flashcoders] Preciso de programador actionscript/flash/php

2006-11-08 Thread Steven Sacks | BLITZ
Job offers are accepted here. It's never gotten out of control and you'll find that most job postings here come straight from the source because recruiters who post here often find themselves the object of ridicule for their (sometimes) ignorant job posts and likely they never post again, which

Re: [Flashcoders] Writing code for big teams

2006-11-08 Thread Ricardo Sánchez
I'm sorry, I'll explain mysel. If I make an interface that I want their movies to implement... How do I load an external movie? To load it instanciating the class I'll have to compile it... am I wrong? Can you show some code? I'm pretty lost. Thanks all. On 11/8/06, Michael Nisi [EMAIL

RE: [Flashcoders] scale MC using another MC as registration point

2006-11-08 Thread Steven Sacks | BLITZ
The math for this is luckily just algebra and doesn't require any complex trig or calculus, and there are a few different ways to do it. This might help you on your way: http://www.darronschall.com/weblog/archives/54.cfm ___

RE: [Flashcoders] Detecting a click on an html link in a text field

2006-11-08 Thread Ryan Potter
I don't know squat about as3 yet, but from the docs there is this: http://livedocs.macromedia.com/labs/as3preview/langref/flash/text/TextField .html#event:link -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Wednesday, November 08,

RE: [Flashcoders] Writing code for big teams

2006-11-08 Thread Steven Sacks | BLITZ
Something else I recommend is have somebody who is in charge of integration and they make sure that everyone who hands them code thoroughly tests it first. This is how I write my apps when it's just me, as well, and as a result my code is pretty much bug-free. If their code can't be tested

[Flashcoders] Eclipse + ASDT

2006-11-08 Thread Matthew Ganz
i'm using ASDT with Eclipse and when i select Show Resource History on a file, i can see the comments i made when committing it. but when i try to open a previous version, i'm getting an error that looks like this: at org.asdt.editor.internal.ASCodeScanner.init(ASCodeScanner.java:93) has

Re[2]: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread R�kos Attila
SSB Inside an onEnterFrame function you have to use this when referring to SSB things in the class (if the class extends MovieClip, which I hope it SSB does because only MovieClips can have onEnterFrame as far as I know). Well, using this is not the matter of onEnterFrame but that of any runtime

Re: [Flashcoders] scale MC using another MC as registration point

2006-11-08 Thread Jon Bennett
The math for this is luckily just algebra and doesn't require any complex trig or calculus, and there are a few different ways to do it. This might help you on your way: http://www.darronschall.com/weblog/archives/54.cfm looks perfect, thanks! jon -- jon bennett t: +44 (0) 1225 341 039

Re: [Flashcoders] Writing code for big teams

2006-11-08 Thread Michael Nisi
You'll probably have a container class which manages loading, etc. It loads swfs. In the swf a class implements your Interface.The class get initialized inside the loaded clip, so you don't have to know anything about it. interface ricardo.Loadable { public function doSomething(Void):Void }

Re[3]: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread R�kos Attila
RA Well, using this is not the matter of onEnterFrame but that of any RA runtime function definition. If you declare your onEnterFrame as a RA simple method, this can be omitted. Oh, I mean if the class extends MovieClip of course (but in other case your code doesn't work, too :)) class MyClass

Re: [Flashcoders] Writing code for big teams

2006-11-08 Thread Michael Nisi
Same here. Can't imagine to develop without testing anymore. Test while you code, not afterwards. It let's you design your objects in a transparent way. Regards Michael On 11/8/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Something else I recommend is have somebody who is in charge of

RE: Re[3]: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread Steven Sacks | BLITZ
That is true, however if you just need a temporary onEnterFrame then it's better to just assign it to this instead of delcaring it in the class. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rákos Attila Sent: Wednesday, November 08, 2006

Re[5]: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread R�kos Attila
SSB That is true, however if you just need a temporary onEnterFrame SSB then it's better to just assign it to this instead of delcaring SSB it in the class. I'm used to avoid runtime function declaration just because it can lead to creating more than one copy of the function, instead of

RE: [Flashcoders] Freelancer Class

2006-11-08 Thread Mike Keesey
-Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Dennis Roche Sent: Tuesday, November 07, 2006 10:47 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Freelancer Class I prefer the the double underscore naming scheme to

[Flashcoders] HTML image/cross-domain

2006-11-08 Thread Jonathan Berry
Hello all, I have a simple question: can Flash player load images using html tags in a text field from a different domain? Is a cross-domain policy file required? -- Jonathan Berry, M.A. IT Consultant 619.306.1712(m) [EMAIL PROTECTED] www.mindarc.com

RE: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread Mike Keesey
-Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Wednesday, November 08, 2006 10:24 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] EventDispatcher and onEnterFrame problems Inside an

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Hans Wichman
Hi, instead of using your path directly try something like this: class App { public static function getPath (parent:MovieClip, path:String):String { var parUrl:String = parent._url; parUrl = parUrl.split(\\).join(/ file://%22).join(%22/); var pathUrl:String = path.split(\\).join(/

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Hans Wichman
ps that can be made way more efficient, its still under construction :) On 11/8/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi, instead of using your path directly try something like this: class App { public static function getPath (parent:MovieClip, path:String):String { var parUrl:String =

[Flashcoders] Q:Inheritance issue with simplified MVC

2006-11-08 Thread moveup
I'm having an issue with a simplified MVC implementation. I have a 'model' class which parses XML and dispatches a 'build' event when finished parsing. I have a 'view' class which has a reference to this model class via composition and is also registered as a listener When the view receives

RE: [Flashcoders] Writing code for big teams

2006-11-08 Thread Mike Keesey
-Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Michael Nisi Sent: Wednesday, November 08, 2006 11:38 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Writing code for big teams Same here. Can't imagine to develop without

RE: [Flashcoders] Detecting a click on an html link in a text field

2006-11-08 Thread Merrill, Jason
Thanks Ryan, so I guess the AS3 way will be that it is an event, and you just create handlers. The example they gave in case anyone is curious is: private var myMP3:Sound; public function TextField_event_link() { myMP3 = new Sound(); var list:TextField =

Re: [Flashcoders] scale MC using another MC as registration point

2006-11-08 Thread Hans Wichman
Hi Jon, i did something similar a while back, with the content of a scrollpane. It was something like this: //get the original x and y centre before scaling var orgX = (((pane.width-16)/2)+pane.hPosition)/(pane.content._xscale/100); var orgY =

Re: [Flashcoders] scale MC using another MC as registration point

2006-11-08 Thread Hans Wichman
ps this centers the zoom around the center of the scrollpane instead of a dot On 11/8/06, Hans Wichman [EMAIL PROTECTED] wrote: Hi Jon, i did something similar a while back, with the content of a scrollpane. It was something like this: //get the original x and y centre before scaling var

[Flashcoders] MSP style flash application.

2006-11-08 Thread Glen Pike
Hi, Can anyone point me to the site that recently went up offering an online modular image manipulation tool, where you can join up lots of filters, generators and other stuff to mess around with your images? It was sort of like MSP for images. Sorry, lost my bookmark. Glen

Re: [Flashcoders] Preciso de programador actionscript/flash/php

2006-11-08 Thread Pedro Rodrigues
ok i got teh message sorry, will not happen again. On 11/8/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Job offers are accepted here. It's never gotten out of control and you'll find that most job postings here come straight from the source because recruiters who post here often find

Re: [Flashcoders] Writing code for big teams

2006-11-08 Thread Glen Pike
Hi, Whilst this suggestion is not good practice if you can get in at the start of a project - I would recommend doing things the way others have said, by using interfaces, I was given a very nice workaround for a situation I got stuck in recently. I was given about 20 SWF FLA

[Flashcoders] Job Opportunity - Melbourne, Australia

2006-11-08 Thread Reuben Stanton
We are looking for a Senior Flash Developer / Interaction Designer for our Melbourne Office. Join our expanding, vibrant and innovative team in creating award winning web solutions for Australia's leading brands and businesses. Our culture is positive and productive, with highly passionate

Re: [Flashcoders] scale MC using another MC as registration point

2006-11-08 Thread Jon Bennett
The math for this is luckily just algebra and doesn't require any complex trig or calculus, and there are a few different ways to do it. This might help you on your way: http://www.darronschall.com/weblog/archives/54.cfm looks perfect, thanks! umm, thought it was perfect - but after a

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread Jon Bennett
I currently also use CakePHP for the back-end and pixlib for the client-side :) ahh, got anytihing you care to share?!?!?!??!?!?!?! nothing major, just something real basic for me to look through, no worries if not though :) jon -- jon bennett t: +44 (0) 1225 341 039 w: http://www.jben.net/

[Flashcoders] am i stupid?

2006-11-08 Thread John VanHorn
on the root timeline: this.onPress = function(){ trace(this); } does not work? the _root/_level0 movie does not take onPress or onRelease? other events like onMouseMove or onEnterFrame work finewhy not onPress? how have i not run into this before? -- John Van Horn [EMAIL PROTECTED]

Re: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread Muzak
From a person who keeps posting against the use of 'this' and who says it's bad practice I'd expect something better than using nested functions, especially if there's no need for it whatsoever. - Original Message - From: Steven Sacks | BLITZ [EMAIL PROTECTED] To: Flashcoders mailing

RE: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread Steven Sacks | BLITZ
You want to start a fight with me Muzak? Don't you know I'm loco? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Wednesday, November 08, 2006 3:30 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] EventDispatcher and

[Flashcoders] Recommended encoding rates for FLV?

2006-11-08 Thread Clark, Craig
Sorenson Squeeze allows you to have a watch folder that will transcode any video that is put into that folder. So Squeeze is a good solution for you if you will be transcoding a large amount of video files. It handles the main file types like DV and mpeg2. It also will capture video from a DV

Fwd: [Flashcoders] Job Opportunity - Melbourne, Australia

2006-11-08 Thread Miles Thompson
Aerin, I know it's miles distant from Brisbane, but did you see this on Flashcoders? Miles We are looking for a Senior Flash Developer / Interaction Designer for our Melbourne Office. Join our expanding, vibrant and innovative team in creating award winning web solutions for Australia's

Re: [Flashcoders] Recommended encoding rates for FLV?

2006-11-08 Thread Reuben Stanton
Thanks, that was very helpful. Reuben On 04/11/2006, at 5:31 AM, Clark, Craig wrote: I have been using video in Flash since it was first introduced. So I will tell you what I know from my experience. I agree with Bjorn. The website he suggests is a great resource. I will also point you

Re: [Flashcoders] am i stupid?

2006-11-08 Thread Carl Welch
what about onMouseDown? -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 On 11/8/06, John VanHorn [EMAIL PROTECTED] wrote: on the root timeline: this.onPress = function(){ trace(this); } does not work? the _root/_level0 movie does not take onPress or onRelease? other

Re: [Flashcoders] am i stupid?

2006-11-08 Thread John VanHorn
onMouseDown works fine.which got me to thinking that when your on the root, onMouseDown and onPress are essentially the same event, since your mouse is always over the root. that makes sense. but, at least to me, it doesnt make sense that one works and the other one doesnt. On 11/8/06, Carl

Re: [Flashcoders] am i stupid?

2006-11-08 Thread Jonathan Fung
use a mouse event listener... you'll be glad you did (especially if you have other buttons on stage) On 11/8/06, John VanHorn [EMAIL PROTECTED] wrote: onMouseDown works fine.which got me to thinking that when your on the root, onMouseDown and onPress are essentially the same event, since

Re: [Flashcoders] am i stupid?

2006-11-08 Thread Patrick Ashamalla
onMouseDown is a 'mouse' event that is independent of the movie. The movie simply can define a handler to run when the onMouseDown even occurs. Put a square symbol on the stage named 'box' and place this code on the script layer... box.onMouseDown = function () { trace('function called'); }

[Flashcoders] efficient line segment intersection algorithm?

2006-11-08 Thread Millie Niss
As part of an app I'm writing, I need users to be able to manipulate a drawing of a graph: Specifically, I have a bunch of circles (nodes) connected to each other by line segments (edges). Users can drag the nodes around within a fixed area (this part works), but I need to stop them from

  1   2   >