Re: [Flashcoders] AS3 finally..

2013-05-21 Thread Kevin Newman
Why? The answer has to do with Adobe's adherence to the ECMAScript working standard that they were basing AS3 on. At the time (before the ECMAScript 4 process fell apart), the body determined that private constructors were not needed, so adobe built this restriction into AS3. Private

Re: [Flashcoders] Adobe Flash future

2013-05-10 Thread Kevin Newman
Gospel. Kevin N. On 5/9/13 11:18 AM, James Merrill wrote: From my perspective as a former Flash Developer at an Ad agency, I can't imagine us getting any more serious Flash work. These days we still use Flash for banner ads, but that's it. We've tried using Adobe Edge to do HTML5 banners, but

Re: [Flashcoders] Adobe Flash future

2013-05-10 Thread Kevin Newman
That seems to be mostly about ASNext/AVMNext which has since been canned, and the developers moved not back to AS3, but to webkit and other web tech. Kevin N. On 5/10/13 7:20 AM, John McCormack wrote: Alex Harui at Adobe had these interesting things to say:

Re: [Flashcoders] Re: Air is dead (was Flash is dead)

2013-05-10 Thread Kevin Newman
The video performance in AIR on desktop is horrendous (no hardware accell - even through webkit), and on mobile it's only better if you go through stagevideo. For heavier lifting you'll need to use an ANE. Once you are down that road, why not just go all native, or look for a better

Re: [Flashcoders] Adobe Flash future

2013-05-08 Thread Kevin Newman
I think of Flash the way I think of Shockwave. There is still work out there, but not much, and less every minute. Kevin N. On 5/8/13 10:40 AM, natalia Vikhtinskaya wrote: Hi What do you think about Flash technology in the near future? It is a pity but it seems that almost all clients have

Re: [Flashcoders] Adobe Flash future

2013-05-08 Thread Kevin Newman
On 5/8/13 1:16 PM, Micky Hulse wrote: Personally, I still love Flash. I miss that I don't use it as often these days. A few thoughts: 1. Correct me if I'm wrong, as it's not my industry, but isn't Flash still one of the popular tools to use for video animation? It was popular for certain types

Re: [Flashcoders] Adobe Flash future

2013-05-08 Thread Kevin Newman
That's what I mean by I think of Flash as Directory/Shockwave. It's not dead, it's just not the job engine it was for a while. It's a much harder sell - but it's still possible, and still has its niches. I still think Adobe could do some things to make it easier, even if they don't actively

Re: [Flashcoders] Adobe Flash future

2013-05-08 Thread Kevin Newman
That seems to be Adobe's general problem. They are very reactive, like used car salesmen. You want HTML5? Boy have we got HTML5! Clouds? We got clouds - on sale this week only! Technology companies can't succeed that way. Kevin N. On 5/8/13 1:58 PM, John R. Sweeney Jr. wrote: Adobe didn't

Re: [Flashcoders] Adobe Flash future

2013-05-08 Thread Kevin Newman
On 5/8/13 2:20 PM, John R. Sweeney Jr. wrote: Please tell me another software that I can build an app that runs on PC/MAC/Linux/iPad/Android/Web (non-mobile)? NME / haXe, or with a bit of additional work, Xamarin (with the various Mono ports) - or Unity3D - based on the same tech. There are

Re: [Flashcoders] Long running tablet apps

2012-11-30 Thread Kevin Newman
I have a task server running on AIR (for generating images and other static website assets - it's part of a CMS) running on a local machine that stays up for weeks. You'll have to find and fix any memory leaks, or infinite event loops (and event handler build ups, etc.), and things like that.

Re: [Flashcoders] Long running tablet apps

2012-11-30 Thread Kevin Newman
I'm running an AIR based task server on Windows XP - for weeks at a time (only patch Tuesday knocks it down). So this can be done. :-) Kevin N. On 11/23/12 7:23 AM, Hans Wichman wrote: I wouldn't put too much time into it, noone realistically expects windows to run for a couple of weeks, let

Re: [Flashcoders] AS3

2012-10-28 Thread Kevin Newman
I literally meant AS3 is dying. Adobe does have their replacement (check some recent discussions on the Apache Flex-dev mailing list ;-) ). Hopefully it'll revitalize things a bit. Kevin N. On 10/28/2012 7:24 AM, Hans Wichman wrote: I think the heart of the matter is that in my opinion

Re: [Flashcoders] AS3

2012-10-27 Thread Kevin Newman
There is absolutely definitely going to be /something/. ASNext is what it's called in the roadmap: http://www.adobe.com/devnet/flashplatform/whitepapers/roadmap.html Kevin N. On 10/26/2012 2:28 PM, Kerry Thompson wrote: I don't think there is going to be an AS4.

Re: [Flashcoders] AS3

2012-10-26 Thread Kevin Newman
JS doesn't have classes, and emulating them is somewhat tricky using the prototype chain (it can be done though). The easiest way to emulate classes though is to use a framework like underscore.js (which Backbone.js is built on). Kevin N. On 10/26/12 9:21 AM, David Hunter wrote: I'd

Re: [Flashcoders] AS3

2012-10-26 Thread Kevin Newman
://www.twitter.com/rosssclafani http://www.linkedin.com/in/rosssclafani [347] 204.5714 let go of even your longest held beliefs, the only truth is in observation. On Oct 26, 2012, at 10:25 AM, Kevin Newman capta...@unfocus.com wrote: JS doesn't have classes, and emulating them is somewhat tricky using

Re: [Flashcoders] AS3

2012-10-26 Thread Kevin Newman
I hate to say it, but AS3 is kind of dying. My hope is AS4 (or whatever they end up calling Actionscript Next) with it's gaming focus, will revitalize things a bit. Kevin N. On 10/26/12 11:11 AM, tom rhodes wrote: how depressing that a simple AS3 question has turned into a thread about how

Re: [Flashcoders] AS3

2012-10-26 Thread Kevin Newman
But why? :-) To add a little bit - perhaps AS3 is only dying in some industries (like mine). But surely once ASNext ships, AS3 will become the next AS2 (which has been diminishing for years now). Kevin N. On 10/26/12 1:44 PM, Hans Wichman wrote: I call bs:)

Re: [Flashcoders] AS3

2012-10-26 Thread Kevin Newman
And don't forget, without being as feature complete as well. Kevin N. On 10/26/12 3:11 PM, tom rhodes wrote: hmmm, nowhere near as mature as haxe and haxe compiles to JS without needing a lightweight runtime either. ___ Flashcoders mailing list

Re: [Flashcoders] AS3

2012-10-26 Thread Kevin Newman
True enough - I keep hoping we'll get renewed interest in AIR apps on mobile, but the brand has taken such a beating no one seems willing to promote the usefulness of AIR that way. In my view, it's just as easy to make an awesome app experience in AIR as it has always been out of Flash Pro

Re: [Flashcoders] AS3

2012-10-25 Thread Kevin Newman
There are some things that are quite nice about JS, but it can be hard to get used to closures over classes, and that kind of thing. If you are looking for library suggestions, I loved Backbone.js, but Flex folks seem to prefer Angular.js. QUnit is actually a lot of fun too (I haven't found

Re: [Flashcoders] AS3

2012-10-24 Thread Kevin Newman
When I first started in AS3, there were two blocks that caught me up a lot. I started from an older AS2 FLA and then converted to AS3 - that was the cause of the problem. If you do that, you end up with an AS3 fla that doesn't have the right settings in the AS3 Properties panel. You won't

Re: [Flashcoders] AS3

2012-10-24 Thread Kevin Newman
Sometimes anonymous and inline functions as terms are used interchangeably. I wrote an addOnce method that utilized a closure - an inline function (it wasn't anonymous though) that subscribed to the main add (this is a Signals implementation) method, then removes itself from within itself,

Re: [Flashcoders] AS3

2012-10-24 Thread Kevin Newman
the appropriate stuff when you just convert? WTF! Good to know Kevin. Thanks Best, Karl On Oct 24, 2012, at 4:25 PM, Kevin Newman wrote: When I first started in AS3, there were two blocks that caught me up a lot. I started from an older AS2 FLA and then converted to AS3 - that was the cause

Re: [Flashcoders] Actionscript lives on.

2012-09-29 Thread Kevin Newman
The other problem is that in a GPU rendering pipeline, vector art is even more expensive (maybe a bit less so with D3D 11 and hardware tessellation, but so far that isn't common on mobile devices). The GPU really needs bitmaps. But a smart render path with vector caching could really get the

Re: [Flashcoders] Actionscript lives on.

2012-09-18 Thread Kevin Newman
There are a number of Stage3D based frameworks that are attempting to do just that (including my poor neglected Backstage2D). Kevin N. On 9/17/12 5:54 PM, Henrik Andersson wrote: Flash needs a more powerful caching system for rasterized vector art.

Re: [Flashcoders] Actionscript lives on.

2012-09-18 Thread Kevin Newman
I haven't shipped anything public, but have shipped a couple of demos and ad-hoc distributed apps that clients were pretty happy with. There is a highish profile Flash site that we are currently planning to revamp for mobile and desktop, all using Flash and AIR. I think Adobe has a good story

Re: [Flashcoders] Actionscript lives on.

2012-09-18 Thread Kevin Newman
On 9/18/12 11:04 AM, Tom Gooding wrote: 1) Has anyone on this list shipped anything decent (by this I guess I mean commercially successful; gave +ve ROI on dev/sales costs) into the AppStore using AS3/AIR? Also, I didn't have anything to do with it, but I think the NBC Sports (formerly NBC

Re: [Flashcoders] Actionscript lives on.

2012-09-17 Thread Kevin Newman
HTML5 is finally on the downslide of the gartner hype cycle's peak of inflated expectations. So it makes sense that people are starting to pronounce it's death. Mark Zuckerberg has caught on with his comments about native apps vs. HTML5 from last week too. HTML always had a place, and

Re: [Flashcoders] Fonts taking up too much space

2012-06-27 Thread Kevin Newman
Every static glyph for every font face and weight/style is also embedded. The only way to really reduce the size of those fonts is to embed fewer glyphs. One strategy might be to consolidate the number of fonts you are using. If you are using 4 typefaces, try to reduce it to 3 or even 2.

Re: [Flashcoders] Accessing FlashVars

2012-05-01 Thread Kevin Newman
Back in the day I remember embed just plain old worked better across the board in non-IE browsers. That may have changed (object offered better fallbacks for one thing, and has been worked on a lot more lately, but it also had other kinds of problems). Then we came up with this nested object

Re: [Flashcoders] Publishing / Packaging for Mobile - Command Line Workflow

2012-03-16 Thread Kevin Newman
You can add Android SDKs in such a way that you can compile and test - the full monty from Flash CS5.5: http://swfhead.com/blog/?p=1378 The same trick doesn't work for iOS unfortunately, you'll have to overwrite your main AIR SDK to update iOS. Once you have that done, a regular test movie

Re: [Flashcoders] Real System Make Money Easy 2012 Trend‏‏‏‏‏

2012-03-12 Thread Kevin Newman
The Starks are /always/ right eventually. On 3/11/12 3:52 AM, Ima Newsletta wrote: Winter is coming ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] MVC style Correction

2012-03-06 Thread Kevin Newman
I think a core concept got lost with MVC - the controller controls things. That is, it can directly update (control or talk to) a model and a view. A model should not directly update (control) anything except it's own data sources (remote or otherwise), and should only broadcast changes to

Re: [Flashcoders] MVC style Correction

2012-03-06 Thread Kevin Newman
Also, this thread has helped to flesh out my understanding of MVC to a substantial degree. I love that. :-) Kevin N. On 3/6/12 11:40 AM, Kevin Newman wrote: That's how I understand MVC anyway. ___ Flashcoders mailing list Flashcoders

Re: [Flashcoders] MVC style Correction

2012-03-05 Thread Kevin Newman
If the model is updating the view, then it doesn't sound like you have a generic view at all. This can be appropriate in certain cases, but if you really want reusable View objects (like a generic scrolling text or image list view), they should be generic and abstracted from the underlying

Re: [Flashcoders] MVC style Correction

2012-02-27 Thread Kevin Newman
Well, not every object has to be a Model, a View, or a Controller. You can have your controller and view work with an instance of an adapter. You wouldn't want an adapter hanging out in the ether - but but your MVC objects could certainly have a uses a relationship to an adapter object. For

Re: [Flashcoders] MVC style Correction

2012-02-26 Thread Kevin Newman
I would say an adapter class is part of the controller, and it's ok for the controller to know about the formats of both the model and the view - it's job is to translate, and facilitate model data into generic view data (and back), even if all it does is setup a delegate, like an adapter.

Re: [Flashcoders] MVC style Correction

2012-02-25 Thread Kevin Newman
On 2/25/2012 8:00 PM, Paul Andrews wrote: Who is then? The model - but it depends on what you really mean by manipulate - if you are storing it (such as in a database) to be retrieved by the model at a later time, the model should do it. If you are channeling the data to a generic view, and

Re: [Flashcoders] Flash Platform roadmap released - time to start learning HTML 5 unless you make games.

2012-02-24 Thread Kevin Newman
I only played with Edge briefly on vacation last summer. :) I think that fear about HTML is warranted in terms of the quality of code you'll end up with - but the same can be said for hand written PostScript vs. Illustrator generated PostScript. Personally, I'll be happen when I don't have

Re: [Flashcoders] Flash Platform roadmap released - time to start learning HTML 5 unless you make games.

2012-02-23 Thread Kevin Newman
That's the most important point IMO. You can at least technically do high quality Flash like work with HTML5. It can still be challenging, but it'll only get easier over time. That Nike site BTW, doesn't run well even on the newest iMac we have in the office (less than 2 months old), and it

Re: [Flashcoders] Flash Platform roadmap released - time to start learning HTML 5 unless you make games.

2012-02-23 Thread Kevin Newman
That one is useful for iOS where framescripts aren't necessarily evil - but totally unsupported (because of Apple) in loaded swfs. Kevin N. On 2/22/12 3:37 PM, Henrik Andersson wrote: * Frame label events: Because framescripts are evil (they are not)

Re: [Flashcoders] Flash Platform roadmap released - time to start learning HTML 5 unless you make games.

2012-02-23 Thread Kevin Newman
Oh! That's right, I would totally love game controller support! I wonder if it has something to do with a lack of system APIs on certain systems, to put an abstraction around (OSX, iOS, Android, etc.). Kevin N. On 2/22/12 3:50 PM, Henrik Andersson wrote: Oh and, there is a curious lack of

Re: [Flashcoders] Flash Platform roadmap released - time to start learning HTML 5 unless you make games.

2012-02-23 Thread Kevin Newman
There is this idea that was articulated by an old timer - an ex-bank CEO - on Bill Moyer's show a few weeks ago, that companies and running companies used to be about product and solving customers' problems - great loan products if you are are a banker, or Flash and great tools if you run

Re: [Flashcoders] Flash Platform roadmap released - time to start learning HTML 5 unless you make games.

2012-02-23 Thread Kevin Newman
Well from most of the numbers I've seen, IE6 has a higher use percentage than IE7 - but even the global IE6 usage share numbers represent an inflated average pulled up by users in China. In the USA IE6 usage is already not even in the single digit percentage points anymore:

Re: [Flashcoders] Adobe Mobile Forum

2012-02-20 Thread Kevin Newman
Flash is dead. The buzz is about AIR. Seriously though - our clients are figuring out that HTML5 apps (mobile browser apps) are not what they wanted. Once they understand they need an app store app, then they don't care what it's built with (especially for the kind of over the top custom -

Re: [Flashcoders] MVC style Correction

2012-02-17 Thread Kevin Newman
Hands down the best explanation of MVC I've ever seen anywhere, is in this iTunes U series (item 43 at the bottom of the list) - you can just grab the slides too, but you'll miss all the emotion and humor of the delivery :-)

Re: [Flashcoders] MVC style Correction

2012-02-17 Thread Kevin Newman
, or through an adapter), it doesn't just pass along the model's raw data. Kevin N. On 2/17/12 5:18 PM, Kevin Newman wrote: - Views have view data, data that is specific to the view, are updated directly by the controller, broadcast changes to listening controllers

Re: [Flashcoders] MVC style Correction

2012-02-17 Thread Kevin Newman
That idea that the one thing MVC interpretations have in common - that models can only be updated by the controller makes sense. I tried to learn MVC a few times before it really stuck in my head. These where the problems I encountered: - What does MVC apply to? Is it an application level

Re: [Flashcoders] Large Images with Alpha Channel

2012-02-14 Thread Kevin Newman
I'm not sure why that would be the case - you could put your sprite sheet on the stage and compress it (a 1 frame swf), and then load the swf. The problem as I understood it is the file (download) size, and this would solve that. Once you've loaded the swf, if you need a BitmapData - you

Re: [Flashcoders] Large Images with Alpha Channel

2012-02-11 Thread Kevin Newman
If you have access to Flash Pro, you can import a PNG-32 into the library, and use the Flash to apply the JPEG compression. Flash will retain the alpha mask. There may be other programs that can output a jpeg with an alpha channel in a swf format like that, but I can't think of any off the

Re: [Flashcoders] Switching to HaXe?

2011-11-30 Thread Kevin Newman
My info seems to be out of date (re: NME for example) - but HaXe came from MTASC, which was an alternative AS2 to bytecode compiler. I think haXe's first target was AVM2 bytecode, having been built after MTASC, and the creator not wanting to bother with questionable AS3 design considerations

Re: [Flashcoders] Flash + jQuery

2011-11-04 Thread Kevin Newman
You could look into using a Proxy class inside of Flash, to wrap method calls to ExternalInterface calls. http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/utils/Proxy.html It's easy to set up, and actually is pretty common for remote procedure calls. Kevin N.

Re: [Flashcoders] Flash + jQuery

2011-11-04 Thread Kevin Newman
You could look into using a Proxy class inside of Flash, to wrap method calls to ExternalInterface calls. http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/utils/Proxy.html It's easy to set up, and actually is pretty common for remote procedure calls. Kevin N.

Re: [Flashcoders] no posts since yesterday

2011-10-26 Thread Kevin Newman
Awesome. Thanks for the info. Kevin N. On 10/20/11 6:38 PM, Kerry Thompson wrote: There are several. I'm in the Boston area, so I check out http://www.bostonpostmortem.org/jobboard/jobs/programmers/ when I'm on the market.http://www.riajobs.org/ sometimes has recent job

Re: [Flashcoders] Flash Player 11 and Flash Professional CS 5.5 (11.5)

2011-10-24 Thread Kevin Newman
This is the best resource I've seen on overlaying new SDKs (and Flash and AIR versions) into your existing Flash Pro CS5 and CS5.5 installations. http://swfhead.com/blog/?p=1378 The only one that doesn't overlay cleanly is the iOS publish target, which requires you to choose only one AIR

Re: [Flashcoders] no posts since yesterday

2011-10-20 Thread Kevin Newman
On 10/20/11 5:32 PM, Kerry Thompson wrote: I would guess either busy or overemployed. I see a lot of demand for Flash/Flex developers on the job boards. Which job boards? :-) (I don't freelance, but I'm curious.) Kevin N. ___ Flashcoders mailing

Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Kevin Newman
There is an old solution - put the top layered Object in its own HTML page, and load that into an iframe, then position the iframe over the windowed flash movie. I haven't tried that in ages, but I think it still works. Kevin N. On 9/21/11 2:09 AM, Mikael Enroos wrote: Hi, I'm trying to

Re: [Flashcoders] Convert flash animation with sound to Ipad

2011-09-21 Thread Kevin Newman
On 9/21/11 9:29 AM, natalia Vikhtinskaya wrote: Do I need CS5 or CS5.5? I am looking for any working example or tutorial for using timeline animation and touch events. You can use MouseEvent.CLICK and the like, it's just that mouse over interactions will be problematic (the events are fired in

Re: [Flashcoders] Convert flash animation with sound to Ipad

2011-09-21 Thread Kevin Newman
That question could mean 1 of two different targets: 1. HTML5 - so that the flash app runs in Mobile Safari, integrated with the website. In that case, you need to port or convert to HTML/JS/CSS. I haven't found anything particular hands free to do that conversion, but you could try Google

Re: [Flashcoders] Convert flash animation with sound to Ipad

2011-09-21 Thread Kevin Newman
To make an app, you'll want to change the publishing settings to publish as iPhone app. The only thing is, you'll be publishing with AIR 2.0 by default from Flash CS5 - there is a way to overlay the AIR package to get it to work with newer AIR builds (AIR 2.7 is fast much much faster, and

Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Kevin Newman
If it's like a popup thing, I guess you'd want to block access - however, that won't work anyway in wmode=window. The iframe is what divides the two swfs, and allows the one on top to display over another swf with wmode set to window (which as I understood it could not be changed), by forcing

Re: [Flashcoders] Flash on top of flash

2011-09-21 Thread Kevin Newman
If one the two swfs need to interact (if I understood) LocalConnection could be used. That works even when two swfs are on different domains, running in two different browsers (as long as they are on the same machine). Kevin N. On 9/21/2011 7:38 PM, Karl DeSaulniers wrote: Unless you need

Re: [Flashcoders] :O

2011-09-01 Thread Kevin Newman
NVIDIA PhysX in Flash?! Ok, I'm interested. Kevin N. On 9/1/11 6:54 PM, Ross Sclafani wrote: WOW Unity 3D will publish to Flash Player bit.ly/rmNbGp but i imagine webGL can't be too far behind? ___ Flashcoders mailing list

Re: [Flashcoders] Calling native code from Flash

2011-07-19 Thread Kevin Newman
Or Pixel Bender - I've heard you can do some heavy processing with that too. Additionally, HaXe has some ways to avoid some of the overhead of Alchemy when using it from AS3. You'd have to do a lot in haxe instead of AS3, but you can use the alchemy stuff though inlining, which accesses the

Re: [Flashcoders] BunnyMark on iOS

2011-07-05 Thread Kevin Newman
I posted some result tables and the source to all this here if anyone is interested: http://www.unfocus.com/2011/07/03/performance-benchmarks-with-air-2-7-for-ios/ Kevin N. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] scrolling webpage with flash

2011-06-30 Thread Kevin Newman
It sounds like you would need to use ExternalInterface and JavaScript to resize your HTML container for the swf. I'd suggest wrapping the swf container (whatever embedding solution you are using) in a div, setting your swf container (object/embed tag, swfobject, or whatever) to 100%, and

Re: [Flashcoders] scrolling webpage with flash

2011-06-30 Thread Kevin Newman
On 6/30/11 4:40 PM, Eric E. Dolecki wrote: document.getElementById(divName).style.height =valPassedByFlash You can even do that completely from within flash: function onResizeHandler(event:Event):void { if (ExternalInterface.available)

Re: [Flashcoders] scrolling webpage with flash

2011-06-30 Thread Kevin Newman
I sure hope they don't nerf it. :-) Kevin N. On 6/30/11 5:32 PM, Henrik Andersson wrote: Kevin Newman skriver: On 6/30/11 4:40 PM, Eric E. Dolecki wrote: document.getElementById(divName).style.height =valPassedByFlash You can even do that completely from within flash: function

Re: [Flashcoders] PlayBook

2011-06-21 Thread Kevin Newman
A 4 month break. Man that sounds nice. :-) Kevin N. On 6/21/11 4:48 AM, David Hunter wrote: Hi All, Hope you are all well. I have just returned to work after a 4 month break seeing a little of the other side of the world. I have been asked to make a Blackberry Playbook app with AIR (it just

Re: [Flashcoders] PlayBook

2011-06-21 Thread Kevin Newman
You can build with CS5 - basically, you create an AIR swf (using standard desktop settings) then you can use the free SDK and a bat file (or the command line) to compile the AIR/Playbook app. I was able to build a Playbook app with Flash CS5 using this technique. You can even do the same for

Re: [Flashcoders] BunnyMark on iOS

2011-06-20 Thread Kevin Newman
at this point. I'll put up a blog post soon with iPhone 3GS and iPhone 4 numbers. Kevin N. On 6/17/11 3:52 PM, Kevin Newman wrote: It looks like I'm not the only one to notice this strange framerate issue. http://www.pixelthismobile.com/blog/1/10/2010/flash-iphone-wildly-fluctuating-framerate

[Flashcoders] BunnyMark on iOS

2011-06-17 Thread Kevin Newman
Hi guys, I am running some benchmarks on iOS, to run AIR 2.7 through it's paces. I used BunnyMark (and the blitting counter part) for context: http://www.iainlobb.com/bunnies/BitmapTest.html iPhone 3GS results: Display List CPU: ~18 fps Display List GPU: 24 fps (constant frame rate) Blitting

Re: [Flashcoders] BunnyMark on iOS

2011-06-17 Thread Kevin Newman
It looks like I'm not the only one to notice this strange framerate issue. http://www.pixelthismobile.com/blog/1/10/2010/flash-iphone-wildly-fluctuating-framerate-or-frame-skip I'll investigate further tonight. Kevin N. On 6/17/11 11:19 AM, Kevin Newman wrote: Hi guys, I am running some

Re: [Flashcoders] AS3 exploding and reassemble bitmap

2011-06-16 Thread Kevin Newman
I updated the post with a link to the source: http://www.unfocus.com/2010/06/29/the-bunny-video-eplodes-explodes/ http://www.unfocus.com/PixelExploder/PixelExploder02.zip If anyone knows why that runs so sluggishly in the content debugger (including the incubator build), I'd love to know why.

Re: [Flashcoders] AS3 exploding and reassemble bitmap

2011-06-16 Thread Kevin Newman
: Probably all that CGI hair ;) On 16/06/2011 17:40, Kevin Newman wrote: I updated the post with a link to the source: http://www.unfocus.com/2010/06/29/the-bunny-video-eplodes-explodes/ http://www.unfocus.com/PixelExploder/PixelExploder02.zip If anyone knows why that runs so sluggishly

Re: [Flashcoders] CS 5.5 to iPad - poor image rendering

2011-06-15 Thread Kevin Newman
Vector rendering quality in general is a problem on iOS in GPU mode. The way around it is to use Bitmaps in place of vectors, where you can. In Flash CS5.5, there is an easy way to do that - you can set the Render drop down to Export As Bitmap (in Properties, under Display). This will give

Re: [Flashcoders] AS3 exploding and reassemble bitmap

2011-06-14 Thread Kevin Newman
You might be able to adopt my script to do that: http://www.unfocus.com/2010/06/29/the-bunny-video-eplodes-explodes/ Probably is more manual than you are looking for though. That script draws everything into a bitmap. You could probably transition that to the new location during the

Re: [Flashcoders] AS3 exploding and reassemble bitmap

2011-06-14 Thread Kevin Newman
Hmm. I don't seem to have the source up for that (thought I did), you can use a slightly older set of files from here: (This one has source) http://www.unfocus.com/2010/06/23/the-pixels-explode-explode/ If you are interested in the newer faster one (fast enough to work with video - and a blur

Re: [Flashcoders] AS3 is it possbile to show a movieclip before its all frames loaded

2011-06-14 Thread Kevin Newman
I think the easiest answer is yes - if you use a Loader object to load a streamable MovieClip based swf, you can just add that Loader object to the display list and it'll start streaming the swf, just like if it was embedded in an HTML object tag. Kevin N. On 6/13/11 4:36 AM, B Shankar

Re: [Flashcoders] Incubator updates

2011-06-06 Thread Kevin Newman
Lots of things, like any Valve game for example, seem to run much slower on Mac OS X than on Windows, on the same hardware. I'm not sure this is a Flash Player problem specifically, though I do hope they can bridge the gap a bit more. Kevin N. On 5/22/11 6:32 AM, Karim Beyrouti wrote: one

Re: [Flashcoders] How make an SWF run on IPad?

2011-05-03 Thread Kevin Newman
Flex 4.5 SDK contains the AIR 2.6 for iOS stuff: http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4.5 This is the gotoandlearn.com link for Flash iPhone apps: http://www.gotoandlearn.com/play.php?id=133 Kevin N. On 5/3/11 1:00 AM, Kevin Newman wrote: It's in the publish settings

Re: [Flashcoders] How make an SWF run on IPad?

2011-05-02 Thread Kevin Newman
If you need it for general distribution, you can package it as an app using Flash CS5 or AIR 2.6 (gets you a newer faster runtime), then point site visitors to the app location. All individual swfs will need to be merged into one giant swf. If you need to demo something on the iPad, you can

Re: [Flashcoders] How make an SWF run on IPad?

2011-05-02 Thread Kevin Newman
...@chattyfig.figleaf.com] On Behalf Of Kevin Newman Sent: Monday, May 02, 2011 2:05 PM To: Flash Coders List Subject: Re: [Flashcoders] How make an SWF run on IPad? If you need it for general distribution, you can package it as an app using Flash CS5 or AIR 2.6 (gets you a newer faster runtime

Re: [Flashcoders] swf background color: Set via embed or flashvar?

2011-04-28 Thread Kevin Newman
As long as you don't have something obscuring the background, you can set that in the embed code using a very old bgcolor parameter: param name=BGCOLOR value=#FF / Kevin N. On 4/28/11 7:00 PM, Micky Hulse wrote: ? I like the thought of using the param via the embed code because then

Re: [Flashcoders] CS5, SharedObject AIR for Android debugging

2011-04-22 Thread Kevin Newman
I've been wondering if SharedObject is the correct storage technology to use on iOS and Android - the biggest question I have (I haven't tried it yet) is what happens to that data when the app is upgraded? I wonder if just writing a file somewhere would be better. That said, I don't have an

Re: [Flashcoders] What is up with adobes documentation?

2011-04-22 Thread Kevin Newman
I usually just put the class name with as3 into google (LocalConnection as3) - it almost always gives me something useful. I do generally agree that's it's often hard to find anything using Adobe's built in documentation tool - especially using the search field (which is local in CS5). Though

Re: [Flashcoders] What is up with adobes documentation?

2011-04-22 Thread Kevin Newman
Yeah, I pretty much learned AS2 with Macromedia's little help ? mark button. :-) I'm not really sure why Adobe felt the need to mess with it so much. Kevin N. On 4/22/11 1:55 PM, Merrill, Jason wrote: I miss the good old days when Adobe's local help was easy to access and find

Re: [Flashcoders] TLF: Questions... My situation... Your thoughts?

2011-04-18 Thread Kevin Newman
Ah! It is in there (in Flash CS5 - with a fallback to a local copy). I never noticed that before. :-) Kevin N. On 4/18/11 3:15 AM, Henrik Andersson wrote: Kevin Newman skriver: ... I don't think they are loaded from Adobe's servers Check the publish settings, the exact url list for each

Re: [Flashcoders] TLF: Questions... My situation... Your thoughts?

2011-04-18 Thread Kevin Newman
I haven't had a lot of opportunity or need for it yet, but it's on the list - it's necessary for some things like international text input. I'll definately be using it for that. Kevin N. On 4/18/2011 12:54 PM, Micky Hulse wrote: Thanks for all the additional information Kevin and Henrik!

Re: [Flashcoders] TLF: Questions... My situation... Your thoughts?

2011-04-17 Thread Kevin Newman
I think they are signed files, but I don't think they are loaded from Adobe's servers - you need to place the RSL next to your swf, so Flash can load it. If it's the same as another already downloaded RSL, then Flash doesn't download it again, it just uses one it got from somewhere else.

Re: [Flashcoders] useCapture = true is faster?

2011-04-05 Thread Kevin Newman
That's what I thought, thanks. :-) Kevin N. On 4/5/11 2:28 AM, Henrik Andersson wrote: Capture happens before bubbling. Go for the capture phase if it works for you and you need to shave a few microseconds. Just remember that the capture phase does not extend to the actual target.

Re: [Flashcoders] constructor interpreted?

2011-04-05 Thread Kevin Newman
Ok thanks. I was wondering if that was still the case - I'll assume it is, and continue to pass off to init funcs when it makes sense. I do wonder how they handle it on iOS with their ARM AOT compiler. Maybe there is overhead on constructor code? Kevin N. On 4/5/11 8:56 AM, Juan Pablo

[Flashcoders] useCapture = true is faster?

2011-04-04 Thread Kevin Newman
Hello all, I'm curious - if I use someObj.addEventListener(MouseEvent.CLICK, someFunc, true); then do evt.stopPropagation - is that faster than if I don't set useCapture = true? The thinking is that it won't have to climb the display list hierarchy down to the target, then back up again -

[Flashcoders] constructor interpreted?

2011-04-04 Thread Kevin Newman
Hey all, A long while ago I read that the constructor is interpreted, unlike the rest of the class methods, which are compiled. Is that still true? thanks, Kevin N. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Getting Data into my SWF

2011-03-15 Thread Kevin Newman
This is the perfect opportunity to introduce a clever Easter egg. ;-) Kevin N. On 3/15/11 1:35 PM, Jordan L. Chilcott - Interactivity Unlimited wrote: In this case, you just manipulate the time on the client side for the user's amusement (if they try to tamper with it, the next call will

Re: [Flashcoders] Getting Data into my SWF

2011-03-13 Thread Kevin Newman
Hi Glen, If you really want to keep people from seeing some data until a certain date (depending on how sensitive it is), you should probably keep a pair of swfs instead of just serving up the one. You'd serve the pre-date swf before the event, then on the day of the event, you'd switch to

Re: [Flashcoders] quiet in here at the moment

2011-03-07 Thread Kevin Newman
I still wonder about the affect of the prerelease program. That and all the HTML5 work clients keep demanding (I've seen a massive shift in demand lately - none of it well reasoned, but that's what I'm seeing). Kevin N. On 3/7/11 1:11 PM, Merrill, Jason wrote: Yep, this list has been

Re: [Flashcoders] Automatic quality toggle

2011-03-03 Thread Kevin Newman
I have pretty good experience exporting to QuickTime right from Flash - though others swear it's problematic (maybe they are doing it wrong?). If you want to keep the vector animation, and if fullscreen is your main problem, you can use a fullScreenRect to force the renderer to a smaller draw

Re: [Flashcoders] Automatic quality toggle

2011-03-03 Thread Kevin Newman
Actionscript works when exporting to QT ... Kevin N. On 3/3/11 12:15 PM, Henrik Andersson wrote: Kevin Newman skriver: I have pretty good experience exporting to QuickTime right from Flash - though others swear it's problematic (maybe they are doing it wrong?). Maybe they are using

Re: [Flashcoders] Automatic quality toggle

2011-03-03 Thread Kevin Newman
Have you ever tried switching to 1FPS for exporting to QT? I wonder if that would skip fewer frames. You'd need to multiply your time based animations by whatever factor though... Kevin N. On 3/3/11 12:31 PM, Karim Beyrouti wrote: I developed an AIR app to export SWF to PNG sequences:

  1   2   3   >