>>>
Despite what the naming conventions are, since the only thing, IMHO, that
interfaces are useful for, is determining if the object being passed to a
method complies and has methods/properties that can be used, without having
to write code to check if the object being passed actually has all the
On 9/23/2010 3:51 PM, Henrik Andersson wrote:
you say Picture IS-A IDrawable.
Despite what the naming conventions are, since the only thing, IMHO,
that interfaces are useful for, is determining if the object being
passed to a method complies and has methods/properties that can be used,
withou
Hi.
I would think about using the [Embed] directive in pure AS3 code to
create font swf files. You can have one or more fonts in a swf which
does not matter and you can load them in a runtime dynamically.
Here is an example of a Font file - you can setup a project in
FlashDevelop that will
Glen Pike skriver:
"has a" (interfaces) than "is a" (subclass),
That's wrong. HAS-A is not used for interfaces, it is used for reference
properties and other forms of containment. Both interfaces and classes
use the IS-A relation.
You don't say Picture HAS-A IDrawable, you say Picture IS-A
Henrik Andersson wrote:
> SWC files are zip files with swf files inside them (and some other misc
> stuff). The flash player does not know how to deal with them.
>
> Or you could just load a swf like everyone else...
Fair enough.
Here's the issue with loading the .swf. It's all code and no asset
Hi,
If you "type" as a superclass you are generally programming to an
interface, so you can just as easily type to an interface.
Using interfaces is generally more flexible - it's easier to work
with "has a" (interfaces) than "is a" (subclass), but sometimes you need
a default imple
SWC files are zip files with swf files inside them (and some other misc
stuff). The flash player does not know how to deal with them.
You would have to unpack the zip, read the metadata and feed the stored
swf to Loader.loadBytes.
Or you could just load a swf like everyone else...
__
I'm not quite sure what the best way to send the app around is. Also
the app performs significantly better on iPhone than the swf does on
Android (the swf even performs better on iPhone with Frash) so looking
at the swf in the browser will not get you 60FPS. Here it is though:
http://www.unfo
I posted this to another list a couple hours ago, and didn't get any
takers, so I'll try here.
My client wants something a little different. His specs call for a
Flex program that, in code, embeds fonts from an external folder. He
then wants to download that and use the fonts in another .swf.
I'm
Inheritance and abstract classes
The examples I've seen are set up this way:
Super class (abstract class) contains all methods
Subclass overrides methods in super class
Class instances are typed as super class and instantiated as subclass.
I'm wondering why the examples show instances typed as a
Anyone know of any tools to convert AS3 code into Java?
There seems to be several stabs at the other way around (j2as3 for example).
Cheers
Tom
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinf
11 matches
Mail list logo