[Flashcoders] mx.logging package?
Hey guys, Any idea where I can get the mx.logging package? Is it an intrinsic or what? As3 corelib is dependant on it. Thanks in advance, Alias ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] FDT, version control and project files
Hey guys, Been a while since I posted here. I'm going to assume that you are all still alive and that not everyone has quit coding with actionscript and started using HTML5 for your website banner builds just yet... Anyway, I have a question about FDT and version control: What are people doing regarding working with teams of developers and using SVN in FDT? The new version of FDT has now removed its out of the box for subversive, which, although it has (many many) faults, is pretty much the best of a bad bunch when it comes to IDE integrated SVN. Anyway, I was wondering whether people have any thoughts on the (related) issue of working in teams and controlling your projects. Do you ignore the project files completely and let each developer do what he or she likes with them? Do you agree on a standard configuration? Or do you add your project files to svn and check out an FDT project via the "import... project from SVN" route? This third approach is what I usually do, and it's great for teams of developers about 99% of the time. However, that 1% of times when you have a version control problem, it's REALLY a problem. Your entire team grinds to a halt, you can't commit, everything goes basically pear shaped. Anyway, I was wondering is anyone has come up with a better solution than just using a seperate SVN client and manually managing all their files. Subversive has some very useful features and it's really nice once you get used to it. And I'm used to it. I guess I'm just set in my ways. Thanks in advance Alias ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Incredibly annoying and maddeningly simple task: get embedded bitmap
Aha, that makes sense. But counterintuitive though, isn't it? Alias On 20 July 2010 17:02, Henrik Andersson wrote: > The BitmapData class requires two arguments, width and height. I am not sure > on this, but I think that their values are ignored for bitmap symbols. But > you still need to pass the arguments. > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Incredibly annoying and maddeningly simple task: get embedded bitmap
Hi guys! It's along time since I've been on here, I hope there's someone still listening... Anyway, this is frustrating. I have some bitmap assets in a .fla file, and I want to add them to the stage. Simplest thing ever, right? Seemingly not... There are so many different ways to do this, and they all seem to end in type coercion errors. I am beginning to get annoyed. So I have the following setup: Flash IDE (CS4) library item, with base class flash.display.BitmapData, and a unique name: let's say Asset01 (there are several instances of similar but not the same assets, and I don't want to get into messing around with loaders and XML and whatnot) In actionscript I have the following: AssetBaseClass (which extends BitmapData) AssetContainer (which extends Sprite) I've tried various approaches. However, when I try to compile, I get either: TypeError: Error #1034: Type Coercion failed: cannot convert asse...@ to flash.display.DisplayObject. or one of the errors to do with the default constructor, or lack thereof. All I want to do is get an embedded bitmap from the library and attach it to the stage! Surely this is a simple task? Any pointers towards fully self contained examples or tutorials would be very much appreciated. Cheers, Alias ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Incredibly annoying and maddeningly simple task: get embedded bitmap
Hi guys! It's along time since I've been on here, I hope there's someone still listening... Anyway, this is frustrating. I have some bitmap assets in a .fla file, and I want to add them to the stage. Simplest thing ever, right? Seemingly not... There are so many different ways to do this, and they all seem to end in type coercion errors. I am beginning to get annoyed. So I have the following setup: Flash IDE (CS4) library item, with base class flash.display.BitmapData, and a unique name: let's say Asset01 (there are several instances of similar but not the same assets, and I don't want to get into messing around with loaders and XML and whatnot) In actionscript I have the following: AssetBaseClass (which extends BitmapData) AssetContainer (which extends Sprite) I've tried various approaches. However, when I try to compile, I get either: TypeError: Error #1034: Type Coercion failed: cannot convert asse...@ to flash.display.DisplayObject. or one of the errors to do with the default constructor, or lack thereof. All I want to do is get an embedded bitmap from the library and attach it to the stage! Surely this is a simple task? Any pointers towards fully self contained examples or tutorials would be very much appreciated. Cheers, Alias ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Open source Flash player petition to Adobe
Petition Adobe to open the player source here: http://www.openplayer.net/ Alias ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Open source Flash player petition
Petition Adobe to open the player source here: http://www.openplayer.net/ Alias ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Automated builds - your experiences?
Hi guys, I'm currently consulting on a project which involves setting up an automated build server, running a suite of unit tests, and then notifying the dev team of any failures/compiler errors, and consolidating this data in some form. However, the project is AS2/Flash IDE based. so we need to do some JSFL workarounds. I'd be interested in hearing about anyone's old JSFL automated build war stories - I know Johannes Nel has definitely done this - anyone else? Some questions to consider: - What's the best way to capture output from the flash IDE and feed it into Any info or insight much appreciated, Alias ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Drawing an arc with curveTo
Thanks Ivan, What I needed was the maths to calculate the positions of the control points - found it here: > Advanced drawing methods in Macromedia Flash MX: > http://www.adobe.com/devnet/flash/articles/adv_draw_methods.html Thanks, Alias 2008/8/4 Ivan Dembicki <[EMAIL PROTECTED]>: > Hello Alias, > > http://bezier.googlecode.com > need Bezier.setPoint method > http://bezier.ru/wp-content/uploads/2008/06/bezier.swf?demo=3 > You can approximate circle arc using quadratic bezier - minimal > number of curves for one circle is 8. > > Also you can look at AS1 library at layer51, for example: > http://proto.layer51.com/d.aspx?f=388 > > Also I can add usage examples to Bezier package > just I need to know what exactly you need. > > -- > iv > http://www.bezier.ru > http://bezier.googlecode.com > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Drawing an arc with curveTo
Hi guys, Can anyone point me towards some info on how to draw a proper curved arc in actionscript using curveTo? I've seen plenty of stuff about how to draw an arc using loads of short lines, but that isn't really going to cut it - I need this to be efficient and look good. I believe the crux of the matter is working out the correct coords for the control points - is there any info on computing the curvature of a line segment on a quadratic bezier? Has anyone cracked this? Thanks in advance, Alias ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] CS3 Debugger DOES NOT WORK ON OSX?
Ok - what's been happening for me is that I press ctrl + shift + enter, and then the CS3 IDE crashes. I've encountered this on the last 3 macs I've tried it on... This seems to be an issue for larger projects. Maybe this is the reason. Alias 2008/7/7 Irv Kalb <[EMAIL PROTECTED]>: > Long time lurker, first time poster. > > I'm not sure what it is about us old folks, but I believe a debugger is a > necessity too. Although I was told that it was unreliable, and nobody uses > it, I have been using the debugger on OSX with no problems at all. I have > found it very useful for learning. > > I am running Flash CS3 with ActionScript 3.0 only, on an iMac running OSX > 10.5.3. > > I set a breakpoint in my code by going to the left of an line or lines where > I want to stop, and click to the left of the line number. When I'm ready to > run, I go to Debug -> Debug Movie. The Flash runtime starts up, and the > program stops at my first breakpoint. The Debug Console window comes up and > gives me a stack trace, and at the bottom of the same panel, I see a > variables tab that shows me all my variables. On top of that window are > controls to Continue, Stop Debugging, Step Over, Step, and Step Out of. > > Works for me. I use it every day that I'm doing Flash/ActionsScript stuff. > > Irv > >> >> >> Message: 28 >> Date: Mon, 7 Jul 2008 08:23:35 +0100 >> From: " Alias? " <[EMAIL PROTECTED]> >> Subject: [Flashcoders] CS3 Debugger DOES NOT WORK ON OSX? >> To: "Flash Coders List" >> Message-ID: >><[EMAIL PROTECTED]> >> Content-Type: text/plain; charset=ISO-8859-1 >> >> Hi guys, >> >> I don't know if *anyone* out there besides me actually still uses the >> debugger in CS3, (I am old and will soon be made obsolete by younger, >> leaner, hungrier coders) but WTF is going on there? >> >> I've had this issue on 3 different macs (I just switched over this >> month) and I'm kind of hurting here for a debugger. >> >> Given that CS3 is a supposedly professional software development tool, >> SURELY Adobe would not be so stupid as to ship a product that had a >> completely rewritten debugger which simply failed to work on an entire >> platform? >> >> That sort of thing doesn't happen, does it? >> >> Does it? >> >> Back in the day I would have known who to call at Macromedia to >> complain/whine/shout/log bug reports, but that's all gone by the >> wayside since The Buyout. >> >> Anyone else had this problem? >> >> Alias >> > > -- > > Multimedia R Us > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] CS3 Debugger DOES NOT WORK ON OSX?
It just seems to cause CS3 to crash, regularly and randomly, so much so that it's almost totally unusable on OS X. This has happened on 2 differernt macs. Alias 2008/7/7 Kerry Thompson <[EMAIL PROTECTED]>: >> I don't know if *anyone* out there besides me actually still uses the >> debugger in CS3, (I am old and will soon be made obsolete by younger, >> leaner, hungrier coders) but WTF is going on there? >> >> I've had this issue on 3 different macs (I just switched over this >> month) and I'm kind of hurting here for a debugger. > > I still use the debugger extensively, whether I'm in Flash, Flex, or > Director. The best of the bunch is Flex, but, with my style of OOP coding, > the CS3 debugger works ok. But then, I'm on Windows, not Mac. > > What issues, specifically, are you running into in the debugger? Are you > writing AS2 or AS3? > > Cordially, > > Kerry Thompson > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] CS3 Debugger DOES NOT WORK ON OSX?
Hi guys, I don't know if *anyone* out there besides me actually still uses the debugger in CS3, (I am old and will soon be made obsolete by younger, leaner, hungrier coders) but WTF is going on there? I've had this issue on 3 different macs (I just switched over this month) and I'm kind of hurting here for a debugger. Given that CS3 is a supposedly professional software development tool, SURELY Adobe would not be so stupid as to ship a product that had a completely rewritten debugger which simply failed to work on an entire platform? That sort of thing doesn't happen, does it? Does it? Back in the day I would have known who to call at Macromedia to complain/whine/shout/log bug reports, but that's all gone by the wayside since The Buyout. Anyone else had this problem? Alias ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Help! Webcam + lineTo on mousemove = webcam freeze
Well for a start, you're going to be creating loads of geometry. Are you rendering your drawings to bitmaps at all? Sounds like a performance issue to me. Drawing vector lines takes CPU - this is just a fact of life. What I'd recommend is something along these lines: User presses mouse User draws with pen tool User releases mouse The line drawn is drawn to a bitmap Repeat. Does this make sense? It may not solve your immediate issue with the webcam, but you will definitely run into it sooner or later. Hope this helps, Alias 2008/6/29 Johnny Zen <[EMAIL PROTECTED]>: > Hi all > > I am writing an application where I have a whiteboard and webcam. > > When I freehand draw a lot using lineTo (sprite), the webcam freezes. > > (Drawing.graphics.lineTo(sourcePt.xPos, sourcePt.yPos);) - on mousemove > > Any idea why this would happen ? > > When I am drawing like crazy, I can see my webcam start to slow down > and then it gives up. - almost like a processing bottleneck ? > > Any help would be cool. > > > Thanks > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] E4X question
Hi guys, First, thanks for your help. The problem is now fixed, without having to change the XML. Whenever the term "best practices" comes up in a debate, it usually becomes a big long complicated discussion. I try to avoid the term, as it implies one way of doing something is inherently better than another, which is very rarely true. Instead, I would ask the question "whose best practices are we talking about here?" because anyone can stand up and claim that such and such is best practice, and as it's subject to opinion, there's never a resolution to the debate. 2008/7/2 Rich Shupe <[EMAIL PROTECTED]>: > I don't understand the subtleties here. Just because XHTML was following > it's own rules doesn't mean it was within best practices to use AS E4X to > parse it. I'm quite sure it is not considered best practice to work with > HTML in XML child nodes, without either CDATA or encoded entities, and your > experience reflected that. I have to say that it's certainly common practice - whether it's best is subject to debate. However, it does get projects done on time. > And, although my opinion is insignificant, I would have done exactly what > you did. Best practices are just that, guidelines for which we should > strive. But, since there's no XHTML parser at the ready, you work with what > you have. > All of this is beside the point, however. I did not cite your example as a > criticism. I prefer not to do that. I mentioned it because I was suggesting > that maybe this recent question was posed because the author couldn't change > the source, just as you couldn't. And, therefore (best practices or not) the > author had to work with a hyphenated attribute name. You are correct - changing the XML was not an option. Hence the post to flashcoders. > I think it would be difficult to find a defense for hyphenated attributes, > but there still may be times when you must work with them. They are deeply annoying, all right. It was surprisingly hard to find the answer online, too. Bad Google! Thanks for all your help, Alias ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] E4X question
Unfortunately, telling other people to change their entire XML structure and config doesn't usually win you a lot of friends... especially on a tight deadline. Thanks, Alias 2008/7/2 Steven Sacks <[EMAIL PROTECTED]>: > You might want to try following XML standards and best practices by not > using hyphens in XML node or attribute names. > > The only time I've seen hyphens in XML is when salespeople and other laymen > end up writing XML schemas. Why they're ever given authority to do such > things is beyond me. > > If it was me, I would fight tooth and nail to get those hyphens removed and > replaced with camel case. Best practices or die! ;) > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] E4X question
Hi guys, Quick E4X question. I have an XML node, with an attribute inside, the name of which contains a dash "-". How can I access the value of this node via e4x inside actionscript? FDT doesn't seem to like the concept at all... Example: I want to get the value of "some-attribute". Thanks in advance, Alias ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to install!
Can I just mention that I was totally disgusted that the installer now refuses to install on my secondary laptop, due to it being below the minimum spec. I actually switched to using Corel Draw on that machine. I never thought I'd ever admit to that in a public forum. Alias On 19/06/07, Muzak <[EMAIL PROTECTED]> wrote: The install size has indeed increased. That's because you're no longer just installing Flash but a whole bunch of (use your imagination) that is needed for integrating with other Adobe products. And yes, it takes forever to install (at least it did here). I had to uninstall a CS3 suite from my laptop which took hours (seriously). They need to look into this if you ask me. regards, Muzak - Original Message - From: "JulianG" <[EMAIL PROTECTED]> To: Sent: Tuesday, June 19, 2007 10:31 PM Subject: [Flashcoders] Flash CS3 over 400 MB! and 25 minutes to install! >I saw this coming... Once Adobe take over Macromedia, things would start to happen. > Bad things, I mean. > > How come Flash CS3 Installer is over 400 MB, when Flash 8 was only 110 MB?? > While I'm writing this the application in being installed (less than 50% progress). > How is it possible that it's taking AGES to do finish! > It almost seems like I was installing... I don't know Photoshop, or some other buggy Adobe software. Oh! s**t I am! > > I'm scared! I hope they don't screw it with the Flash Player. That'd be quite harmful for us. I think. > I don't see people updating Flash Player if it's 30MB or annoying in some other way. > > Perhaps you guys had this discussion some time ago. > Do you have any URLs I can read about this, so I can find out if it is just me paranoid? > > Thanks, > JulianG ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] asfunction and single param
If you're using firefox, trying to get around the popup blocker is a whole world of pain. Alias On 19/06/07, Raphael Villas <[EMAIL PROTECTED]> wrote: Hi everyone, I'm generating a hyperlink within a textarea component. I'd like to do a getURL by generating HTML that includes the hyperlink, opening up the page in a new window. So far, I have managed to generate the link and open up the page, but not in a new window. It would be great to use an asfunction call to a method that uses getURL with a "_blank" parameter, but it doesn't seem to be working for me. Any help is appreciated. If there's a better way to do this, do let me know. Here's my code: /** * This works **/ switch ( tNode ) { case "web" : var tURL:String = dealerNode.childNodes[y].childNodes [0].nodeValue.trim(); //This picks up the url var webURL:String = "Website: "; theOutput += webURL; break; } // Another switch statement closes the font and hyperlink tags /** * Here's my altered code... Since I can only pass in one parameter, I'm defining a function to open the link in a new window, but it doesn't work **/ switch ( tNode ) { case "web" : var tURL:String = dealerNode.childNodes[y].childNodes [0].nodeValue.trim(); //This picks up the url var webURL:String = "Website: "; theOutput += webURL; break; } function openInBrowser(url){ getURL(url); trace(url); //This doesn't work either }; ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Bitmap text (no anti-alias) still aliasing?
Don't use the "bitmap text" option in the properties tab, set the font to "_sans", "_serif", or "_typewriter" instead. This will force flash to use the machine's local device fonts instead. The only drawback with this is that you may run into issues with masking/fading the text, but it should be manageable if you're aware of the constraints from the start. Hope this helps, Alias On 13/06/07, matt stuehler <[EMAIL PROTECTED]> wrote: All, I'm working on an application with lots of long text content using 11pt fonts. To enhance readability, I'm using Bitmap text (no anti-alias). However, in long (tall) static text blocks, PARTS of the text are aliasing. In other words, the first few paragraphs will have have no anti-alias, then a few paragraphs will, and then the last few won't, even though it's all part of the same static text field. I've ensured that the _x and _y co-ordinates are integers, as are the _x and _y co-ordinates of the movieclip that contains the text field. And that movieclip is on level 0, so that means that the text field is definitely on integer pixels. The result is that the text looks terrible - parts are crystal clear, and other parts are blurry - the inconsistency is what's so annoying. Has anyone else run into this problem, or come up with a solution? I've tried a variety of fonts, and line-spacing, to no avail. Many thanks in advance for your advice and insight! Cheers, Matt Stuehler ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Debugging browser/plugin interaction
Hi there, I was wondering if anyone could help me out on this... For reasons which I won't go into, I want to observe what calls the flash player (mozilla plugin) makes to the browser via the mozilla plugin (NPAPI). Specifically, I'd like to find out what's happening when a URL, javascript or asfunction link is clicked. I'm guessing that one of the four URL methods are called: http://web.archive.org/web/20040203100442/devedge.netscape.com/library/manuals/2002/plugin/1.0/develop.html#1001184 Ideally, it would be cool if I could just get a tool which I could load the mozilla plugin into, and monitor the NSAPI calls as I interact with the flash player. Failing that, does anyone know for sure what parameters the player uses? I suspect it would be different in many different scenarios Does anyone know if this is possible? Or do I have to learn C++ and compile the Firefox source code myself? Thanks in advance, Alias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] OT: Salary Questions
Yeah, if you wanna buy a house in London you're looking at £200k - £300k minimum... So it all evens out... Alias On 18/04/07, Zeh Fernando <[EMAIL PROTECTED]> wrote: > Here in México a Senior with these skills. U$15k-U$20k at year. > A game developement manager (Flash Guru) like me and others 6 people in the > country. U$32k-U$37k at year > :.( > We are fucked Similar values apply to our market here (in Brazil). But you have to take the cost of living of the country/city/state into consideration. I'm not sure how's that on Mexico, but I bet it's cheaper than, say, living in downtown NYC... It's not like someone turns filthy rich just because of a location change. Different places, different scales. Zeh ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] OT: Salary Questions
And exploitation by multinationals! On 18/04/07, Tom Huynen <[EMAIL PROTECTED]> wrote: not true, you can enjoy the sun of mexico ;) On 4/18/07, Andrés González & Aragón <[EMAIL PROTECTED]> wrote: > > Here in México a Senior with these skills. U$15k-U$20k at year. > > A game developement manager (Flash Guru) like me and others 6 people in > the > country. U$32k-U$37k at year > > > :.( > > We are fucked > > > 2007/4/18, Alias™ <[EMAIL PROTECTED]>: > > > > That's USD, right? > > > > $100,000 = £49,704.66 = € 73,462.297 > > > > Alias > > > > On 18/04/07, Weyert de Boer <[EMAIL PROTECTED]> wrote: > > > 100-120K nice... > > > ___ > > > Flashcoders@chattyfig.figleaf.com > > > To change your subscription options or search the archive: > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > Brought to you by Fig Leaf Software > > > Premier Authorized Adobe Consulting and Training > > > http://www.figleaf.com > > > http://training.figleaf.com > > > > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > > -- > Andrés González Aragón > Desarrollador Multimedia > http://www.quantium.com.mx > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] OT: Salary Questions
That's USD, right? $100,000 = £49,704.66 = € 73,462.297 Alias On 18/04/07, Weyert de Boer <[EMAIL PROTECTED]> wrote: 100-120K nice... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Make page ads refresh on Flash click events
Right - FABridge is awesome, but might be a bit too bleeding edge for this particular purpose... http://flexapps.macromedia.com/labs/fabridge/samples/FABridgeSample.html Marlon - what player version are you targeting? How far along is your project? Are you using AS2 or AS3? Where are your ads coming from? Are you using a commercial ad server (e.g. Tangozebra, Doubleclick, etc)? Let us know, Alias On 13/04/07, Johannes Nel <[EMAIL PROTECTED]> wrote: its been replaced by FABridge On 4/13/07, Alias™ <[EMAIL PROTECTED]> wrote: > > Check out the Flash/Javascript integration kit. > http://weblogs.macromedia.com/flashjavascript/ > > HTH, > Alias > > On 13/04/07, Marlon Harrison <[EMAIL PROTECTED]> wrote: > > I'm working on a flash app that will be embedded in a page that hold > three > > ad units. The flash app holds alot of content so its been requested > that I > > set it up t to refresh the three ad units when a user clicks to a > different > > section of the app. I've been googling this but haven't come up with a > good > > solution. Has anyone come across this before? Is there some javascript > that > > I can ask to have included in the page that works across major browsers > that > > can accomplish this? > > ___ > > [EMAIL PROTECTED] > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > ___ > [EMAIL PROTECTED] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- j:pn http://www.lennel.org ___ [EMAIL PROTECTED] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ [EMAIL PROTECTED] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Make page ads refresh on Flash click events
Check out the Flash/Javascript integration kit. http://weblogs.macromedia.com/flashjavascript/ HTH, Alias On 13/04/07, Marlon Harrison <[EMAIL PROTECTED]> wrote: I'm working on a flash app that will be embedded in a page that hold three ad units. The flash app holds alot of content so its been requested that I set it up t to refresh the three ad units when a user clicks to a different section of the app. I've been googling this but haven't come up with a good solution. Has anyone come across this before? Is there some javascript that I can ask to have included in the page that works across major browsers that can accomplish this? ___ [EMAIL PROTECTED] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ [EMAIL PROTECTED] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash CS 3 Professional -- compile AS2 code?
Yes. HTH, Alias On 13/04/07, vipin chandran <[EMAIL PROTECTED]> wrote: Hi all, CS3 professional seems to be a good release with AS3 support. I have a question here as my company is all set for an upgradation. Will we be able to compile AS2 code in Flash CS3 Professional? Thank you, --vpn ___ [EMAIL PROTECTED] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ [EMAIL PROTECTED] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] You Tube + Progressive download of flvs
The youtube video player is apparently based on (or very similar to) Jeroen Wijering's free(for noncommercial use) player: http://www.jeroenwijering.com/?item=flash_video_player HTH, Alias On 10/04/07, Sumeet Kumar <[EMAIL PROTECTED]> wrote: Hi All Can any one tell me what YouTube is using for playing the flv's? Progressive download or Video Streaming. Regards Sumeet Kumar ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] flash and Arabic
Hi Omar, How well has this worked out? Does the text display properly? Are the issues to do with RTL text input a major problem? I'd be very interested to know. Sincerely, Alias On 27/03/07, Omar Fouad <[EMAIL PROTECTED]> wrote: I work A lot using arabic in flash... I used to write arabic text dynamically into dynamic textfields, from xml, or action script in run time... Or by writing the arabic text in Free Hand, Than breaking it into vector and pasting it into flash as Vector... On 3/26/07, James Tu <[EMAIL PROTECTED]> wrote: > > We have an approach to deal with a list of 100 phrases in Arabic. > When you copy and paste a phrase of Arabic into a Flash textbox, > Flash reverses it! So, we first reversed the characters outside of > Flash and then copied and pasted the phrases into Flash. Problem > solved right? > > We'll, when someone that can read Arabic read it, they told us that > the characters look funny. In essence, the characters weren't > connecting to each other correctly! It's as if you took a cursive > font and laid out the characters and the cursive writing was not > continuous. > > Does anyone have any suggestions on handling Flash and Arabic? I did > some extensive searching and there aren't any definitive > solutions...Some suggested using a special Flash Arabic font, which I > couldn't find. > > Help! > -James > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- Omar Fouad - Digital Emotions... Love is always patient and kind. It is never jealous. Love is never boastful nor conceited It is never rude or selfish. It does not take offense and is not resentful. Love takes no pleasure in other people's sins...but delights in the truth. It is always ready to excuse, to trust, to hope... and to endure... whatever comes. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash CS3 Announced
The flash 9 beta has been available on adobe labs for quite some time now. http://labs.adobe.com/technologies/flash9as3preview/ HTH Alias On 28/03/07, Russell Sprague <[EMAIL PROTECTED]> wrote: So is this the "next version" of Flash, or is it just Flash 8 with AS3 support? It would seem odd to me if they released Flash 9 with out ever having a beta. Russ Ian Thomas wrote: > For those who haven't seen it yet, Adobe's site has been updated with > details about Flash CS3 (and the rest of the new Creative Suite). > > http://www.adobe.com/products/flash/ > > Ian > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > > > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Got milk? (the game)
Cheaty as in "produces insufficiently randomised numbers" or cheaty as in "not utilising proper 3d/physics"? Because I was wondering about that... Alias On 23/03/07, Joe Wheeler <[EMAIL PROTECTED]> wrote: That dice is cheaty! It's a dirty cheaty dice. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kerem Iseri Sent: 22 March 2007 19:25 To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Got milk? (the game) Really amazing game but i dont think there is hard programming behind it. Maximum 2 developer can handle the coding. I think graphics and 3d's are so cool. It takes a lot of time to get these kind of qualified and optimized renders. Its beautiful. Respect!! :) Kerem. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, March 22, 2007 4:16 PM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Got milk? (the game) WOW! http://www.gettheglass.com How much time for this game project? How much developer? C'est magnifique! -- Laurent Untereiner > skype : laurentuntereiner > aim : luntereiner > icq : 294429730 > msn : [EMAIL PROTECTED] > http://www.untereiner.com < mes photos sur fotolia: http://www.fotolia.fr/p/116/partner/116 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com __ NOD32 1.1391 (20060201) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Annoying, (should be simple) bitwise problem
Hi guys, This is annoying me - I'm just trying to get the seperate RGB component values out of a hex number, then manipulate and reconstruct them. var col = 0xFF; r = col >> 16; g = col >> 8 % 255; b = col % 255; trace("r="+r.toString(16)); trace("g="+g.toString(16)); trace("b="+b.toString(16)); col2 = r <<16 + g << 8 + b; trace("col2="+col2.toString(16)); Anyone got any idea why this isn't working right? My blue values are doing all sorts of wierd stuff - getting smaller, flipping out etc - is it a modulo problem maybe? Should be simple but this always gets me... Any help much appreciated, Alias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Anyone hate flash 9 already?
Could you be more specific as to why one might do so? Curious, Alias On 13/02/07, Arseniy Shklyaev <[EMAIL PROTECTED]> wrote: Anyone hate flash 9 already? -- -Arseniy Shklyaev ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash Lite 2.1
This book is worth checking out: http://www.friendsofed.com/book.html?isbn=1590595580 HTH Alias On 06/02/07, Martin Klasson <[EMAIL PROTECTED]> wrote: Hi Flashcoders, Do you have tips on where to find the best sources of information about Flash Lite development outside the adobe.com domain? Or is there a mailing-list, or is Flashcoders the place to talk and discuss Flash Lite problems and practices on? / martin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Antialiasing BitmapData in AS2?
Can you throw the example image onto a web server so we can see it? The list strips out attachments :( Alias On 01/02/07, Henry Cooke <[EMAIL PROTECTED]> wrote: Hey all, I've been mucking about with a metablob-type thing, and have got it rendering quite nicely. However, it only renders a black-or-white (1bit) bitmap - does anyone know of a good technique to do fast antialiasing on such a bitmap? I've tried blurring a bit (which is slow as hell, and looks crap) and rendering at 1/2 res and scaling up with a draw() with smoothing on, which also looks crap. Any better suggestions? Example image attached. h. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] SWF Decompiler
Haven't used eltima, but I'd generally recommend ASV as being the best decompiler going. http://www.buraks.com/asv/ HTH, Alias On 12/12/06, Andy Herrman <[EMAIL PROTECTED]> wrote: Hey all, At work I've run into a situation where I need to decompile some SWFs. A few weeks ago I had looked for one, but couldn't find any good free ones. It looks like the company may be willing to buy one, so I'm wondering if anyone here knows which are the good ones. The two I found demos for and tried were: * Sothink SWF Decompiler (http://www.sothink.com/product/flashdecompiler/) * Eltima Flash Decompiler (http://www.eltima.com/products/flashdecompiler/) >From the demos I couldn't really tell if either were particularly good, as they both had restricted demos. Has anyone on this list used either of these, or other ones, before? Any suggestions? -Andy ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Need to reload page ads on Flash event clicks.
If you could provide more info about how the ads are served, that would help people to answer your question. Are you serving these ads from doubleclick/tangozebra/atlas/eyeblaster/other? Are they swfs/gifs/jpegs/all of the above? Do you have full control of the page? HTH, Alias On 07/12/06, Marlon Harrison <[EMAIL PROTECTED]> wrote: I have a page with a fairly detailed Flash app embedded. There are also 3 ad units on this page. I'd like to setup the swf to force the three ad units to refresh when a user navigates through to a new section of the flash app. I assumed I'd need to setup iframes around the adds, then call some js function from Flash which performs a document.location action on the iframes, and it seems to be working in Firefox, but not IE. Has anyone needed to do something similar and maybe offer some insight? Thanks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Freelancer Class
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(); newObj.onLoad = myFunction; ..class continues Then you have to use "this". Just sayin'. HTH Alias On 07/11/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote: > I know I don't have to. > But I think the code is more clear that way. Classes will not compile if you try to access variables that are not declared in the class. So by accessing a variable, it is inherently referring to "this" because it absolutely must be, thus that particular use of "this" is redundant and a remnant of the days of AS1 classes (prototype) and maintaining scope within them. That's not to say "this" doesn't have its place, but since its place is more refined now, I find it's more important to reserve its use for those times so it stands out that much more. However, everyone has their own style and if using "this" gives you warm fuzzies, then who am I or anyone to take that away from you? :) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Metaliq components resources?
Hi guys, I've recently purchased the developer's edition of the metaliq mCom ui components (developed by the ever-wonderful Grant Skinner), and I was just wondering if there were any mailinglists/forums/wikis/support groups for them? I'm generally quite happy with them, but as with all component sets they come with their own special peculiarites. It would be good to check out what issues have come up/been fixed, etc. Thanks in advance, Alias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] New Flash Video Site.
Ok, I don't want to get into this, so I won't post any further on this thread. I just think that Muzak could have been a litttle more polite about it. Also, when english is not someone's first language, I think it's a little rude to make fun of their grammar. No-one complains when Nicholas Canasse makes english grammatical errors, I think that everyone should be afforded the same level of coutesy. I spend a lot of time reading this list and I don't see why people shouldn't be polite to one another. Anyway, no further comment. Alias On 24/10/06, Toby <[EMAIL PROTECTED]> wrote: Does that mean I can post my sites when I finish them Alias? Because in all fairness this would be a top spot too... But I am well aware that is not what this list is for, so I look for alternate ways of gathering feedback. To be honest I think you need a forum or similar for these things. This is my very humble flash noobie opinion ofcourse. Ps: check the dudes quote; "hey guys! Im writing to you to expose my work." Not really a... please help me... its more, check out what I did... Sorry to be a party pooper. T > -Original Message- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of AliasT > Sent: 24 October 2006 18:25 > To: Flashcoders mailing list > Subject: Re: [Flashcoders] New Flash Video Site. > > Thanks for that, Muzak. > > However, if Ivan needed to figure out, for example, why the video wasn't > working correctly on the FP9 linux alpha, we could keep talking about > that, > right? > > Yours etc. > Alias > > On 24/10/06, Muzak <[EMAIL PROTECTED]> wrote: > > > > http://osflash.org/flashcoders/etiquette > > > > > > No sitechecks > > FlashCoders is just plain and simply not the place for sitechecks. > > > > > > regards, > > Muzak > > > > - Original Message - > > From: "Ivan Dario Sosa Prieto" <[EMAIL PROTECTED]> > > To: "Flashcoders mailing list" > > Sent: Tuesday, October 24, 2006 5:25 PM > > Subject: [Flashcoders] New Flash Video Site. > > > > > > > hey guys! Im writing to you to expose my work. > > > > > > Im a Flash developer working for Wunderman in Colombia, SouthAmerica. > We > > have developed the first Flash Video site in our country, > > > and probably on the region. This is our fisrt attempt, so its not > > perfect, but I think it we made a good job. > > > > > > The website is in spanish, so please try to "guess" what it says and > > register, because the most interactive part of the website is > > > on the Cell phone Show Room, at the end of the registration and > > inmediately after you dress the model (a famous one here on our > > > country). > > > We were hired by NOKIA to develop this website and promote their NOKIA > > 6131 model here in Colombia. > > > I hope you guys enjoy it and review it!! > > > Regards from the land that produces the best coffee on the world. > > > > > > Ivan Sosa. > > > > > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] New Flash Video Site.
Thanks for that, Muzak. However, if Ivan needed to figure out, for example, why the video wasn't working correctly on the FP9 linux alpha, we could keep talking about that, right? Yours etc. Alias On 24/10/06, Muzak <[EMAIL PROTECTED]> wrote: http://osflash.org/flashcoders/etiquette No sitechecks FlashCoders is just plain and simply not the place for sitechecks. regards, Muzak - Original Message - From: "Ivan Dario Sosa Prieto" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Tuesday, October 24, 2006 5:25 PM Subject: [Flashcoders] New Flash Video Site. > hey guys! Im writing to you to expose my work. > > Im a Flash developer working for Wunderman in Colombia, SouthAmerica. We have developed the first Flash Video site in our country, > and probably on the region. This is our fisrt attempt, so its not perfect, but I think it we made a good job. > > The website is in spanish, so please try to "guess" what it says and register, because the most interactive part of the website is > on the Cell phone Show Room, at the end of the registration and inmediately after you dress the model (a famous one here on our > country). > We were hired by NOKIA to develop this website and promote their NOKIA 6131 model here in Colombia. > I hope you guys enjoy it and review it!! > Regards from the land that produces the best coffee on the world. > > Ivan Sosa. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [FlashCoders] Delegates and performance
I think the issue is that due to the use of inner functions, the parameters stay in memory, including the execution scope object. "The scope object as well as the extra parameters might have been deleted from the Delegate function object, but they still remain inside the inline function. Excuse me? Yes, this is true. Every single inline function created inside the Delegate.create() method stays on memory." HTH, Alias On 24/10/06, Hans Wichman <[EMAIL PROTECTED]> wrote: Hi, exactly "The garbage collector will not remove references to delegates that are still being used". Doesnt that mean that if you already nicely set your delegates to null, you are done? Example: obj.ref = Delegate.create (otherObj, otherFunc); As long as obj.ref is in memory, otherObj and otherFunc will be too. Now if I do obj.ref = null, the delegate can be removed, as will the otherObj and otherFunc. Since obj.ref pointed to the inner function, which held a reference to the activation object containing otherObj and otherFunc, they couldnt be removed before, but after nulling the ref, they can? I did some other tests, to check if eg function init() { var myVar = 10; obj.ref = Delegate.create ()... } would cause myVar to be kept as well (as it would have been when you'd done obj.ref = function() {...}), but that was not the case. It seems to me the biggest pitfall would be code in which you'd go: function init(clip:MovieClip) { //1:setup handlers here //2:declare some variables here //etc etc clip.onEnterFrame = function () { //code goes here } } without relealizing, that becoz of the function assignment to clip, everything you have done under //1 and //2 is still in memory, and that you should be aware of this. I don't see how lots and lots of delegates, whose references are *appropriately released *will cause the problems described? greetz JC On 10/24/06, Alias™ <[EMAIL PROTECTED]> wrote: > > The garbage collector will not remove references to delegates that are > still > being used - only ones that are no longer being referenced by anything > else. > It uses reference counting, so this will not cause any wierd > > That's a great article - although I now have to go through all my code and > figure out where I need to call Delegate.destroy()... I have a VJing app > which gets more and more unreliable the longer it runs and I bet this is > why. > > HTH, > Alias > > > > On 24/10/06, Hans Wichman <[EMAIL PROTECTED] > wrote: > > > > Hi Dimitrios, > > > > i was reading your article and the referenced article in which it says: > > > > Once the inner function is removed from memory (for instance if the > object > > to which the inner function was attached is removed), then the unique > > reference to the activation object also gets deleted and the garbage > > collector will (should) delete both the inner function and the > activation > > object of the outer function at the same time. > > > > Now the inner function is what is returned when you use Delegate.create. > > It > > seems to me mostly when using a Delegate, you want it to have those > > references until you dont need the delegate itself anymore. So setting > the > > reference to the inner function to null, should take care of the rest? > I'm > > probably missing something here. > > > > greetz > > JC > > > > On 10/16/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: > > > > > > Hello everyone, > > > > > > I had a really big issue recently, when I realized that the > performance > > of > > > a large-scale game > > > I built in Flash dropping substantially after 1/2 hour of gameplay, to > > the > > > point where > > > the game became wy too slow to play. > > > > > > After exhausting tests I found out that this was caused by the > extended > > > use of Delegates > > > with parameters (I always make sure I don't leave garbage sitting > around > > > when I destroy > > > objects of all of my classes, so that was not the issue). > > > > > > Spending one week on this, I managed to spot the problem and find a > > > solution, > > > writing a new Delegate class that was taking care of cleaning up > > function > > > objects. > > > > > > I thought this would interest quite a few people, so I wrote an > article > > on > > > this. You can > > > read at www.zefxis.gr/article-delegates. You can also download the > > > Delegate class > > > I wro
Re: [FlashCoders] Delegates and performance
Argh, pressed send too soon... I meant to say: The garbage collector will not remove references to delegates that are still being used - only ones that are no longer being referenced by anything else. It uses reference counting, so this will not cause any wierd vanishing function issues. HTH, Alias On 24/10/06, Hans Wichman <[EMAIL PROTECTED]> wrote: HI, well especially for game programming where you'd do a lot in the IDE and in code, FLASC or FlashDevelop would be great. Its not a question then of whether you should use one OR the other, its more a question of WHEN. I ussually use both the IDE and FlashDevelop or a batch at the same time. Like Steven said, if you change your library or timeline, export in the IDE, if you change the code, rebuilt in mtasc. Once you get used 1 second compile times, you never want to go back... greetz JC On 10/24/06, Alias™ <[EMAIL PROTECTED]> wrote: > > There's nothing wrong with using the IDE if it suits you better. > MTASC is cool, but you should use the right tool for the job. > If that's the IDE, then that's what you should use. > > Alias > > On 22/10/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: > > > > Yeah, I know that Steven. Unofrtunately I'm still using the IDE > > for some complex sprite animations, eventhough I know I shouldn't. > > > > The IDE compile time really sucks. I hope I'll start using MTASC soon. > > > > Thanks, > > > > Dimitrios > > > > > > - Original Message - > > From: "Steven Sacks | BLITZ" <[EMAIL PROTECTED]> > > To: "Flashcoders mailing list" > > Sent: Friday, October 20, 2006 9:11 PM > > Subject: RE: [FlashCoders] Delegates and performance > > > > > > You should look into using MTASC via FLASC to compile your games. Since > > games are mostly code, you'll save yourself a ton of time by using > > MTASC. The difference in compile time is astounding. MTASC compiles in > > about one second when the IDE can take much longer. > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > > > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [FlashCoders] Delegates and performance
The garbage collector will not remove references to delegates that are still being used - only ones that are no longer being referenced by anything else. It uses reference counting, so this will not cause any wierd That's a great article - although I now have to go through all my code and figure out where I need to call Delegate.destroy()... I have a VJing app which gets more and more unreliable the longer it runs and I bet this is why. HTH, Alias On 24/10/06, Hans Wichman <[EMAIL PROTECTED]> wrote: Hi Dimitrios, i was reading your article and the referenced article in which it says: Once the inner function is removed from memory (for instance if the object to which the inner function was attached is removed), then the unique reference to the activation object also gets deleted and the garbage collector will (should) delete both the inner function and the activation object of the outer function at the same time. Now the inner function is what is returned when you use Delegate.create. It seems to me mostly when using a Delegate, you want it to have those references until you dont need the delegate itself anymore. So setting the reference to the inner function to null, should take care of the rest? I'm probably missing something here. greetz JC On 10/16/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: > > Hello everyone, > > I had a really big issue recently, when I realized that the performance of > a large-scale game > I built in Flash dropping substantially after 1/2 hour of gameplay, to the > point where > the game became wy too slow to play. > > After exhausting tests I found out that this was caused by the extended > use of Delegates > with parameters (I always make sure I don't leave garbage sitting around > when I destroy > objects of all of my classes, so that was not the issue). > > Spending one week on this, I managed to spot the problem and find a > solution, > writing a new Delegate class that was taking care of cleaning up function > objects. > > I thought this would interest quite a few people, so I wrote an article on > this. You can > read at www.zefxis.gr/article-delegates. You can also download the > Delegate class > I wrote and use it for you projects. > > I would appreciate any comments on this! > > Thanks, > > Dimtirios > > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [FlashCoders] Delegates and performance
There's nothing wrong with using the IDE if it suits you better. MTASC is cool, but you should use the right tool for the job. If that's the IDE, then that's what you should use. Alias On 22/10/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: Yeah, I know that Steven. Unofrtunately I'm still using the IDE for some complex sprite animations, eventhough I know I shouldn't. The IDE compile time really sucks. I hope I'll start using MTASC soon. Thanks, Dimitrios - Original Message - From: "Steven Sacks | BLITZ" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Friday, October 20, 2006 9:11 PM Subject: RE: [FlashCoders] Delegates and performance You should look into using MTASC via FLASC to compile your games. Since games are mostly code, you'll save yourself a ton of time by using MTASC. The difference in compile time is astounding. MTASC compiles in about one second when the IDE can take much longer. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Rendering flash 8 to video
Hi guys, Every so often, this question comes up, and I've never really gotten a satisfactory answer. So... I have a flash movie. I want to render it out to a video file, but of course I want to have all the timelines playing correctly and all the transparencies/filters properly rendered, etc. so save as... really won't cut it. As I understand, the only way to do this is to export via director. Is this still the case? And if so, does whatever version of director that is still in existence support flash 8? Anyone got any leads on this? Thanks in advance, Alias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Code review, please
Hear hear. Patterns are no magic bullet. Alias On 25/09/06, Andreas Rønning <[EMAIL PROTECTED]> wrote: "If you aren't you should" Knee jerk reaction: Nobody "should" use any pattern. They CAN use patterns if it benefits the project, benefits their mental health and provides for a better product. I probably read too much into it but pattern worship is useless, crippling and annoying. - A Per Bolmstedt wrote: > > Anggie Bratadinata wrote: > >> This is the simple app I created a few days ago, about which I'd like to >> have your expert advice on how to improve it or maybe how to code it in >> a much better way. > > > 1. Comment your code! It looks structured enough, so adding comments > should be easy. If you use FDT, using Javadoc is straightforward: > http://java.sun.com/j2se/javadoc/writingdoccomments/ > > 2. Are you using the MVC pattern? It's not really clear from the code, > but it looks somewhat like it. If you aren't you should; if you are, > maybe you could make it more clear, by changing class names, adding an > interface or two, or adding comments. > > 3. What's "hl.as"? It's an ill chosen file/class name. > > -- Per > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com -- - Andreas Rønning --- Flash guy Rayon Visual Concepts, Oslo, Norway --- ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] a question of geometry
And does the number of circles vary? Will it always be the same number? On 17/09/06, Andreas R <[EMAIL PROTECTED]> wrote: The circles can be any size. Alias™ wrote: > Ok, are the circles all the same size, or do they have the same length? > > Alias > > On 17/09/06, Andreas R <[EMAIL PROTECTED]> wrote: >> >> smart people, help a less smart one out: >> >> I'm faced with a problem similar to the seven circles theorem >> (http://mathworld.wolfram.com/SevenCirclesTheorem.html) in that i need >> to arrange x number of circles along a circular path, making sure they >> all touch their two neighbors. In this way, the path's radius is NOT >> given, but is rather made up from the sum of all the circles' diametres. >> >> I've boiled the problem down to this: I have a line of x length with y >> number of segments of nonuniform length. I know the final length of the >> line because i know the length of each individual segment. >> >> Now, i need to "bend" this line so that the end of the final segment >> touches on the beginning of the first one. As such, each segment must be >> given an angle somehow based on the overall amount of segments and their >> individual lengths. >> >> Beyond this, i'm stumped. I've been pouring over mathworld and google >> looking for such bendyness, and i've come up empty handed. >> >> Anyone have suggestions, possible solutions? >> >> Thanks, >> >> - A >> ___ >> Flashcoders@chattyfig.figleaf.com >> To change your subscription options or search the archive: >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> Brought to you by Fig Leaf Software >> Premier Authorized Adobe Consulting and Training >> http://www.figleaf.com >> http://training.figleaf.com >> > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] a question of geometry
Ok, are the circles all the same size, or do they have the same length? Alias On 17/09/06, Andreas R <[EMAIL PROTECTED]> wrote: smart people, help a less smart one out: I'm faced with a problem similar to the seven circles theorem (http://mathworld.wolfram.com/SevenCirclesTheorem.html) in that i need to arrange x number of circles along a circular path, making sure they all touch their two neighbors. In this way, the path's radius is NOT given, but is rather made up from the sum of all the circles' diametres. I've boiled the problem down to this: I have a line of x length with y number of segments of nonuniform length. I know the final length of the line because i know the length of each individual segment. Now, i need to "bend" this line so that the end of the final segment touches on the beginning of the first one. As such, each segment must be given an angle somehow based on the overall amount of segments and their individual lengths. Beyond this, i'm stumped. I've been pouring over mathworld and google looking for such bendyness, and i've come up empty handed. Anyone have suggestions, possible solutions? Thanks, - A ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Webcam color tracking
As long as you've only got one light, that approach should work. Alias On 12/09/06, Serge Jespers <[EMAIL PROTECTED]> wrote: Well... I need to be able to track a LED light. I want to be able to track the position of the light to substitute a mouse... Serge > depending on what you want to do, I've converted stuff to black and > white > (thank you keith peters) for easier tacking. Alias' suggestion is > in the > same vein of thought ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Webcam color tracking
No, I still used getColourBoundsRect. It works OK until you get more than one object of the same colour - then you end up getting big rectangles which span the distance between the two, which is bad. You could *probably* get around this with some kind of quadtree-type algorithm, it's something I've been meaning to look into, and will probably be going back to soon. (As soon as I get five spare minutes...) Also - Grant Skinner claims to have solved the problem, but AFAIK, he's only posted videos, not working examples, so I don't know what approach he used. A On 12/09/06, Serge Jespers <[EMAIL PROTECTED]> wrote: Interesting... So you didn't use getColorBoundsRect? Did you 'walk through' all pixels then? Or how exactly do you search for the color? Serge > Yeah, I've done some work with it. > > The trick is to apply some contrast filters to reduce the colour > depth, and > be a bit more picky about getting your source colour. You can do the > getColourBoundsRect thing, but it's still pretty inaccurate though. > > Alias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Webcam color tracking
Yeah, I've done some work with it. The trick is to apply some contrast filters to reduce the colour depth, and be a bit more picky about getting your source colour. You can do the getColourBoundsRect thing, but it's still pretty inaccurate though. Alias On 12/09/06, Serge Jespers <[EMAIL PROTECTED]> wrote: Hey guys, I was wondering if anyone has already tried webcam color tracking inside Flash 8 or 9...? So not the difference motion tracking that you see everywhere but tracking one particular color. Or I should say "range of colors"... I started out with getColorBoundsRect but that doesn't seem to be accurate enough or I just picked the wrong color... So... 1) Has anyone done it before? And if so, do you have a source laying around that could get me on the right track? 2) How does one select the correct color? Thanks in advance for your massive replies ;-) Serge ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Job postings ok?
How about: Job posts are OK, as long as people only reply to them offlist? HTH Alias On 07/09/06, Mike Britton <[EMAIL PROTECTED]> wrote: I'm surprised people are ok w/ job posts here. if (!codeRelatedPost) offTopic = true; Can a FlashJobPosts list be started? Job posts show us options, sure, but they aren't about code, they are about jobs. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] [JOB] Sr. Flash/AS Programmers (4), Los Angeles, CA | 70-125k
Can we end this OT please? This is far more annoying than the original job post, which we've established was within the acceptable bounds of the list etiquette. Thanks, Alias On 07/09/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: And a Sydney user group posting here is like jumping up on stage in the middle of the play in New York with an advertisement for a coffee shop in Sydney. ;) Jason Merrill Bank of America Learning & Organization Effectiveness - Technology Solutions ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] DRM for FLV
I don't see any evidence of that, although it's possible... Firstly, the swf claims to be a V7 swf, so it would be difficult to do that without either alpha channels or bitmapdata calls. However, the versioning on a swf doesn't necessarily mean very much. However, It's very possible that they wrote their own encoder - both the flv codecs are publicly documented. If I have time, I'll investigate this evening and see if anything else comes to light. Alias On 04/09/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: hi alias, thanks for your answer. on the german page they wrote that they encrypt the flv so a "normal" flv player cant play it. i ask and they say that they splitt a flv into 4 parts (x and y) and rebuild it in realtime with flash 8. i dont know how they did this! did they wrote an own flv encoder for this ? tom - Original Message - From: "AliasT" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Monday, September 04, 2006 6:25 PM Subject: Re: [Flashcoders] DRM for FLV > As far as I can tell from a cursory glance: > > > - It uses some kind of media server, probably flashcom/fms > - It uses a combination of MD5 hashing and LSOs to verify/store/retireve > user licence information > > I would be of the opinion that this DRM could be easily defeated. However, > I > haven't tried. > > Although this sounds like a challenge... > > Alias > > On 04/09/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> hi all, >> >> i got today an email from www.onlinelib.de >> >> they say that they had develope a drm system for flv files together >> with our german postbank. >> >> here is the link: >> http://www.onlinelib.de/VCS/DRM/drmPlayer1.html >> >> i would like to know if this is rtmp or if they use red 5 ?! >> >> is there a way to figure this out , tcpdump or so ? >> >> iam really need this info. >> >> thanks >> tom nerold >> >> ___ >> Flashcoders@chattyfig.figleaf.com >> To change your subscription options or search the archive: >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >> Brought to you by Fig Leaf Software >> Premier Authorized Adobe Consulting and Training >> http://www.figleaf.com >> http://training.figleaf.com >> > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] DRM for FLV
As far as I can tell from a cursory glance: - It uses some kind of media server, probably flashcom/fms - It uses a combination of MD5 hashing and LSOs to verify/store/retireve user licence information I would be of the opinion that this DRM could be easily defeated. However, I haven't tried. Although this sounds like a challenge... Alias On 04/09/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: hi all, i got today an email from www.onlinelib.de they say that they had develope a drm system for flv files together with our german postbank. here is the link: http://www.onlinelib.de/VCS/DRM/drmPlayer1.html i would like to know if this is rtmp or if they use red 5 ?! is there a way to figure this out , tcpdump or so ? iam really need this info. thanks tom nerold ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Euler angles...
What are you trying to do? Do you want to tween from one 3d position/rotation to another? How are you representing your objects? Alias On 01/09/06, Seb L <[EMAIL PROTECTED]> wrote: ... any crazy geniuses out there know how to generate euler angles for a 3D vector? Or i guess to calculate the rotation angles between 2 3D vectors? Any pointers would be greatly appreciated. I am losing it now... :-) cheers! Seb ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Advanced hitTest Detection
Hi Helmut, Not sure how much use you'll get out of this, but I did a talk a while back on this subject, and the conference notes can be found here: http://londonmmug.org/downloads/presentations/20040916-London-MMUG-Alias-Cummins-Flash-games.zip What you have here is an algorithm with exponential complexity - that is, it gets exponentially more resource intensive with each element added. Ideally, you would want an algorithm which would increase CPU load linearly (that is, adding a little each time you add a new element, rather than multiplying by itself). There are a number of techniques which you can use to reduce the workload on your code, however, it's hard to know what you're trying to do from looking at your code. Can you describe in a little more detail how you want this to work? Are you checking for collisions between any object and any other object? Where does the mouse position come into it? can you drag items? etc. Let me know, Alias On 31/08/06, Helmut Granda <[EMAIL PROTECTED]> wrote: Hello, I have 10 items on screen and only 2 of them have to match. so there is no problem saying itemA.hiTest(itemB). But now I have to know if itemA.hitTest(itemB) + itemC. The only way i got it to work is by having itemC onEnterFrame check if the mouse is on top of it. The issue here is that I have 8 items that are constantly runing the onEnterFrame and I was wondering if I could have some advice on how to avoid that. Here is some of the code: //basic code: for (i:Number = 1; i < 10; i++) { ..code here this["food" + i + "_single"].onRelease = this["food" + i + "_single"].onReleaseOutside = function () { //If Success if (object.hitTest(receiver)){ var id:Number = this._name.charAt(4); this._parent["food"+id].gotoAndStop("highlight"); makeItDissapear(itemNumFinal, this._width,this._height, _root._ymouse); } else { returnToOrigin (itemNumFinal, _root._xmouse, _root._ymouse); } } }; //Extra Items for (var j:Number = 1 ; j < 8 ; j++) { var idName2:String = "ram" + j; this.attachMovie ( idName2, idName2, this.getNextHighestDepth() + j) this["ram" + j]._x = ramInfo[j][0]; this["ram" + j]._y = ramInfo[j][1]; this["ram" + j].onEnterFrame = function() { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { trace("hit" + this._name); } } }; It all works puurfectly but I was trying to find a way to optimize and not have 8 items checking for hitText constantly. TIA -- ...helmut <http://helmutgranda.com> ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] >> empty HTML
Remove the "_blank" parameter, or try using loadVariables instead. HTH Alias On 8/30/06, Laurent CUCHET <[EMAIL PROTECTED]> wrote: Hello When I put a button allow download I get a blanck page and the download. Is there a way to avoid the white empty html page ? The script I use : on (release) { getURL("http://www.mywebsite.com/tools/CleanUp312.exe.zip","_blank";); } Thank you ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Class inheritance and scope
If the compiler was strict about enforcing semicolons I wouldn't have to reformat all my text strings not to have any line breaks. Joy. Alias On 8/29/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote: And one more thing - if the compiler complained to him to call super(), then he wouldn't have had this problem would he? I'll take a strict compiler any day. Don't encourage lazy coding; it only opens the door for bugs and confusing results. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] getting my info into flash
Hi Flash Guru, Try looking up amfphp/flash remoting. You could check out www.flashguru.co.uk for some tutorials on that type of thing. And maybe change your name to something else... Cheers, Alias On 8/22/06, Flash guru <[EMAIL PROTECTED]> wrote: Hey all, I have a project a that calls for a database to spit out results to a query and display it in flash. I'm using php and I've gotten to the point where I have the information I need but I don't know how to get full arrays back into flash. I've been searching for tutorials with no luck, can anyone point me in the right direction. thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] oop question kind of...
In what way were they not deleted? How have you assertained this? Also, what syntax are you using for removeMovieClip? A common mistake is to pass a reference to the movie you want to delete as a parameter, like so: removeMovieClip(myMc) Whereas actually, removeMovieClip is a member function of the MovieClip superclass, so you need to do: myMc.removeMovieClip() This is confusing because sometimes the first one works, depending on the scope you call it from. HTH Alias On 8/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >Have you tried using some kind of factory type approach > to manage your deletion/creation? yes, i use adts quite often...in fact i use the mvc pattern for quite a few apps i create. So i have views that instantiate whatever movieclips it needs and deletes them when it doesn't need them. the problem begins when a view needs to go away either because it is being replaced by another view or refreshed. i noticed that the clips that were supposed to be deleted weren't really...futhermore, when being reinstantiated, they won't accept values...they exist, but they're undefined somehow... b -- Original message -- From: Alias <[EMAIL PROTECTED]> > Hi there, > > For what it's worth... > > Previous to flash 8, the flash player uses both reference counting and > mark/sweep garbage collection, which kicks in every 60 seconds or so, > or when the number of allocated objects is increased by 20%. So the > reference counting takes care of the objects without circular > references, and the garbage collection takes care of the rest. > > removeMovieClip is problematic in that it's likely to leave lots of > hanging references, and there's not a great deal you can do about that > - it sounds like you have class dependancies outside of the movieclip > object itself. Have you tried using some kind of factory type approach > to manage your deletion/creation? > > Can you give more information about how your objects are being corrupted? > > Alias > > > On 8/21/06, [b) a d i wrote: > > > Have you tried mc.removeMovieClip() ? > > > > yes...i should have mentioned it... > > > > a little background... > > > > this is a question i've had for a long time, but didn't have anyone to ask > > it to :)...i've been on the macromedia forums, but most of the time i don't > > get the answer i need or i get some wise-aker who feels the need to > > over-compensate...i say that to express gratitude at having found > > flashcoders...populated by real flash coders :) > > > > > > the problem i have is after calling removeMovieClip or delete is that when i > > need to re-instantiate the object...it's either corrupt or not created > > properly...i was a little upset to find so many dangling pointers after i > > went thru so much trouble to clean up after myself... > > > > > > thanks > > > > b > > > > - Original Message - > > From: "Ramon Miguel M. Tayag" > > To: "Flashcoders mailing list" > > Sent: Monday, August 21, 2006 8:50 AM > > Subject: Re: [Flashcoders] oop question kind of... > > > > > > > Have you tried mc.removeMovieClip() ? > > > > > > On 8/21/06, [b) a d i wrote: > > > > Hi, > > > > i've noticed that just because you call delete on a movie clip or even > > an > > > > object doesn't mean that it totally goes away. Does anyone know how to > > > > destroy and object and really have it go away since there are no > > destructors > > > > in as2? > > > > > > > > thanks > > > > > > > > b > > > > > > -- > > > Ramon Miguel M. Tayag > > > ___ > > > Flashcoders@chattyfig.figleaf.com > > > To change your subscription options or search the archive: > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > Brought to you by Fig Leaf Software > > > Premier Authorized Adobe Consulting and Training > > > http://www.figleaf.com > > > http://training.figleaf.com > > > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > _
Re: [Flashcoders] oop question kind of...
Hi there, For what it's worth... Previous to flash 8, the flash player uses both reference counting and mark/sweep garbage collection, which kicks in every 60 seconds or so, or when the number of allocated objects is increased by 20%. So the reference counting takes care of the objects without circular references, and the garbage collection takes care of the rest. removeMovieClip is problematic in that it's likely to leave lots of hanging references, and there's not a great deal you can do about that - it sounds like you have class dependancies outside of the movieclip object itself. Have you tried using some kind of factory type approach to manage your deletion/creation? Can you give more information about how your objects are being corrupted? Alias On 8/21/06, [b) a d i <[EMAIL PROTECTED]> wrote: > Have you tried mc.removeMovieClip() ? yes...i should have mentioned it... a little background... this is a question i've had for a long time, but didn't have anyone to ask it to :)...i've been on the macromedia forums, but most of the time i don't get the answer i need or i get some wise-aker who feels the need to over-compensate...i say that to express gratitude at having found flashcoders...populated by real flash coders :) the problem i have is after calling removeMovieClip or delete is that when i need to re-instantiate the object...it's either corrupt or not created properly...i was a little upset to find so many dangling pointers after i went thru so much trouble to clean up after myself... thanks b - Original Message - From: "Ramon Miguel M. Tayag" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Monday, August 21, 2006 8:50 AM Subject: Re: [Flashcoders] oop question kind of... > Have you tried mc.removeMovieClip() ? > > On 8/21/06, [b) a d i <[EMAIL PROTECTED]> wrote: > > Hi, > > i've noticed that just because you call delete on a movie clip or even an > > object doesn't mean that it totally goes away. Does anyone know how to > > destroy and object and really have it go away since there are no destructors > > in as2? > > > > thanks > > > > b > > -- > Ramon Miguel M. Tayag > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] oop question kind of...
AS2 uses reference counted garbage collection, so to completely delete an object, you must delete all other objects that refer to it. Calling delete on a movie clip only removes the reference to the movieclip object on the stage. HTH, Alias On 8/21/06, [b) a d i <[EMAIL PROTECTED]> wrote: Hi, i've noticed that just because you call delete on a movie clip or even an object doesn't mean that it totally goes away. Does anyone know how to destroy and object and really have it go away since there are no destructors in as2? thanks b ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] vars with $
I disagree. We use them to denote class members, and I've found it very effective. Alias On 8/18/06, Greg Burch <[EMAIL PROTECTED]> wrote: Using $ in flash is just wierd :). There is no special meaning - I don't think it should even be valid. On 8/18/06, Tom Lee <[EMAIL PROTECTED]> wrote: > I've used it to indicate arguments in a function to clarify the origin of > the variable, like this: > > function myFunc($arg1,$arg2){ > trace($arg1+" : "+$arg2); > } > > I don't know where I picked that up, but for me it makes the code easier to > read since you know immediately they are arguments. I've seen people use > the underscore for the same purpose, but that can confuse things since > ActionScript uses that for some native properties (_x,_y). > > Does anyone else do this, or am I just in my own little universe? > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, > Jason > Sent: Friday, August 18, 2006 4:27 PM > To: Flashcoders mailing list > Subject: RE: [Flashcoders] vars with $ > > In addition, some programmers also use $ to indicate a string. > > Jason Merrill > Bank of America > Learning & Organization Effectiveness - Technology Solutions > > > > > > > >>-Original Message- > >>From: [EMAIL PROTECTED] [mailto:flashcoders- > >>[EMAIL PROTECTED] On Behalf Of Paul Venton > >>Sent: Friday, August 18, 2006 2:49 PM > >>To: 'Flashcoders mailing list' > >>Subject: RE: [Flashcoders] vars with $ > >> > >>I know PHP uses it and TorqueScript use "$" and "%" to differentiate > between > >>global ($) and local (%) variables but it has no special meaning in > Flash. > >> > >>-Original Message- > >>From: [EMAIL PROTECTED] > >>[mailto:[EMAIL PROTECTED] On Behalf Of > >>[EMAIL PROTECTED] > >>Sent: 18 August 2006 19:27 > >>To: Flashcoders mailing list > >>Subject: [Flashcoders] vars with $ > >> > >>Hi, > >>Can anyone tell me what special meaning vars with $ have... > >>thanks > >> > >>b > >> > >> > >>___ > >>Flashcoders@chattyfig.figleaf.com > >>To change your subscription options or search the archive: > >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > >> > >>Brought to you by Fig Leaf Software > >>Premier Authorized Adobe Consulting and Training > >>http://www.figleaf.com > >>http://training.figleaf.com > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AMES and ScrollBars
Check out actionstep: http://www.actionstep.org HTH Alias On 6/27/06, meerkat <[EMAIL PROTECTED]> wrote: Foreword: Some weeks ago I started developing with Flash. After one day I realized, that I don't like to develop with the Flash IDE at all and went over to the Open-Source way of developing flash-files. So my development environment just consists of Eclipse (with Ant-Tasks and ASDT) MTasc and SWFMill. Until now I was able to produce some nice effects with that build. But I'm running into some problems... I'm developing a small Flash-Website that contains large amounts of text. So I need Scrollbars the visitors can use to scroll the text up and down. The problem now seems to be, that I don't know where to get such ScrollBars. As mentioned, I don't use the Macromedia classes so (for sure) I can't use the components of it. Do you know any alternatives? Is it possible to get things like that (I think they are called V2 Components) working with AMES at all? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Junior Developer Flash/Flex Salary?
Lee, Adjusted for currency, $30k american is only around £16.5k. The tax is probably higher in the UK though. Hth, Alias On 6/22/06, Lee McColl-Sylvester <[EMAIL PROTECTED]> wrote: Commercial experience is totally different to working experience. I've 7 years professional commercial experience in Flash, 3 years commercial experience in .NET, 7 years in SQL Server, 2 years in Oracle, have been director twice plus have a huge list of other abilities, and all I can get is £30k a year. Damn bloody low british salaries :-( If I were you, I'd be happy with yer 55k :-P -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tristan Sent: 20 June 2006 16:47 To: Flashcoders mailing list Subject: [Flashcoders] Junior Developer Flash/Flex Salary? Does 30-55K a year sound right with benefits for a junior developer? I have a college degree and an extensive IT background but, I'm just now getting into a professional job environment developing but, I have been using flash for some time now. 30K sounds wa too low, would you agree? If someone had 2-3 years experience, what should a flash/flex developer get? What should they start at? Thanks T ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Junior Developer Flash/Flex Salary?
Salary discussions are generally considered off topic on this list. However - if you would like to solicit offlist responses, I'm sure no-one will mind. Also, it might help to specify currency. Hope this helps, Alias On 6/20/06, Tristan <[EMAIL PROTECTED]> wrote: Does 30-55K a year sound right with benefits for a junior developer? I have a college degree and an extensive IT background but, I'm just now getting into a professional job environment developing but, I have been using flash for some time now. 30K sounds wa too low, would you agree? If someone had 2-3 years experience, what should a flash/flex developer get? What should they start at? Thanks T ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Kerning algortihms
hi all, I've recently been doing some stuff involving complicated text manipulation/animation, and I've come to the conclusion that decent kerning is basically essential to this. Currently, my approach is based on laying the text out and interrogating the _x positions of each character (in a seperate movieclip) and using that as positioning data. However, although this is suitable for simple once-off purposes, it is obviously not practical for dynamic text. So, I'm wondering if anyone has any experience with kerning tables or some kind of kerning algorithm in flash? are there any good resources for this that you can point me towards? Thanks in advance, Alias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Wishlist email address?
Hi guys, Does anyone know what the new adobe email address for flash feature requests is? I'm thinking it's probably changed lately... Thanks in advance, Alias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Requesting reccomendation for testing already written classes
It would be extremely dangerous to use a tool that did so. However, AsUnit ships with some JSFL scripts will write your empty testcase stubs for you which will save you some work. HTH Alias On 4/17/06, Manuel Saint-Victor <[EMAIL PROTECTED]> wrote: > What is the best way to test classes that have already been written? Am I > looking at manually writing tests as my only solution? > > Mani > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS2.0 class ................. private function calling...
Hi guys, Unfortunately, this is old news. Flash's private/public modifiers are compile-time only. Once actionscript is compiled down to bytecode, everything's public. If you want to call private methods, you can do it even more easily like so: _global.com.yourclass.yourMethod() or, possibly: this["className"].functionName(); To quote Bjarne Stroustrup (inventor of C++): "Language level protection mechanisms are protection against accident, not against fraud." HTH, Alias On 4/2/06, Michael Bedar <[EMAIL PROTECTED]> wrote: > > You mean that Flash ignores "private" when calling from the > timeline? Try from another class. > > > On Apr 2, 2006, at 12:16 PM, 신진석[Jinseok Shin] wrote: > > > I found private function call. > > > > //class as file > > > > class test_class{ > > private var _path:MovieClip = path > > function test_class(path:MovieClip){ > >_path = path > > } > > private function trace_test(){ > >trace("aaa") > > } > > } > > > > > > //fla action > > In <_root = _level0 = this> > > > > var new_test:test_class = new test_class(this); > > > > i can private function call > > > > try it > > > > About this question sending me e-mail > > e-mail : [EMAIL PROTECTED] > > it's bug reporting now...Adobe Macromedia > > > > > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Good Math script for sheet movement when dragedontable
You could probably adapt the page drag mathematics from this article... http://www.oreillynet.com/pub/a/javascript/2004/09/03/flashhacks.html A good book to learn about trigonometry is the Complete Idiot's Guide to Algebra by W. Michael Kelly - it's very well written and mathematical beginner-friendly. http://www.amazon.com/exec/obidos/tg/detail/-/1592571611?v=glance You won't get far in flash development without a basic knowledge of trig, and besides, it starts to be fun after the first couple of years :) Hope this helps, Alias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Help with shared library fonts
Have a look at http://www.sharedfonts.com/ HTH Alias On 3/12/06, Hypno Joe <[EMAIL PROTECTED]> wrote: > *I am using Flash8* > > Is there a way to keep fonts in an external movie and load them > dynamically into a movie when needed? > > The flash movie I am currently working on is a text editor that is all > generated dynamically. A text box is generated on the main movie like > this: > > this.createTextField("message_txt", 200, 10, 10, 560, 200); > message_txt.embedFonts = true; > > The main text box is styled using TextFormat. > > var messageformat:TextFormat; > meassageformat = new TextFormat(); > messageformat.size = 20; > messageformat.font = "hightower_font"; > > I have a button that calls in an external SWF that contains a list of > different fonts for the text box. The fonts are embedded in the movie > and exported for action script and runtime sharing. They change the > font like this: > > this.aucion_mc.onRelease = function () { > messageformat = new TextFormat(); > messageformat.font = "aucion_font"; > _root.message_txt.setTextFormat(messageformat); > } > > The fonts show up in the external SWF as it is loaded into the main > movie but when one of the bottons is presssed, the text in the text > box disappears. > > If I embed the fonts in the main movie, I have no problems. > Everything works fine. But that defeats the purpose of having the > fonts exist externally. I only want them to load if the user wants to > change fonts. > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] RIA patent granted
The patent holder did actually create Balthaser.com, which was, at the time, a pretty early RIA (circa 2000). It was a bit crap though. Kind of a powerpoint ripoff, only less good. This was all done in Flash 4. I would say it was the *second* ever RIA, because Moonfruit.com(where I worked) was around before it (and still is) Alias On 3/2/06, Troy Rollins <[EMAIL PROTECTED]> wrote: > > On Mar 2, 2006, at 9:58 AM, elibol wrote: > > > Our team has been aware of this situation. It's big trouble if it's > > to be > > sold to the highest bidder; ignorantly speaking, Microsoft should > > appear to > > outstand the competition in financial strength. > > Microsoft would probably find it cheaper to support the challenge of > the patent. Maybe they'd be willing to donate the lawyer fees, since > that seems to be about the only thing stopping this patent from > getting blown out of the water. There doesn't seem to be any question > that there is prior art, and the patent is bogus. I'm pretty > confident Adobe could knock it down as well. > > I'd like to see a single RIA the patent holder ever made. > > Software patents really suck. Strictly conceptual ones even more so. > > -- > Troy > RPSystems, Ltd. > http://www.rpsystems.net > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash on PSP!
Oh really? That's wierd. Why would anyone want to use that? Alias On 3/1/06, Bart Wttewaall <[EMAIL PROTECTED]> wrote: > Don't bother, I've tested it and it's crap. > It seems all this "flashplayer" does is convert the flashfile to some > form of video (and taking its sweet time at that) and play it/crash on > it. No actionscript interaction whatsoever. You're better off > exporting your animation to avi and convert it to mp4 yourself. > > > 2006/2/28, Weyert de Boer <[EMAIL PROTECTED]>: > > Now I only need a PSP with fw1.5 :-) > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Flash on PSP!
Hi guys, Looks like someone's gotten a homebrew flash player working on the PSP! Looks pretty good, although apparently it's still early days. Works on 1.5 firmware. http://files.psphacks.net/details.php?file=93 Cheers, Alias ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] SWF to Image format at runtime.
If you're targeting FP8, go here: http://www.kaourantin.net/2005/10/more-fun-with-image-formats-in-as3.html If not, you're unfortunately SOL. HTH, Alias On 2/9/06, hidayath q <[EMAIL PROTECTED]> wrote: > Hi guys, > > I want to convert the whole SWF file into a jpg format at runtime.will a swf > file be embedded in PDF file? can anyone answer my question. > > Regards, > S.Hidayath > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Unit Tesing Framework Recommendations
AsUnit is definitely the best. HTH, Alias On 2/8/06, Chris Velevitch <[EMAIL PROTECTED]> wrote: > I'm interested in finding what unit testing frameworks exist for Flash > and the pros and cons of each. > > > Chris > -- > Chris Velevitch > Manager - Sydney Flash Platform Developers Group > www.flashdev.org.au > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How do you code your Flash applications?
I used it professionally for around 9 months, and I have to say - Primalscript is actually not that great, compared to Eclipse + FDT. Alias On 2/3/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: > >>Surprised at the lack of support for Primalscript on this list :) > > Its probably just the cost of Primalscript, that's all - its competing > with Eclipse, SEPY, SciTE Flash, which are all free. > > Jason Merrill | E-Learning Solutions | icfconsulting.com > > > > > > NOTICE: > This message is for the designated recipient only and may contain privileged > or confidential information. If you have received it in error, please notify > the sender immediately and delete the original. Any other use of this e-mail > by you is prohibited. > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] 0,0????
Looks fine to me. Is your code nested inside another clip? Alias On 2/3/06, Tom Rhodes <[EMAIL PROTECTED]> wrote: > hello, if anyone's got a mo, I'm going mad.. > > > > > > > > function > makeBG(roundness:Number,w:Number,h:Number,colour:String,targ:MovieClip):Movi > eClip > > { > > var bg:MovieClip = targ.createEmptyMovieClip("button_bg",1); > > with(bg) > > { > > lineStyle(0,0,0); > > beginFill(colour,100); > > moveTo(roundness,0); > > lineTo(w-roundness,0); > > curveTo(w,0,w,roundness); > > lineTo(w,h-roundness); > > curveTo(w,h,w-roundness,h); > > lineTo(roundness,h); > > curveTo(0,h,0,h-roundness); > > lineTo(0,roundness); > > curveTo(0,0,roundness,0); > > endFill(); > > } > > return bg; > > } > > > > var buttBack = makeBG(4,140,20,"0xFF",this); > > trace(buttBack._x + ":" + buttBack._y); > > > > > > > > can someone paste that in a blank movie and run it, you'll see that even > though it traces "0:0" and as far as I can tell the "pen" never goes into > negative numbers, the shape's top left hand corner is above and to the left > of 0,0?? > > > > cheers, > > > > tom. > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] xpath - returning object not string?
Your query will return a list of objects which have the attribute "name". There may be more than one of them, hence you get the object. HTH, Alias On 2/3/06, Kent Humphrey <[EMAIL PROTECTED]> wrote: > Continuing my further adventures in xpath land: > > clientList = XPath.selectNodes(this, "root/clients/client/@name"); > > trace(typeof(clientList[0])); > > That trace statement returns "object", so my array is an array of > objects, not the strings I was after. > > WIll I have to String(clientList[0]) everytime I need the string > value, or is there some other way? > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash 8 CPU test script
Flash 8 does not contain the new VM. Only flash 8.5 contains it, and if you are running flash 8.0 content, it will use the 8.0 VM. Carry on as you were, you should be fine. Alias On 2/2/06, Bart Wttewaall <[EMAIL PROTECTED]> wrote: > Hi list, > > I'd like to be able to tell if the user's cpu is up for a heavy load > of animations, filters and flv's with alphachannel. I remember a post > about how the Flash 8 VM had been drastically rewritten so that > cpu-usage and garbage collection acted in a whole new manner. > > In Flash 7 I'd write a method that would do some heavy math and return > the time it took. However I'm not sure if the results in Flash 8 would > be reliable, with the new VM and all. > > Your thoughts please.. > Bart > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] What native events do (AS2, but not V2) components implement?
Hi Nathan, I'm actually talking about the level below that. I'm not using the V2 components, but creating my own from scratch. There are some more low-level events that are called by flash & the IDE itself, which is what I'm looking for. Thanks, Alias On 1/31/06, Nathan Derksen <[EMAIL PROTECTED]> wrote: > Take a look in the Flash help panel under Components Language > Reference -> UIComponent Class and UIObject Class. Most components > inherit from UIComponent, which in turn inherits from UIObject, so > all the properties/methods/events listed for these two classes will > apply. When you create your own components, you have a choice as to > whether you want to go the somewhat lighter-weight approach and just > extend UIObject, or to get the full V2 framework from UIComponent. > > Nathan > http://www.nathanderksen.com > > > On Jan 31, 2006, at 4:22 AM, Alias wrote: > > > Hi guys, > > > > This is always really hard to find information about, so I wanted to > > ask the list. > > > > Which events do AS2 components automatically have? I'm not talking > > about V2 components, I'm referring to components created from scratch > > in AS2. For example, there are functions like "onResize", which seem > > to be automatically called, and others, which don't, but get > > implemented by the component developers themselves. > > > > Can anyone point me to a list of these? Or just let me know what > > they are? > > > > Cheers, > > Alias > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] What native events do (AS2, but not V2) components implement?
Hi guys, This is always really hard to find information about, so I wanted to ask the list. Which events do AS2 components automatically have? I'm not talking about V2 components, I'm referring to components created from scratch in AS2. For example, there are functions like "onResize", which seem to be automatically called, and others, which don't, but get implemented by the component developers themselves. Can anyone point me to a list of these? Or just let me know what they are? Cheers, Alias ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] [Jobs] senior flash developer
Hi all, The company I work for, Tonic Design, which is an independant design & branding consultancy in Shoreditch, London, England, is looking to hire a senior flash developer. Tonic are a fun, vibrant company to work for, with spacious penthouse studios on Shoreditch High St. Our client list includes Sony, Hasbro, Daihatsu, MTV, Rankin, and Daihatsu, amongst others. Our website is here: http://www.tonic.co.uk The successful candidate will: - Be a good communicator, able to work with both creative & technical people. - Be able to create solid, reliable actionscript solutions in a team environment within tight deadlines. - Have a portfolio of URLs which demonstrate their abilities & approach to problem solving. - Significant experience in a relevant industry role Also, any of the following, although not compulsory, would be an advantage: - A good sense of humour - A solid understanding of software development processes & methodologies - A good grasp of the workings of low-level actionscript - Experience with international (including non-latin) localisation of flash websites - Knowledge of a statically typed programming language such as Java or C# - Games development experience If you are interested, please mail me offlist, at [EMAIL PROTECTED], with a copy of an up to date CV and a portfolio of URLs. We will not consider applicants without URLs. We consider experience and demonstrable ability to far outweigh any academic qualifications. Thanks, Alias ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] MVC gc
Hi there, The garbage collection is Flash is done by reference counting, so as long as your object isn't referenced by something else that hasn't been deleted, it should be garbage collected fine. Hope this helps, Alias On 1/26/06, Ryan Sexton <[EMAIL PROTECTED]> wrote: > Hi everyone, I'm coming to the tail end of a project and I'm in > "cleanup mode". I have two questions, but first some background info. > I'm using Flash 8 and using the MVC pattern. My mvc is based off of > Colin Moocks example, slightly modified to use parent/child. This is > the first time I've used this pattern and have a concern about shutting > down a child MVC. Since I load, shutdown and reload various children > over the course of the application, will it, after shutting down and > removing the child variable from the parent be successfully garbage > collected or slowly build up in memory. My concern is the various > references within the MVC would keep it from being garbage collected. > > Another question, is there a tool that I can view memory even after I > delete a variable to see if something was garbage collected? > > Thank you, > Ryan Sexton > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Stolen content
Links are not content. Please end this thread. Alias On 1/19/06, franto <[EMAIL PROTECTED]> wrote: > sure, you right, it was not my examples, > it's content of my blog, link which i collected from many sites, > digging, storing, writing then to the post, 1 update of post when I > add 1 link last 30 mins, because there were many sites linking to that > post > > I dont tell examples is mine... my Collected examples are not same as > Collected my examples :) > > Hopefully you know what I mean > > Franto > > On 1/19/06, erixtekila <[EMAIL PROTECTED]> wrote: > > > > Le 19 janv. 06, à 11:50, franto a écrit : > > > > > I just want to know, that there are such practics, i know you know :) > > > but i hate it > > > so just want to let you know thieves :) > > > > > > http://www.franto.com/blog2/stolen-content-collected-links-to- > > > maelstrom-examples > > > > > > Well, franto, did you really said : "my" content ? > > "It's sad, i've found my content on other sites. Do not know about > > other content, but it seems that my Collected links to Maelstrom > > examples" > > > > I thought it was examples of the new features developped by others. > > Could you clarify a bit ? > > > > Thanks. > > --- > > erixtekila > > http://blog.v-i-a.net/ > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > -- > - > Franto > > http://blog.franto.com > http://www.flashcoders.sk > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] md5 in AS3
On a related note, has anyone written a message digest attack algorithm for AS3? ;) http://www.cits.rub.de/MD5Collisions/ Cheers, Alias On 1/16/06, Geoffrey Williams <[EMAIL PROTECTED]> wrote: > AS3 Version -> > > http://gsolo.com/temp/macromedia/flex/beta/Global/com/gsolo/encryption/MD5.z > ip > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Paul BH > Sent: Monday, January 16, 2006 6:47 PM > To: Flashcoders mailing list > Subject: [Flashcoders] md5 in AS3 > > does anyone have a class for generating md5 hash's in AS2 or AS3? > > ta > > PBH > > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FlashMattic -My Hebrew Flash Blog
Hi There, If you do figure out any useful solutions to the RTL issues, posting english translations of them would be much appreciated. The RTL issue is of great interest to myself, and I'm sure many other non hebrew speakers. Thanks, Alias On 1/16/06, matti bar zeev <[EMAIL PROTECTED]> wrote: > Hey list, whad''up? > Just wanted to tell you about my new Hebrew Flash Blog. No... you won't find > the complete solution to RTL for flash there, but many post on what's to be, > and new stuff I bump into while exploring as3 and Flex. > Here's where you can fine it: http://www.flashmattic.blogspot.com and it's > also listed in the MXNA News aggregator. > Of course, if you don't read Hebrew, it won't mean that much to you :) > take care, > bye. > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] SetInterval Magic
Hi guys, It's important to realise that setInterval has two different ways to call it. The first, and most commonly used, is this: setInterval(functionReference:Function, interval:Number, [param1:Object, param2, ..., paramN]) : Number The second, which is less well known, but substantially more reliable, is this: setInterval(objectReference:Object, methodName:String, interval:Number, [param1:Object, param2, ..., paramN]) : Number Although the first example will work, the function will execute in the wrong scope. The second, however, because it allows you to specify the scope in which it executes, is far more reliable. For example, if I'm inside a class, and want to call a public method of that same class every 1000 ms, I would use: setInterval(this,"myFunction",1000); What's important to understand here is the difference between passing the name of the function, and *the function itself* - which is what's happening in the first example. There has been a lot of confusion about this over the past few years, mostly due to ambiguous documentation. Have a look here for a well written piece of documentation on the subject: http://livedocs.macromedia.com/flash/8/main/00001766.html Hope this helps, Alias On 1/11/06, Sönke Rohde <[EMAIL PROTECTED]> wrote: > Hi, > This is a scope-issue. Try > > import mx.utils.Delegate > ... > setInterval(Delegate.create(this, func), 2000); > > Cheers, > Sönke > > > Hi Coders, > > > > In following code, I am creating a new dynamic movie clip (in > > function N1 of script object) and associating the handler for unload > > event. Next I am deleting the same movie clip in function N3 of script > > object. But if we are calling the function N3 through setInterval > > function, movieclip unload event is not called. > > > > Now if we are calling the same function N3 directly without > > setInterval, > > unload event will be called. > > > > Someone please tell me what is happening here? > > > > > > > > script = new Object(); > > > > Delay = new Object(); > > > > > > > > // Delay Object > > > > Delay.delay = function(obj, func) > > > > { > > > > this.mObj = obj; > > > > this.mFunc = func; > > > > // Calling function after an interval of 2 seconds. > > > > setInterval(this.func, 2000, this); > > > > } > > > > > > > > Delay.func = function(obj) > > > > { > > > > var temp = obj; > > > > // Calling function N3 of class script. > > > > temp.mObj[temp.mFunc](); > > > > } > > > > > > > > // Script Object > > > > script.N1 = function() > > > > { > > > > // Creating a new movie clip. > > > > _root.createEmptyMovieClip("Dhiraj", 1); > > > > > > > > // Associating unload event with it. > > > > _root.Dhiraj.onUnload = function() > > > > { > > > > trace("Dhiraj Unload"); > > > > } > > > > > > > > // Storing the movie clip instance in member variable. > > > > this.mMC = _root.Dhiraj; > > > > > > > > // Calling next function of script. > > > > this.N2(); > > > > } > > > > > > > > script.N2 = function() > > > > { > > > > // Calling N3 after some delay. > > > > Delay.delay(this, "N3"); > > > > } > > > > > > > > script.N3 = function() > > > > { > > > > this.mMC.removeMovieClip(); > > > > } > > > > > > > > script.N1(); // Calling first function of script. > > > > > > > > Regards: > > > > Dhiraj > > > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Caret position coords
Whoa - dude, is that MFC or something? Alias On 1/2/06, Weyert de Boer <[EMAIL PROTECTED]> wrote: > Easy... get the x,y in characters of the memo > > function getCharacterPosition( aMemo: TMemo ): TPoint > begin > Result.X := LongRec( SendMessage( aMemo.Handle, EM_GETSEL, 0, 0 ) ).Hi; > Result.Y := SendMessage( aMemo.Handle, EM_LINEFROMCHAR, Result.X, 0 ); > Result.X := Result.X - SendMessage(aMemo.Handle, EM_LINEINDEX, -1, 0); > return Result; > end; > > and get the x,y in pixels of the memo > > function getCharPositionInPixels( aMemo: TMemo ): TPoint > var result: TPoint; > begin > result := aMemo.Perform( EM_POSFROMCHAR, WPARAM(@result), > aMemo.SelStart); > return result; > end > > Not sure if the code is error free, though but are these api messages ;-) > > Yours, > Weyert de Boer > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] where and how can I learn actionscript bytecode
Hi Boon, Good luck with learning bytecode. However, I suspect that the reason your first delete statement doesn't work is because of the way flash's garbage collection works. When you call delete on an object, it is marked for deletion by the garbage collector. It uses reference counting to decide whether to actually delete something, so I suspect that if you try to delete an object from within itself, it most likely will not actually do so, until that object has finished up. I'd say you should probably always try to delete objects from outside of their own scope. It's likely that if this is indeed the case, the problem will look exactly the same at the bytecode level. Hope this sheds some light on your problem, Alias On 12/3/05, Boon Chew <[EMAIL PROTECTED]> wrote: > > Is there any tools or documentation out there that > will aid in learning actionscript bytecode? > > I ran into this the other day, and it seems like only > reading the bytecode can help me understand why it > doesn't work? > > class A > { >function destroy() >{ > delete this; // doesn't delete itself >} > } > > var a = new A(); > delete a; // delete works here > > - boon > > > > __ > Start your day with Yahoo! - Make it your home page! > http://www.yahoo.com/r/hs > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FP6 can't tell between undefined & null?
Wow, how did that slip by me all these years... Thanks! Alias On 11/25/05, Ian Thomas <[EMAIL PROTECTED]> wrote: > It means 'strict equality' - no type-conversion is done. > > e.g. 2=="2" is true, but 2==="2" is false > > Ian > > On 11/25/05, Alias <[EMAIL PROTECTED]> wrote: > > > > I've never seen the "===" operator before - do you mean "=="? > > > > Alias > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FP6 can't tell between undefined & null?
I've never seen the "===" operator before - do you mean "=="? Alias On 11/25/05, zwetan <[EMAIL PROTECTED]> wrote: > > > > Can anyone confirm whether the flash 6 player can't differentiatate > > between a function that returns "null" and on which returns > > "undefined"? Is there a difference on the bytecode level? > > > > Humm first you could provide the function or at least > a cutdown version of it > > and/or > > Try to use identity eguality > > trace( foobar() === undefined ); > trace( foobar() === null ); > > > zwetan > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] FP6 can't tell between undefined & null?
Hi Guys, quick question - Can anyone confirm whether the flash 6 player can't differentiatate between a function that returns "null" and on which returns "undefined"? Is there a difference on the bytecode level? Thanks in advance, Alias Cummins ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Spinning wheel
Check out Flade: http://www.cove.org/flade/default.aspx HTH Alias On 11/23/05, Eric E. Dolecki <[EMAIL PROTECTED]> wrote: > before i code one up myself - does anyone have the basic math for a > wheel of fortune type of spinning wheel? if it had a "flapper" that > would be a bonus. otherwise i can just randomize the total time of > spin, and let er rip, slowing the rotation down over time. random > number of possible "hits" on the wheel. > > edolecki > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Post awaiting for approval[OT]
No. HTH, Alias On 11/22/05, Tiago Vale <[EMAIL PROTECTED]> wrote: > Hi list, I've sent a post to osflash and flashcoders(hope its not spamming) > list but it seems its too big, can I send the example sources as > attachement? > > -- > Cheers Tiago Janz > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] flex 2 for games?
Hi Hans/Charles/To Whom It May Concern > who is complaining? No-one yet - wait until it's finished and released, only then will the complaints will start rolling in :) > Although I admire all the people who do join public alpha groups etc to > make things better, I dont think that this is should be a must in order to > comment (again, nobody was complaining yet ;)) on a language. I cant > imagine that if i'd join the alpha group and went like 'gimme real > eventlisteners with listener interfaces, gimme dynamic class loading, gimme > anonymous classes, inner classes, multhreading, make it like the java > language with all the cool features of flash, etc' that they'd be real > happy with me;). They'd probably listen a lot more than you expect them to. They're pretty good like that :) >...The way it works: > myObject.addEventListener (PUBLIC_ID, functionObject) is not very strong > typed in my opinion, I would have expected something like > myObject.addFooListener(myFooListener) in which myFooListener implemented > the FooListener interface and addFooListener was declared like > public function addFooListener (f:FooListener). You can strictly type your event objects if you like, as far as I can see - there are lots of built in ones, or you can create custom ones dynamically: http://livedocs.macromedia.com/labs/1/flex/langref/flash/events/Event.html Is that what you mean? Wouldn't having addFooEvent be a bit difficult to keep track of? Or have I misunderstood? > Another one if the new > additions is that you can put functions in packages, so you no longer need > to wrap m in a class, so now we have function libraries, with at the moment > only one public function per file if im not mistaken. I agree that static > classes might not be the best way either, but this seems even worse to me. > Yeah, I must agree that I'm not too keen on package level functions. We'll see how that pans out I guess... > So there you have it... i commented on AS3 without working with the public > alpha group... yet ;) I'll promise ill the alpha's soon and repent ;). I'm sure the giant secret macromedia listening base in Antarctica has picked up this conversation anyway :) Cheers, Alias ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] flex 2 for games?
Hi Charles, On 11/21/05, Charles Parcell <[EMAIL PROTECTED]> wrote: > ... what I don't get is why > people are so quick to jump from AS 1.0 to 3.0. It really isn't like 3.0 is > too much different from 2.0 as far as the basic language goes. Where is does > differ greatly is in the class structures and additional classes. > If you want to influence the development of the language, doing some work with the public alpha group is a good way to go. It's all very well to complain about a language after it's release, but if you participate in the public alpha, it gives you the chance to actually get stuff changed or fixed before you have to deploy it commercially, which chances are you will. > With that said I would suggest using AS 2.0 to build you new game arch. but > keep an eye on 3.0 so you are aware of where things are going. Case in point > MC vs. Sprites. > There are some pretty fundamental changes in AS3 regarding the way the screen is drawn - the displaylist & sprite stuff is very useful for games work and will substantially influence the way you design your engine - depth is handled completely differently, and event handling is much more robust, among other things. HTH Alias ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders