RE: [Flashcoders] You cannot debug this SWF because it does not contain any Actionscript
Hi Joe, In my case I was generating a swc too (using it from AIR) and deleting the swc file manually fixed this issue (however anytime the swc file is there flash comes up again with this error message) Zoli www.fluorinefx.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joe Cutting Sent: Wednesday, July 23, 2008 6:12 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] You cannot debug this SWF because it does not contain any Actionscript I've suddenly started having a very serious problem with a large project I'm working on in Flash CS3 (Flash 9- AS3) When I go to test movie the project compiles ok but ignores all the Actionscript in the file When I try debug it comes up with You cannot debug this SWF because it does not contain Actionscript I've tried: - saving and compacting - Deleting the ASO files - Copying everything to a new fla - Unchecking the Reduce file size and increase performance box The only thing I've found is that if I copy only a few library items to a new file that file doesn't have the problem - but it doesn't seem particularly consistent. If I add items until the problem occurs it doesn't always go away when I remove them. I'm also getting occasional 5003: Unknown error generating byte code cropping up I've noticed that several other people have been having this problem: http://www.actionscript.org/forums/showthread.php3?t=161118 As I said the project is large, but not enormous - the fla is about 3.5MB and the swf ends up around 270k. Are there any known limits to Actionscript code, classes or packages that I should be aware off. Any suggestions would be great because I'm tearing my hair out. The only thing I've seen that I haven't tried is switching to Flex which really isn't ideal at this stage in the project. Cheers Joe Joe Cutting Computer exhibits and installations www.joecutting.com 35 Hospital Fields Road, York, YO10 4DZ 01904 624681 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.5.4/1566 - Release Date: 7/22/2008 6:00 AM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Loosing full-screen when loosing focus
fyi extending AIR on windows http://blog.fluorinefx.com/?p=4 / http://aperture.fluorinefx.com/ But it does not provide native access on Mac. Zoli -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bart Goormans Sent: Saturday, May 10, 2008 11:36 PM To: Flash Coders List Subject: Re: [Flashcoders] Loosing full-screen when loosing focus Thanks Rich, I had a chat last week with a sales representative from ScreenTime Media's mProjector. He told me it would be at least two months for the Windows AS3 Update of mProjector. Could even be some considerable more time. The mac AS3 version is out in beta as you said. The official release would be sooner than the Windows version but ScreenTime couldn't give an exact date for neiher. We will be dealing with the OS, reading and writing and most propably some networking too. I checked out Zinc. My first thoughts were that it ran rather slow. Seems to me mProjector is more integrated into the production process. It will be a long term project. Maybe we'll get back on this. As for now, if I would have to select an option, I'd choose to sit and wait for the AS3 mProjector. Although sitting and waiting will be something we won't be doing here, that's for sure. Cheers, Bart Rich Shupe schreef: If you are only READING files, you have a bit more options. If you are writing files, or dealing with the OS extensively in traditional application ways, you pretty much have to go with a projector enhancer. You can't really use the browser, and you can't use AIR. Some may say that their are other options by extending those environments (server-based saving--to server or locally, Java applets that add functionality to the browser, etc., but I don't consider them realities for the average user. mProjector is AS3-stable on the Mac, but not yet released on Windows, so that probably isn't a reality for an AS3 project. I've heard good and terrible things about Zinc, so I can't offer any opinions there. I'm sure others have used it and may be able to help. Finally, I've never had the slightest interest in any product that isn't cross-platform, so I can't speak to any of the Windows-only, or Mac-only (if there are any) options. Anyone else have any opinions on proj-enhancers? On 4/29/08 2:31 PM, Bart Goormans wrote: Our app will be a sort of backoffice in which we will be dealing with the filesystem extensively. It will be managing mediafiles and dig into its xml metatags. From the start on, this project is completely AS3 based. So I 'd better test the mProjector thoroughly beeing in beta for AS3. I haven't had too much experience on building full scale apps in flash but this will be an adventurous challenge. Hope to get the squares out of the wheels soon and start rollin' ;-)) Thx! Rich http://www.LearningActionScript3.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] Outlook and Flash
On the desktop you just need a COM/Automation capable shell(projector). Outlook exposes a complete COM object model with all the required data. Zoli -Original Message- From: John Dowdell [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 12:10 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Outlook and Flash Merrill, Jason wrote: I know with the security of the Flash player, it's probably not possible or easy (unless MS has some sort of webservice for Exchange servers built in or something) to grab a person's Outlook Calendar or Task list - but what about a Flash desktop application - is that information available through some API? Can a third party app for Flash be used to call an application which will retrieve this data? I know there would be security issues on that too, but I was tasked to investigate this. I might have some resources to write that application, but wouldn't know what the possibilities would be on the Flash end. Anyone done any integration with Outlook before? Thanks. Microsoft does offer Outlook Webmail, and this browser UI does show contact scheduling info. I don't know if it can directly serve things other than full HTML pages, but if you own both ends of the transaction then it should be possible to put a screenscraping proxy server in the middle. For third party app, a lot depends on the native-code shell you use around the Adobe Flash Player wrapper. The default Projector in the Macromedia Flash Professional authoring tool is a simple shell without deep access to system-level calls, but third-party shells can expose any local API they wish. I'm not sure how well MS Outlook local data is exposed, however, or even whether that information is stored on the local machine. Maybe the Microsoft docs would have more, on which ways they expose Outlook's Calendar or Tasks to alternative shells...? Once that is known, it can help figure things out on the client end. jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ___ 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] Webservices and .NET array serialization
Hi Jason, No worries, I think I was too upset for building a similar sample and only after that to realize that it will never trace Array :) Zoli -Original Message- From: Merrill, Jason [mailto:[EMAIL PROTECTED] Sent: Saturday, August 26, 2006 3:03 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Webservices and .NET array serialization Zoli, I see now, yes, thanks. Sorry if that sounded terse, I didn't get what you meant to say at first. I got it working, I think initially my problem was due to the asynchronous nature of Webservices - once I fixed the method handlers properly, and waited for the load, it worked. The problem was compounded by the fact I am creating an RIA that edits another Flash presentation, both of which use Webservices and I needed to be sure they were both ready for the data. In sending data back, I also needed to be sure if I create new arrays of objects, the objects have all the same properties as well, even if they aren't used since the C# script expects it. Anyway, hope that helps Stephen or anyone who comes across this in the archives. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ 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] Webservices and .NET array serialization
var ar:Array = new Array(); trace(typeof(ar)); trace(ar instanceof Array); Mit freundlichem Gruß, Zoli -Original Message- From: Brake, Stephen [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 3:47 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Webservices and .NET array serialization Me too. I have searched the internet and have found no other people (or examples) of this being done or being a problem. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, August 25, 2006 8:45 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Webservices and .NET array serialization I'm surprised nobody has dealt with this before? Array serialization from a .NET Webservice? Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Thursday, August 24, 2006 3:35 PM To: Flashcoders mailing list Subject: [Flashcoders] Webservices and .NET array serialization Here I was helping someone today with complex objects in .NET webservices and didn't notice a big problem on my end. I thought I had this figured out, but Arrays are coming across weird in a .NET webservice as generic objects not arrays that Flash can understand. I never noticed it before because I can still reference the properties in objects in the array OK, just not the array itself. For example (projObj is the object of arrays and objects resulting from my webservice method call): trace(projObj.Content.Topics) //traces as undefined. Expected an array trace(typeof(projObj.Content.Topics)); //traces as object !?! and trace(projObj.Content.Topics[0]) //traces [object Object],undefined //but I expected [object Object], [object Object], [object Object] Finally: projObj.Content.Topics[0].TextAreas[0].HtmlText //traces the value I am expecting!!! ??? What's up? I can get the property values OK, but I cannot treat the array as an array as you would in Flash? Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ 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 ___ 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
RE: [Flashcoders] Webservices and .NET array serialization
Hi Jason, I was trying out a similar scenario with fluorine when noticed your comment //traces as object !?! and that was the snippet about. Zoli -Original Message- From: Merrill, Jason [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 10:23 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Webservices and .NET array serialization var ar:Array = new Array(); trace(typeof(ar)); trace(ar instanceof Array); Mit freundlichem Gruß, Zoli That's not what I'm asking, but thanks. Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Zoltan Csibi Sent: Friday, August 25, 2006 1:41 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Webservices and .NET array serialization var ar:Array = new Array(); trace(typeof(ar)); trace(ar instanceof Array); Mit freundlichem Gruß, Zoli -Original Message- From: Brake, Stephen [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 3:47 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Webservices and .NET array serialization Me too. I have searched the internet and have found no other people (or examples) of this being done or being a problem. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, August 25, 2006 8:45 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] Webservices and .NET array serialization I'm surprised nobody has dealt with this before? Array serialization from a .NET Webservice? Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Thursday, August 24, 2006 3:35 PM To: Flashcoders mailing list Subject: [Flashcoders] Webservices and .NET array serialization Here I was helping someone today with complex objects in .NET webservices and didn't notice a big problem on my end. I thought I had this figured out, but Arrays are coming across weird in a .NET webservice as generic objects not arrays that Flash can understand. I never noticed it before because I can still reference the properties in objects in the array OK, just not the array itself. For example (projObj is the object of arrays and objects resulting from my webservice method call): trace(projObj.Content.Topics) //traces as undefined. Expected an array trace(typeof(projObj.Content.Topics)); //traces as object !?! and trace(projObj.Content.Topics[0]) //traces [object Object],undefined //but I expected [object Object], [object Object], [object Object] Finally: projObj.Content.Topics[0].TextAreas[0].HtmlText //traces the value I am expecting!!! ??? What's up? I can get the property values OK, but I cannot treat the array as an array as you would in Flash? Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions ___ 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 ___ 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 ___ 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] LocalConnection from SWF - Visual Basic?
LocalConnection uses shared memory and AMF0. You can connect from VB.NET but if you don't have any particular/special reason.then avoid doing it (and use ExternalInterface as it was recommended) (I personally did this with c#/fluorine and using the docs from here http://osflash.org/doku.php?id=localconnection but abandoned the whole idea) Zoli -Original Message- From: Francis Cheng [mailto:[EMAIL PROTECTED] Sent: Thursday, April 27, 2006 2:51 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] LocalConnection from SWF - Visual Basic? David is correct, LocalConnection does not write to a file--it uses shared memory. I'm not an expert on LocalConnection, but it doesn't surprise me that you can experience some latency if a dozen SWF files are all sharing memory with a single gateway SWF file. The beleaguered gateway SWF would have to manage a dozen different shared memory allocations (and I believe there is polling involved). As for the original question about communicating with a VB application, if you can publish for Flash Player 8, ExternalInterface is the way to go. Francis -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Tom Lee Sent: Wednesday, April 26, 2006 4:12 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] LocalConnection from SWF - Visual Basic? I can't say for sure whether LocalConnection writes to a file or not, but I did want to point out that it can be pretty slow, depending on the number of swfs talking to the gateway swf at once. It certainly SEEMED like it was doing some file IO. In my experience, 10 or 12 swfs talking to the gateway swf through LocalConnection (at once) caused some pretty serious latency. ExternalInterface, on the other hand, didn't have noticeable delays. -tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Rorex Sent: Wednesday, April 26, 2006 6:59 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] LocalConnection from SWF - Visual Basic? LocalConnection is asynchronous. I don't know how mProjector got synchronous code in flash 7, it had to be some very clever hack. However, synchronous calls are supported natively in flash 8 (via ExternalInterface, which communicates with the host using a documented XML format I believe). SharedObject writes to a file, but I don't know if the format is documented anywhere. I'm pretty sure LocalConnection does something in memory, and doesn't go through files. But I don't know all the details on how these are implemented internally. -David R On 4/26/06, JesterXL [EMAIL PROTECTED] wrote: Hrm... I think SharedObject LocalConnection both write to a file that you could check, but not really sure. I think that's how mProjector managed to get syncronous code, not sure. Darron might have something here: http://www.darronschall.com/weblog/archives/000151.cfm I coulda swore someone else did something similiar, but the link escapes me - Original Message - From: Rifled Cloaca [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, April 26, 2006 6:50 PM Subject: Re: [Flashcoders] LocalConnection from SWF - Visual Basic? Yeah, that was plan B. I was curious, though, if it were possible without embedding a proxy SWF. Thanks! On 4/26/06, JesterXL [EMAIL PROTECTED] wrote: Have one SWF embedded in the VB app that exposes the LocalConnection. Hey can talk to VB via ExternalInterface. Every other SWF can talk to the VB app via that LocalConnection proxy SWF embedded in VB. - Original Message - From: Rifled Cloaca [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, April 26, 2006 6:21 PM Subject: [Flashcoders] LocalConnection from SWF - Visual Basic? All, Does anyone know if it's possible to create a LocalConnection between a SWF file and a Visual Basic App? If so, are there any open source examples out there? Thanks! ___ 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 ___ Flashcoders@chattyfig.figleaf.com To change your subscription
Re: [Flashcoders] C# DLL to extend Flash IDE
Try to build a C++ dll with Use managed extensions (/clr) option. ___ 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] flash and ASP.NET
Hi Michael Don't know if this is in your timeframe but we are preparing the alpha release of the Fluorine .NET remoting gateway. This works like the MM one for .NET and additionally supports pageable recordsets and .NET custom authentication (Fluorine is open source) Zoli -Original Message- From: Michael Appelmans [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 12:15 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] flash and ASP.NET I need to create a Flash application for a small non-profit can't afford the $999 price tag of MM's Flash Remoting gateway. Is there a third party remoting solution like AMFPHP that I could use? Essentially I need to read and write to an Access database on a Windows web host. Thanks for any suggestions and pointers to examples for this. Michael ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] flash and ASP.NET
Well fluorine started as another projector extender library written in c#. The communication between the host application and the flash player uses flash remoting (the host application becomes a mini webserver by using .net remoting channel sinks) http://fluorine.thesilentgroup.com Now a big part of the library was actually an AMF implementation. So we split it, there is an old version of the remoting gateway (http://fluorine.thesilentgroup.com/download.htm) called Remoting for .NET Test...but that version was experimental and the first step only Since then the remoting gateway was further developed to cover all the functionality needed and we are in testing phase, hope to release it soon -Original Message- From: Paul Hart [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 6:04 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] flash and ASP.NET That sounds interesting. Any more details? On 07/12/05, Zoltan Csibi [EMAIL PROTECTED] wrote: Hi Michael Don't know if this is in your timeframe but we are preparing the alpha release of the Fluorine .NET remoting gateway. This works like the MM one for .NET and additionally supports pageable recordsets and .NET custom authentication (Fluorine is open source) Zoli -Original Message- From: Michael Appelmans [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 12:15 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] flash and ASP.NET I need to create a Flash application for a small non-profit can't afford the $999 price tag of MM's Flash Remoting gateway. Is there a third party remoting solution like AMFPHP that I could use? Essentially I need to read and write to an Access database on a Windows web host. Thanks for any suggestions and pointers to examples for this. Michael ___ 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