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
};
};
Acces
---
> From: "Adrian Park" <[EMAIL PROTECTED]>
> To:
> 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
Have you tried casting to MovieClip?
regards,
Muzak
- Original Message -
From: "Adrian Park" <[EMAIL PROTECTED]>
To:
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 i
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
http://chattyfig.fig
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
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
6 matches
Mail list logo