[Flashcoders] Metadata in actionscript files

2009-10-14 Thread John Bertrand
Ignore that last question. The SWF metadata is very much used when compiling in FlexBuilder. So my question now becomes: Are there only two types of metadata used in actionscript classes, being SWF and EMBED? Thanks.

[Flashcoders] SWF compiling

2009-10-14 Thread John Bertrand
For Actionscript 3 (specifically Flash Player 9+) is it correct to say there are no longer any third party actionscript compilers? So to create a SWF file, you have 2 options - 1) the Flash IDE OR 2) FlexSDK. The reason I ask is because I'm confused when an actionscript class contains a SWF

Re: [Flashcoders] Metadata in actionscript files

2009-10-14 Thread Dave Watts
So my question now becomes: Are there only two types of metadata used in actionscript classes, being SWF and EMBED? No, there are other metadata tags, such as Bindable, Event, RemoteClass and Managed. A partial list is available here:

[Flashcoders] RE: how to set DataGridColumn textAlign

2009-10-14 Thread Craig Bowman
In AS3: Alignment of text for a column in a DataGrid component is handled indirectly through the TextFormat object which is used in styling text by the cellRenderer of a DataGridColumn. I often create custom cellRenderers for the DataGrid to handle pictures, video, radio button groups,

SV: [Flashcoders] Component (dataGrid) issues flash 8 destroyObjectvs removeMovieClip

2009-10-14 Thread Mikael Wirén
Hi guys, All your answers put me in the right direction, thanks a bunch for that. After some deep digging i found 2 things needed to delete the instance of my dataGrid (for real). 1. locking the root of the container movieClip. 2. swapping depths of the dynamically added (container) movieclip

[Flashcoders] Access shared object from other class

2009-10-14 Thread ktt
Hello, How to acces remote shared object from other class? I have package { import flash.net.*; import flash.display.*; public class Main extends Sprite { public var _sharedBoardObject:SharedObject; public var ncBoard:NetConnection;

Re: [Flashcoders] Access shared object from other class

2009-10-14 Thread Karl DeSaulniers
Not positive, but I think you have to have the public variable outside any functions or extended classes. Someone please correct me if I am wrong. package { import flash.net.*; import flash.display.*; public var _sharedBoardObject:SharedObject; public class Main

Re: [Flashcoders] Access shared object from other class

2009-10-14 Thread Paul Andrews
ktt wrote: Hello, How to acces remote shared object from other class? I have package { import flash.net.*; import flash.display.*; public class Main extends Sprite { public var _sharedBoardObject:SharedObject; public var

RE: [Flashcoders] Access shared object from other class

2009-10-14 Thread Barry Hannah
You're declaring it as a public variable, so if your other class has a relationship with your main instance you should have direct access: yourMainInstance._sharedBoardObject; I suspect what you're missing is a relationship with the instance of Main. Barry -Original Message- From:

[Flashcoders] Re: image upload from flex to .net

2009-10-14 Thread Hans Wichman
Hi, no takers on this one? Noone any experience with this kind of thing through remoting? regards JC On Mon, Oct 12, 2009 at 4:05 PM, Hans Wichman j.c.wich...@objectpainters.com wrote: Hi list, I need to upload an image from flex to .net. That in addition to a lot of other stuff that I

[Flashcoders] AS2 SharedObject with Red5

2009-10-14 Thread Andrew Sinning
Is there a way to connect a SharedObject to a NetConnection in AS2? This appears really easy using AS3, but under AS2 the implementation of the NetConnection object is quite different, and SharedObject lacks the connect() method. Thanks! ___

RE: [Flashcoders] AS2 SharedObject with Red5

2009-10-14 Thread Chris Foster
Hi Andrew, This page might be helpful to you... http://www.zehnet.de/2008/04/11/red5-remote-sharedobject-experience-tips / Specifically: --- A Client can connect to a SO using the following Actionscript lines: // at first you need

RE: [Flashcoders] AS2 SharedObject with Red5

2009-10-14 Thread Chris Foster
Hi Andrew, Under Flash Communication Server (OK, it was a long time ago!) I'd do this using a Remote Shared Object. That would provide persistent stored information that could be accessed by multiple clients. Is that what you want to do? C: -Original Message- From:

RE: [Flashcoders] Re: image upload from flex to .net

2009-10-14 Thread Merrill, Jason
I don't have a lot of detail for you, but we have had good success using Webservices built in C#.NET and calling them from Flash and Flex. We used FileReference class to upload images from Flash to the Webservice and C# handled the file from there to place it on the server's filesystem. Jason

Re: [Flashcoders] image upload from flex to .net

2009-10-14 Thread Dave Watts
I'd like to consolidate all those operations including the upload into some kind of remoting gateway. My question is: - is remoting a good option for uploading an image in this scenario? - which remoting gateway for .net is a good option? I think you're better off not using a gateway for

Re: [Flashcoders] AS2 SharedObject with Red5

2009-10-14 Thread Andrew Sinning
SharedObject.getRemote. That is exactly what I was looking for. Thanks! Chris Foster wrote: Hi Andrew, This page might be helpful to you... http://www.zehnet.de/2008/04/11/red5-remote-sharedobject-experience-tips / Specifically: