[Flashcoders] Re: AS3 XML Namespaces Hell
Ok, I have it at least working with the below code through a roundabout way and would love to hear a better one... private function onXMLLoaded(e:Event):void { trace(this, "onXMLLoaded"); xml = new XML(e.target.data); var strippedXML:XML = new XML(String(xml.*)); var list:XMLList = strippedXML.item; } On Sat, Mar 15, 2008 at 12:24 AM, Jason Van Cleave <[EMAIL PROTECTED]> wrote: > I have an app that is was pulling some XML like this > > > >
[Flashcoders] AS3 XML Namespaces Hell
I have an app that is was pulling some XML like this with this i could load xml and eventually get an XMLList with private function onXMLLoaded(e:Event):void { var xml:XML = new XML(e.target.data); var items:XMLList = xml.item; } Now that we have move it over to a .net enviroment the output is like http://tempuri.org/";> Now I can't get an XMLList from this. I've tried just stripping it out with this approach http://livedocs.adobe.com/flex/3/langref/XML.html#removeNamespace() but nothing good Any insights? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] to mac or not to mac
This is a useless topic. Sorry that I have to put it that way. -- Keith H -- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] GUI SVN
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] to mac or not to mac
I use subclipse with FlexBuilder/Eclipse http://subclipse.tigris.org/ - Original Message - From: "Claus Wahlers" <[EMAIL PROTECTED]> To: "Flash Coders List" Sent: Friday, March 14, 2008 10:27 PM Subject: Re: [Flashcoders] to mac or not to mac Dunno if that has been mentioned, but if you are NOT a command line guy, like me, and want a kick ass non-CLI SVN client, by far the best option is TortoiseSVN, which afaik is only available for Windows and beats the crap out of everything else i've seen. This one tiny software is the main reason i stick to Windows (XP) for now. I have three machines here (XP, OSX and Ubuntu), and the XP machine is my main dev machine, because i don't wanna miss TortoiseSVN. Otherwise, i'm very, VERY unreligious about operating systems, because i frankly think they all suck in one way or another. Cheers, Claus. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] to mac or not to mac
I probably shouldn't ask ;) but "utter garbage", why ?? I've been running Vista for a few months now with zero problems. The only thing that bothered me was UAC, which I have disabled. regards, Muzak - Original Message - From: "Steven Sacks" <[EMAIL PROTECTED]> To: "Flash Coders List" Sent: Friday, March 14, 2008 9:58 PM Subject: Re: [Flashcoders] to mac or not to mac All that being said, btw, do NOT, I repeat DO NOT get Windows Vista. If anything will make you want to switch to OSX, it's Vista. Stick with Windows XP until Vista SP3 comes out, and even then who knows. I know die-hard Windows guys who think they might go Mac when XP fails to keep up with their needs because Vista is utter garbage. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] to mac or not to mac
Faster, donno.. doubt it. Less annoying, definitely. UAC doesn't allow you to run as a true administrator, disabling it does. I've found Flash CS3 to be less responsive than Flash 8 though. The AS editor can't keep up while typing. Vista needs lots of ram, that's why I got plenty ;-) - Original Message - From: "Jason Van Pelt" <[EMAIL PROTECTED]> To: "Flash Coders List" Sent: Friday, March 14, 2008 9:12 PM Subject: Re: [Flashcoders] to mac or not to mac Does disabling UAC make the OS any faster, or just less annoying? I personally work on mac and pc (win xp) and I find the flash interface on the mac intolerably slow. I tend to develop on the pc and export the final swfs (with the designer's fonts ;-) ) on the mac. Jason Van Pelt Interactive Developer 504.210.1232 (p) / 504.581.2731 (f) Peter A. Mayer Advertising, Inc. www.peteramayer.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] GUI SVN
If you use Gnome, you can use these Nautilus scripts for a Tortoise-like experience: http://marius.scurtescu.com/2005/08/24/nautilus_scripts_for_subversion If not, you have RapidSVN: http://rapidsvn.tigris.org/ On 3/14/08, Andrew Sinning <[EMAIL PROTECTED]> wrote: > I'm not a command line guy either, but I backup my files to a ubuntu > box, and I also develop my php directly on that box. I'd love to run > SVN but without the command line. > > Is there a good GUI SVN for linux? > > Thanks. > > Claus Wahlers wrote: > > Dunno if that has been mentioned, but if you are NOT a command line > > guy, like me, and want a kick ass non-CLI SVN client, by far the best > > option is TortoiseSVN, which afaik is only available for Windows and > > beats the crap out of everything else i've seen. > > > > This one tiny software is the main reason i stick to Windows (XP) for > > now. I have three machines here (XP, OSX and Ubuntu), and the XP > > machine is my main dev machine, because i don't wanna miss TortoiseSVN. > > > > Otherwise, i'm very, VERY unreligious about operating systems, because > > i frankly think they all suck in one way or another. > > > > Cheers, > > Claus. > > ___ > > 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 > -- Cory Petosky : Lead Developer : PUNY 1618 Central Ave NE Suite 130 Minneapolis, MN 55413 Office: 612.216.3924 Mobile: 240.422.9652 Fax: 612.605.9216 http://www.punyentertainment.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] GUI SVN
I'm not a command line guy either, but I backup my files to a ubuntu box, and I also develop my php directly on that box. I'd love to run SVN but without the command line. Is there a good GUI SVN for linux? Thanks. Claus Wahlers wrote: Dunno if that has been mentioned, but if you are NOT a command line guy, like me, and want a kick ass non-CLI SVN client, by far the best option is TortoiseSVN, which afaik is only available for Windows and beats the crap out of everything else i've seen. This one tiny software is the main reason i stick to Windows (XP) for now. I have three machines here (XP, OSX and Ubuntu), and the XP machine is my main dev machine, because i don't wanna miss TortoiseSVN. Otherwise, i'm very, VERY unreligious about operating systems, because i frankly think they all suck in one way or another. Cheers, Claus. ___ 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] to mac or not to mac
> Otherwise, i'm very, VERY unreligious about operating systems, > because i frankly think they all suck in one way or another. You've got a lot of nerve being rational and objective making that statement! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] to mac or not to mac
Dave, When I get my next new/replacement workstation it will be a dual quad-core Intel (or whatever is newer) Mac Pro. You can run OS X, Windows, etc. The only thing I would not do it pay Apple's predatory pricing for additional memory sticks, RAID controller, additional drives, etc. Just get the best processor, min memory, min hard drive, etc., then upgrade with aftermarket. ...Rob ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] transition
http://www.websector.de/blog/2007/08/28/tweener-as3-extension-for-color-prop erties-_brightness-_contrast-and-_saturation/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of marcellouz Sent: Friday, March 14, 2008 6:21 AM To: Flash Coders List Subject: [Flashcoders] transition hi all, anyone out there who knows how to manage this type of picture transition effect? http://www.schierke.com/ thx, marcel ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] to mac or not to mac
Claus Wahlers wrote: Dunno if that has been mentioned, but if you are NOT a command line guy, like me, and want a kick ass non-CLI SVN client, by far the best option is TortoiseSVN, which afaik is only available for Windows and beats the crap out of everything else i've seen. This one tiny software is the main reason i stick to Windows (XP) for now. I have three machines here (XP, OSX and Ubuntu), and the XP machine is my main dev machine, because i don't wanna miss TortoiseSVN. Oh, and FlashDevelop, of course. Cheers, Claus. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] to mac or not to mac
Dunno if that has been mentioned, but if you are NOT a command line guy, like me, and want a kick ass non-CLI SVN client, by far the best option is TortoiseSVN, which afaik is only available for Windows and beats the crap out of everything else i've seen. This one tiny software is the main reason i stick to Windows (XP) for now. I have three machines here (XP, OSX and Ubuntu), and the XP machine is my main dev machine, because i don't wanna miss TortoiseSVN. Otherwise, i'm very, VERY unreligious about operating systems, because i frankly think they all suck in one way or another. Cheers, Claus. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] to mac or not to mac
FlashDevelop is not, and probably will never be, since it's made with .NET framework. FlashDevelop beats every other editor hands down for Actionscript development. TextMate is great for other languages, and decent at AS, but FlashDevelop is truly the finest example of what an Actionscript editor should be. You will write code *measurably* faster than with any other program. FlexBuilder's auto-complete is buggy and poor, to say the least. FlashDevelop is like driving a Formula 1 race car when everyone else out there is in mid-range sedans. Beyond that, the whole Windows/OSX debate is hackneyed. There is no winner. It completely depends on what you like and what your needs are. I know plenty of graphic designers who can't STAND Mac and will only use Windows. Making blanket statements that Mac is better for "creatives" is regurgitating the marketing campaign of Apple from the frickin nineties for crying out loud. It's not even relevant anymore because Windows no longer runs graphic programs slower than Mac and hasn't for quite some time. If you do Flex development, then your needs will be met best on a Mac. If you prefer OSX as an operating system over Windows then by all means get a Mac. The great thing about Mac is you can install Windows on it specifically for using FlashDevelop if you want to truly enjoy coding Actionscript. http://www.flashdevelop.org/community/viewtopic.php?t=2463 That's all you need to know about using a Mac and FlashDevelop. I can't get by without FlashDevelop anymore. I donated to the project because there's nothing that has made such a dramatic difference in my production than that piece of software. If you haven't used it yet, you don't know what you're missing. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] to mac or not to mac
All that being said, btw, do NOT, I repeat DO NOT get Windows Vista. If anything will make you want to switch to OSX, it's Vista. Stick with Windows XP until Vista SP3 comes out, and even then who knows. I know die-hard Windows guys who think they might go Mac when XP fails to keep up with their needs because Vista is utter garbage. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] to mac or not to mac
First of all, let me say this: Overall, I think Mac is a pretty decent platform for creating Flash, I'd even say it's the best. Ok, now the bashing ;) I've worked at some companies who used Windows XP, and others (including the current one) who use Mac OS X. And between these two, the best one is definitely Linux. Here's the deal, I im not a Flash developer, I am a software developer who happens to be developing Flash right now. I don't even touch the Flash IDE, all my flas are just asset libraries. And for the "heavy-programmers" like me, Linux is heaven! It comes with everything you'll ever need (and even more things you'll never need) to develop anything. So, if you're like me there's your answer. Now, leaving the programming mind aside, there is something else that helps me to choose the system I use, and that is the level of configuration and tweaking that I have on the system, to make it behave exactly the way I want. And on that point too, Linux wins by a mile, and honestly I think Mac is the worst ever in that case. I hate all those so talked user-friendliness things, that just get in my way. I have a bunch of friends, I don't need my computer to be one of them. Also, I have a bunch of friends that wouldn't be called "friendly" by someone else, so I don't feel like letting someone else say what is user-friendly to me. I'd narrow down to this: If you are a hard-core developer, go for Linux If you are a more graphical guy, or even a developer who works exclusively with Flash, go for Mac. It even have a decent command line, which is a good thing. If you are a... I don't know... Gamer guy? Well, then go for Windows. Be warned, though, that most softwares will be released first for Windows, and only later (if ever) be released for the Mac. Of those you mentioned, the Flash IDE and FlexBuilder are available for the Mac. FlashDevelop is not, and probably will never be, since it's made with .NET framework. All the others, I have no idea... Wagner Amaral On Fri, Mar 14, 2008 at 2:36 PM, Dave Segal <[EMAIL PROTECTED]> wrote: > It's time for me to get a new computer and I have heard so many horror > stories about Vista that I am thinking of switching to Mac. What tools are > people using to develop on the Mac. I mostly Flash IDE, FlexBuilder, > FlashDevelop, SWFMill, SWFDump, HaXe, FlashTracer - are these available on > Mac? Also any general info about developing on the Mac, positive or > negative, would be helpful. > > Is anyone using Vista and enjoying it? > > ___ > 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] to mac or not to mac
Does disabling UAC make the OS any faster, or just less annoying? I personally work on mac and pc (win xp) and I find the flash interface on the mac intolerably slow. I tend to develop on the pc and export the final swfs (with the designer's fonts ;-) ) on the mac. Jason Van Pelt Interactive Developer 504.210.1232 (p) / 504.581.2731 (f) Peter A. Mayer Advertising, Inc. www.peteramayer.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] to mac or not to mac
Speaking of Ubuntu, I do my Flash development on an Ubuntu box. Flex Builder 3, the Flex SDK, and Flash Player 9 run fine on it. If you really need the IDE, you can VMWare, Remote Desktop, or plain-old dual boot into your commercial OS of choice to run it. Nowadays, you can buy a cheap Windows machine, pick up a copy of Mac OS, and dual boot OSX and Windows (and Ubuntu, if you want to be happy) cheaper than buying an Apple machine, and you get the ability to buy standard off-the-shelf hardware if you want to do any customizations. On 3/14/08, Zeh Fernando <[EMAIL PROTECTED]> wrote: > > It's time for me to get a new computer and I have heard so many horror > > stories about Vista that I am thinking of switching to Mac. What tools are > > people using to develop on the Mac. I mostly Flash IDE, FlexBuilder, > > FlashDevelop, SWFMill, SWFDump, HaXe, FlashTracer - are these available on > > Mac? Also any general info about developing on the Mac, positive or > > negative, would be helpful. > > > This is a highly subjective question in so many ways that it's pretty > hard for anyone to answer in a neutral fashion. > > With that said - yes, Vista is a POS, IMHO. It's the best definition of > an extremely annoying, user-unfriendly operating system. It's a slap in > the user's face as it automatically assumes anyone using the computer is > a complete retard. Which is probably true in 95% of the cases, but that > doesn't make it a good development architecture. Not mentioning it IS > slow as hell. > > So the question shouldn't be whether you get a Mac vs a PC with Vista, > but rather a Mac vs a PC with Windows XP. > > I'm probably not the best person to comment on it, I haven't used Vista > for a very long time. But after getting a Notebook with Vista I was > really surprised with how the horror stories (which I didn't believe > before, dismissing them as random, generic MS-hate) were accurate. Maybe > it's one of those systems that become bearable after you tweak it > enough, a bit like XP is. But my initial impressions were so strong I > really didn't feel like trying it at all. Thankfully I had bought the > Notebook for presentation and testing only so it's now happily running > Ubuntu instead. > > > > Zeh > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Cory Petosky : Lead Developer : PUNY 1618 Central Ave NE Suite 130 Minneapolis, MN 55413 Office: 612.216.3924 Mobile: 240.422.9652 Fax: 612.605.9216 http://www.punyentertainment.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] to mac or not to mac
Is anyone using Vista and enjoying it? Yup.. once UAC (User Account Control) is disabled, Vista is just fine. This is my current config (home made): Antec Sonata III case NVidia Geforce 8800GTS 640MB Intel Core Duo E6850, 3.0 GHz MSI P35 Platinum 4095 MB RAM (CORSAIR TWINX Matched DDR2 1066Mhz) 20" Samsung SyncMaster 206BW LCD 1680x1050 2 x 500 GB SATA II Western Digital HardDisks Windows Vista Business 64-bits Mostly running Flex Builder and Flash IDE and alot of games ;-) regards, Muzak - Original Message - From: "Dave Segal" <[EMAIL PROTECTED]> To: "'Flash Coders List'" Sent: Friday, March 14, 2008 6:36 PM Subject: [Flashcoders] to mac or not to mac It's time for me to get a new computer and I have heard so many horror stories about Vista that I am thinking of switching to Mac. What tools are people using to develop on the Mac. I mostly Flash IDE, FlexBuilder, FlashDevelop, SWFMill, SWFDump, HaXe, FlashTracer - are these available on Mac? Also any general info about developing on the Mac, positive or negative, would be helpful. Is anyone using Vista and enjoying it? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Arabic and other character sets text entry
Hey there, I just saw this thread :) I do tend to hang on Flash Tiger more these days (Hi Kerry!), but I was skimming through some threads here and this has caught my eye. The Hebrew project has been a total headache, but in the end I found one solution out there that was very helpful as a starting point. It's programmed for Hebrew, but you can add your own characters, so it should work with Arabic. You can find it here: http://www.electroinn.com/blog/ Basically what it does, it breaks down the text field into a bunch of text fields, and populates them word by word. So it handles a combination of RTL and LTR quite well. Don't forget that the text field should be using device fonts (non-embedded) and you must have RTL fonts (Arabic in your case) support enabled in the Control Panel for the text to flow in the right direction in the first place. The Class is not 100% and you may need to customise it a bit, but it's the best solution I've seen so far. Hope this helps, Karina > -Original Message- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of Piers Cowburn > Sent: 13 March 2008 13:42 > To: Flash Coders List > Subject: Re: [Flashcoders] Arabic and other character sets text entry > > Good point, yes the email will probably be ltr. I'll try posting on > Flash_Tiger in the hope that she's around, thanks very much :) > > Piers > [EMAIL PROTECTED] > > On 13 Mar 2008, at 13:20, Piers Cowburn wrote: > > > > > > > Begin forwarded message: > > > >> From: "Kerry Thompson" <[EMAIL PROTECTED]> > >> Date: 12 March 2008 17:51:41 GMT > >> To: "'Flash Coders List'" > >> Subject: RE: [Flashcoders] Arabic and other character sets text > entry > >> Reply-To: Flash Coders List > >> > >> Piers Cowburn wrote: > >> > >> > >>> I found one idea online which I thought > >>> might be a shot, see it here: > http://broadcast.artificialcolors.com/ > >>> index.php?title=flash_rtl_via_a_simple_hack_non_rhetoric > >>> > >>> The only free-text fields I would need are name and email address, > >>> the rest of the options are combo boxes which I could do in arabic > >>> simply by having the letters in there as a graphic. > >>> > >>> Do you think I might be able to use something like the idea above > >>> for > >>> a simple name and email address? As I don't think there should be > >>> and > >>> bi-di in there, just rtl. > >> > >> I'm not sure, but you might be able to get the combo box to > >> display an > >> Arabic font. It's worth a try, and make for a lighter download > >> than using > >> graphics. > >> > >> But--won't the e-mail address be ltr? I'm not sure, but I think > >> most e-mail > >> servers only handle ltr. > >> > >> I have an Israeli friend in Dublin who is a Flash genius, and is > >> currently > >> working on a Hebrew-language project. She's quite helpful, and > >> knows a lot > >> more about bi-di issues than I do > >> > >> I don't think she's on this list, though--she's on Flash_Tiger. > >> You might > >> try posting over there. She might even still be working--I think > >> it's only > >> about 7:00 in Dublin. Do it now, though, because St. Patrick's day > >> is this > >> weekend ^_^ > >> > >> 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 > > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.519 / Virus Database: 269.21.7/1327 - Release Date: > 12/03/2008 13:27 > No virus found in this outgoing message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.21.7/1328 - Release Date: 13/03/2008 11:31 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] to mac or not to mac
It's time for me to get a new computer and I have heard so many horror stories about Vista that I am thinking of switching to Mac. What tools are people using to develop on the Mac. I mostly Flash IDE, FlexBuilder, FlashDevelop, SWFMill, SWFDump, HaXe, FlashTracer - are these available on Mac? Also any general info about developing on the Mac, positive or negative, would be helpful. This is a highly subjective question in so many ways that it's pretty hard for anyone to answer in a neutral fashion. With that said - yes, Vista is a POS, IMHO. It's the best definition of an extremely annoying, user-unfriendly operating system. It's a slap in the user's face as it automatically assumes anyone using the computer is a complete retard. Which is probably true in 95% of the cases, but that doesn't make it a good development architecture. Not mentioning it IS slow as hell. So the question shouldn't be whether you get a Mac vs a PC with Vista, but rather a Mac vs a PC with Windows XP. I'm probably not the best person to comment on it, I haven't used Vista for a very long time. But after getting a Notebook with Vista I was really surprised with how the horror stories (which I didn't believe before, dismissing them as random, generic MS-hate) were accurate. Maybe it's one of those systems that become bearable after you tweak it enough, a bit like XP is. But my initial impressions were so strong I really didn't feel like trying it at all. Thankfully I had bought the Notebook for presentation and testing only so it's now happily running Ubuntu instead. Zeh ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] to mac or not to mac
I know you're asking for more specific info, but, hey: Just get a Mac and run Parallels or VMWare. I run XP on my Mac. I also have Vista installed under Parallels for when a customer calls up with a Vista-specific problem, but otherwise I never use it. Dave Segal wrote: It's time for me to get a new computer and I have heard so many horror stories about Vista that I am thinking of switching to Mac. What tools are people using to develop on the Mac. I mostly Flash IDE, FlexBuilder, FlashDevelop, SWFMill, SWFDump, HaXe, FlashTracer - are these available on Mac? Also any general info about developing on the Mac, positive or negative, would be helpful. Is anyone using Vista and enjoying it? ___ 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] to mac or not to mac
It's time for me to get a new computer and I have heard so many horror stories about Vista that I am thinking of switching to Mac. What tools are people using to develop on the Mac. I mostly Flash IDE, FlexBuilder, FlashDevelop, SWFMill, SWFDump, HaXe, FlashTracer - are these available on Mac? Also any general info about developing on the Mac, positive or negative, would be helpful. Is anyone using Vista and enjoying it? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] transition
thx a lot for all the response! marcel On 14.03.08 16:18, "Allandt Bik-Elliott (Receptacle)" <[EMAIL PROTECTED]> wrote: > http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/ > wwhelp.htm?context=LiveDocs_Parts&file=0983.html > > this should help (note actionscript 2) > > > > On 14 Mar 2008, at 14:10, Helmut Granda wrote: > >> any specific kind of transition? the transition i noticed was a >> simple fade >> in and fade out. Is that what you were looking for? >> >> On 3/14/08, marcellouz <[EMAIL PROTECTED]> wrote: >>> >>> hi all, >>> >>> anyone out there who knows how to manage this type of picture >>> transition >>> effect? >>> >>> http://www.schierke.com/ >>> >>> thx, >>> marcel >>> ___ >>> Flashcoders mailing list >>> Flashcoders@chattyfig.figleaf.com >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >> >> >> >> -- >> ...helmut >> ___ >> 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] Passing vars with the the timer and events
Erik, Thanks for being more diligent than I was! I assumed the "let it run for an hour while eating dinner" test case was enough, too! This behavior is much more sane than my initial assessment, and I'm certainly glad to have been shown incorrect. :) On 3/14/08, Muzak <[EMAIL PROTECTED]> wrote: > Old articles, but a must read: > http://gskinner.com/blog/archives/2006/06/as3_resource_ma.html > http://gskinner.com/blog/archives/2006/07/as3_resource_ma_1.html > http://gskinner.com/blog/archives/2006/06/understanding_t.html > http://gskinner.com/blog/archives/2006/07/as3_weakly_refe.html > > > > - Original Message - > From: "EECOLOR" <[EMAIL PROTECTED]> > To: "Flash Coders List" > Sent: Friday, March 14, 2008 1:18 PM > Subject: Re: [Flashcoders] Passing vars with the the timer and events > > > >I have modified my test classes slightly. And found that when debugging this > > movie in Flex Builder 3, the garbage collection was triggered when I moved > > my mouse within the Flash movie. > > > > I suspect that the method behind the screens that runs the garbage > collector > > is quite complex. I think that in more complex applications garbage > > collection is more efficient. > > > > > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Cory Petosky : Lead Developer : PUNY 1618 Central Ave NE Suite 130 Minneapolis, MN 55413 Office: 612.216.3924 Mobile: 240.422.9652 Fax: 612.605.9216 http://www.punyentertainment.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] transition
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/ wwhelp.htm?context=LiveDocs_Parts&file=0983.html this should help (note actionscript 2) On 14 Mar 2008, at 14:10, Helmut Granda wrote: any specific kind of transition? the transition i noticed was a simple fade in and fade out. Is that what you were looking for? On 3/14/08, marcellouz <[EMAIL PROTECTED]> wrote: hi all, anyone out there who knows how to manage this type of picture transition effect? http://www.schierke.com/ thx, marcel ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- ...helmut ___ 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] transition
any specific kind of transition? the transition i noticed was a simple fade in and fade out. Is that what you were looking for? On 3/14/08, marcellouz <[EMAIL PROTECTED]> wrote: > > hi all, > > anyone out there who knows how to manage this type of picture transition > effect? > > http://www.schierke.com/ > > thx, > marcel > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- ...helmut ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] transition
I looked at some of the transportation photos: Looks like they are just tweening the brightness instead of the alpha and the photographs are all lit such that it appears more directed than it really is (it looks like it is radiating from the sun but really the sun is just the brightest spot, so it looks 'finished' first). So, unless I'm missing a subtlety in the transition, you can tween a ColorTransform object which has the read/write property brightness or use a your favorite tweening package shortcut for tweening the brightness. -jonathan On Fri, Mar 14, 2008 at 9:21 AM, marcellouz <[EMAIL PROTECTED]> wrote: > hi all, > > anyone out there who knows how to manage this type of picture transition > effect? > > http://www.schierke.com/ > > thx, > marcel > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- -jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME 04101 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] transition
hi all, anyone out there who knows how to manage this type of picture transition effect? http://www.schierke.com/ thx, marcel ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Passing vars with the the timer and events
Old articles, but a must read: http://gskinner.com/blog/archives/2006/06/as3_resource_ma.html http://gskinner.com/blog/archives/2006/07/as3_resource_ma_1.html http://gskinner.com/blog/archives/2006/06/understanding_t.html http://gskinner.com/blog/archives/2006/07/as3_weakly_refe.html - Original Message - From: "EECOLOR" <[EMAIL PROTECTED]> To: "Flash Coders List" Sent: Friday, March 14, 2008 1:18 PM Subject: Re: [Flashcoders] Passing vars with the the timer and events I have modified my test classes slightly. And found that when debugging this movie in Flex Builder 3, the garbage collection was triggered when I moved my mouse within the Flash movie. I suspect that the method behind the screens that runs the garbage collector is quite complex. I think that in more complex applications garbage collection is more efficient. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Passing vars with the the timer and events
I have modified my test classes slightly. And found that when debugging this movie in Flex Builder 3, the garbage collection was triggered when I moved my mouse within the Flash movie. I suspect that the method behind the screens that runs the garbage collector is quite complex. I think that in more complex applications garbage collection is more efficient. Counter.as package { import flash.display.BitmapData; public class Counter { public var bmd:BitmapData; public function Counter() { bmd = new BitmapData(500, 500); bmd.noise(Math.random() * 100); }; }; }; SpriteClass.as package { import flash.display.Sprite; public class SpriteClass extends Sprite { public function SpriteClass() { }; }; }; testAS.as package { import flash.display.Sprite; import flash.events.Event; import flash.text.TextField; [SWF(frameRate="4")] public class testAS extends Sprite { private var _t:TextField; private var _c:uint; private var _a:Array; public function testAS() { _a = new Array(); _t = new TextField(); addChild(_t); var a:SpriteClass = new SpriteClass(); a.addEventListener(Event.ENTER_FRAME, _handler); }; private function _handler(e:Event):void { _t.text = _c.toString(); _a.push(new Counter()); _c++; if (_c > 300) { (e.currentTarget as SpriteClass).removeEventListener( Event.ENTER_FRAME, _handler); }; }; }; }; Greetz Erik On 3/14/08, EECOLOR <[EMAIL PROTECTED]> wrote: > > Hey there, > > I was totally shocked this morning. If what you were saying was true it > would mean that if you created a class with a listener to itself and > instantiated it, it would never be garbage collected. > > So I did some extra tests. > > 1. Your example with a weak listener (same result) > 2. Trying to force garbage collection using System.gc and the > localconnection 'hack' (same result) > > So I turned to the Flex > Profiler. I used the following class to test things: > > package > { >import flash.display.Sprite; >import flash.events.Event; >import flash.system.System; >import flash.text.TextField; > >[SWF(frameRate="1")] >public class testAS extends Sprite >{ > private var _t:TextField; > private var _c:uint; > private var _a:Array; > > public function testAS() > { > _a = new Array(); > > _t = new TextField(); > addChild(_t); > > var a:SpriteClass = new SpriteClass(); > a.addEventListener(Event.ENTER_FRAME, _handler); > }; > > private function _handler(e:Event):void > { > _t.text = (_c++).toString(); > _a.push(new Counter()); > }; >}; > }; > > Initialy the profiler showed the behaviour you were describing. However, > if I pressed > the "Run Garbage Collector" button, the instance of SpriteClass was removed. > This indicates the behaviour that I described in my example. > > > I changed the above example to use a weak listener. The instance of > SpriteClass was only removed after I clicked the "Run garbage collector" > button. > > In the handler I removed the listener to the SpriteClass instance. The > instance of SpriteClass was only removed from memory after I clicked > the "Run garbage collector" button. > > If I run the profiler with the > option "Generate object allocation stack traces", the instance is removed > everytime quite fast. > > > The conclusion of all this is that my statement in previous emails was > correct. What your example shows is that while the instance _can_ be garbage > collected, you will never know when it actually will. > > > A summary: > > - There is no such thing as "a reference to be created invisibly within > the event system". > - You can not be sure when an instance is garbage collected. > - Weak references only indicate that: if the reference on the dispatcher > object to the listener is the last one, the instance containing the listener > will me available for garbage collection. > > > I want to thank you Cory for being as persistent as I can be. It enabled > me to do extensive tests to see > how the player works. In my tests in a standalone player there were cases > where I let the example application run for more then half an hour without > garbage collection of SpriteClass. I am not sure when the garbage collector > kicks in (might be triggered by total memory usage). I will continue to > monitor the > example > to see if the instance will ever be garbage collected. If not, I will file a > bug at adobe. > > > > Greetz Erik > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] 9-slice scaling not working when used as mask
actually, let me rephrase that, scale9 is offcourse applied to a movieclip, but it only works on shapes within this movieclip. On Fri, Mar 14, 2008 at 12:58 PM, Meinte van't Kruis <[EMAIL PROTECTED]> wrote: > scale9 can only be applied to shapes not to movieclips or sprites etc.. So > thats probably why it wont work with masks and why children of a scale9ed > movieclip will still distort.. > > > On Thu, Mar 13, 2008 at 4:01 PM, Matt S. <[EMAIL PROTECTED]> wrote: > > > Speaking of Scale 9, can the "Scaled" MC, eg the one thats actually > > sitting IN the scaling movie, under the guides, have MC's within it? > > I've tried to use S9 as a way to control the positioning of nav items, > > eg, a movieclip, which itself contains multiple MCs, each of which > > sits in the "safe" zones at the corners. But when I do this, the whole > > thing still distorts, mcs at corners included. Am I using S9 for > > something it werent intended fer? :) > > > > thx, > > > > .m > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > -- > M.A. van't Kruis > http://www.malatze.nl/ -- M.A. van't Kruis http://www.malatze.nl/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] 9-slice scaling not working when used as mask
scale9 can only be applied to shapes not to movieclips or sprites etc.. So thats probably why it wont work with masks and why children of a scale9ed movieclip will still distort.. On Thu, Mar 13, 2008 at 4:01 PM, Matt S. <[EMAIL PROTECTED]> wrote: > Speaking of Scale 9, can the "Scaled" MC, eg the one thats actually > sitting IN the scaling movie, under the guides, have MC's within it? > I've tried to use S9 as a way to control the positioning of nav items, > eg, a movieclip, which itself contains multiple MCs, each of which > sits in the "safe" zones at the corners. But when I do this, the whole > thing still distorts, mcs at corners included. Am I using S9 for > something it werent intended fer? :) > > thx, > > .m > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- M.A. van't Kruis http://www.malatze.nl/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Passing vars with the the timer and events
Hey there, I was totally shocked this morning. If what you were saying was true it would mean that if you created a class with a listener to itself and instantiated it, it would never be garbage collected. So I did some extra tests. 1. Your example with a weak listener (same result) 2. Trying to force garbage collection using System.gc and the localconnection 'hack' (same result) So I turned to the Flex Profiler. I used the following class to test things: package { import flash.display.Sprite; import flash.events.Event; import flash.system.System; import flash.text.TextField; [SWF(frameRate="1")] public class testAS extends Sprite { private var _t:TextField; private var _c:uint; private var _a:Array; public function testAS() { _a = new Array(); _t = new TextField(); addChild(_t); var a:SpriteClass = new SpriteClass(); a.addEventListener(Event.ENTER_FRAME, _handler); }; private function _handler(e:Event):void { _t.text = (_c++).toString(); _a.push(new Counter()); }; }; }; Initialy the profiler showed the behaviour you were describing. However, if I pressed the "Run Garbage Collector" button, the instance of SpriteClass was removed. This indicates the behaviour that I described in my example. I changed the above example to use a weak listener. The instance of SpriteClass was only removed after I clicked the "Run garbage collector" button. In the handler I removed the listener to the SpriteClass instance. The instance of SpriteClass was only removed from memory after I clicked the "Run garbage collector" button. If I run the profiler with the option "Generate object allocation stack traces", the instance is removed everytime quite fast. The conclusion of all this is that my statement in previous emails was correct. What your example shows is that while the instance _can_ be garbage collected, you will never know when it actually will. A summary: - There is no such thing as "a reference to be created invisibly within the event system". - You can not be sure when an instance is garbage collected. - Weak references only indicate that: if the reference on the dispatcher object to the listener is the last one, the instance containing the listener will me available for garbage collection. I want to thank you Cory for being as persistent as I can be. It enabled me to do extensive tests to see how the player works. In my tests in a standalone player there were cases where I let the example application run for more then half an hour without garbage collection of SpriteClass. I am not sure when the garbage collector kicks in (might be triggered by total memory usage). I will continue to monitor the example to see if the instance will ever be garbage collected. If not, I will file a bug at adobe. Greetz Erik On 3/14/08, EECOLOR <[EMAIL PROTECTED]> wrote: > > Oh man, thank you for this example! > > This totally blows me away. I am sorry I was so persistent. You are > correct. I will have to check all my applications now, hehe. > > This also means that all my earlier arguments are incorrect and that the > use of Delegate is indeed very dangerous. > > Thank you for showing this to me! To me this really is unexpected > behaviour... I just can not believe that this is designed behaviour... > > > > Greetz Erik > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Passing vars with the the timer and events
Oh man, thank you for this example! This totally blows me away. I am sorry I was so persistent. You are correct. I will have to check all my applications now, hehe. This also means that all my earlier arguments are incorrect and that the use of Delegate is indeed very dangerous. Thank you for showing this to me! To me this really is unexpected behaviour... I just can not believe that this is designed behaviour... Greetz Erik On 3/13/08, Cory Petosky <[EMAIL PROTECTED]> wrote: > > > There is no such thing as "a reference to be created invisibly within > the event system". > > > I disagree. Try this test code: > > package { > import flash.events.Event; > import flash.display.Sprite; > import flash.utils.getTimer; > > public class TestClass extends Sprite { > public function TestClass() { > trace("Started!"); > var s:Sprite = new Sprite(); > s.addEventListener(Event.ENTER_FRAME, listener); > addEventListener(Event.ENTER_FRAME, listener); > } > > private function listener(event:Event):void { > trace(event.currentTarget.toString() + > getTimer()); > } > } > } > > You'll see both event handlers fire until the end of time. Event > references actually are kept, invisibly, within the event system. > > > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders