I'm new in Flex. I need to amke dynamic component based on s.List with TileLayout. I try this:
public class ETileList extends List
private var _layout:TileLayout; // 1046: Type was not found or was not a compile-time constant: TileLayout.
public function ETileList()
this._layout = new TileLayout(); // 1067: Implicit coercion of a value of type String to an unrelated type Class.
super.layout = this._layout;
Commets are compiler errors which i have. I can't understand why the type is not found.
Do someone can help me?
Thanks in advance
Is the Spark SWC in the library path?
Yes. I have successful atemt with HrizontalLyout nad with v
Comment out the lines causing the first error. If you still get the second
error, start looking for other classes named TileLayout
You have right. Have a method TileLayout, which is wrong named.
Thanks for your help.