Re: [Flashcoders] Where is everyone
I reckon either on a javascript forum or the haxe mailing list :) On 27 November 2014 at 19:10, John R. Sweeney Jr. jr.swee...@comcast.net wrote: Since this list has gotten rather quite, where are people going to discuss topics and problems. Or ask for help… Thanks and H:)ppy Thanksgiving to everyone, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 ___ 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 is everyone
I've done no complex Flash for a couple years and also can find answers to my problems on stackexchange and blogs much easier than a few years ago. On Thu, Nov 27, 2014 at 12:10 PM, John R. Sweeney Jr. jr.swee...@comcast.net wrote: Since this list has gotten rather quite, where are people going to discuss topics and problems. Or ask for help… Thanks and H:)ppy Thanksgiving to everyone, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Erik Mattheis http://www.flickr.com/gelk ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Where is everyone
Hi John, I have no idea where everyone goes to discus flash topics, but I know for me, I depend on StackOverflow.com. A question for you though since you wrote and I know you do a lot AIR. I took it upon myself to leverage WordPress as a CMS platform and use AIR for the mobile front end. AIR is essentially the shell and WordPress is the content. I'm making what is essentially a Whisper app clone. I have a big decision though and I'm not sure what direction to go. It has to with StageWebView. StageWebView is in many ways limiting, but if I used it to display content, development would be more rapid and I could more easily take advantage of open source tools. The main trade off is a little less refined control over cosmetics and user experience. Then again, with CSS3 and recent improvements, it's a now a little easier to create a unique experience with HTML/JavaScript. Alternatively, I'm finding it relative easy to access and load WordPress data into AIR via JSON, but displaying what may be 1000's of posts requires a lot of code and thought. WordPress makes it so you hardly have to think about this in StageWebView. For instance, AIR has no native kinetic scrolling. I've found a good library which I'm now using, but at the cost of 5 or 6 hours research. StageWebView would have solved it instantly. What do you do? I hope everyone is having a nice holiday. Sorry to hijack your thread, but with so little activity on this mailing list I thought it made sense. Thank you, Kurt On Thu, Nov 27, 2014 at 1:10 PM, John R. Sweeney Jr. jr.swee...@comcast.net wrote: Since this list has gotten rather quite, where are people going to discuss topics and problems. Or ask for help… Thanks and H:)ppy Thanksgiving to everyone, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 ___ 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 is everyone
Hi, I’m afraid I won’t be much help to you. I really don’t do any web development anymore. I think the last time was 2013 (maybe). I build pure applications that run on PC/MAC/IOS/ANDROID. They are only use net connections to pull data, but minimally. My games are self-contained, tracking and all. The marketing, training and/or presentational pieces are installed corporate side, so I really don’t have a solution or even a suggestion for you. So very sorry, I’m not more help. I just came across www.krupa.com and their forums are current, so you might try there. Hi-jacking is a good thing if you get some help or a suggestion. :) H:)ppy Thanksgiving and I’ll check out StackOverFlow again. It’s been awhile, since I’ve visited that site, so I’ll have to catch up. Later, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Nov 27, 2014, at 12:41 PM, Kurt Dommermuth k...@kurtdommermuth.com wrote: StageWebView would have solved it instantly. What do you do? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] IOS 8 and Air
On 19/09/2014 20:11, Paul A. wrote: On 19/09/2014 14:01, Mike Duguid wrote: I have some apps built with air 14 for ios8, initial testing seems to be ok, the only glitch being they now pop up a message about allowing notifications on the first launch (even though the apps don't use notifications). What's broken in yours specifically? Two just hang with a black screen, two hang on the opening screen. I think that a rebuild with Flash CC and the current version of Air for IOS should sort it out. Here's an update. Flash CC did sort it out but caused a new problem - Flash CC no longer supports TLF text, so all of the TLF text was converted to classic flash text. Unfortunately, it changed size and layout in the conversion and so I've had to revisit all TLF text. The conversion goes to static text, all of the named TLF text then was dangling in code.. Bit of a pain all round. Paul Paul On 19 September 2014 13:50, Paul A. p...@ipauland.com wrote: Well, with IOS 8 released, I tried out those apps I built with CS6 and Air for IOS 3.4. All broken.. :-( Client informed that they better not upgrade to IOS8 and will they require all the apps to be rebuilt for IOS8.. Paul On 14/09/2014 21:31, Paul A. wrote: Any Flash developers targetting Air on IOS, tested their apps on IOS8? It seems some changes in IOS 8 have upset some native apps. Will I get a stream of phone calls very soon or will everything I've made so far continue to work? I would try it myself but I'd rather wait until the official release. Paul ___ 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 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 is everyone
Due to problems with flashplayer on several devices, I completely switched to HTML5/Javascript/PHP/etc. Goodbye Flash. :-( -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of John R. Sweeney Jr. Sent: donderdag 27 november 2014 19:10 To: Flash Coders List Subject: [Flashcoders] Where is everyone Since this list has gotten rather quite, where are people going to discuss topics and problems. Or ask for help. Thanks and H:)ppy Thanksgiving to everyone, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders - No virus found in this message. Checked by AVG - www.avg.com Version: 2015.0.5577 / Virus Database: 4223/8643 - Release Date: 11/28/14 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: unsubscribe
haha!! :five On 24.09.2014 18:10, Kurt Griffin wrote: Thanks man, that was the funniest thing I’ve seen all day. - Kurt Griffin Software Development and Consulting 617.347.7681 http://www.squidfight.com On Sep 24, 2014, at 12:00 PM, flashcoders-requ...@chattyfig.figleaf.com wrote: unsubscribe ___ 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] unsubscribe
Sent from my iPhone On Sep 23, 2014, at 2:47 PM, William Chadwick wchadw...@gmail.com wrote: To subscribe or unsubscribe via the World Wide Web, visit http://chattyfig.figleaf.com/mailman/listinfo/flashcoders or, via email, send a message with subject or body 'help' to flashcoders-requ...@chattyfig.figleaf.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] unsubscribe
Umm, William, check below for the easy way to unsubscribe. Sending an unsubscribe message to everybody on the list might work if the admin happens to see it, but probably not. Look for these instructions: To subscribe or unsubscribe via the World Wide Web, visit http://chattyfig.figleaf.com/mailman/listinfo/flashcoders or, via email, send a message with subject or body 'help' to flashcoders-requ...@chattyfig.figleaf.com They're down here | | \/ On Tue, Sep 23, 2014 at 2:47 PM, William Chadwick wchadw...@gmail.com wrote: unsubscribe On Mon, Sep 22, 2014 at 10:00 AM, flashcoders-requ...@chattyfig.figleaf.com wrote: Send Flashcoders mailing list submissions to flashcoders@chattyfig.figleaf.com To subscribe or unsubscribe via the World Wide Web, visit http://chattyfig.figleaf.com/mailman/listinfo/flashcoders or, via email, send a message with subject or body 'help' to flashcoders-requ...@chattyfig.figleaf.com You can reach the person managing the list at flashcoders-ow...@chattyfig.figleaf.com When replying, please edit your Subject line so it is more specific than Re: Contents of Flashcoders digest... Today's Topics: 1. Re: Re: Datagrid cell focus (Dave Watts) 2. Re: Re: Datagrid cell focus (Karl DeSaulniers) 3. RE: Re: Datagrid cell focus (Rick) 4. Re: Re: Datagrid cell focus (Bill) -- Message: 1 Date: Sun, 21 Sep 2014 13:13:50 -0400 From: Dave Watts dwa...@figleaf.com Subject: Re: [Flashcoders] Re: Datagrid cell focus To: Flash Coders List flashcoders@chattyfig.figleaf.com Message-ID: CACi=XSZ+sC2CgsqKdmDNS9_ptSxW--xeJ8jC= tyi6lssshh...@mail.gmail.com Content-Type: text/plain; charset=UTF-8 I think this question may be in the archives. Have you checked there? Not positive how to get there, just know one exists. Might post your question again as many flash devs are not paying attention to the list as much anymore, but peek in from time to time. They probably just missed it or because it's a data grid question, be hiding from it. :P The archives don't work since the last server migration, unfortunately. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. -- Message: 2 Date: Sun, 21 Sep 2014 20:46:06 -0500 From: Karl DeSaulniers k...@designdrumm.com Subject: Re: [Flashcoders] Re: Datagrid cell focus To: Flash Coders List flashcoders@chattyfig.figleaf.com Message-ID: 7cdb76cd-af60-47b5-b190-a3057d604...@designdrumm.com Content-Type: text/plain; charset=us-ascii Well, that was unexpected. Then I would say Adobe forums are your best bet Bill. Unless there is still someone here that can help? I wish I knew more or I would. Sry. Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Sep 21, 2014, at 12:13 PM, Dave Watts dwa...@figleaf.com wrote: I think this question may be in the archives. Have you checked there? Not positive how to get there, just know one exists. Might post your question again as many flash devs are not paying attention to the list as much anymore, but peek in from time to time. They probably just missed it or because it's a data grid question, be hiding from it. :P The archives don't work since the last server migration, unfortunately. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Message: 3 Date: Sun, 21 Sep 2014 19:26:02 -0700 From: Rick rickhas...@hotmail.com Subject: RE: [Flashcoders] Re: Datagrid cell focus To: flashcoders@chattyfig.figleaf.com Message-ID: bay174-w23d0d69ec6a74bbddf4a08de...@phx.gbl Content-Type: text/plain; charset=iso-8859-1 Kirupa forums were the place to go a few years ago and luckiky are still maintained. The community was incredible. Forums: http://www.kirupa.com/forum/ Here are some tutorials from the site: http://www.kirupa.com/developer/flash/ Good luck Subject: Re: [Flashcoders] Re: Datagrid cell focus From: k...@designdrumm.com Date: Sun, 21 Sep 2014 20:46:06 -0500 To: flashcoders@chattyfig.figleaf.com
Re: [Flashcoders] Re: Datagrid cell focus
I think this question may be in the archives. Have you checked there? Not positive how to get there, just know one exists. Might post your question again as many flash devs are not paying attention to the list as much anymore, but peek in from time to time. They probably just missed it or because it's a data grid question, be hiding from it. :P The archives don't work since the last server migration, unfortunately. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Datagrid cell focus
Well, that was unexpected. Then I would say Adobe forums are your best bet Bill. Unless there is still someone here that can help? I wish I knew more or I would. Sry. Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Sep 21, 2014, at 12:13 PM, Dave Watts dwa...@figleaf.com wrote: I think this question may be in the archives. Have you checked there? Not positive how to get there, just know one exists. Might post your question again as many flash devs are not paying attention to the list as much anymore, but peek in from time to time. They probably just missed it or because it's a data grid question, be hiding from it. :P The archives don't work since the last server migration, unfortunately. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ___ 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] Re: Datagrid cell focus
Kirupa forums were the place to go a few years ago and luckiky are still maintained. The community was incredible. Forums: http://www.kirupa.com/forum/ Here are some tutorials from the site: http://www.kirupa.com/developer/flash/ Good luck Subject: Re: [Flashcoders] Re: Datagrid cell focus From: k...@designdrumm.com Date: Sun, 21 Sep 2014 20:46:06 -0500 To: flashcoders@chattyfig.figleaf.com Well, that was unexpected. Then I would say Adobe forums are your best bet Bill. Unless there is still someone here that can help? I wish I knew more or I would. Sry. Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Sep 21, 2014, at 12:13 PM, Dave Watts dwa...@figleaf.com wrote: I think this question may be in the archives. Have you checked there? Not positive how to get there, just know one exists. Might post your question again as many flash devs are not paying attention to the list as much anymore, but peek in from time to time. They probably just missed it or because it's a data grid question, be hiding from it. :P The archives don't work since the last server migration, unfortunately. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ___ 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] Re: Datagrid cell focus
Thanks Everyone ~Bill On 9/21/2014 10:26 PM, Rick wrote: Kirupa forums were the place to go a few years ago and luckiky are still maintained. The community was incredible. Forums: http://www.kirupa.com/forum/ Here are some tutorials from the site: http://www.kirupa.com/developer/flash/ Good luck Subject: Re: [Flashcoders] Re: Datagrid cell focus From: k...@designdrumm.com Date: Sun, 21 Sep 2014 20:46:06 -0500 To: flashcoders@chattyfig.figleaf.com Well, that was unexpected. Then I would say Adobe forums are your best bet Bill. Unless there is still someone here that can help? I wish I knew more or I would. Sry. Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Sep 21, 2014, at 12:13 PM, Dave Watts dwa...@figleaf.com wrote: I think this question may be in the archives. Have you checked there? Not positive how to get there, just know one exists. Might post your question again as many flash devs are not paying attention to the list as much anymore, but peek in from time to time. They probably just missed it or because it's a data grid question, be hiding from it. :P The archives don't work since the last server migration, unfortunately. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ___ 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 mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Datagrid cell focus
I think this question may be in the archives. Have you checked there? Not positive how to get there, just know one exists. Might post your question again as many flash devs are not paying attention to the list as much anymore, but peek in from time to time. They probably just missed it or because it's a data grid question, be hiding from it. :P GL, Best, Karl Sent from losPhone On Sep 20, 2014, at 9:10 AM, Bill li...@rangingthoughts.org wrote: So -- what other ActionScript/AS3 lists are still running? Anything else out there? On 9/12/2014 7:26 AM, Bill wrote: I would like to try my question again; FlashPro CS6, using pure .as3 code; I have a 6 column DataGrid. 4 of the columns use the normal TextField, and they work fine. On 2 of the columns I have set up a custom cell renderer, using the normal *public class MyCellRenderer extends CellRenderer implements ICellRenderer * The custom cells display their information fine, but they do not fire *DataGridEvent.ITEM_FOCUS_IN *or Flash Datagrid *DataGridEvent.ITEM_EDIT_BEGIN * These columns are marked c4.editable = true; What am I missing here to get these events to be fired off? Thanks Bill ___ 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] IOS 8 and Air
Well, with IOS 8 released, I tried out those apps I built with CS6 and Air for IOS 3.4. All broken.. :-( Client informed that they better not upgrade to IOS8 and will they require all the apps to be rebuilt for IOS8.. Paul On 14/09/2014 21:31, Paul A. wrote: Any Flash developers targetting Air on IOS, tested their apps on IOS8? It seems some changes in IOS 8 have upset some native apps. Will I get a stream of phone calls very soon or will everything I've made so far continue to work? I would try it myself but I'd rather wait until the official release. Paul ___ 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] IOS 8 and Air
I have some apps built with air 14 for ios8, initial testing seems to be ok, the only glitch being they now pop up a message about allowing notifications on the first launch (even though the apps don't use notifications). What's broken in yours specifically? On 19 September 2014 13:50, Paul A. p...@ipauland.com wrote: Well, with IOS 8 released, I tried out those apps I built with CS6 and Air for IOS 3.4. All broken.. :-( Client informed that they better not upgrade to IOS8 and will they require all the apps to be rebuilt for IOS8.. Paul On 14/09/2014 21:31, Paul A. wrote: Any Flash developers targetting Air on IOS, tested their apps on IOS8? It seems some changes in IOS 8 have upset some native apps. Will I get a stream of phone calls very soon or will everything I've made so far continue to work? I would try it myself but I'd rather wait until the official release. Paul ___ 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] IOS 8 and Air
On 19/09/2014 14:01, Mike Duguid wrote: I have some apps built with air 14 for ios8, initial testing seems to be ok, the only glitch being they now pop up a message about allowing notifications on the first launch (even though the apps don't use notifications). What's broken in yours specifically? Two just hang with a black screen, two hang on the opening screen. I think that a rebuild with Flash CC and the current version of Air for IOS should sort it out. Paul On 19 September 2014 13:50, Paul A. p...@ipauland.com wrote: Well, with IOS 8 released, I tried out those apps I built with CS6 and Air for IOS 3.4. All broken.. :-( Client informed that they better not upgrade to IOS8 and will they require all the apps to be rebuilt for IOS8.. Paul On 14/09/2014 21:31, Paul A. wrote: Any Flash developers targetting Air on IOS, tested their apps on IOS8? It seems some changes in IOS 8 have upset some native apps. Will I get a stream of phone calls very soon or will everything I've made so far continue to work? I would try it myself but I'd rather wait until the official release. Paul ___ 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 mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] 1086 syntax error expecting semicolon before leftbrace
I managed to isolate a small part of the project and copied it to a new project - just to experiment. Running as AS2 lost the problematic error completely. Running again as AS3 saw it restored. Despite the compiler saying that it ignores actionscript attached to symbols, that seems to be the problem. Removing an on (release) handler in the AS2 code sees the error go away when building as an AS3 project. Paul On 12/09/2014 15:00, Paul A. wrote: On 12/09/2014 14:30, Mike Duguid wrote: Saving as .xfl might allow you to search (and possibly replace) through the associated xml files more efficiently than working through a complex .fla Good suggestion. I've currently managed to extract all of the actionscript using the MovieExplorer, but gosh it's a needle in a haystack! Thanks, Paul On 12 September 2014 12:10, Paul A. p...@ipauland.com wrote: On the face of it this is a simple thing to solve, but it's driving me nuts. I am trying to update an AS2 project for a client to AS3. The code naturally contains code all over the place, attached to buttons and on the timeline. The problem for me is that there is a LOT of code disributed over loads of frames, inside movieclips and on the timeline. I'm using Flash CS6. For the most part the compiler is helpful, but on this occasion finding the source of the problem is very hard, and by source I mean the actual source code where the error is, not just a solution. Generally the error is along the lines of *frame 1, line 1 **1086 syntax error expecting semicolon before leftbrace* ..repeated LOADS of times. If the problem really was on frame 1, line 1 of the main timeline, it would be great, but it's not. SOmetimes as I experiment with removing frames, etc, the frame number changes. By temporarily removing frames from the main timeline, and making layers into guides, I can narrow the generation of the errors to specific symbols. Unfortunately it's slow to do this and there's loads of nested sympols and a lot of animation frames. It's a nightmare. Any ideas for finding where these are originating from without searching painfully through the source? I should say that other errors are correctly identified and their location shown. No issues with those and now I only have these 1086 errors left. I have taken the AS2 fla, copied all of the frames and layers into an AS3 project and the errors are there. Paul ___ 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 mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] 1086 syntax error expecting semicolon before leftbrace
Saving as .xfl might allow you to search (and possibly replace) through the associated xml files more efficiently than working through a complex .fla On 12 September 2014 12:10, Paul A. p...@ipauland.com wrote: On the face of it this is a simple thing to solve, but it's driving me nuts. I am trying to update an AS2 project for a client to AS3. The code naturally contains code all over the place, attached to buttons and on the timeline. The problem for me is that there is a LOT of code disributed over loads of frames, inside movieclips and on the timeline. I'm using Flash CS6. For the most part the compiler is helpful, but on this occasion finding the source of the problem is very hard, and by source I mean the actual source code where the error is, not just a solution. Generally the error is along the lines of *frame 1, line 1 **1086 syntax error expecting semicolon before leftbrace* ..repeated LOADS of times. If the problem really was on frame 1, line 1 of the main timeline, it would be great, but it's not. SOmetimes as I experiment with removing frames, etc, the frame number changes. By temporarily removing frames from the main timeline, and making layers into guides, I can narrow the generation of the errors to specific symbols. Unfortunately it's slow to do this and there's loads of nested sympols and a lot of animation frames. It's a nightmare. Any ideas for finding where these are originating from without searching painfully through the source? I should say that other errors are correctly identified and their location shown. No issues with those and now I only have these 1086 errors left. I have taken the AS2 fla, copied all of the frames and layers into an AS3 project and the errors are there. Paul ___ 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] 1086 syntax error expecting semicolon before leftbrace
On 12/09/2014 14:30, Mike Duguid wrote: Saving as .xfl might allow you to search (and possibly replace) through the associated xml files more efficiently than working through a complex .fla Good suggestion. I've currently managed to extract all of the actionscript using the MovieExplorer, but gosh it's a needle in a haystack! Thanks, Paul On 12 September 2014 12:10, Paul A. p...@ipauland.com wrote: On the face of it this is a simple thing to solve, but it's driving me nuts. I am trying to update an AS2 project for a client to AS3. The code naturally contains code all over the place, attached to buttons and on the timeline. The problem for me is that there is a LOT of code disributed over loads of frames, inside movieclips and on the timeline. I'm using Flash CS6. For the most part the compiler is helpful, but on this occasion finding the source of the problem is very hard, and by source I mean the actual source code where the error is, not just a solution. Generally the error is along the lines of *frame 1, line 1 **1086 syntax error expecting semicolon before leftbrace* ..repeated LOADS of times. If the problem really was on frame 1, line 1 of the main timeline, it would be great, but it's not. SOmetimes as I experiment with removing frames, etc, the frame number changes. By temporarily removing frames from the main timeline, and making layers into guides, I can narrow the generation of the errors to specific symbols. Unfortunately it's slow to do this and there's loads of nested sympols and a lot of animation frames. It's a nightmare. Any ideas for finding where these are originating from without searching painfully through the source? I should say that other errors are correctly identified and their location shown. No issues with those and now I only have these 1086 errors left. I have taken the AS2 fla, copied all of the frames and layers into an AS3 project and the errors are there. Paul ___ 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] AIR native extension - Windows debugging
: That's really encouraging. Great! Thanks On 07/09/2014 02:13, Rick wrote: AIR app installs cross a billion - April 2014 now powers almost a hundred thousand unique applications on desktops and mobile devices. http://blogs.adobe.com/flashplayer/2014/04/air-app- installs-cross-a-billion.html It's such a great platform still - I've been using it to make ios apps with good results. The weakness is how it is perceived. But clients do smile at the reduced developer costs and its great capabilities. If only adobe would hire an a-list PR firm to change the perception to match the reality. Date: Sat, 6 Sep 2014 20:18:12 +0100 From: j...@easypeasy.co.uk To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AIR native extension - Windows debugging Good point. Thanks John On 05/09/2014 21:43, Henrik Andersson wrote: The problem here is developers not stating what runtime they use for their apps. What can be done is checking existing apps for obvious signs of the runtime. Shouldn't take long for someone to crawl the appstore and check all the apps for the fingerprint of the runtime. John McCormack skriver: There may have been some merit in Apple's battery argument since greater cpu activity, for Flash's vector format, might incur a greater energy cost. Although Flash is having a hard time I was thinking more of using AIR, which I think has more life left in it. The thing is, I have no idea how active developers are with app's delivered via AIR. Are there many AIR app's being produced? ___ 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 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] AIR native extension - Windows debugging
to change the perception to match the reality. Date: Sat, 6 Sep 2014 20:18:12 +0100 From: j...@easypeasy.co.uk To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AIR native extension - Windows debugging Good point. Thanks John On 05/09/2014 21:43, Henrik Andersson wrote: The problem here is developers not stating what runtime they use for their apps. What can be done is checking existing apps for obvious signs of the runtime. Shouldn't take long for someone to crawl the appstore and check all the apps for the fingerprint of the runtime. John McCormack skriver: There may have been some merit in Apple's battery argument since greater cpu activity, for Flash's vector format, might incur a greater energy cost. Although Flash is having a hard time I was thinking more of using AIR, which I think has more life left in it. The thing is, I have no idea how active developers are with app's delivered via AIR. Are there many AIR app's being produced? ___ 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 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] AIR native extension - Windows debugging
Phonegap is great until you want to do something out of its parameters. Also, my experience has been: build once, debug everywhere Date: Tue, 9 Sep 2014 12:13:40 +0100 From: j...@easypeasy.co.uk To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AIR native extension - Windows debugging Phonegap: Well, I am amazed. Thanks to all. John On 08/09/2014 20:39, James Merrill wrote: Oh it is a spaghetti mix of code. But that's not necessarily evil. Think about it this way, you're not really supposed to be mixing them, they are supposed to be complimenting each other. Your HTML defines your content, and that's it. Your CSS adds fonts, colors, positioning, and simple interactivity, that's it. Your JS adds logic to your project. So you're not actually mixing everything together, you're leveraging each one to add an integral piece to your project. You may take on all these jobs yourself, or you may not. Some companies have frontend developers who do HTML/CSS and dedicated Javascript developers to only do JS. It's a different way of thinking than using one platform for everything. It can be unnerving trying to keep up with all of the new JS frameworks that are constantly coming up, and even worse trying to integrate them all. Trust me, I get paid to do it. Fortunately there's a massive community to fall back on when it comes to troubleshooting. If you're building Flex apps you'd definitely like Angular, which you would use with Cordova to publish to iPad. Basically, Cordova is part of Phonegap, which is a build system for deploying to mobile devices. Phonegap will wrap your code in a native app with a web view, so it's essentially a website being viewed in an app. Cordova is a javascript library that exposes all the native APIs of iOS/Android, so now your app can do much more than a website. I have used XCode on a Mac to test my Phonegap apps. IIRC, the native wrapper isn't changing, only the internal HTML/CSS/JS, so you don't have to compile like you would with a native app. I also used this to my advantage by building parts of the app in-browser. You could use Angular to structure your app in a MVC-like pattern, and then use Phonegap to deploy it. Also, I've switched to using Sublime Text 3 as my editor of choice, and I can't recommend it enough. Hopefully that helps! On Mon, Sep 8, 2014 at 12:04 PM, John McCormack j...@easypeasy.co.uk wrote: James, I would prefer to avoid learning a handful of applications, if possible, though I did follow your link and subscribe to the channel. Thank you. It sounds such a spaghetti mix one has to learn before even attempting to write the app: JS + CSS + HTML5 +Angular +Reactjs +Cordova Flash Builder can publish an app straight to the tablet, how does one go about the with the combination you use? You used to be interested in IntelliJ - is that the IDE you settled on? On Flash Builder: Today I asked Adobe for the upgrade price to Flash Builder 4.7 Premium but the guy didn't know if was kept up-to-date as the CC version is. One Adobe's site the forum has one recent post and the rest are from weeks ago, so no clue there about what, if anything is happening. What IDE's are other people using? John On 08/09/2014 15:50, James Merrill wrote: I was one of those Flash evangelists that fought the good fight against HTML/JS/CSS for years And I can remember when the iPhone was launched almost 8 years ago and everyone called it the death of Flash. You can debate the merits of Steve Jobs' comments on Flash all day, but the damage was done, 8 years ago. In the last 2-3 years amazing things have been cultivated in JS/CSS/HTML5. We now have two-way data binding with Angular, and responsive CSS to handle all devices out there. We have something kind of like Starling for the DOM called Reactjs. Building RIA's has never been easier, and frameworks like Cordova allow them to be published to not only the web, but mobile devices too. There's been a ton of innovation with how we build websites and apps in HTML, and things are getting more exciting with a stronger focus on animation and interactivity https://www.youtube.com/watch?v=Q8TXgCzxEnw . There's a unified force in the community pushing new features for us developers to use. I have to wonder how this compares to the Flash community. Is Adobe adding new features? Are there new frameworks coming out that redefine Flash development as we know it? Flash does a lot of things very well, but I wonder how much longer can it be relevant without major support from Adobe. I'm sure there's still jobs out there for Flash devs, but I'd have to imagine the pool is getting smaller. On Sun, Sep 7, 2014 at 12:26 PM, John McCormack j...@easypeasy.co.uk wrote: That's really encouraging. Great! Thanks On 07
Re: [Flashcoders] AIR native extension - Windows debugging
At the end of the day it's still a JS app being run on the device, native will always be faster/more performant. On 9 September 2014 14:34, Rick rickhas...@hotmail.com wrote: Phonegap is great until you want to do something out of its parameters. Also, my experience has been: build once, debug everywhere Date: Tue, 9 Sep 2014 12:13:40 +0100 From: j...@easypeasy.co.uk To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AIR native extension - Windows debugging Phonegap: Well, I am amazed. Thanks to all. John On 08/09/2014 20:39, James Merrill wrote: Oh it is a spaghetti mix of code. But that's not necessarily evil. Think about it this way, you're not really supposed to be mixing them, they are supposed to be complimenting each other. Your HTML defines your content, and that's it. Your CSS adds fonts, colors, positioning, and simple interactivity, that's it. Your JS adds logic to your project. So you're not actually mixing everything together, you're leveraging each one to add an integral piece to your project. You may take on all these jobs yourself, or you may not. Some companies have frontend developers who do HTML/CSS and dedicated Javascript developers to only do JS. It's a different way of thinking than using one platform for everything. It can be unnerving trying to keep up with all of the new JS frameworks that are constantly coming up, and even worse trying to integrate them all. Trust me, I get paid to do it. Fortunately there's a massive community to fall back on when it comes to troubleshooting. If you're building Flex apps you'd definitely like Angular, which you would use with Cordova to publish to iPad. Basically, Cordova is part of Phonegap, which is a build system for deploying to mobile devices. Phonegap will wrap your code in a native app with a web view, so it's essentially a website being viewed in an app. Cordova is a javascript library that exposes all the native APIs of iOS/Android, so now your app can do much more than a website. I have used XCode on a Mac to test my Phonegap apps. IIRC, the native wrapper isn't changing, only the internal HTML/CSS/JS, so you don't have to compile like you would with a native app. I also used this to my advantage by building parts of the app in-browser. You could use Angular to structure your app in a MVC-like pattern, and then use Phonegap to deploy it. Also, I've switched to using Sublime Text 3 as my editor of choice, and I can't recommend it enough. Hopefully that helps! On Mon, Sep 8, 2014 at 12:04 PM, John McCormack j...@easypeasy.co.uk wrote: James, I would prefer to avoid learning a handful of applications, if possible, though I did follow your link and subscribe to the channel. Thank you. It sounds such a spaghetti mix one has to learn before even attempting to write the app: JS + CSS + HTML5 +Angular +Reactjs +Cordova Flash Builder can publish an app straight to the tablet, how does one go about the with the combination you use? You used to be interested in IntelliJ - is that the IDE you settled on? On Flash Builder: Today I asked Adobe for the upgrade price to Flash Builder 4.7 Premium but the guy didn't know if was kept up-to-date as the CC version is. One Adobe's site the forum has one recent post and the rest are from weeks ago, so no clue there about what, if anything is happening. What IDE's are other people using? John On 08/09/2014 15:50, James Merrill wrote: I was one of those Flash evangelists that fought the good fight against HTML/JS/CSS for years And I can remember when the iPhone was launched almost 8 years ago and everyone called it the death of Flash. You can debate the merits of Steve Jobs' comments on Flash all day, but the damage was done, 8 years ago. In the last 2-3 years amazing things have been cultivated in JS/CSS/HTML5. We now have two-way data binding with Angular, and responsive CSS to handle all devices out there. We have something kind of like Starling for the DOM called Reactjs. Building RIA's has never been easier, and frameworks like Cordova allow them to be published to not only the web, but mobile devices too. There's been a ton of innovation with how we build websites and apps in HTML, and things are getting more exciting with a stronger focus on animation and interactivity https://www.youtube.com/watch?v=Q8TXgCzxEnw . There's a unified force in the community pushing new features for us developers to use. I have to wonder how this compares to the Flash community. Is Adobe adding new features? Are there new frameworks coming out that redefine Flash development as we know it? Flash does a lot of things very well, but I wonder how much longer
Re: [Flashcoders] AIR native extension - Windows debugging
Flash CS6 and/or FlashCC and AIR and they both work great on PC/MAC/IOS/Android. Later, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Sep 9, 2014, at 7:34 AM, Rick rickhas...@hotmail.com wrote: Phonegap is great until you want to do something out of its parameters. Also, my experience has been: build once, debug everywhere ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AIR native extension - Windows debugging
John Is Flash Builder Enterprise kept up to date, as the CC version is? The Flash Builder for CS6 doesn't change. John On 09/09/2014 15:30, John R. Sweeney Jr. wrote: Flash CS6 and/or FlashCC and AIR and they both work great on PC/MAC/IOS/Android. Later, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Sep 9, 2014, at 7:34 AM, Rick rickhas...@hotmail.com wrote: Phonegap is great until you want to do something out of its parameters. Also, my experience has been: build once, debug everywhere ___ 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] AIR native extension - Windows debugging
Sorry, I do not know. I use the Flash Pro IDE. John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Sep 9, 2014, at 2:40 PM, John McCormack j...@easypeasy.co.uk wrote: Is Flash Builder Enterprise kept up to date, ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AIR native extension - Windows debugging
I was one of those Flash evangelists that fought the good fight against HTML/JS/CSS for years And I can remember when the iPhone was launched almost 8 years ago and everyone called it the death of Flash. You can debate the merits of Steve Jobs' comments on Flash all day, but the damage was done, 8 years ago. In the last 2-3 years amazing things have been cultivated in JS/CSS/HTML5. We now have two-way data binding with Angular, and responsive CSS to handle all devices out there. We have something kind of like Starling for the DOM called Reactjs. Building RIA's has never been easier, and frameworks like Cordova allow them to be published to not only the web, but mobile devices too. There's been a ton of innovation with how we build websites and apps in HTML, and things are getting more exciting with a stronger focus on animation and interactivity https://www.youtube.com/watch?v=Q8TXgCzxEnw. There's a unified force in the community pushing new features for us developers to use. I have to wonder how this compares to the Flash community. Is Adobe adding new features? Are there new frameworks coming out that redefine Flash development as we know it? Flash does a lot of things very well, but I wonder how much longer can it be relevant without major support from Adobe. I'm sure there's still jobs out there for Flash devs, but I'd have to imagine the pool is getting smaller. On Sun, Sep 7, 2014 at 12:26 PM, John McCormack j...@easypeasy.co.uk wrote: That's really encouraging. Great! Thanks On 07/09/2014 02:13, Rick wrote: AIR app installs cross a billion - April 2014 now powers almost a hundred thousand unique applications on desktops and mobile devices. http://blogs.adobe.com/flashplayer/2014/04/air-app- installs-cross-a-billion.html It's such a great platform still - I've been using it to make ios apps with good results. The weakness is how it is perceived. But clients do smile at the reduced developer costs and its great capabilities. If only adobe would hire an a-list PR firm to change the perception to match the reality. Date: Sat, 6 Sep 2014 20:18:12 +0100 From: j...@easypeasy.co.uk To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AIR native extension - Windows debugging Good point. Thanks John On 05/09/2014 21:43, Henrik Andersson wrote: The problem here is developers not stating what runtime they use for their apps. What can be done is checking existing apps for obvious signs of the runtime. Shouldn't take long for someone to crawl the appstore and check all the apps for the fingerprint of the runtime. John McCormack skriver: There may have been some merit in Apple's battery argument since greater cpu activity, for Flash's vector format, might incur a greater energy cost. Although Flash is having a hard time I was thinking more of using AIR, which I think has more life left in it. The thing is, I have no idea how active developers are with app's delivered via AIR. Are there many AIR app's being produced? ___ 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 mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- James Merrill toThePixel.com http://www.toThePixel.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AIR native extension - Windows debugging
James, I would prefer to avoid learning a handful of applications, if possible, though I did follow your link and subscribe to the channel. Thank you. It sounds such a spaghetti mix one has to learn before even attempting to write the app: JS + CSS + HTML5 +Angular +Reactjs +Cordova Flash Builder can publish an app straight to the tablet, how does one go about the with the combination you use? You used to be interested in IntelliJ - is that the IDE you settled on? On Flash Builder: Today I asked Adobe for the upgrade price to Flash Builder 4.7 Premium but the guy didn't know if was kept up-to-date as the CC version is. One Adobe's site the forum has one recent post and the rest are from weeks ago, so no clue there about what, if anything is happening. What IDE's are other people using? John On 08/09/2014 15:50, James Merrill wrote: I was one of those Flash evangelists that fought the good fight against HTML/JS/CSS for years And I can remember when the iPhone was launched almost 8 years ago and everyone called it the death of Flash. You can debate the merits of Steve Jobs' comments on Flash all day, but the damage was done, 8 years ago. In the last 2-3 years amazing things have been cultivated in JS/CSS/HTML5. We now have two-way data binding with Angular, and responsive CSS to handle all devices out there. We have something kind of like Starling for the DOM called Reactjs. Building RIA's has never been easier, and frameworks like Cordova allow them to be published to not only the web, but mobile devices too. There's been a ton of innovation with how we build websites and apps in HTML, and things are getting more exciting with a stronger focus on animation and interactivity https://www.youtube.com/watch?v=Q8TXgCzxEnw. There's a unified force in the community pushing new features for us developers to use. I have to wonder how this compares to the Flash community. Is Adobe adding new features? Are there new frameworks coming out that redefine Flash development as we know it? Flash does a lot of things very well, but I wonder how much longer can it be relevant without major support from Adobe. I'm sure there's still jobs out there for Flash devs, but I'd have to imagine the pool is getting smaller. On Sun, Sep 7, 2014 at 12:26 PM, John McCormack j...@easypeasy.co.uk wrote: That's really encouraging. Great! Thanks On 07/09/2014 02:13, Rick wrote: AIR app installs cross a billion - April 2014 now powers almost a hundred thousand unique applications on desktops and mobile devices. http://blogs.adobe.com/flashplayer/2014/04/air-app- installs-cross-a-billion.html It's such a great platform still - I've been using it to make ios apps with good results. The weakness is how it is perceived. But clients do smile at the reduced developer costs and its great capabilities. If only adobe would hire an a-list PR firm to change the perception to match the reality. Date: Sat, 6 Sep 2014 20:18:12 +0100 From: j...@easypeasy.co.uk To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AIR native extension - Windows debugging Good point. Thanks John On 05/09/2014 21:43, Henrik Andersson wrote: The problem here is developers not stating what runtime they use for their apps. What can be done is checking existing apps for obvious signs of the runtime. Shouldn't take long for someone to crawl the appstore and check all the apps for the fingerprint of the runtime. John McCormack skriver: There may have been some merit in Apple's battery argument since greater cpu activity, for Flash's vector format, might incur a greater energy cost. Although Flash is having a hard time I was thinking more of using AIR, which I think has more life left in it. The thing is, I have no idea how active developers are with app's delivered via AIR. Are there many AIR app's being produced? ___ 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 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] AIR native extension - Windows debugging
the reality. Date: Sat, 6 Sep 2014 20:18:12 +0100 From: j...@easypeasy.co.uk To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AIR native extension - Windows debugging Good point. Thanks John On 05/09/2014 21:43, Henrik Andersson wrote: The problem here is developers not stating what runtime they use for their apps. What can be done is checking existing apps for obvious signs of the runtime. Shouldn't take long for someone to crawl the appstore and check all the apps for the fingerprint of the runtime. John McCormack skriver: There may have been some merit in Apple's battery argument since greater cpu activity, for Flash's vector format, might incur a greater energy cost. Although Flash is having a hard time I was thinking more of using AIR, which I think has more life left in it. The thing is, I have no idea how active developers are with app's delivered via AIR. Are there many AIR app's being produced? ___ 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 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 -- James Merrill toThePixel.com http://www.toThePixel.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AIR native extension - Windows debugging
That's really encouraging. Great! Thanks On 07/09/2014 02:13, Rick wrote: AIR app installs cross a billion - April 2014 now powers almost a hundred thousand unique applications on desktops and mobile devices. http://blogs.adobe.com/flashplayer/2014/04/air-app-installs-cross-a-billion.html It's such a great platform still - I've been using it to make ios apps with good results. The weakness is how it is perceived. But clients do smile at the reduced developer costs and its great capabilities. If only adobe would hire an a-list PR firm to change the perception to match the reality. Date: Sat, 6 Sep 2014 20:18:12 +0100 From: j...@easypeasy.co.uk To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AIR native extension - Windows debugging Good point. Thanks John On 05/09/2014 21:43, Henrik Andersson wrote: The problem here is developers not stating what runtime they use for their apps. What can be done is checking existing apps for obvious signs of the runtime. Shouldn't take long for someone to crawl the appstore and check all the apps for the fingerprint of the runtime. John McCormack skriver: There may have been some merit in Apple's battery argument since greater cpu activity, for Flash's vector format, might incur a greater energy cost. Although Flash is having a hard time I was thinking more of using AIR, which I think has more life left in it. The thing is, I have no idea how active developers are with app's delivered via AIR. Are there many AIR app's being produced? ___ 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 mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AIR native extension - Windows debugging
Good point. Thanks John On 05/09/2014 21:43, Henrik Andersson wrote: The problem here is developers not stating what runtime they use for their apps. What can be done is checking existing apps for obvious signs of the runtime. Shouldn't take long for someone to crawl the appstore and check all the apps for the fingerprint of the runtime. John McCormack skriver: There may have been some merit in Apple's battery argument since greater cpu activity, for Flash's vector format, might incur a greater energy cost. Although Flash is having a hard time I was thinking more of using AIR, which I think has more life left in it. The thing is, I have no idea how active developers are with app's delivered via AIR. Are there many AIR app's being produced? ___ 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] AIR native extension - Windows debugging
AIR app installs cross a billion - April 2014 now powers almost a hundred thousand unique applications on desktops and mobile devices. http://blogs.adobe.com/flashplayer/2014/04/air-app-installs-cross-a-billion.html It's such a great platform still - I've been using it to make ios apps with good results. The weakness is how it is perceived. But clients do smile at the reduced developer costs and its great capabilities. If only adobe would hire an a-list PR firm to change the perception to match the reality. Date: Sat, 6 Sep 2014 20:18:12 +0100 From: j...@easypeasy.co.uk To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AIR native extension - Windows debugging Good point. Thanks John On 05/09/2014 21:43, Henrik Andersson wrote: The problem here is developers not stating what runtime they use for their apps. What can be done is checking existing apps for obvious signs of the runtime. Shouldn't take long for someone to crawl the appstore and check all the apps for the fingerprint of the runtime. John McCormack skriver: There may have been some merit in Apple's battery argument since greater cpu activity, for Flash's vector format, might incur a greater energy cost. Although Flash is having a hard time I was thinking more of using AIR, which I think has more life left in it. The thing is, I have no idea how active developers are with app's delivered via AIR. Are there many AIR app's being produced? ___ 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] AIR native extension - Windows debugging
Very comprehensive! I suppose these are the hooks that Microsoft uses when a program crashes. Henrik, I noticed that your subject has AIR native extension. Are you of the opinion that AIR still has a long life ahead of it? I ask because I like AS3 and would like to write some app's for delivery in AIR but am afraid to go down a dead end. John On 28/08/2014 12:29, Henrik Andersson wrote: Ever wanted to play with classics like ReadProcessMemory in Actionscript? Now you can! I have written an ANE that exposes the Windows debugging API for use in ActionScript. It comes with a asdoc reference manual for easy API learning. It allows access to everything you'd expect from a basic debugger as well as from an advanced debugger. You can control memory, work with breakpoints, deal with debugging events and more! The underlaying C code exposes a shocking 56 functions for use in actionscript. This is the complete debugging solution. It's still beta, but please check it out. http://www.henke37.cjb.net/windebug/ ___ 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] AIR native extension - Windows debugging
The rumors of Flash dying are overblown. The Flash and AIR runtimes are still great at what they do. Apple pulled a stunt to shame Flash, but the truth is that they just wanted to protect their appstore. They didn't want to kill Flash. They wanted to kill Flash apps in the browser. They have succeeded, within their target market. Developers obeyed the dictators and moved to the appstore. The runtime remains great. John McCormack skriver: Very comprehensive! I suppose these are the hooks that Microsoft uses when a program crashes. Henrik, I noticed that your subject has AIR native extension. Are you of the opinion that AIR still has a long life ahead of it? I ask because I like AS3 and would like to write some app's for delivery in AIR but am afraid to go down a dead end. John ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] AIR native extension - Windows debugging
I just have to add, the rumors of Flash dying are overblown, is correct. Flash isn't dying, its already dead. Doesn't matter how good the runtime is, it's hardly used much anymore compared to what it used to be. Sorry, I don't mean to be snarky, but I just don't agree with the Flash isn't dead idea. Does it have to go away completely to be dead? No, but it's certainly lost 90% of its relevance on the WWW, and that to me, is dead. Jason Merrill Instructional Technology Architect II Bank of America Global Learning 703.302.9265 -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson Sent: Friday, September 05, 2014 1:37 PM To: Flash Coders List Subject: Re: [Flashcoders] AIR native extension - Windows debugging The rumors of Flash dying are overblown. The Flash and AIR runtimes are still great at what they do. Apple pulled a stunt to shame Flash, but the truth is that they just wanted to protect their appstore. They didn't want to kill Flash. They wanted to kill Flash apps in the browser. They have succeeded, within their target market. Developers obeyed the dictators and moved to the appstore. The runtime remains great. John McCormack skriver: Very comprehensive! I suppose these are the hooks that Microsoft uses when a program crashes. Henrik, I noticed that your subject has AIR native extension. Are you of the opinion that AIR still has a long life ahead of it? I ask because I like AS3 and would like to write some app's for delivery in AIR but am afraid to go down a dead end. John ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.bankofamerica.com/emaildisclaimer. If you are not the intended recipient, please delete this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AIR native extension - Windows debugging
I never really used Flash much for the WWW. I build applications and Flash is doing great for me. I have over a dozen apps in the iTunes store and 6 of them are now going over to the Android store and dozens, upon dozens are available for PC/MAC. Touchscreens for trade shows, corporate and private, kiosks, video walls, audience polling software and the list goes on and on… Have a nice day, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Sep 5, 2014, at 12:49 PM, Merrill, Jason jason.merr...@bankofamerica.com wrote: I just have to add, the rumors of Flash dying are overblown, is correct. Flash isn't dying, its already dead. Doesn't matter how good the runtime is, it's hardly used much anymore compared to what it used to be. Sorry, I don't mean to be snarky, but I just don't agree with the Flash isn't dead idea. Does it have to go away completely to be dead? No, but it's certainly lost 90% of its relevance on the WWW, and that to me, is dead. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] AIR native extension - Windows debugging
Well that's great it's going well for you. I personally don't see a lot of Flash-based jobs out there anymore though. But great it's not dead to you. I do miss it. Jason Merrill Instructional Technology Architect II Bank of America Global Learning 703.302.9265 -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of John R. Sweeney Jr. Sent: Friday, September 05, 2014 2:51 PM To: Flash Coders List Subject: Re: [Flashcoders] AIR native extension - Windows debugging I never really used Flash much for the WWW. I build applications and Flash is doing great for me. I have over a dozen apps in the iTunes store and 6 of them are now going over to the Android store and dozens, upon dozens are available for PC/MAC. Touchscreens for trade shows, corporate and private, kiosks, video walls, audience polling software and the list goes on and on. Have a nice day, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Sep 5, 2014, at 12:49 PM, Merrill, Jason jason.merr...@bankofamerica.com wrote: I just have to add, the rumors of Flash dying are overblown, is correct. Flash isn't dying, its already dead. Doesn't matter how good the runtime is, it's hardly used much anymore compared to what it used to be. Sorry, I don't mean to be snarky, but I just don't agree with the Flash isn't dead idea. Does it have to go away completely to be dead? No, but it's certainly lost 90% of its relevance on the WWW, and that to me, is dead. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.bankofamerica.com/emaildisclaimer. If you are not the intended recipient, please delete this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AIR native extension - Windows debugging
There may have been some merit in Apple's battery argument since greater cpu activity, for Flash's vector format, might incur a greater energy cost. Although Flash is having a hard time I was thinking more of using AIR, which I think has more life left in it. The thing is, I have no idea how active developers are with app's delivered via AIR. Are there many AIR app's being produced? John On 05/09/2014 18:37, Henrik Andersson wrote: The rumors of Flash dying are overblown. The Flash and AIR runtimes are still great at what they do. Apple pulled a stunt to shame Flash, but the truth is that they just wanted to protect their appstore. They didn't want to kill Flash. They wanted to kill Flash apps in the browser. They have succeeded, within their target market. Developers obeyed the dictators and moved to the appstore. The runtime remains great. John McCormack skriver: Very comprehensive! I suppose these are the hooks that Microsoft uses when a program crashes. Henrik, I noticed that your subject has AIR native extension. Are you of the opinion that AIR still has a long life ahead of it? I ask because I like AS3 and would like to write some app's for delivery in AIR but am afraid to go down a dead end. John ___ 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] AIR native extension - Windows debugging
The problem here is developers not stating what runtime they use for their apps. What can be done is checking existing apps for obvious signs of the runtime. Shouldn't take long for someone to crawl the appstore and check all the apps for the fingerprint of the runtime. John McCormack skriver: There may have been some merit in Apple's battery argument since greater cpu activity, for Flash's vector format, might incur a greater energy cost. Although Flash is having a hard time I was thinking more of using AIR, which I think has more life left in it. The thing is, I have no idea how active developers are with app's delivered via AIR. Are there many AIR app's being produced? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] AIR native extension - Windows debugging
I still get banner jobs believe it or not. Working on one currently. But has become a lot more sparse then before the S. Jobs bandwagon started rolling. Best, Karl Sent from losPhone On Sep 5, 2014, at 2:16 PM, Merrill, Jason jason.merr...@bankofamerica.com wrote: Well that's great it's going well for you. I personally don't see a lot of Flash-based jobs out there anymore though. But great it's not dead to you. I do miss it. Jason Merrill Instructional Technology Architect II Bank of America Global Learning 703.302.9265 -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of John R. Sweeney Jr. Sent: Friday, September 05, 2014 2:51 PM To: Flash Coders List Subject: Re: [Flashcoders] AIR native extension - Windows debugging I never really used Flash much for the WWW. I build applications and Flash is doing great for me. I have over a dozen apps in the iTunes store and 6 of them are now going over to the Android store and dozens, upon dozens are available for PC/MAC. Touchscreens for trade shows, corporate and private, kiosks, video walls, audience polling software and the list goes on and on. Have a nice day, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Sep 5, 2014, at 12:49 PM, Merrill, Jason jason.merr...@bankofamerica.com wrote: I just have to add, the rumors of Flash dying are overblown, is correct. Flash isn't dying, its already dead. Doesn't matter how good the runtime is, it's hardly used much anymore compared to what it used to be. Sorry, I don't mean to be snarky, but I just don't agree with the Flash isn't dead idea. Does it have to go away completely to be dead? No, but it's certainly lost 90% of its relevance on the WWW, and that to me, is dead. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.bankofamerica.com/emaildisclaimer. If you are not the intended recipient, please delete this message. ___ 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 FireBug
Thanks Karl. Handy information to keep on file… :) Have a great weekend, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Aug 30, 2014, at 4:09 AM, Karl DeSaulniers k...@designdrumm.com wrote: Hi All, Don't know how many of you have already seen this but thought it was worth the share. Might help someone down the road. https://addons.mozilla.org/en-US/firefox/addon/flashfirebug/?src=cb-dl-popular Best, Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Pulling data from social media
Instagram uses JSON formatting for their API too. Depending on the data you want to retrieve, you may need to use OAuth. Fortunately they make it pretty easy. Have you considered using PHP to fetch the data you need, and then convert it from JSON to XML? It may be easier to deal with. http://stackoverflow.com/questions/856833/is-there-some-way-to-convert-json-to-xml-in-php On Tue, Aug 26, 2014 at 5:59 PM, John R. Sweeney Jr. jr.swee...@comcast.net wrote: Hi, So one else has any experience with Pinterest or Instagram? Thanks, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- James Merrill toThePixel.com http://www.toThePixel.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Pulling data from social media
Have you considered using PHP to fetch the data you need, and then convert it from JSON to XML? It may be easier to deal with. Not really, JSON support is built into the Flash player, so can you convert from JSON to AS and back. var data:Object = JSON.parse(jsonData); where jsonData is a JSON formatted string. regards, Peter On 27/08/2014 19:36, James Merrill wrote: Instagram uses JSON formatting for their API too. Depending on the data you want to retrieve, you may need to use OAuth. Fortunately they make it pretty easy. Have you considered using PHP to fetch the data you need, and then convert it from JSON to XML? It may be easier to deal with. http://stackoverflow.com/questions/856833/is-there-some-way-to-convert-json-to-xml-in-php On Tue, Aug 26, 2014 at 5:59 PM, John R. Sweeney Jr. jr.swee...@comcast.net wrote: Hi, So one else has any experience with Pinterest or Instagram? Thanks, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 ___ 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] Pulling data from social media
I’m sorry I didn’t state my need better. I know that is what I’ll have to do with Twitter, but I’m not find how to access Pinterest and Instagram to pull the followers of a specific person on each site. I really appreciate your comments… Thanks, John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Aug 27, 2014, at 3:01 PM, Peter Ginneberge p.ginnebe...@telenet.be wrote: where jsonData is a JSON formatted string. regards, Peter ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Pulling data from social media
Both have API's, so should be documented how to get the data you're after. http://instagram.com/developer/ https://developers.pinterest.com/ On 27/08/2014 22:15, John R. Sweeney Jr. wrote: I’m sorry I didn’t state my need better. I know that is what I’ll have to do with Twitter, but I’m not find how to access Pinterest and Instagram to pull the followers of a specific person on each site. I really appreciate your comments… Thanks, John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Aug 27, 2014, at 3:01 PM, Peter Ginneberge p.ginnebe...@telenet.be wrote: where jsonData is a JSON formatted string. regards, Peter ___ 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] Pulling data from social media
I will look into both and thank you so much. Have a good evening, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Aug 27, 2014, at 4:14 PM, Peter Ginneberge p.ginnebe...@telenet.be wrote: Both have API's, so should be documented how to get the data you're after. http://instagram.com/developer/ https://developers.pinterest.com/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Pulling data from social media
Hi John, Well, googling twitter api for flash as3 yielded some good results for me. There was this link that looks promising. https://blog.twitter.com/2006/twitter-api-flash-developers Also found this package example. http://www.untoldentertainment.com/blog/2009/04/02/tutorial-pull-twitter-updates-into-flash/ don't know if its what your wanting, but found it with google search terms: pull twitter feeds with flash as3 There is this too. http://www.fladev.com/featured/how-to-build-a-flash-actionscript-3-0-twitter-widget/ Hope one of these does the trick. Good luck! Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Aug 25, 2014, at 10:44 PM, John R. Sweeney Jr. jr.swee...@comcast.net wrote: Howdy all, Well my client wants to pull 20 latest feeds from their Twitter, Instagram and Pinterest. I’ve already found out that Twitter stopped supporting RSS feeds and retired the REST api v1 and now have the Twitter API v1.1 that is JSON only. Does anyone access Twitter feeds some other way. Twitter says that RSS is out and I haven’t worked with JSON before. Also, I’m trying find out about how to access Pinterest and Instagram to just get the number of followers of four specific users. I really can’t find any meaningful help out their in relationship with Flash/AS3. Has anyone done either of these or know of a direction you can point me in to get some guidance? Thanks in advance for any help, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 ___ 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] Pulling data from social media
Hi Karl, Thank you for your links, but unfortunately, I saw all of these and they are dated 2009, 2010 and/or 2012 and use the API v1. That API was retired in May of 2013. I found this from the Twitter Developers pages: We've chosen to throw our support behind the JSON format shared across the platform. Consequently, we’ve decided to discontinue support for XML, Atom, and RSS.” And all the examples I’m finding are older and whether its direct calls from Flash or PHP, if they are calling to .rss or .xml and through the API v1, the pages don’t exist or links are broken, etc. Very frustrating and that’s just Twitter Having less luck with Pinterest and Instagram. Thanks again though for the suggestions, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Aug 26, 2014, at 12:58 AM, Karl DeSaulniers k...@designdrumm.com wrote: Hi John, Well, googling twitter api for flash as3 yielded some good results for me. There was this link that looks promising. https://blog.twitter.com/2006/twitter-api-flash-developers Also found this package example. http://www.untoldentertainment.com/blog/2009/04/02/tutorial-pull-twitter-updates-into-flash/ don't know if its what your wanting, but found it with google search terms: pull twitter feeds with flash as3 There is this too. http://www.fladev.com/featured/how-to-build-a-flash-actionscript-3-0-twitter-widget/ Hope one of these does the trick. Good luck! Best, ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Pulling data from social media
Ah ok. I see. In that case, here you go. Next best thing. http://snipplr.com/view/56283/as3-load-and-access-json-data-example/ Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Aug 26, 2014, at 1:51 AM, John R. Sweeney Jr. jr.swee...@comcast.net wrote: Hi Karl, Thank you for your links, but unfortunately, I saw all of these and they are dated 2009, 2010 and/or 2012 and use the API v1. That API was retired in May of 2013. I found this from the Twitter Developers pages: We've chosen to throw our support behind the JSON format shared across the platform. Consequently, we’ve decided to discontinue support for XML, Atom, and RSS.” And all the examples I’m finding are older and whether its direct calls from Flash or PHP, if they are calling to .rss or .xml and through the API v1, the pages don’t exist or links are broken, etc. Very frustrating and that’s just Twitter Having less luck with Pinterest and Instagram. Thanks again though for the suggestions, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Aug 26, 2014, at 12:58 AM, Karl DeSaulniers k...@designdrumm.com wrote: Hi John, Well, googling twitter api for flash as3 yielded some good results for me. There was this link that looks promising. https://blog.twitter.com/2006/twitter-api-flash-developers Also found this package example. http://www.untoldentertainment.com/blog/2009/04/02/tutorial-pull-twitter-updates-into-flash/ don't know if its what your wanting, but found it with google search terms: pull twitter feeds with flash as3 There is this too. http://www.fladev.com/featured/how-to-build-a-flash-actionscript-3-0-twitter-widget/ Hope one of these does the trick. Good luck! Best, ___ 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] Pulling data from social media
Sorry, I'm not more help. If I didn't have to get this project out by the morning I would. Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Aug 26, 2014, at 2:23 AM, Karl DeSaulniers k...@designdrumm.com wrote: Ah ok. I see. In that case, here you go. Next best thing. http://snipplr.com/view/56283/as3-load-and-access-json-data-example/ Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Aug 26, 2014, at 1:51 AM, John R. Sweeney Jr. jr.swee...@comcast.net wrote: Hi Karl, Thank you for your links, but unfortunately, I saw all of these and they are dated 2009, 2010 and/or 2012 and use the API v1. That API was retired in May of 2013. I found this from the Twitter Developers pages: We've chosen to throw our support behind the JSON format shared across the platform. Consequently, we’ve decided to discontinue support for XML, Atom, and RSS.” And all the examples I’m finding are older and whether its direct calls from Flash or PHP, if they are calling to .rss or .xml and through the API v1, the pages don’t exist or links are broken, etc. Very frustrating and that’s just Twitter Having less luck with Pinterest and Instagram. Thanks again though for the suggestions, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Aug 26, 2014, at 12:58 AM, Karl DeSaulniers k...@designdrumm.com wrote: Hi John, Well, googling twitter api for flash as3 yielded some good results for me. There was this link that looks promising. https://blog.twitter.com/2006/twitter-api-flash-developers Also found this package example. http://www.untoldentertainment.com/blog/2009/04/02/tutorial-pull-twitter-updates-into-flash/ don't know if its what your wanting, but found it with google search terms: pull twitter feeds with flash as3 There is this too. http://www.fladev.com/featured/how-to-build-a-flash-actionscript-3-0-twitter-widget/ Hope one of these does the trick. Good luck! Best, ___ 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] Pulling data from social media
Its cool that we both keep looking at the same links. Started reading that one, when I found out the JSON requirement. The other two are really making me scratch my head. Thanks and good luck on your project, John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Aug 26, 2014, at 2:23 AM, Karl DeSaulniers k...@designdrumm.com wrote: Ah ok. I see. In that case, here you go. Next best thing. http://snipplr.com/view/56283/as3-load-and-access-json-data-example/ Best, ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Pulling data from social media
Hi, So one else has any experience with Pinterest or Instagram? Thanks, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Giving dynamic object a custom variable
ugh never mind... sorry -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Ted Lehr Sent: Fri 8/15/2014 2:23 PM To: Flash Coders List Subject: [Flashcoders] Giving dynamic object a custom variable How can I create a variable in a dynamic object? For example, if I had a movie clip in the library, I could open it up and on the first frame I could give it: var velocityX:Number = Math.random()*10-10; I could then refer to mc.velocityX; How can I create that variable on an object create in actionscript? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Giving dynamic object a custom variable
It's not that difficult if you do it right. First, I'm not a fan of timeline code except for defining sections, such as stop on a keyframe, and minor control commands like gotoAndStop and gotoAndPlay. The rest I like to do in an external ActionScript file. I haven't used the Flash IDE in 3-4 years--I use Flex and FlashBuilder almost exclusively now--but let's see what I can remember. First, when you create the movie clip, click Export for ActionScript. Let's say your mc is called movingSprite. It will have a class name of movingSprite. You can change that if you want. If you already have the mc in the library, right-click and choose properties. That will bring up the same dialog--check Export for ActionScript. In the Properties tab (often called the Property Inspector), declare a document class. That just means the class that will run when you launch the movie. Let's call it myDocClass. Now create the document class. Choose File - New... and choose ActionScript Class. Name it myDocClass, and Flash will create a new actionScript class file. Create another class file and name it movingSprite.as. Now you can create an instance of the movie clip and assign it variables. I wouldn't do that in the document class, though. I would declare them in the class file. Cordially, Kerry Thompson On Fri, Aug 15, 2014 at 2:23 PM, Ted Lehr t...@qvine.com wrote: How can I create a variable in a dynamic object? For example, if I had a movie clip in the library, I could open it up and on the first frame I could give it: var velocityX:Number = Math.random()*10-10; I could then refer to mc.velocityX; How can I create that variable on an object create in actionscript? ___ 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] getting data from outside servers
google crossdomain.xml On Aug 11, 2014, at 10:54 AM, Ted Lehr t...@qvine.com wrote: So it seems Flash by default does not allow a movie to get data (say xml) from another server. So if I have a movie on http://www.thissite.com/movie.swf and in that movie I have: var xmlLoader:URLRequest = new URLRequest(http://www.thissite.com/data.xml;); Is there anyway around this? T ___ 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] getting data from outside servers
enforce coerce (null)var xmlLoader:URLRequest = new URLRequest( http://www.thissite.com/data.xml;); On Mon, Aug 11, 2014 at 7:54 AM, Ted Lehr t...@qvine.com wrote: So it seems Flash by default does not allow a movie to get data (say xml) from another server. So if I have a movie on http://www.thissite.com/movie.swf and in that movie I have: var xmlLoader:URLRequest = new URLRequest( http://www.thissite.com/data.xml;); Is there anyway around this? T ___ 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] getting data from outside servers
Edit the swf to look for a relative path to find its XML. Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Aug 11, 2014, at 9:54 AM, Ted Lehr t...@qvine.com wrote: So it seems Flash by default does not allow a movie to get data (say xml) from another server. So if I have a movie on http://www.thissite.com/movie.swf and in that movie I have: var xmlLoader:URLRequest = new URLRequest(http://www.thissite.com/data.xml;); Is there anyway around this? T ___ 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 to HTML
I second the GSAP proposal, and regarding point 3) I never had Haxe rebuild my HTML file, so I am wondering how this happened. Since I told you I would show my tests with HTML5 vs Flash, here they are: FLASH http://www.benga.li/mcd/versailles/banner_de_chili_1600x490.html HTML http://www.benga.li/mcd/versailles/html5/royal.html The only remaining Flash advantage lies on the size of the overall production. This was done using Haxe (for HTML5) and Haxe/Flash for Flash part. Le 8 août 2014 à 01:46, David Cohn d...@eyebright.com a écrit : Hey all, I've been looking a bit at CreateJS and Haxe/OpenFL, and since the question was asked a while ago, and the list is rather slow, I thought I'd share some further thoughts... I've decided to go with CreateJS for now. I was very excited about Haxe, especially from the point of view of one source for multiple platforms, but for heavily interactive Flash-style projects it just doesn't seem to be quite there yet. I'd love to be proven wrong(!), but here are the shortcomings that I've found in my brief look: 1. Sprite/Bitmap detection -- it looks like mouse detection is on the bounding box, so e.g. rollovers on arbitrarily shaped bitmaps is impossible. (Well, you may be able to use hitTestPoint and some fancy gyrations, but... eeech.) 2. Filter support -- seems weak and limited; e.g. GlowFilter isn't available for the HTML5 target. 3. Ease of developing -- relatively minor, and single-source across targets would easily outweigh this. But with Haxe, firstly you have an extra step (the build). Then, Haxe seems somewhat monolithic: it's good for handling the core interactive canvas area, but the HTML has to live in a separate file: Haxe rebuilds the HTML file each time and there doesn't seem to be a good way to preserve custom HTML in the same file between builds. Again, not a show-stopper, but I find workflow quicker without the build, and editing the HTML/JS directly. CreateJS seems to work well across all browsers I've tested on so far (with, of course, the exception of IE8)... as did Haxe. There may be retorts for all these criticisms, since I've only looked so far... please feel free to contradict me! Thanks, --Dave On Jun 24, 2014, at 9:00 AM, flashcoders-requ...@chattyfig.figleaf.com wrote: On 23/06/2014 17:29, David Cohn wrote: Cedric, I've been here since the get-go... in digest mode, so most questions are answered by the time I get them ;-) Thanks-- time to delve into Haxe-- I'm excited! --Dave I don't know how good it is but FDT have been involved with Haxe for a long time... http://fdt.powerflasher.com/w/index.php?title=Special:Searchns0=1redirs=0search=haxelimit=500offset=0 John ___ 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 to HTML
Hmmm... that's very strange re: the HTML file-- but it's definitely getting rebuilt during the build process. Are you modifying the index.html file in the Export/html5/bin directory? Anyway, as I said, this is the least important gripe... I'll take a further look at greensock-- it look especially good for complex animation, whereas I often do complex interactions. It doesn't seem as much directed towards mouse/touch detection/dragging for canvas elements (although it looks like tweaking Draggable may allow that)... Thanks, --Dave On Aug 8, 2014, at 9:00 AM, flashcoders-requ...@chattyfig.figleaf.com wrote: I second the GSAP proposal, and regarding point 3) I never had Haxe rebuild my HTML file, so I am wondering how this happened. Since I told you I would show my tests with HTML5 vs Flash, here they are: FLASH http://www.benga.li/mcd/versailles/banner_de_chili_1600x490.html HTML http://www.benga.li/mcd/versailles/html5/royal.html The only remaining Flash advantage lies on the size of the overall production. This was done using Haxe (for HTML5) and Haxe/Flash for Flash part. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash to HTML
Hey all, I've been looking a bit at CreateJS and Haxe/OpenFL, and since the question was asked a while ago, and the list is rather slow, I thought I'd share some further thoughts... I've decided to go with CreateJS for now. I was very excited about Haxe, especially from the point of view of one source for multiple platforms, but for heavily interactive Flash-style projects it just doesn't seem to be quite there yet. I'd love to be proven wrong(!), but here are the shortcomings that I've found in my brief look: 1. Sprite/Bitmap detection -- it looks like mouse detection is on the bounding box, so e.g. rollovers on arbitrarily shaped bitmaps is impossible. (Well, you may be able to use hitTestPoint and some fancy gyrations, but... eeech.) 2. Filter support -- seems weak and limited; e.g. GlowFilter isn't available for the HTML5 target. 3. Ease of developing -- relatively minor, and single-source across targets would easily outweigh this. But with Haxe, firstly you have an extra step (the build). Then, Haxe seems somewhat monolithic: it's good for handling the core interactive canvas area, but the HTML has to live in a separate file: Haxe rebuilds the HTML file each time and there doesn't seem to be a good way to preserve custom HTML in the same file between builds. Again, not a show-stopper, but I find workflow quicker without the build, and editing the HTML/JS directly. CreateJS seems to work well across all browsers I've tested on so far (with, of course, the exception of IE8)... as did Haxe. There may be retorts for all these criticisms, since I've only looked so far... please feel free to contradict me! Thanks, --Dave On Jun 24, 2014, at 9:00 AM, flashcoders-requ...@chattyfig.figleaf.com wrote: On 23/06/2014 17:29, David Cohn wrote: Cedric, I've been here since the get-go... in digest mode, so most questions are answered by the time I get them ;-) Thanks-- time to delve into Haxe-- I'm excited! --Dave I don't know how good it is but FDT have been involved with Haxe for a long time... http://fdt.powerflasher.com/w/index.php?title=Special:Searchns0=1redirs=0search=haxelimit=500offset=0 John ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Flash to HTML
I did not follow the entire treat, but maybe you want to look at GSAP from www.greensock.com HTH Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of David Cohn Sent: vrijdag 8 augustus 2014 1:46 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Flash to HTML Hey all, I've been looking a bit at CreateJS and Haxe/OpenFL, and since the question was asked a while ago, and the list is rather slow, I thought I'd share some further thoughts... I've decided to go with CreateJS for now. I was very excited about Haxe, especially from the point of view of one source for multiple platforms, but for heavily interactive Flash-style projects it just doesn't seem to be quite there yet. I'd love to be proven wrong(!), but here are the shortcomings that I've found in my brief look: 1. Sprite/Bitmap detection -- it looks like mouse detection is on the bounding box, so e.g. rollovers on arbitrarily shaped bitmaps is impossible. (Well, you may be able to use hitTestPoint and some fancy gyrations, but... eeech.) 2. Filter support -- seems weak and limited; e.g. GlowFilter isn't available for the HTML5 target. 3. Ease of developing -- relatively minor, and single-source across targets would easily outweigh this. But with Haxe, firstly you have an extra step (the build). Then, Haxe seems somewhat monolithic: it's good for handling the core interactive canvas area, but the HTML has to live in a separate file: Haxe rebuilds the HTML file each time and there doesn't seem to be a good way to preserve custom HTML in the same file between builds. Again, not a show-stopper, but I find workflow quicker without the build, and editing the HTML/JS directly. CreateJS seems to work well across all browsers I've tested on so far (with, of course, the exception of IE8)... as did Haxe. There may be retorts for all these criticisms, since I've only looked so far... please feel free to contradict me! Thanks, --Dave On Jun 24, 2014, at 9:00 AM, flashcoders-requ...@chattyfig.figleaf.com wrote: On 23/06/2014 17:29, David Cohn wrote: Cedric, I've been here since the get-go... in digest mode, so most questions are answered by the time I get them ;-) Thanks-- time to delve into Haxe-- I'm excited! --Dave I don't know how good it is but FDT have been involved with Haxe for a long time... http://fdt.powerflasher.com/w/index.php?title=Special:Searchns0=1redirs=0; search=haxelimit=500offset=0 John ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders - No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4716 / Virus Database: 3986/7999 - Release Date: 08/07/14 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash to HTML
@Cedric, Finally got a chance to play around a bit with Haxe-- really looks promising! I'm wondering how you approach combining HTML with the more complex Flash-style content-- do you compile your Haxe files and then add the appropriate div's etc into a separate HTML file? I.e. it looks like Haxe is best used to embed (canvas) content, rather than for full page display? If this is so, have you played around with multiple canvases on a single page? ...and thanks for lead! I'm looking forward to investigating further... --Dave On Jun 23, 2014, at 9:00 AM, flashcoders-requ...@chattyfig.figleaf.com wrote: @David: You can render HTML5 in openGL with Haxe/OpenFL. OpenGL is default on all teh native targets, the html5 target is still not 100% there, but there's a new backend for it which has improved things massively. Bitmap animation is no problem, either using OpenFL or the createJS extensions if you just want to ttarget JS. You can compile your Haxe code to AS3, not just to a swf if you want. Coming from AS3 their are tools to convert your AS3 to Haxe, in general these are good, but don't expect to port a massive codebase over withtou getting your hands dirty. Yes you can compile to PHP for your server side work, or nodeJS, Neko, C++, C#, Java and there's a Python target too now :) This is my favourite thing abotu Haxe, writing for server and client in the same language. You can communicate via remoting, sockets, whatever, and you use the EXACT SAME classes at either end. Not 2 diff represetations, or a 3rd protocol just to communicate. You can also easily move logic from client to server and back depending on where it fits best etc. It's awesome :) @Cedric: Nice to see you on board the Haxe train! Not seen you in the mailing list? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Html coding: video for iPad and Flash on one page
Unfortunately that new code still does not show video on iPad. * I noticed that / is missed in source tag for video and added it but that does not help.* source src=jack_giant_video.mp4 type=video/mp4 */*\n'+ 2014-07-28 21:40 GMT+04:00 Karl DeSaulniers k...@designdrumm.com: Hi Natalia, Here you go. This works for me on my iPhone. I did notice in your code on the link you sent me, there was a number of extra lines and white space. If this happens again from copying from your email, view the source on the live example link provided and copy from there. Live Example: http://designdrumm.com/clients/natalia [CODE] !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=UTF-8 / meta name=author content=DESIGN DRUMM Š 2014 / meta name=viewport content=width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=1 / titleJack And The Giant/title script type=text/javascript function hasFlash() { try { var AXO = new ActiveXObject('ShockwaveFlash.ShockwaveFlash'); if(AXO) { return true; } else { return false }; } catch(e){ return navigator.mimeTypes [application/x-shockwave-flash] != undefined ? true:false; } }; function hasQt() { if (navigator.plugins) { for (i=0; i navigator.plugins.length; i++ ) { if (navigator.plugins[i].name.indexOf (QuickTime) = 0) { return true; } } } if ((navigator.appVersion.indexOf(Mac) 0) (navigator.appName.substring(0,9) == Microsoft) (parseInt(navigator.appVersion) 5) ) { return true; } return false; }; function supports_video() { return !!document.createElement('video').canPlayType; } function supports_h264_baseline_video() { if (!supports_video()) { return false; } var v = document.createElement(video); return v.canPlayType('video/mp4; codecs=avc1.42E01E, mp4a.40.2'); } function supports_ogg_theora_video() { if (!supports_video()) { return false; } var v = document.createElement(video); return v.canPlayType('video/ogg; codecs=theora, vorbis'); } function supports_webm_video() { if (!supports_video()) { return false; } var v = document.createElement(video); return v.canPlayType('video/webm; codecs=vp8, vorbis'); } function loadVideo() { var videoCode = ''; if( hasFlash() == false supports_h264_baseline_video() != ) { /*HTML5 - h.264*/ videoCode = 'video id=jack_giant width=100% height=100% controls preload=auto poster=jack_giant.png style=position:absolute;z-index:0;\n'+ ' source src=jack_giant.mp4 type=video/mp4\n'+ ' /video\n'; } else if( hasFlash() == false supports_ogg_theora_video() != ) { /*HTML5*/ videoCode = 'video id=jack_giant width=100% height=100% controls preload=auto poster=jack_giant.png style=position:absolute;z-index:0;\n'+ ' source src=jack_giant.ogg type=video/ogg\n'+ ' /video\n'; } else if( hasFlash() == false supports_webm_video() != ) { /*HTML5*/ videoCode = 'video id=jack_giant width=100% height=100% controls preload=auto poster=jack_giant.png style=position:absolute;z-index:0;\n'+ ' source src=jack_giant.webm type=video/webm\n'+ ' /video\n'; } else if( hasFlash() == false supports_video() == false hasQt() == true ) { /*HTML4 QuickTime Embed - works on IE 7 and 8*/ videoCode = 'object classid=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B codebase= http://www.apple.com/qtactivex/qtplugin.cab; height=100% width=100% \n'+ ' param name=src value=jack_giant.mov \n'+ ' embed src=jack_giant.mov'+ 'height=100%'+ 'width=100%'+ 'type=video/quicktime'+ 'pluginspage=http://www.apple.com/quicktime/download/ '+ 'style=position:absolute;z-index:0;'+ '/\n'+ '/object\n'; } else if( hasFlash() == true ) { /*FLASH*/ videoCode = 'object classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354\n'+ ' codebase= http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0 \n'+ ' width=100% height=100% id=jack_giant align=mc style=position:absolute;z-index:0;\n'+ ' param name=allowScriptAccess value=sameDomain /\n'+ ' param name=allowFullScreen value=false /\n'+
Re: [Flashcoders] Html coding: video for iPad and Flash on one page
That is a relative url. So the videos need to be in the same directory as the javascript file or you need to give it the correct path. Was it my url that didn't work? It worked on my iPhone. I do not have an iPad to test with. Contact me off list and we will finish discussing it. I only posted here because the code was working for me. Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Jul 29, 2014, at 10:54 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Unfortunately that new code still does not show video on iPad. * I noticed that / is missed in source tag for video and added it but that does not help.* source src=jack_giant_video.mp4 type=video/mp4 */*\n'+ 2014-07-28 21:40 GMT+04:00 Karl DeSaulniers k...@designdrumm.com: Hi Natalia, Here you go. This works for me on my iPhone. I did notice in your code on the link you sent me, there was a number of extra lines and white space. If this happens again from copying from your email, view the source on the live example link provided and copy from there. Live Example: http://designdrumm.com/clients/natalia [CODE] !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=UTF-8 / meta name=author content=DESIGN DRUMM Š 2014 / meta name=viewport content=width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=1 / titleJack And The Giant/title script type=text/javascript function hasFlash() { try { var AXO = new ActiveXObject('ShockwaveFlash.ShockwaveFlash'); if(AXO) { return true; } else { return false }; } catch(e){ return navigator.mimeTypes [application/x-shockwave-flash] != undefined ? true:false; } }; function hasQt() { if (navigator.plugins) { for (i=0; i navigator.plugins.length; i++ ) { if (navigator.plugins[i].name.indexOf (QuickTime) = 0) { return true; } } } if ((navigator.appVersion.indexOf(Mac) 0) (navigator.appName.substring(0,9) == Microsoft) (parseInt(navigator.appVersion) 5) ) { return true; } return false; }; function supports_video() { return !!document.createElement('video').canPlayType; } function supports_h264_baseline_video() { if (!supports_video()) { return false; } var v = document.createElement(video); return v.canPlayType('video/mp4; codecs=avc1.42E01E, mp4a.40.2'); } function supports_ogg_theora_video() { if (!supports_video()) { return false; } var v = document.createElement(video); return v.canPlayType('video/ogg; codecs=theora, vorbis'); } function supports_webm_video() { if (!supports_video()) { return false; } var v = document.createElement(video); return v.canPlayType('video/webm; codecs=vp8, vorbis'); } function loadVideo() { var videoCode = ''; if( hasFlash() == false supports_h264_baseline_video() != ) { /*HTML5 - h.264*/ videoCode = 'video id=jack_giant width=100% height=100% controls preload=auto poster=jack_giant.png style=position:absolute;z-index:0;\n'+ ' source src=jack_giant.mp4 type=video/mp4\n'+ ' /video\n'; } else if( hasFlash() == false supports_ogg_theora_video() != ) { /*HTML5*/ videoCode = 'video id=jack_giant width=100% height=100% controls preload=auto poster=jack_giant.png style=position:absolute;z-index:0;\n'+ ' source src=jack_giant.ogg type=video/ogg\n'+ ' /video\n'; } else if( hasFlash() == false supports_webm_video() != ) { /*HTML5*/ videoCode = 'video id=jack_giant width=100% height=100% controls preload=auto poster=jack_giant.png style=position:absolute;z-index:0;\n'+ ' source src=jack_giant.webm type=video/webm\n'+ ' /video\n'; } else if( hasFlash() == false supports_video() == false hasQt() == true ) { /*HTML4 QuickTime Embed - works on IE 7 and 8*/ videoCode = 'object classid=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B codebase= http://www.apple.com/qtactivex/qtplugin.cab; height=100% width=100% \n'+ ' param name=src value=jack_giant.mov \n'+ ' embed src=jack_giant.mov'+ 'height=100%'+ 'width=100%'+ 'type=video/quicktime'+ 'pluginspage=http://www.apple.com/quicktime/download/ '+ 'style=position:absolute;z-index:0;'+ '/\n'+ '/object\n'; } else if( hasFlash() == true ) { /*FLASH*/
Re: [Flashcoders] Html coding: video for iPad and Flash on one page
Hi Natalia, Here you go. This works for me on my iPhone. I did notice in your code on the link you sent me, there was a number of extra lines and white space. If this happens again from copying from your email, view the source on the live example link provided and copy from there. Live Example: http://designdrumm.com/clients/natalia [CODE] !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=UTF-8 / meta name=author content=DESIGN DRUMM © 2014 / meta name=viewport content=width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=1 / titleJack And The Giant/title script type=text/javascript function hasFlash() { try { var AXO = new ActiveXObject('ShockwaveFlash.ShockwaveFlash'); if(AXO) { return true; } else { return false }; } catch(e){ return navigator.mimeTypes [application/x-shockwave-flash] != undefined ? true:false; } }; function hasQt() { if (navigator.plugins) { for (i=0; i navigator.plugins.length; i++ ) { if (navigator.plugins[i].name.indexOf (QuickTime) = 0) { return true; } } } if ((navigator.appVersion.indexOf(Mac) 0) (navigator.appName.substring(0,9) == Microsoft) (parseInt(navigator.appVersion) 5) ) { return true; } return false; }; function supports_video() { return !!document.createElement('video').canPlayType; } function supports_h264_baseline_video() { if (!supports_video()) { return false; } var v = document.createElement(video); return v.canPlayType('video/mp4; codecs=avc1.42E01E, mp4a.40.2'); } function supports_ogg_theora_video() { if (!supports_video()) { return false; } var v = document.createElement(video); return v.canPlayType('video/ogg; codecs=theora, vorbis'); } function supports_webm_video() { if (!supports_video()) { return false; } var v = document.createElement(video); return v.canPlayType('video/webm; codecs=vp8, vorbis'); } function loadVideo() { var videoCode = ''; if( hasFlash() == false supports_h264_baseline_video() != ) { /*HTML5 - h.264*/ videoCode = 'video id=jack_giant width=100% height=100% controls preload=auto poster=jack_giant.png style=position:absolute;z-index:0;\n'+ ' source src=jack_giant.mp4 type=video/mp4\n'+ ' /video\n'; } else if( hasFlash() == false supports_ogg_theora_video() != ) { /*HTML5*/ videoCode = 'video id=jack_giant width=100% height=100% controls preload=auto poster=jack_giant.png style=position:absolute;z-index:0;\n'+ ' source src=jack_giant.ogg type=video/ogg\n'+ ' /video\n'; } else if( hasFlash() == false supports_webm_video() != ) { /*HTML5*/ videoCode = 'video id=jack_giant width=100% height=100% controls preload=auto poster=jack_giant.png style=position:absolute;z-index:0;\n'+ ' source src=jack_giant.webm type=video/webm\n'+ ' /video\n'; } else if( hasFlash() == false supports_video() == false hasQt() == true ) { /*HTML4 QuickTime Embed - works on IE 7 and 8*/ videoCode = 'object classid=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B codebase=http://www.apple.com/qtactivex/qtplugin.cab; height=100% width=100% \n'+ ' param name=src value=jack_giant.mov \n'+ ' embed src=jack_giant.mov'+ 'height=100%'+ 'width=100%'+ 'type=video/quicktime'+ 'pluginspage=http://www.apple.com/quicktime/download/;'+ 'style=position:absolute;z-index:0;'+ '/\n'+ '/object\n'; } else if( hasFlash() == true ) { /*FLASH*/ videoCode = 'object classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354\n'+ ' codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\n'+ ' width=100% height=100% id=jack_giant align=mc style=position:absolute;z-index:0;\n'+ ' param name=allowScriptAccess value=sameDomain /\n'+ ' param name=allowFullScreen value=false /\n'+ ' param name=movie value=jack_giant.swf /\n'+ ' param name=quality value=high /\n'+ ' param name=bgcolor value=#fdef96 /' + ' param name=scale value=noscale /\n'+ ' param name=align value=mc /\n'+ ' param name=salign value=mc /\n'+ '
Re: [Flashcoders] Html coding: video for iPad and Flash on one page
Here is the code that I use (thank you Karl) and it works. Maybe it will be useful for somebody. I try now to find way to change look of a controls panel so the panel don't cover bottom of the video and text. If anybody solved this task please give me advice. Thank you for all your help. !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=UTF-8 / titleUntitled Document/title script type=text/javascript var nAgt = navigator.userAgent; var isMobile = { Android: function() { return nAgt.match(/Android/i) ? true : false; }, BlackBerry: function() { return nAgt.match(/BlackBerry/i) ? true : false; }, iOS: function() { return nAgt.match(/iPhone|iPad|iPod/i) ? true : false; }, Windows: function() { return nAgt.match(/IEMobile/i) ? true : false; }, Symbian: function() { return nAgt.match(/SymbianOS/i) ? true : false; }, any: function() { return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Windows() || isMobile.Symbian()); } }; function loadVideo() { if( (isMobile.any()) || (isMobile.Android()) ||( isMobile.BlackBerry()) || (isMobile.iOS()) || (isMobile.Windows()) || (isMobile.Symbian())){ /*HTML5*/ videoCode = 'video id=video width=100% height=100% controls preload=auto poster=screenshot.png style=position:absolute;z-index:0;\n'+ 'source src=jack_giant_video.mp4 type=video/mp4 /\n'+ '/video\n'; // here you can add another video format } else { /*FLASH*/ videoCode = 'object classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354\n'+ ' codebase= http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\n'+ ' width=100% height=100% id=jack_giant align=mc style=position:absolute;z-index:0;\n'+ ' param name=allowScriptAccess value=sameDomain /\n'+ ' param name=allowFullScreen value=false /\n'+ ' param name=movie value=jack_giant.swf /\n'+ ' param name=quality value=high /\n'+ ' param name=bgcolor value=#fdef96 /' + ' param name=scale value=noscale /\n'+ ' param name=align value=mc /\n'+ ' param name=salign value=mc /\n'+ ' embed src=jack_giant.swf' + 'bgcolor=#fdef96 width=100% height=100% '+ 'quality=high' + 'scale=noscale' + 'name=jack_giant' + 'align=mc' + 'salign=mc' + 'allowScriptAccess=sameDomain' + 'allowFullScreen=false' + 'type=application/x-shockwave-flash'+ 'style=position:absolute;z-index:0;'+ ' /\n'+ '/object\n'; } document.getElementById(video).innerHTML = videoCode; } /script /head body div id=video/div script type=text/javascript loadVideo(); /script /body /html 2014-07-25 20:43 GMT+04:00 natalia Vikhtinskaya natavi.m...@gmail.com: Yes, Flash is priority. So I use what Karl offer with JavaScript. Solution without JavaScript unfortunately does not work. It would be nice because it is shorter way. 2014-07-25 14:06 GMT+04:00 Henrik Andersson he...@henke37.cjb.net: You got the priorities wrong. He wants to use Flash if possible, with the video as the fallback. Karl DeSaulniers skriver: Hi Natalia, Looks like this is your best solution and doesn't involve any javascript. video width=100% height=100% controls source src=jack_giant.mp4 type=video/mp4 source src=jack_giant.ogg type=video/ogg source src=jack_giant.webm type=video/webm object data=jack_giant.mp4 width=100% height=100% embed src=jack_giant.swf width=100% height=100% /object /video [Source] http://www.w3schools.com/html/html_videos.asp You'll have to work it into what your doing. I think someone earlier mentioned this though. HTH, Karl DeSaulniers Design Drumm http://designdrumm.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
Re: [Flashcoders] Html coding: video for iPad and Flash on one page
This assumes that all mobile devices are incapable of Flash. That's patently false. It also ignores the issue of non-mobile devices that doesn't support Flash. natalia Vikhtinskaya skriver: Here is the code that I use (thank you Karl) and it works. Maybe it will be useful for somebody. I try now to find way to change look of a controls panel so the panel don't cover bottom of the video and text. If anybody solved this task please give me advice. Thank you for all your help. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Html coding: video for iPad and Flash on one page
This one should do the trick. It's device independent. Even checks to see if h.264 video is supported. HTH, !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=UTF-8 / titleJack And The Giant/title script type=text/javascript function hasFlash() { try { var AXO = new ActiveXObject('ShockwaveFlash.ShockwaveFlash'); return AXO ? true:false; } catch(e){ return navigator.mimeTypes [application/x-shockwave-flash] != undefined ? true:false; } }; function hasQt() { if (navigator.plugins) { for (i=0; i navigator.plugins.length; i++ ) { if (navigator.plugins[i].name.indexOf (QuickTime) = 0) { return true; } } } if ((navigator.appVersion.indexOf(Mac) 0) (navigator.appName.substring(0,9) == Microsoft) (parseInt(navigator.appVersion) 5) ) { return true; } return false; }; function supports_video() { return !!document.createElement('video').canPlayType; } function supports_h264_baseline_video() { if (!supports_video()) { return false; } var v = document.createElement(video); return v.canPlayType('video/mp4; codecs=avc1.42E01E, mp4a.40.2'); } function loadVideo() { if( !hasFlash supports_h264_baseline_video()) { /*HTML5 - h264*/ videoCode = 'video id=jack_giant width=100% height=100% controls preload=auto poster=jack_giant.png style=position:absolute;z-index:0;\n'+ ' source src=jack_giant.mp4 type=video/mp4\n'+ ' /video\n'; } else if( !hasFlash !supports_h264_baseline_video() supports_video()) { /*HTML5*/ videoCode = 'video id=jack_giant width=100% height=100% controls preload=auto poster=jack_giant.png style=position:absolute;z-index:0;\n'+ ' source src=jack_giant.ogg type=video/ogg\n'+ ' source src=jack_giant.webm type=video/webm\n'+ ' /video\n'; } else if( !hasFlash !supports_video() hasQt ) { /*HTML4 QuickTime Embed - works on IE 7 and 8*/ videoCode = 'object classid=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B codebase=http://www.apple.com/qtactivex/qtplugin.cab; height=100% width=100% \n'+ ' param name=src value=jack_giant.mov \n'+ ' embed src=jack_giant.mov'+ 'height=100%'+ 'width=100%'+ 'type=video/quicktime'+ 'pluginspage=http://www.apple.com/quicktime/download/;'+ 'style=position:absolute;z-index:0;'+ '/\n'+ '/object\n'; } else if( hasFlash ) { /*FLASH*/ videoCode = 'object classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354\n'+ ' codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\n'+ ' width=100% height=100% id=jack_giant align=mc style=position:absolute;z-index:0;\n'+ ' param name=allowScriptAccess value=sameDomain /\n'+ ' param name=allowFullScreen value=false /\n'+ ' param name=movie value=jack_giant.swf /\n'+ ' param name=quality value=high /\n'+ ' param name=bgcolor value=#fdef96 /' + ' param name=scale value=noscale /\n'+ ' param name=align value=mc /\n'+ ' param name=salign value=mc /\n'+ ' embed src=jack_giant.swf' + 'bgcolor=#fdef96 width=100% height=100% '+ 'quality=high' + 'scale=noscale' + 'name=jack_giant' + 'align=mc' + 'salign=mc' + 'allowScriptAccess=sameDomain' + 'allowFullScreen=false' + 'type=application/x-shockwave-flash'+ 'style=position:absolute;z-index:0;'+ ' /\n'+ '/object\n'; } else { videoCode = 'pYour browser does not support HTML5 Video, QuickTime or Flash. Please upgrade your browser to the latest version or use a video compatible browser or download the a href=http://www.adobe.com/go/getflash;Flash Plugin/a or the a href=http://www.apple.com/quicktime/download/;QuickTime Plugin/a to view this video./p'; } document.getElementById(video_player).innerHTML = videoCode; } /script /head body div id=video_player/div script type=text/javascript loadVideo(); /script /body /html Best, Karl DeSaulniers Design
Re: [Flashcoders] Html coding: video for iPad and Flash on one page
Hi Natalia, Looks like this is your best solution and doesn't involve any javascript. video width=100% height=100% controls source src=jack_giant.mp4 type=video/mp4 source src=jack_giant.ogg type=video/ogg source src=jack_giant.webm type=video/webm object data=jack_giant.mp4 width=100% height=100% embed src=jack_giant.swf width=100% height=100% /object /video [Source] http://www.w3schools.com/html/html_videos.asp You'll have to work it into what your doing. I think someone earlier mentioned this though. HTH, Karl DeSaulniers Design Drumm http://designdrumm.com On Jul 22, 2014, at 12:07 PM, Karl DeSaulniers k...@designdrumm.com wrote: Well, it may not be the best solution, but technically my code is not sniffing the userAgent the way your implying, it's sniffing for a device name in the userAgent string. Doesn't matter what version of iPhone you have because the name iPhone will always be in the userAgent string for a web browser on an iPhone. Same with the name windows, android, Symbian etc etc. If I were sniffing the userAgent string for a browser version I would agree with you. My script has survived three iPhones so far. :) But I will look into your suggestion. Thank you. Best, Karl Sent from losPhone On Jul 22, 2014, at 8:34 AM, James Merrill jmerri...@gmail.com wrote: Do not sniff for user agents! What will your code do when someone uses the next iPhone? Or if they have opera installed on their amazon fire? You can not predict what user agent strings will look like in the future, and are bound to serve up the wrong content to the wrong people. This problem has been solved by JS developers, and it's called feature detection. Instead of relying upon user agent sniffing, check whether the browser supports video tags. This library is all you need. http://modernizr.com/ Then you can simply do: if(Modernizr.video){ //code to show html5 video } else { //code to show flash video } On Tue, Jul 22, 2014 at 8:57 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Thank you very much for the help. As I understand I use correct code. I don't use different pages for video and flash. I did two blocks on the page. div id=video style=display:none video id=video width=100% height=100% poster=screenshot.png controls=controls preload=none source src=jack_giant_video.mp4 type=video/mp4 / /video /div div id=flash style=display:block object classid=clsid:d27cdb6e-ae6d-11cf-96b8-44455354 codebase= http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0 width=100% height=100% id=jack_giant align=middle param name=allowScriptAccess value=sameDomain / param name=allowFullScreen value=false / param name=movie value=jack_giant.swf /param name=quality value=high /param name=scale value=noscale /param name=bgcolor value=#fdef96 / embed src=jack_giant.swf quality=high scale=noscale bgcolor=#fdef96 width=100% height=100% name=jack_giant align=middle allowScriptAccess=sameDomain allowFullScreen=false type=application/x-shockwave-flash pluginspage= http://www.macromedia.com/go/getflashplayer; / /object /div script language=javascript if ((navigator.userAgent.match(/iPad/i) != null) || (navigator.userAgent.match(/iPhone/i) != null) || (navigator.userAgent.match(/iPod/i) != null)) { document.getElementById(video).style.display = block; document.getElementById(flash).style.display = none; } /script I should improve JavaScript as Karl shows but unfortunately iPad does not play video when html file tests. I tested this mp4 video in browsers that support html5 and they play video. The same video iPad does not play. Where can be problem? 2014-07-22 4:44 GMT+04:00 Karl DeSaulniers k...@designdrumm.com: Here is what I use, it's simple and works like a charm for me. script type=text/javascript var nAgt = navigator.userAgent; var isMobile = { Android: function() { return nAgt.match(/Android/i) ? true : false; }, BlackBerry: function() { return nAgt.match(/BlackBerry/i) ? true : false; }, iOS: function() { return nAgt.match(/iPhone|iPad|iPod/i) ? true : false; }, Windows: function() { return nAgt.match(/IEMobile/i) ? true : false; }, Symbian: function() { return nAgt.match(/SymbianOS/i) ? true : false; }, any: function() { return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Windows() || isMobile.Symbian()); } }; if( isMobile.any() ) { location.href = HTML5/index.html ; } else { location.href = FLASH/index.html ; } /script You can also chek for individual devices by just calling any of the following... isMobile.Android() isMobile.BlackBerry() isMobile.iOS() isMobile.Windows() isMobile.Symbian() You can also add your own deviced if you know the userAgent. Just add it to the array! :) Now, this does not check if flash is installed. I
Re: [Flashcoders] Html coding: video for iPad and Flash on one page
You got the priorities wrong. He wants to use Flash if possible, with the video as the fallback. Karl DeSaulniers skriver: Hi Natalia, Looks like this is your best solution and doesn't involve any javascript. video width=100% height=100% controls source src=jack_giant.mp4 type=video/mp4 source src=jack_giant.ogg type=video/ogg source src=jack_giant.webm type=video/webm object data=jack_giant.mp4 width=100% height=100% embed src=jack_giant.swf width=100% height=100% /object /video [Source] http://www.w3schools.com/html/html_videos.asp You'll have to work it into what your doing. I think someone earlier mentioned this though. HTH, Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Html coding: video for iPad and Flash on one page
Ah, in that case switch it. video width=100% height=100% controls object data=jack_giant.mp4 width=100% height=100% embed src=jack_giant.swf width=100% height=100% /object source src=jack_giant.mp4 type=video/mp4 source src=jack_giant.ogg type=video/ogg source src=jack_giant.webm type=video/webm /video Not 100% sure if that will actually do it, hadn't tested, but my understanding is it loads the first viable solution in the DOM chain so it should hit the object before source of the video tag and if the object and embed don't fire, then it would find the source tags. If the video tag doesn't fire, then the object is still there. Well, in theory anyway. Worth a test I'd say. Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Jul 25, 2014, at 5:06 AM, Henrik Andersson he...@henke37.cjb.net wrote: You got the priorities wrong. He wants to use Flash if possible, with the video as the fallback. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Html coding: video for iPad and Flash on one page
Actually, if you want just flash to play first, then I think it would be set like this. video width=100% height=100% controls object data=jack_giant.swf width=100% height=100% embed src=jack_giant.swf width=100% height=100% /object source src=jack_giant.mp4 type=video/mp4 source src=jack_giant.ogg type=video/ogg source src=jack_giant.webm type=video/webm /video Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Jul 25, 2014, at 5:15 AM, Karl DeSaulniers k...@designdrumm.com wrote: Ah, in that case switch it. video width=100% height=100% controls object data=jack_giant.mp4 width=100% height=100% embed src=jack_giant.swf width=100% height=100% /object source src=jack_giant.mp4 type=video/mp4 source src=jack_giant.ogg type=video/ogg source src=jack_giant.webm type=video/webm /video Not 100% sure if that will actually do it, hadn't tested, but my understanding is it loads the first viable solution in the DOM chain so it should hit the object before source of the video tag and if the object and embed don't fire, then it would find the source tags. If the video tag doesn't fire, then the object is still there. Well, in theory anyway. Worth a test I'd say. Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Jul 25, 2014, at 5:06 AM, Henrik Andersson he...@henke37.cjb.net wrote: You got the priorities wrong. He wants to use Flash if possible, with the video as the fallback. ___ 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] Html coding: video for iPad and Flash on one page
Yes, Flash is priority. So I use what Karl offer with JavaScript. Solution without JavaScript unfortunately does not work. It would be nice because it is shorter way. 2014-07-25 14:06 GMT+04:00 Henrik Andersson he...@henke37.cjb.net: You got the priorities wrong. He wants to use Flash if possible, with the video as the fallback. Karl DeSaulniers skriver: Hi Natalia, Looks like this is your best solution and doesn't involve any javascript. video width=100% height=100% controls source src=jack_giant.mp4 type=video/mp4 source src=jack_giant.ogg type=video/ogg source src=jack_giant.webm type=video/webm object data=jack_giant.mp4 width=100% height=100% embed src=jack_giant.swf width=100% height=100% /object /video [Source] http://www.w3schools.com/html/html_videos.asp You'll have to work it into what your doing. I think someone earlier mentioned this though. HTH, Karl DeSaulniers Design Drumm http://designdrumm.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
Re: [Flashcoders] Html coding: video for iPad and Flash on one page
Thank you very much for the help. As I understand I use correct code. I don't use different pages for video and flash. I did two blocks on the page. div id=video style=display:none video id=video width=100% height=100% poster=screenshot.png controls=controls preload=none source src=jack_giant_video.mp4 type=video/mp4 / /video /div div id=flash style=display:block object classid=clsid:d27cdb6e-ae6d-11cf-96b8-44455354 codebase= http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0; width=100% height=100% id=jack_giant align=middle param name=allowScriptAccess value=sameDomain / param name=allowFullScreen value=false / param name=movie value=jack_giant.swf /param name=quality value=high /param name=scale value=noscale /param name=bgcolor value=#fdef96 / embed src=jack_giant.swf quality=high scale=noscale bgcolor=#fdef96 width=100% height=100% name=jack_giant align=middle allowScriptAccess=sameDomain allowFullScreen=false type=application/x-shockwave-flash pluginspage= http://www.macromedia.com/go/getflashplayer; / /object /div script language=javascript if ((navigator.userAgent.match(/iPad/i) != null) || (navigator.userAgent.match(/iPhone/i) != null) || (navigator.userAgent.match(/iPod/i) != null)) { document.getElementById(video).style.display = block; document.getElementById(flash).style.display = none; } /script I should improve JavaScript as Karl shows but unfortunately iPad does not play video when html file tests. I tested this mp4 video in browsers that support html5 and they play video. The same video iPad does not play. Where can be problem? 2014-07-22 4:44 GMT+04:00 Karl DeSaulniers k...@designdrumm.com: Here is what I use, it's simple and works like a charm for me. script type=text/javascript var nAgt = navigator.userAgent; var isMobile = { Android: function() { return nAgt.match(/Android/i) ? true : false; }, BlackBerry: function() { return nAgt.match(/BlackBerry/i) ? true : false; }, iOS: function() { return nAgt.match(/iPhone|iPad|iPod/i) ? true : false; }, Windows: function() { return nAgt.match(/IEMobile/i) ? true : false; }, Symbian: function() { return nAgt.match(/SymbianOS/i) ? true : false; }, any: function() { return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Windows() || isMobile.Symbian()); } }; if( isMobile.any() ) { location.href = HTML5/index.html ; } else { location.href = FLASH/index.html ; } /script You can also chek for individual devices by just calling any of the following... isMobile.Android() isMobile.BlackBerry() isMobile.iOS() isMobile.Windows() isMobile.Symbian() You can also add your own deviced if you know the userAgent. Just add it to the array! :) Now, this does not check if flash is installed. I have the old skool flash fallback for that and a link to the html 5 page in there as well so if they know they have a html5 compatible desktop browser, they can just click that if they don't what to install flash per se. HTH. Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Jul 21, 2014, at 7:36 PM, Mike Starr starrten...@gmail.com wrote: So this looks complicated. A few resources I recommend: Adobe GoLive ActiveX On Mon, Jul 21, 2014 at 10:20 AM, Ross P. Sclafani ross.sclaf...@gmail.com wrote: I have done this for a video player i build that does hundreds of millions of streams / year across platforms and devices. I use SWFObject to attempt to write the flash SWF, and put our html5 rendering code into the callback after the attempt, if the flash failed to write. On Jul 21, 2014, at 1:57 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Thank you very much for this link. But I need a bit different. If browser support HTML5 and Flash it should play Flash. Only platforms that does not support Flash should play video. 2014-07-20 21:55 GMT+04:00 Ruben Quintana ruben.quint...@gmail.com: http://coolestguidesontheplanet.com/use-html-5-video-on-all-browsers/ On Sun, Jul 20, 2014 at 12:05 PM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: I need play video only for iPad and other devices that does not support Flash. Does this code do that? 2014-07-20 19:51 GMT+04:00 Micky Hulse mickyhulse.li...@gmail.com: On Sun, Jul 20, 2014 at 8:41 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: I tested on Windows - just blank page. It seems does not like style=display:none but I don't know another solition. I typically use: video poster=foo.jpg width=480 height=360 preload=none controls source src=foo.webm type=video/webm source src=foo.ogv type=video/ogg source src=foo.mp4 type=video/mp4 ... Flash fallback goes here ... /video You'll have to change width/height to match video. This
Re: [Flashcoders] Html coding: video for iPad and Flash on one page
Do not sniff for user agents! What will your code do when someone uses the next iPhone? Or if they have opera installed on their amazon fire? You can not predict what user agent strings will look like in the future, and are bound to serve up the wrong content to the wrong people. This problem has been solved by JS developers, and it's called feature detection. Instead of relying upon user agent sniffing, check whether the browser supports video tags. This library is all you need. http://modernizr.com/ Then you can simply do: if(Modernizr.video){ //code to show html5 video } else { //code to show flash video } On Tue, Jul 22, 2014 at 8:57 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Thank you very much for the help. As I understand I use correct code. I don't use different pages for video and flash. I did two blocks on the page. div id=video style=display:none video id=video width=100% height=100% poster=screenshot.png controls=controls preload=none source src=jack_giant_video.mp4 type=video/mp4 / /video /div div id=flash style=display:block object classid=clsid:d27cdb6e-ae6d-11cf-96b8-44455354 codebase= http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0 width=100% height=100% id=jack_giant align=middle param name=allowScriptAccess value=sameDomain / param name=allowFullScreen value=false / param name=movie value=jack_giant.swf /param name=quality value=high /param name=scale value=noscale /param name=bgcolor value=#fdef96 / embed src=jack_giant.swf quality=high scale=noscale bgcolor=#fdef96 width=100% height=100% name=jack_giant align=middle allowScriptAccess=sameDomain allowFullScreen=false type=application/x-shockwave-flash pluginspage= http://www.macromedia.com/go/getflashplayer; / /object /div script language=javascript if ((navigator.userAgent.match(/iPad/i) != null) || (navigator.userAgent.match(/iPhone/i) != null) || (navigator.userAgent.match(/iPod/i) != null)) { document.getElementById(video).style.display = block; document.getElementById(flash).style.display = none; } /script I should improve JavaScript as Karl shows but unfortunately iPad does not play video when html file tests. I tested this mp4 video in browsers that support html5 and they play video. The same video iPad does not play. Where can be problem? 2014-07-22 4:44 GMT+04:00 Karl DeSaulniers k...@designdrumm.com: Here is what I use, it's simple and works like a charm for me. script type=text/javascript var nAgt = navigator.userAgent; var isMobile = { Android: function() { return nAgt.match(/Android/i) ? true : false; }, BlackBerry: function() { return nAgt.match(/BlackBerry/i) ? true : false; }, iOS: function() { return nAgt.match(/iPhone|iPad|iPod/i) ? true : false; }, Windows: function() { return nAgt.match(/IEMobile/i) ? true : false; }, Symbian: function() { return nAgt.match(/SymbianOS/i) ? true : false; }, any: function() { return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Windows() || isMobile.Symbian()); } }; if( isMobile.any() ) { location.href = HTML5/index.html ; } else { location.href = FLASH/index.html ; } /script You can also chek for individual devices by just calling any of the following... isMobile.Android() isMobile.BlackBerry() isMobile.iOS() isMobile.Windows() isMobile.Symbian() You can also add your own deviced if you know the userAgent. Just add it to the array! :) Now, this does not check if flash is installed. I have the old skool flash fallback for that and a link to the html 5 page in there as well so if they know they have a html5 compatible desktop browser, they can just click that if they don't what to install flash per se. HTH. Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Jul 21, 2014, at 7:36 PM, Mike Starr starrten...@gmail.com wrote: So this looks complicated. A few resources I recommend: Adobe GoLive ActiveX On Mon, Jul 21, 2014 at 10:20 AM, Ross P. Sclafani ross.sclaf...@gmail.com wrote: I have done this for a video player i build that does hundreds of millions of streams / year across platforms and devices. I use SWFObject to attempt to write the flash SWF, and put our html5 rendering code into the callback after the attempt, if the flash failed to write. On Jul 21, 2014, at 1:57 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Thank you very much for this link. But I need a bit different. If browser support HTML5 and Flash it should play Flash. Only platforms that does not support Flash should play video. 2014-07-20 21:55 GMT+04:00 Ruben Quintana ruben.quint...@gmail.com :
Re: [Flashcoders] Html coding: video for iPad and Flash on one page
Thank you for this information. What if I need if support flash{ //code for flash } else { //code for video } How to solve that? 2014-07-22 17:34 GMT+04:00 James Merrill jmerri...@gmail.com: Do not sniff for user agents! What will your code do when someone uses the next iPhone? Or if they have opera installed on their amazon fire? You can not predict what user agent strings will look like in the future, and are bound to serve up the wrong content to the wrong people. This problem has been solved by JS developers, and it's called feature detection. Instead of relying upon user agent sniffing, check whether the browser supports video tags. This library is all you need. http://modernizr.com/ Then you can simply do: if(Modernizr.video){ //code to show html5 video } else { //code to show flash video } On Tue, Jul 22, 2014 at 8:57 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Thank you very much for the help. As I understand I use correct code. I don't use different pages for video and flash. I did two blocks on the page. div id=video style=display:none video id=video width=100% height=100% poster=screenshot.png controls=controls preload=none source src=jack_giant_video.mp4 type=video/mp4 / /video /div div id=flash style=display:block object classid=clsid:d27cdb6e-ae6d-11cf-96b8-44455354 codebase= http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0 width=100% height=100% id=jack_giant align=middle param name=allowScriptAccess value=sameDomain / param name=allowFullScreen value=false / param name=movie value=jack_giant.swf /param name=quality value=high /param name=scale value=noscale /param name=bgcolor value=#fdef96 / embed src=jack_giant.swf quality=high scale=noscale bgcolor=#fdef96 width=100% height=100% name=jack_giant align=middle allowScriptAccess=sameDomain allowFullScreen=false type=application/x-shockwave-flash pluginspage= http://www.macromedia.com/go/getflashplayer; / /object /div script language=javascript if ((navigator.userAgent.match(/iPad/i) != null) || (navigator.userAgent.match(/iPhone/i) != null) || (navigator.userAgent.match(/iPod/i) != null)) { document.getElementById(video).style.display = block; document.getElementById(flash).style.display = none; } /script I should improve JavaScript as Karl shows but unfortunately iPad does not play video when html file tests. I tested this mp4 video in browsers that support html5 and they play video. The same video iPad does not play. Where can be problem? 2014-07-22 4:44 GMT+04:00 Karl DeSaulniers k...@designdrumm.com: Here is what I use, it's simple and works like a charm for me. script type=text/javascript var nAgt = navigator.userAgent; var isMobile = { Android: function() { return nAgt.match(/Android/i) ? true : false; }, BlackBerry: function() { return nAgt.match(/BlackBerry/i) ? true : false; }, iOS: function() { return nAgt.match(/iPhone|iPad|iPod/i) ? true : false; }, Windows: function() { return nAgt.match(/IEMobile/i) ? true : false; }, Symbian: function() { return nAgt.match(/SymbianOS/i) ? true : false; }, any: function() { return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Windows() || isMobile.Symbian()); } }; if( isMobile.any() ) { location.href = HTML5/index.html ; } else { location.href = FLASH/index.html ; } /script You can also chek for individual devices by just calling any of the following... isMobile.Android() isMobile.BlackBerry() isMobile.iOS() isMobile.Windows() isMobile.Symbian() You can also add your own deviced if you know the userAgent. Just add it to the array! :) Now, this does not check if flash is installed. I have the old skool flash fallback for that and a link to the html 5 page in there as well so if they know they have a html5 compatible desktop browser, they can just click that if they don't what to install flash per se. HTH. Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Jul 21, 2014, at 7:36 PM, Mike Starr starrten...@gmail.com wrote: So this looks complicated. A few resources I recommend: Adobe GoLive ActiveX On Mon, Jul 21, 2014 at 10:20 AM, Ross P. Sclafani ross.sclaf...@gmail.com wrote: I have done this for a video player i build that does hundreds of millions of streams / year across platforms and devices. I use SWFObject to attempt to write the flash SWF, and put our html5 rendering code into the callback after the attempt, if the flash failed to write. On Jul 21, 2014, at 1:57 AM, natalia
Re: [Flashcoders] Html coding: video for iPad and Flash on one page
Well, it may not be the best solution, but technically my code is not sniffing the userAgent the way your implying, it's sniffing for a device name in the userAgent string. Doesn't matter what version of iPhone you have because the name iPhone will always be in the userAgent string for a web browser on an iPhone. Same with the name windows, android, Symbian etc etc. If I were sniffing the userAgent string for a browser version I would agree with you. My script has survived three iPhones so far. :) But I will look into your suggestion. Thank you. Best, Karl Sent from losPhone On Jul 22, 2014, at 8:34 AM, James Merrill jmerri...@gmail.com wrote: Do not sniff for user agents! What will your code do when someone uses the next iPhone? Or if they have opera installed on their amazon fire? You can not predict what user agent strings will look like in the future, and are bound to serve up the wrong content to the wrong people. This problem has been solved by JS developers, and it's called feature detection. Instead of relying upon user agent sniffing, check whether the browser supports video tags. This library is all you need. http://modernizr.com/ Then you can simply do: if(Modernizr.video){ //code to show html5 video } else { //code to show flash video } On Tue, Jul 22, 2014 at 8:57 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Thank you very much for the help. As I understand I use correct code. I don't use different pages for video and flash. I did two blocks on the page. div id=video style=display:none video id=video width=100% height=100% poster=screenshot.png controls=controls preload=none source src=jack_giant_video.mp4 type=video/mp4 / /video /div div id=flash style=display:block object classid=clsid:d27cdb6e-ae6d-11cf-96b8-44455354 codebase= http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0 width=100% height=100% id=jack_giant align=middle param name=allowScriptAccess value=sameDomain / param name=allowFullScreen value=false / param name=movie value=jack_giant.swf /param name=quality value=high /param name=scale value=noscale /param name=bgcolor value=#fdef96 / embed src=jack_giant.swf quality=high scale=noscale bgcolor=#fdef96 width=100% height=100% name=jack_giant align=middle allowScriptAccess=sameDomain allowFullScreen=false type=application/x-shockwave-flash pluginspage= http://www.macromedia.com/go/getflashplayer; / /object /div script language=javascript if ((navigator.userAgent.match(/iPad/i) != null) || (navigator.userAgent.match(/iPhone/i) != null) || (navigator.userAgent.match(/iPod/i) != null)) { document.getElementById(video).style.display = block; document.getElementById(flash).style.display = none; } /script I should improve JavaScript as Karl shows but unfortunately iPad does not play video when html file tests. I tested this mp4 video in browsers that support html5 and they play video. The same video iPad does not play. Where can be problem? 2014-07-22 4:44 GMT+04:00 Karl DeSaulniers k...@designdrumm.com: Here is what I use, it's simple and works like a charm for me. script type=text/javascript var nAgt = navigator.userAgent; var isMobile = { Android: function() { return nAgt.match(/Android/i) ? true : false; }, BlackBerry: function() { return nAgt.match(/BlackBerry/i) ? true : false; }, iOS: function() { return nAgt.match(/iPhone|iPad|iPod/i) ? true : false; }, Windows: function() { return nAgt.match(/IEMobile/i) ? true : false; }, Symbian: function() { return nAgt.match(/SymbianOS/i) ? true : false; }, any: function() { return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Windows() || isMobile.Symbian()); } }; if( isMobile.any() ) { location.href = HTML5/index.html ; } else { location.href = FLASH/index.html ; } /script You can also chek for individual devices by just calling any of the following... isMobile.Android() isMobile.BlackBerry() isMobile.iOS() isMobile.Windows() isMobile.Symbian() You can also add your own deviced if you know the userAgent. Just add it to the array! :) Now, this does not check if flash is installed. I have the old skool flash fallback for that and a link to the html 5 page in there as well so if they know they have a html5 compatible desktop browser, they can just click that if they don't what to install flash per se. HTH. Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Jul 21, 2014, at 7:36 PM, Mike Starr starrten...@gmail.com wrote: So this looks complicated. A few resources I recommend: Adobe GoLive ActiveX On Mon, Jul 21, 2014 at 10:20 AM, Ross P. Sclafani ross.sclaf...@gmail.com wrote: I have done this for a video player i build that does hundreds of millions of streams / year across
Re: [Flashcoders] Html coding: video for iPad and Flash on one page
Thank you very much for this link. But I need a bit different. If browser support HTML5 and Flash it should play Flash. Only platforms that does not support Flash should play video. 2014-07-20 21:55 GMT+04:00 Ruben Quintana ruben.quint...@gmail.com: http://coolestguidesontheplanet.com/use-html-5-video-on-all-browsers/ On Sun, Jul 20, 2014 at 12:05 PM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: I need play video only for iPad and other devices that does not support Flash. Does this code do that? 2014-07-20 19:51 GMT+04:00 Micky Hulse mickyhulse.li...@gmail.com: On Sun, Jul 20, 2014 at 8:41 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: I tested on Windows - just blank page. It seems does not like style=display:none but I don't know another solition. I typically use: video poster=foo.jpg width=480 height=360 preload=none controls source src=foo.webm type=video/webm source src=foo.ogv type=video/ogg source src=foo.mp4 type=video/mp4 ... Flash fallback goes here ... /video You'll have to change width/height to match video. This app is great for converting your source to diff formats: http://www.mirovideoconverter.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 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] Html coding: video for iPad and Flash on one page
I have done this for a video player i build that does hundreds of millions of streams / year across platforms and devices. I use SWFObject to attempt to write the flash SWF, and put our html5 rendering code into the callback after the attempt, if the flash failed to write. On Jul 21, 2014, at 1:57 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Thank you very much for this link. But I need a bit different. If browser support HTML5 and Flash it should play Flash. Only platforms that does not support Flash should play video. 2014-07-20 21:55 GMT+04:00 Ruben Quintana ruben.quint...@gmail.com: http://coolestguidesontheplanet.com/use-html-5-video-on-all-browsers/ On Sun, Jul 20, 2014 at 12:05 PM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: I need play video only for iPad and other devices that does not support Flash. Does this code do that? 2014-07-20 19:51 GMT+04:00 Micky Hulse mickyhulse.li...@gmail.com: On Sun, Jul 20, 2014 at 8:41 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: I tested on Windows - just blank page. It seems does not like style=display:none but I don't know another solition. I typically use: video poster=foo.jpg width=480 height=360 preload=none controls source src=foo.webm type=video/webm source src=foo.ogv type=video/ogg source src=foo.mp4 type=video/mp4 ... Flash fallback goes here ... /video You'll have to change width/height to match video. This app is great for converting your source to diff formats: http://www.mirovideoconverter.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 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] Html coding: video for iPad and Flash on one page
So this looks complicated. A few resources I recommend: Adobe GoLive ActiveX On Mon, Jul 21, 2014 at 10:20 AM, Ross P. Sclafani ross.sclaf...@gmail.com wrote: I have done this for a video player i build that does hundreds of millions of streams / year across platforms and devices. I use SWFObject to attempt to write the flash SWF, and put our html5 rendering code into the callback after the attempt, if the flash failed to write. On Jul 21, 2014, at 1:57 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Thank you very much for this link. But I need a bit different. If browser support HTML5 and Flash it should play Flash. Only platforms that does not support Flash should play video. 2014-07-20 21:55 GMT+04:00 Ruben Quintana ruben.quint...@gmail.com: http://coolestguidesontheplanet.com/use-html-5-video-on-all-browsers/ On Sun, Jul 20, 2014 at 12:05 PM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: I need play video only for iPad and other devices that does not support Flash. Does this code do that? 2014-07-20 19:51 GMT+04:00 Micky Hulse mickyhulse.li...@gmail.com: On Sun, Jul 20, 2014 at 8:41 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: I tested on Windows - just blank page. It seems does not like style=display:none but I don't know another solition. I typically use: video poster=foo.jpg width=480 height=360 preload=none controls source src=foo.webm type=video/webm source src=foo.ogv type=video/ogg source src=foo.mp4 type=video/mp4 ... Flash fallback goes here ... /video You'll have to change width/height to match video. This app is great for converting your source to diff formats: http://www.mirovideoconverter.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 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 mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Html coding: video for iPad and Flash on one page
Here is what I use, it's simple and works like a charm for me. script type=text/javascript var nAgt = navigator.userAgent; var isMobile = { Android: function() { return nAgt.match(/Android/i) ? true : false; }, BlackBerry: function() { return nAgt.match(/BlackBerry/i) ? true : false; }, iOS: function() { return nAgt.match(/iPhone|iPad|iPod/i) ? true : false; }, Windows: function() { return nAgt.match(/IEMobile/i) ? true : false; }, Symbian: function() { return nAgt.match(/SymbianOS/i) ? true : false; }, any: function() { return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Windows() || isMobile.Symbian()); } }; if( isMobile.any() ) { location.href = HTML5/index.html ; } else { location.href = FLASH/index.html ; } /script You can also chek for individual devices by just calling any of the following... isMobile.Android() isMobile.BlackBerry() isMobile.iOS() isMobile.Windows() isMobile.Symbian() You can also add your own deviced if you know the userAgent. Just add it to the array! :) Now, this does not check if flash is installed. I have the old skool flash fallback for that and a link to the html 5 page in there as well so if they know they have a html5 compatible desktop browser, they can just click that if they don't what to install flash per se. HTH. Best, Karl DeSaulniers Design Drumm http://designdrumm.com On Jul 21, 2014, at 7:36 PM, Mike Starr starrten...@gmail.com wrote: So this looks complicated. A few resources I recommend: Adobe GoLive ActiveX On Mon, Jul 21, 2014 at 10:20 AM, Ross P. Sclafani ross.sclaf...@gmail.com wrote: I have done this for a video player i build that does hundreds of millions of streams / year across platforms and devices. I use SWFObject to attempt to write the flash SWF, and put our html5 rendering code into the callback after the attempt, if the flash failed to write. On Jul 21, 2014, at 1:57 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Thank you very much for this link. But I need a bit different. If browser support HTML5 and Flash it should play Flash. Only platforms that does not support Flash should play video. 2014-07-20 21:55 GMT+04:00 Ruben Quintana ruben.quint...@gmail.com: http://coolestguidesontheplanet.com/use-html-5-video-on-all-browsers/ On Sun, Jul 20, 2014 at 12:05 PM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: I need play video only for iPad and other devices that does not support Flash. Does this code do that? 2014-07-20 19:51 GMT+04:00 Micky Hulse mickyhulse.li...@gmail.com: On Sun, Jul 20, 2014 at 8:41 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: I tested on Windows - just blank page. It seems does not like style=display:none but I don't know another solition. I typically use: video poster=foo.jpg width=480 height=360 preload=none controls source src=foo.webm type=video/webm source src=foo.ogv type=video/ogg source src=foo.mp4 type=video/mp4 ... Flash fallback goes here ... /video You'll have to change width/height to match video. This app is great for converting your source to diff formats: http://www.mirovideoconverter.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 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 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] Html coding: video for iPad and Flash on one page
You don't embed QuickTime for iOS, you use the html5 video tag. Whatever solution you use should do that when flash isn't detected. Sent from my iPhone On Jul 20, 2014, at 3:36 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Hi I am trying to find a simple way to show video file for devices that don't have Flash Here is the code div id=video style=display:none OBJECT CLASSID=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B CODEBASE=http://www.apple.com/qtactivex/qtplugin.cab; WIDTH=900 HEIGHT=575 PARAM NAME=src VALUE=jack_giant_video.mp4 PARAM NAME=autoplay VALUE=true EMBED SRC=jack_giant_video.mp4 TYPE=image/x-macpaint PLUGINSPAGE=http://www.apple.com/quicktime/download; WIDTH=900 HEIGHT=575 AUTOPLAY=true/EMBED /OBJECT /div div id=flash style=display:block object classid=clsid:d27cdb6e-ae6d-11cf-96b8-44455354 codebase= http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0; width=100% height=100% id=jack_giant align=middle param name=allowScriptAccess value=sameDomain / param name=allowFullScreen value=false / param name=movie value=jack_giant.swf /param name=quality value=high /param name=scale value=noscale /param name=bgcolor value=#fdef96 / embed src=jack_giant.swf quality=high scale=noscale bgcolor=#fdef96 width=100% height=100% name=jack_giant align=middle allowScriptAccess=sameDomain allowFullScreen=false type=application/x-shockwave-flash pluginspage= http://www.macromedia.com/go/getflashplayer; / /object /div script language=javascript if ((navigator.userAgent.match(/iPad/i) != null) || (navigator.userAgent.match(/iPhone/i) != null) || (navigator.userAgent.match(/iPod/i) != null)) { document.getElementById(video).style.display = block; document.getElementById(flash).style.display = none; } /script But unfortunately that does not work. Can anybody give me an advice what is the correct way for this task? Thank you very much in advance. ___ 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] Html coding: video for iPad and Flash on one page
ok. I use now div id=video style=display:none video id=example_video_1 class=video-js width=900 height=575 controls preload=auto poster=video.png/video /div I tested on Windows - just blank page. It seems does not like style=display:none but I don't know another solition. 2014-07-20 18:42 GMT+04:00 Ross P. Sclafani ross.sclaf...@gmail.com: You don't embed QuickTime for iOS, you use the html5 video tag. Whatever solution you use should do that when flash isn't detected. Sent from my iPhone On Jul 20, 2014, at 3:36 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Hi I am trying to find a simple way to show video file for devices that don't have Flash Here is the code div id=video style=display:none OBJECT CLASSID=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B CODEBASE=http://www.apple.com/qtactivex/qtplugin.cab; WIDTH=900 HEIGHT=575 PARAM NAME=src VALUE=jack_giant_video.mp4 PARAM NAME=autoplay VALUE=true EMBED SRC=jack_giant_video.mp4 TYPE=image/x-macpaint PLUGINSPAGE=http://www.apple.com/quicktime/download; WIDTH=900 HEIGHT=575 AUTOPLAY=true/EMBED /OBJECT /div div id=flash style=display:block object classid=clsid:d27cdb6e-ae6d-11cf-96b8-44455354 codebase= http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0 width=100% height=100% id=jack_giant align=middle param name=allowScriptAccess value=sameDomain / param name=allowFullScreen value=false / param name=movie value=jack_giant.swf /param name=quality value=high /param name=scale value=noscale /param name=bgcolor value=#fdef96 / embed src=jack_giant.swf quality=high scale=noscale bgcolor=#fdef96 width=100% height=100% name=jack_giant align=middle allowScriptAccess=sameDomain allowFullScreen=false type=application/x-shockwave-flash pluginspage= http://www.macromedia.com/go/getflashplayer; / /object /div script language=javascript if ((navigator.userAgent.match(/iPad/i) != null) || (navigator.userAgent.match(/iPhone/i) != null) || (navigator.userAgent.match(/iPod/i) != null)) { document.getElementById(video).style.display = block; document.getElementById(flash).style.display = none; } /script But unfortunately that does not work. Can anybody give me an advice what is the correct way for this task? Thank you very much in advance. ___ 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] Html coding: video for iPad and Flash on one page
On Sun, Jul 20, 2014 at 8:41 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: I tested on Windows - just blank page. It seems does not like style=display:none but I don't know another solition. I typically use: video poster=foo.jpg width=480 height=360 preload=none controls source src=foo.webm type=video/webm source src=foo.ogv type=video/ogg source src=foo.mp4 type=video/mp4 ... Flash fallback goes here ... /video You'll have to change width/height to match video. This app is great for converting your source to diff formats: http://www.mirovideoconverter.com/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Html coding: video for iPad and Flash on one page
I need play video only for iPad and other devices that does not support Flash. Does this code do that? 2014-07-20 19:51 GMT+04:00 Micky Hulse mickyhulse.li...@gmail.com: On Sun, Jul 20, 2014 at 8:41 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: I tested on Windows - just blank page. It seems does not like style=display:none but I don't know another solition. I typically use: video poster=foo.jpg width=480 height=360 preload=none controls source src=foo.webm type=video/webm source src=foo.ogv type=video/ogg source src=foo.mp4 type=video/mp4 ... Flash fallback goes here ... /video You'll have to change width/height to match video. This app is great for converting your source to diff formats: http://www.mirovideoconverter.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
Re: [Flashcoders] Html coding: video for iPad and Flash on one page
http://coolestguidesontheplanet.com/use-html-5-video-on-all-browsers/ On Sun, Jul 20, 2014 at 12:05 PM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: I need play video only for iPad and other devices that does not support Flash. Does this code do that? 2014-07-20 19:51 GMT+04:00 Micky Hulse mickyhulse.li...@gmail.com: On Sun, Jul 20, 2014 at 8:41 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: I tested on Windows - just blank page. It seems does not like style=display:none but I don't know another solition. I typically use: video poster=foo.jpg width=480 height=360 preload=none controls source src=foo.webm type=video/webm source src=foo.ogv type=video/ogg source src=foo.mp4 type=video/mp4 ... Flash fallback goes here ... /video You'll have to change width/height to match video. This app is great for converting your source to diff formats: http://www.mirovideoconverter.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 mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash to HTML
@erick: You can use externs for all the native functionality. Same goes for using existing C++ or Java libs. On 23 June 2014 10:53, tom rhodes tom.rho...@gmail.com wrote: @David: You can render HTML5 in openGL with Haxe/OpenFL. OpenGL is default on all teh native targets, the html5 target is still not 100% there, but there's a new backend for it which has improved things massively. Bitmap animation is no problem, either using OpenFL or the createJS extensions if you just want to ttarget JS. You can compile your Haxe code to AS3, not just to a swf if you want. Coming from AS3 their are tools to convert your AS3 to Haxe, in general these are good, but don't expect to port a massive codebase over withtou getting your hands dirty. Yes you can compile to PHP for your server side work, or nodeJS, Neko, C++, C#, Java and there's a Python target too now :) This is my favourite thing abotu Haxe, writing for server and client in the same language. You can communicate via remoting, sockets, whatever, and you use the EXACT SAME classes at either end. Not 2 diff represetations, or a 3rd protocol just to communicate. You can also easily move logic from client to server and back depending on where it fits best etc. It's awesome :) @Cedric: Nice to see you on board the Haxe train! Not seen you in the mailing list? On 22 June 2014 18:15, David Cohn d...@eyebright.com wrote: Thanks Cedric; looks like it's well worth exploring. Am I right in believing that you can compile to vanilla PHP code, without the need for any additional server installations? Would love to see your example... Thanks, --Dave On Jun 21, 2014, at 9:00 AM, flashcoders-requ...@chattyfig.figleaf.com wrote: Hi David, I have been playing with a lot of HaXE, createjs, base html5 canvas and, of course, Flash these last months. Whatever you can do in AS3, you can do it with HaXE. And there are some additional benefits, but these are just developer bonuses. From what I can say, JS+HTML canvas execution performs really well under some circumstances: you need to accept the 10x assets file size you will be loading and that the overall performance can hit the CPU. And forget about the html5 canvas textfields ….. this feels like Flash 6. I hope I can show you my latest work before the end of the week (both in AS3 and JS) so you can compare. hth, Cedric ___ 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 to HTML
@David: You can render HTML5 in openGL with Haxe/OpenFL. OpenGL is default on all teh native targets, the html5 target is still not 100% there, but there's a new backend for it which has improved things massively. Bitmap animation is no problem, either using OpenFL or the createJS extensions if you just want to ttarget JS. You can compile your Haxe code to AS3, not just to a swf if you want. Coming from AS3 their are tools to convert your AS3 to Haxe, in general these are good, but don't expect to port a massive codebase over withtou getting your hands dirty. Yes you can compile to PHP for your server side work, or nodeJS, Neko, C++, C#, Java and there's a Python target too now :) This is my favourite thing abotu Haxe, writing for server and client in the same language. You can communicate via remoting, sockets, whatever, and you use the EXACT SAME classes at either end. Not 2 diff represetations, or a 3rd protocol just to communicate. You can also easily move logic from client to server and back depending on where it fits best etc. It's awesome :) @Cedric: Nice to see you on board the Haxe train! Not seen you in the mailing list? On 22 June 2014 18:15, David Cohn d...@eyebright.com wrote: Thanks Cedric; looks like it's well worth exploring. Am I right in believing that you can compile to vanilla PHP code, without the need for any additional server installations? Would love to see your example... Thanks, --Dave On Jun 21, 2014, at 9:00 AM, flashcoders-requ...@chattyfig.figleaf.com wrote: Hi David, I have been playing with a lot of HaXE, createjs, base html5 canvas and, of course, Flash these last months. Whatever you can do in AS3, you can do it with HaXE. And there are some additional benefits, but these are just developer bonuses. From what I can say, JS+HTML canvas execution performs really well under some circumstances: you need to accept the 10x assets file size you will be loading and that the overall performance can hit the CPU. And forget about the html5 canvas textfields ….. this feels like Flash 6. I hope I can show you my latest work before the end of the week (both in AS3 and JS) so you can compare. hth, Cedric ___ 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 to HTML
Cedric, I've been here since the get-go... in digest mode, so most questions are answered by the time I get them ;-) Thanks-- time to delve into Haxe-- I'm excited! --Dave Nice to see you on board the Haxe train! Not seen you in the mailing list? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash to HTML
On 23/06/2014 17:29, David Cohn wrote: Cedric, I've been here since the get-go... in digest mode, so most questions are answered by the time I get them ;-) Thanks-- time to delve into Haxe-- I'm excited! --Dave I don't know how good it is but FDT have been involved with Haxe for a long time... http://fdt.powerflasher.com/w/index.php?title=Special:Searchns0=1redirs=0search=haxelimit=500offset=0 John ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash to HTML
How is HAXE/OpenFL for compiling to native mobile devices? Any libraries allow it to access device features or does it still compile a web app into a native wrapper? On Fri, Jun 20, 2014 at 3:42 AM, tom rhodes tom.rho...@gmail.com wrote: Look at Haxe, www.haxe.org and in particular OpenFL lib ( http://www.openfl.org/) to use with it, port your AS3 to Haxe (there are automated tools for this, but you'll probably still have to get your hands dirty) and from there you should be good with a few tweaks to compile with OpenFL to HTML5, iOS, Android and lots of other targets all from the same codebase. Seriously I've been using Haxe for years now, mostly to make programming server side and javascript much much easier coming from AS3. I've tapped prbably 5% of it's potential ;) It's awesome. On 20 June 2014 01:01, John R. Sweeney Jr. jr.swee...@comcast.net wrote: Howdy, I know that and I’m sure most developers do too, but I promised the client I would do my best to look into it, before I give him the inevitable bad news. The assets are the problem as much as the extensive coding. This is a real-time simulation of living on your own for a year (52 weeks on a per week bases). Just a ton of stuff going on and being tracked. Our clients TOO often hear create once and deploy everywhere. We are already ahead of the game delivering about a dozen apps/games on the three platforms. But I don’t see a way to do it on the fourth and then your forced to maintain two codebases of each game. That also sucks. :( Thanks, John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Jun 19, 2014, at 5:44 PM, Paul A. p...@ipauland.com wrote: It's wishful thinking that there is a magic button anywhere that is going to convert any flash app of any real complexity into a fully functional HTML app. ___ 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 -- Erik Mattheis 612 377 2272 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash to HTML
Thanks Cedric; looks like it's well worth exploring. Am I right in believing that you can compile to vanilla PHP code, without the need for any additional server installations? Would love to see your example... Thanks, --Dave On Jun 21, 2014, at 9:00 AM, flashcoders-requ...@chattyfig.figleaf.com wrote: Hi David, I have been playing with a lot of HaXE, createjs, base html5 canvas and, of course, Flash these last months. Whatever you can do in AS3, you can do it with HaXE. And there are some additional benefits, but these are just developer bonuses. From what I can say, JS+HTML canvas execution performs really well under some circumstances: you need to accept the 10x assets file size you will be loading and that the overall performance can hit the CPU. And forget about the html5 canvas textfields ….. this feels like Flash 6. I hope I can show you my latest work before the end of the week (both in AS3 and JS) so you can compare. hth, Cedric ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash to HTML
Hi David, I have been playing with a lot of HaXE, createjs, base html5 canvas and, of course, Flash these last months. Whatever you can do in AS3, you can do it with HaXE. And there are some additional benefits, but these are just developer bonuses. From what I can say, JS+HTML canvas execution performs really well under some circumstances: you need to accept the 10x assets file size you will be loading and that the overall performance can hit the CPU. And forget about the html5 canvas textfields ….. this feels like Flash 6. I hope I can show you my latest work before the end of the week (both in AS3 and JS) so you can compare. hth, Cedric John, Flash HTML5 Canvas publishing uses createJS. If, like me, you're using CS6 instead of doing the CC subscription route, there's a Toolkit for that as well (http://www.adobe.com/devnet/createjs.html). I'm just beginning to look at this, and additionally I have the luxury of starting with some simple content. I fear that if your content is very complex, especially time-based, that it will be at best a publish-and-tweak scenario, with the tweaking being arduous. I also wonder about performance. Check out http://www.createjs.com/#!/CreateJS for more understanding of what's going on under the hood. That having been said, tom 's mention of haxe looks interesting. Have you done any serious graphics with it, and does it perform well? Does it use OpenGL for vector rendering? How about bitmap animation? Is there a robust actionScript exporter, or is it more of a re-implementation? Thanks, --Dave On Jun 20, 2014, at 9:00 AM, flashcoders-requ...@chattyfig.figleaf.com wrote: The group has been quite for awhile. Anyone still here? I know things are constantly evolving, I‚m curious if anyone has found a good tool that will convert a rather complex game from Flash to HTML? I know Adobe has tools to convert timeline animations and graphics and minimal code and Google Swiffy came around when CS4 was out. I‚m looking around to see if there is any newer developments in bringing existing Flash AS3 apps to HTML. Even if it‚s not one to one, but at least gets me a good start, please through out your thoughts and/or suggestions. Much appreciated∑ Thanks, John New version of Flash just came out that claims to export to HTML5 Canvas and do Actionscript to Javascript translations. Worth checking out? https://helpx.adobe.com/flash/how-to/creating-publishing-html5-canvas-document.html Jason Merrill Look at Haxe, www.haxe.org and in particular OpenFL lib ( http://www.openfl.org/) to use with it, port your AS3 to Haxe (there are automated tools for this, but you'll probably still have to get your hands dirty) and from there you should be good with a few tweaks to compile with OpenFL to HTML5, iOS, Android and lots of other targets all from the same codebase. Seriously I've been using Haxe for years now, mostly to make programming server side and javascript much much easier coming from AS3. I've tapped prbably 5% of it's potential ;) It's awesome. ___ 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 to HTML
Look at Haxe, www.haxe.org and in particular OpenFL lib ( http://www.openfl.org/) to use with it, port your AS3 to Haxe (there are automated tools for this, but you'll probably still have to get your hands dirty) and from there you should be good with a few tweaks to compile with OpenFL to HTML5, iOS, Android and lots of other targets all from the same codebase. Seriously I've been using Haxe for years now, mostly to make programming server side and javascript much much easier coming from AS3. I've tapped prbably 5% of it's potential ;) It's awesome. On 20 June 2014 01:01, John R. Sweeney Jr. jr.swee...@comcast.net wrote: Howdy, I know that and I’m sure most developers do too, but I promised the client I would do my best to look into it, before I give him the inevitable bad news. The assets are the problem as much as the extensive coding. This is a real-time simulation of living on your own for a year (52 weeks on a per week bases). Just a ton of stuff going on and being tracked. Our clients TOO often hear create once and deploy everywhere. We are already ahead of the game delivering about a dozen apps/games on the three platforms. But I don’t see a way to do it on the fourth and then your forced to maintain two codebases of each game. That also sucks. :( Thanks, John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Jun 19, 2014, at 5:44 PM, Paul A. p...@ipauland.com wrote: It's wishful thinking that there is a magic button anywhere that is going to convert any flash app of any real complexity into a fully functional HTML app. ___ 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 to HTML
John, Flash HTML5 Canvas publishing uses createJS. If, like me, you're using CS6 instead of doing the CC subscription route, there's a Toolkit for that as well (http://www.adobe.com/devnet/createjs.html). I'm just beginning to look at this, and additionally I have the luxury of starting with some simple content. I fear that if your content is very complex, especially time-based, that it will be at best a publish-and-tweak scenario, with the tweaking being arduous. I also wonder about performance. Check out http://www.createjs.com/#!/CreateJS for more understanding of what's going on under the hood. That having been said, tom 's mention of haxe looks interesting. Have you done any serious graphics with it, and does it perform well? Does it use OpenGL for vector rendering? How about bitmap animation? Is there a robust actionScript exporter, or is it more of a re-implementation? Thanks, --Dave On Jun 20, 2014, at 9:00 AM, flashcoders-requ...@chattyfig.figleaf.com wrote: The group has been quite for awhile. Anyone still here? I know things are constantly evolving, I‚m curious if anyone has found a good tool that will convert a rather complex game from Flash to HTML? I know Adobe has tools to convert timeline animations and graphics and minimal code and Google Swiffy came around when CS4 was out. I‚m looking around to see if there is any newer developments in bringing existing Flash AS3 apps to HTML. Even if it‚s not one to one, but at least gets me a good start, please through out your thoughts and/or suggestions. Much appreciated∑ Thanks, John New version of Flash just came out that claims to export to HTML5 Canvas and do Actionscript to Javascript translations. Worth checking out? https://helpx.adobe.com/flash/how-to/creating-publishing-html5-canvas-document.html Jason Merrill Look at Haxe, www.haxe.org and in particular OpenFL lib ( http://www.openfl.org/) to use with it, port your AS3 to Haxe (there are automated tools for this, but you'll probably still have to get your hands dirty) and from there you should be good with a few tweaks to compile with OpenFL to HTML5, iOS, Android and lots of other targets all from the same codebase. Seriously I've been using Haxe for years now, mostly to make programming server side and javascript much much easier coming from AS3. I've tapped prbably 5% of it's potential ;) It's awesome. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash to HTML
John, Have yough considered writing up some simple pseudocode for us to build upon? On Thu, Jun 19, 2014 at 1:02 PM, John R. Sweeney Jr. jr.swee...@comcast.net wrote: The group has been quite for awhile. Anyone still here? I know things are constantly evolving, I’m curious if anyone has found a good tool that will convert a rather complex game from Flash to HTML? I know Adobe has tools to convert timeline animations and graphics and minimal code and Google Swiffy came around when CS4 was out. I’m looking around to see if there is any newer developments in bringing existing Flash AS3 apps to HTML. Even if it’s not one to one, but at least gets me a good start, please through out your thoughts and/or suggestions. Much appreciated… Thanks, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 ___ 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 to HTML
New version of Flash just came out that claims to export to HTML5 Canvas and do Actionscript to Javascript translations. Worth checking out? https://helpx.adobe.com/flash/how-to/creating-publishing-html5-canvas-document.html Jason Merrill Instructional Technology Architect II Bank of America Global Learning 703.302.9265 -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of John R. Sweeney Jr. Sent: Thursday, June 19, 2014 4:03 PM To: Flash Coders List Subject: [Flashcoders] Flash to HTML The group has been quite for awhile. Anyone still here? I know things are constantly evolving, I'm curious if anyone has found a good tool that will convert a rather complex game from Flash to HTML? I know Adobe has tools to convert timeline animations and graphics and minimal code and Google Swiffy came around when CS4 was out. I'm looking around to see if there is any newer developments in bringing existing Flash AS3 apps to HTML. Even if it's not one to one, but at least gets me a good start, please through out your thoughts and/or suggestions. Much appreciated. Thanks, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.bankofamerica.com/emaildisclaimer. If you are not the intended recipient, please delete this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash to HTML
Hi Mike, Not sure what you mean? I have a game that is written in AS3 and deployed via AIR to PC and MAC desktop, iPad’s and Android. Now my client wants to take it online, but I can’t use it as a Flash site, but then IOS and Android tablets won’t be able to access the app. So it will have to go to HTML5/CSS/jQuery. I’m just curious if there are any conversion tools to either automate that process or at least convert most of it and I’ll code the rest. Thanks, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Jun 19, 2014, at 3:10 PM, Mike Starr starrten...@gmail.com wrote: John, Have yough considered writing up some simple pseudocode for us to build upon? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash to HTML
Has anyone played with this? Everything I’ve read, timeline animations can get converted and simple code. I have a 5 frame app that has 50 layers, 1000+ library elements and thousands of lines of code that the client now wants to go online for all platforms. What a surprise. ;) I’ll look into the latest update more closely, but was just wondering of things like Google Swiffy had gotten better or something else had come along. I’ll glad do the research, just wonder if anyone could point me in a direction. Thanks, John John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Jun 19, 2014, at 3:19 PM, Merrill, Jason jason.merr...@bankofamerica.com wrote: New version of Flash just came out that claims to export to HTML5 Canvas and do Actionscript to Javascript translations. Worth checking out? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders