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] 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] fscommand launching of externals
Just making sure you know you can do this with the AIR NativeProcess class, seems like you need it to be a SWF? If so could you lauch a single BAT file that would in turn launch all the EXEs? On Thu, Apr 10, 2014 at 10:37 AM, John R. Sweeney Jr. jr.swee...@comcast.net wrote: Howdy all, My client wants to have about 12 different exe files launched from a single Flash front-end projector and much of their content has same named files, hence I need sub-folders. All of my research indicates that an external .exe file must reside inside of a folder called fscommand and you cannot path down to sub-folders. Does anyone know of a way to launch .exe files from a Flash projector into a fscommand folder and then into sub-folder? Example: fscommand(exec,sub_1/start.exe); then fscommand(exec,sub_2/start.exe); and so on. 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 -- Erik Mattheis ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Air Windows installed app
In your code, change every File.applicationDirectory to File. applicationStorageDirectory On Sat, Mar 1, 2014 at 7:44 AM, natalia Vikhtinskaya natavi.m...@gmail.comwrote: Ok, I understand. Where I must save my data?I have them in the same folder as fla file. 2014-03-01 16:58 GMT+04:00 Henrik Andersson he...@henke37.cjb.net: natalia Vikhtinskaya skriver: This is code in app var appDirectory:File = File.applicationDirectory;//File.applicationStorageDirectory var fileString:String = appDirectory.nativePath; var appFile:File = File.documentsDirectory; var setsFile:String=fileString+File.separator+data+File.separator+sets.xml function initLoadXML():void{ var XMLfile:File = File.applicationDirectory.resolvePath(setsFile); var myXMLLoader:URLLoader = new URLLoader(new URLRequest(XMLfile.url)); myXMLLoader.addEventListener(Event.COMPLETE, setsLoaded); } function saveXML():void{ var newFileStream:FileStream = new FileStream(); appFile = appFile.resolvePath(fileString+File.separator+data+File.separator+sets.xml); newFileStream.openAsync (appFile, FileMode.WRITE); newFileStream.writeUTFBytes(xmlSets); newFileStream.close (); } Maybe here is something wrong with path or I store data in a wrong place.I have xml in the folder data in the same folder as exe file with app. Yes, there is something wrong: you are violating all the guidelines about correct filesystem use. Ask the user where to save data when reasonable, and default to a sane location. And never ever attempt to write to a location reserved for program files, only installers are allowed to touch those folders. --- Detta epostmeddelande innehåller inget virus eller annan skadlig kod för avast! antivirus är aktivt. http://www.avast.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 -- Erik Mattheis ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Air Windows installed app
I'm unsure the status of this or if someone has suggested any of the following: Are you saying the app doesn't work when using the installer but works as expected when copying the app folder somewhere outside of your clients Program Files folder? This will fail with default Windows settings as you need elevated permissions to change files withing the Program Files directory. If this is the case, look into writing the file to the app storage directory http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.html#applicationStorageDirectoryor the Documents directory http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.html#documentsDirectory As to Unknown Publisher you need to buy and include a security certificate in the publish settings: http://www.adobe.com/devnet/air/articles/packaging-air-apps-desktop.html#articlecontentAdobe_numberedheader On Mon, Feb 24, 2014 at 1:02 AM, natalia Vikhtinskaya natavi.m...@gmail.com wrote: Not sure I understand how I can use this information in Flash Cs6. I created app in this program as Air 3.2 for Desktop. I have only two options - Windows Installer and App with runtime embedded. 2014-02-23 16:42 GMT+04:00 Peter Ginneberge p.ginnebe...@telenet.be: You can apply for a license to (re)distribute the Air runtime and then package it with your application. http://help.adobe.com/en_US/air/redist/WS485a42d56cd19641- 70d979a8124ef20a34b-8000.html Or you can include a captive copy of the Air runtime with your application. http://www.adobe.com/devnet/air/articles/air3-install-and- deployment-options.html The first option will install the Air runtime with your application, as if the user installed it himself, so it's separated from your application, meaning both your application and the Air Runtime can be uninstalled separately. The second options installs both as a bundle. When a user uninstalls your app, the runtime gets uninstalled with it. regards, Peter On 23/02/2014 7:28, natalia Vikhtinskaya wrote: Thank you for help. I try to describe situation better. When I publish app as Windows installer the user can take my exe file and install app on his pc. On desktop he has icon after clicking on it he runs app. It plays well but function write nothing do. I use newFileStream.openAsync (appFile, FileMode.WRITE); newFileStream.writeUTFBytes(xmlSets); newFileStream.close (); Yes, the user does not have Air and function that works only in Air does not work for him. The same installation on my pc works well. Okay. Next I created Application with runtime embedded. I gave the user folder with all files that was created by Flash. He puts this folder on his pc and run exe file. This works well. Everything writes well. But he wants to have installation process that allow him to install this app as usual new program. This second way does not give him that. Maybe I can combine these two ways somehow? This is the first problem. And additional question. Exe file shows information Unknown publisher. How I can change that? Thank you for any help. Not much places in net now where we can find help for Flash questions. 2014-02-20 16:26 GMT+04:00 David Benman d...@dbenman.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 -- Erik Mattheis ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] jsfl
Looks like you're building your string wrong. Try putting one + per line to discover your mistake: str = fl.runScript( + var1 + , + ... etc. On Thu, May 2, 2013 at 11:33 PM, [p e r c e p t i c o n] percepti...@gmail.com wrote: been a long time since i posted... qwik ques.. what's wrong with this MMExecute(fl.runScript(fl.configURI + 'Javascript' + '/browse_optimize_dirs.jsfl', 'batchOptimize', + iTxt + , + oTxt + );); error is: SyntaxError: missing ) after argument list TIA percy -- . : . [ p e r c e p t i c o n ] . _ _ _ _ _ _ _ _ _ _ . ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Erik Mattheis https://vimeo.com/user8058580 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Printing to a PDF from Flash
Do they want to give them a PDF or a printed page? If a printed page, you could save out a PNG ( http://code.google.com/p/as3corelib/source/browse/trunk/src/com/adobe/images/PNGEncoder.as ) which they could print. On Tue, Dec 18, 2012 at 5:26 PM, John R. Sweeney Jr. jr.swee...@comcast.net wrote: Howdy, Well I'm curious if anyone can help me with this one. I've built for a client a presentation tool. It consists of 45 slides (jpegs) and some of them get customized with dynamic text fields and imported logos. They build presentations, selecting the slides they want, the order of display and the text/logos to be added and then show that to their clients. (I know, they had be build PowerPoint) :). Well now they want to take those custom presentations and print them out to a PDF to give to their client. They are on PC laptops. I've looked into purePDF and AlivePDF, but these solutions seem to be web solutions. This app is an AIR app, installed locally on each individual laptop as a stand-alone app with no NET connection. I suggested that they install a PDF driver on the laptop and I'd build the print function in the app to let them print to that selected PDF printer driver. They don't like that suggestion. Has anyone does something like this before and have a solution or suggestion I could pursue? Any help would be appreciated. Thanks in advance, 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 https://vimeo.com/user8058580 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] weird issue with flash only 1st frame exporting / playing in cs6
It exported fine at 60x72 and 32x32 in CS 6 when I tried to duplicate your issue, trying a few SWF versions. On Fri, Dec 14, 2012 at 9:51 AM, sebastian infora...@gmail.com wrote: Even if you can confirm that for you it plays / exports fine at that size, that would be useful information as then I would know at least that this is a local-machine issue and not some application bug, or missing parameter in my preferences. -- Erik Mattheis https://vimeo.com/user8058580 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders