Re: [Flashcoders] How to call custom method on loaded AS3 swf?

2008-02-02 Thread EECOLOR
This is the perfect example as to where you would use an interface: Interface definition: public interface MyFrameworkInferface { function startup():void }; Class in the swf that is loaded in: public class MyLoadedClass { public function startup():void { /stuff }; };

Re: [Flashcoders] How to call custom method on loaded AS3 swf?

2008-01-13 Thread Adrian Park
@chattyfig.figleaf.com Sent: Tuesday, January 08, 2008 8:45 PM Subject: [Flashcoders] How to call custom method on loaded AS3 swf? This is my first post to the list in 2008 so hi and compliments of the season to y'all. So, here's the context... I have an application framework built in AS3

[Flashcoders] How to call custom method on loaded AS3 swf?

2008-01-08 Thread Adrian Park
This is my first post to the list in 2008 so hi and compliments of the season to y'all. So, here's the context... I have an application framework built in AS3 and based on the MVC pattern. One of my Views loads a compiled swf also built in AS3. When it is that View's turn to be displayed, it gets

Re: [Flashcoders] How to call custom method on loaded AS3 swf?

2008-01-08 Thread August Gresens
I'm doing a lot of this too (also have my own MVC style framework and would be interested in discussing this in another thread). I think the problem here is that you need to cast it to the swf's custom type to access the custom methods. This won't work, however, unless the custom type's class has

Re: [Flashcoders] How to call custom method on loaded AS3 swf?

2008-01-08 Thread Steven Sacks
http://jessewarden.com/2007/09/no-excludexml-in-flash-cs3-for-as3-solution-via-bridge-pattern.html Might want to check this out as I think it's similar. Bridge pattern. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com