Re: [Flashcoders] AIR Screensaver?
I know only this one: http://www.instantstorm.com/ But I think it's for Windows only Adrian W dniu 2012-03-12 23:58, David Hunter pisze: Hi All, Anyone have any advice on making screensavers from Flash? I have seen some decent looking software http://www.screentime.com/software/flash-screensaverto convert an swf into a screensaver but it is quite pricey, I didn't have any luck with a mac open source alternatives, so I was wondering if it was possible with AIR? I would need it to function fully as a screensaver eg. be activated by user idle timeouts / hot corners etc... Thanks, David ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Adobe ceases development on mobile browser Flash
On the other hand, I would hate to see Flash go away completely from my "web" life... I love programming in AS3 OOP... I am not sure I would like to do the same kind of programming using JS and HTML5. totally agree I'm not sure that we can win with this whole anti-flash movement, I see so many bad comments about flash almost everyday... really, I don't understand why people hate it so much it's a little depressing that one day I will have to become a html5 developer :/ Adrian W dniu 2011-11-10 18:46, Micky Hulse pisze: I think we're all in agreement that Flash has its uses outside of the (mobile) web. I don't see HTML5 taking the pace of Flash for animations/animating anytime soon (kinda referring to non-web animations). Someone mentioned ads... I could be wrong, but it seems like HTML5 has a long way to go on that one too. On the other hand, I would hate to see Flash go away completely from my "web" life... I love programming in AS3 OOP... I am not sure I would like to do the same kind of programming using JS and HTML5. ___ 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] animation memory leak ... please help
I think I had this problem once... How many of images do you have? Maybe it will be better to make the same number of movie clips, and download every jpg only once? Adrian W dniu 2011-10-18 20:39, [p e r c e p t i c o n] pisze: Hi All, I have an excrutiating memory leak. Here's what i'm doing. first some specs: AS2, FP10+, Linux OS, ff browser I load a jpg into one of two movie clips...once a specified amount of time has expired i load the next image (download it using moviclip loader) and animate the visible movieclip off stage (slide it to the left or right) and at the same time i animate it i also fade it (mc._alpha -= mc._alpha-someAmount). i swap their depths and repeat this process. what i'd like to know is why after so many hours (8-24) flash starts slowing down and ultimately throws up the abort script dialog when i'm not really doing anything all that intensive.. can someone explain how flash handles animations internally for example...it creates a copy of the image in memory..moves it then blits it the screen. can anyone give me some pointers as to where to begin looking for this leak or if you think this is flash player bug all advise helpful thanks percy ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] problem with adding two digits
Thanks Zeh, now I understand. So do we have to keep an eye on our variables so we don't have for example:7.998 * 0,3004 ? Because I think it is a little heavier for processors to count than: 8 * 0.3 W dniu 2010-12-14 16:36, Zeh Fernando pisze: I like to quote this, from PHP.net's "Floating Point" documentation: "Floating point numbers have limited precision. Although it depends on the system, PHP typically uses the IEEE 754 double precision format, which will give a maximum relative error due to rounding in the order of 1.11e-16. Non elementary arithmetic operations may give larger errors, and, of course, error propagation must be considered when several operations are compounded. Additionally, rational numbers that are exactly representable as floating point numbers in base 10, like 0.1 or 0.7, do not have an exact representation as floating point numbers in base 2, which is used internally, no matter the size of the mantissa. Hence, they cannot be converted into their internal binary counterparts without a small loss of precision. This can lead to confusing results: for example, floor((0.1+0.7)*10) will usually return 7 instead of the expected 8, since the internal representation will be something like 7.9991118 So never trust floating number results to the last digit, and never compare floating point numbers for equality." Additional, interesting read: http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems <http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems> On Tue, Dec 14, 2010 at 10:15 AM, tom rhodes wrote: same here compiling for flash player 10 and flash player 9, 8 and below give 0.3 as expected On 14 December 2010 15:42, Adrian Zając wrote: trace (0.27 + 0.03); ___ 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] problem with adding two digits
If you need the addition to be accurate and you know that the numbers will always be decimals you can multiply the numbers by 100 and then you will add 27 + 3 which will return 30 and then divide it by 100 to get your .3 (or at least I think that will work as I have not tried it) Yes Steve, probably this is the best solution. But still I want to know why is it working in that way. Funny thing with flash player versions... Tom, thanks for checking it out. W dniu 2010-12-14 16:15, tom rhodes pisze: same here compiling for flash player 10 and flash player 9, 8 and below give 0.3 as expected On 14 December 2010 15:42, Adrian Zając wrote: trace (0.27 + 0.03); ___ 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] problem with adding two digits
Hello, First of all, I want to say Hi to everyone here. This is my first post. Please, take a look at this part of code: trace (0.27 + 0.03); // output --> 0.30004 Can anyone tell me why I get this weird result in output window? Regards Adrian ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders