Imagine a Flex application which contains spam/eggs.as
:
package spam {
public var eggs:Eggs = new Eggs();
}
At what point in the process of loading the .swf
file will Eggs
be instantiated?
Then, assume there is also spam/ham.as
:
package spam {
public var ham:Ham = new Ham();
}
What which of the two - eggs
or ham
- will be loaded first?