Jodo-Pori.2010-07-17Kuortti.2010-06-26Need for
umbrella
in Kobe
2011-06-10Slovenija
2010-11
015Helsinki2005-10-15_16_019Minatogawa
Jinja,
Kobe
2011-06-20Kuortti.2010-06-26Inujima,
Japan
2010-04-30Slovenia2009-04_658Nanbudo_WCh2006_076Kobujutsu
Stadion
2011-12-17
2Somero2002_02South.Africa.Roadtrip.2007-08_353Kyoto
2011-05-04
Shimogamo
Jinja,
Jikishinkageryu
NaginatajutsuSouth.Africa.Roadtrip.2007-08_216Zoo2006-10-07_043Helsinki2005-10-15_16_042Kyoto
2011-05-04
Shimogamo
Jinja,
Ryukyu
Kobujutsu
- Bo
kumiteSlovenija
2010-11italia2005-04_219Naginata
Helsinki
2010-02-07
09Kuortti.2010-06-26
Ants eating a lizard

Not much left of the lizard here, but that is how it should go in the nature.

Flex 2 - Embedding symbols

Abode Flex 2 Livedocs states: "Flash defines three types of symbols: Button, MovieClip, and Graphic. You can embed Button and MovieClip symbols in a Flex application, but you cannot embed a Graphic symbol because it cannot be exported for ActionScript."

Now based on this I embedded few symbols from a SWF file and used them by creating MovieClips, but just few of them worked as expected.

[Embed(source='symbols.swf', symbol='froggy')]
public var froggy:Class;

var frog:MovieClip = new froggy() as MovieClip;
var monkey:Sprite = new froggy() as Sprite;

Later I noticed that if the symbol has only one frame on its timeline, it should be initialised as Sprite. Only those symbols which have more than one frame worked when initialising them as MovieClip.

In the upper code the "monkey" works if symbol has only one frame.

Shall this be a reminder for me and fellow Flash developers when similar situations occur.

Time: 08/11/2007 11:43

QR code for paazio.nanbudo.fi