[Flashcoders] Swf File Use as Interface for Executable
Does anyone know what the underlying technology is behind programs like Zinc? I need to run an AS 3 Flash file as an interface for a program written in C++. This means that I need to pass a lot of data back-and-forth. I can find just a couple of very basic tutorials on this subject, but I am looking for something more substantial. All of the references in Flash books on this topic are little more than footnotes. I understand that AS 3 has a few more options for this task than AS 2 had. Thanks, Kelly _ Send e-mail faster without improving your typing skills. http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: Swf File Use as Interface for Executable
My intention is to run this from a compiled C++ application on a Windows desktop - so sockets and servers should not come into play. I will look at my options for using COM with C++; if I remember correctly, this was how it used to be done in Actionscript 2. Thanks, Kelly _ Life on your PC is safer, easier, and more enjoyable with Windows Vista®. http://clk.atdmt.com/MRT/go/127032870/direct/01/___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Output to Text File
Nick, I try to avoid third party software when possible. I am going to write a C++ file that will handle the model side of the program and read/write to the disk. Then I can use Flash for the view and controller portions. I know this can be done quite easily (using ActiveX and FSCommand, I think). I am reasonably proficient with MS Visual C++, but I have never run a swf from within a C++ application. So, yes I do have a plan. It may take me some time to figure out the intricacies of it, however. Kelly From: Nick Weekes [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Output to Text File Date: Mon, 17 Jul 2006 08:33:04 +0100 Kelly, Did you decide on an approach to this? Id be interested to hear it. Cheers, Nick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of kelly snyder Sent: 11 July 2006 17:51 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Output to Text File I am trying to find a way to get my Flash file read from and write to ASCII text files. I would like to run the swf or exe file on my local machine, with an input test file and an output text file in the same directory. The swf file would read from the input file and write to the output file. Is this possible? Can I use javascript to achieve this? _ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Output to Text File
Pedro, I have found that third party software is often poorly tested, poorly documented, and pooly maintained. Too many times, I have been asked to update something that had third party components, only to find that the company had gone out of business. Also, there can be licensing issues for distributed software... If I build it up from scratch then I eliminate future headaches, even if it does take longer now. Kelly From: Pedro Furtado [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Output to Text File Date: Tue, 18 Jul 2006 19:31:26 +0100 No need for fscommand, use externalInterface, although it's much better than using 3rd party software I've found trough experience and using both approaches, that sometimes it's just better to use a tested 3rd party app. Pedro. _ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Trouble Updating Frame Position Using onEnterFrame
I am using the following code in the root movies to attempt to update the frame position of a child movieclip using the Flash 6 player with Actionscript 1 (compiled on Flash 8): function onEnterFrame() { window.pie.gotoAndStop(x); trace(x + , + window.pie._currentframe); } As I change the variable x, the output reads something like 54.3,30 87.6,30. The code is running, but the movieclip position is not changing. The code works fine when I run it at initialization, the problem seems to be associated with my use of it within the onEnterFrame function. What am I doing wrong? Any suggestions? Kelly _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Trouble Updating Frame Position Using onEnterFrame
Hans, I can hardly believe it, but #2 worked. Thanks a bunch. Kelly Hi, im not sure what you want to do, but: 1. change the x position: it should be window.pie._x = x; 2. change the current frame for the pie clip: you should use whole numbers and not 54.3 and 87.6, so gotoAndStop (Math.floor(x)); greetz Hans _ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders