I have a problem with mxml file show 1136: Incorrect number of arguments. Expected 1. Show Error line which not existed in the file.
URL below is simple project create to reproduce that error
I try to make Twitter Client which use Actionscript as start-up script. this actionscript is check if setting file exists.
In condition of no setting file, it show Login window, otherwise, it show Twitter feed window.
As I see in Adobe AIR Reference below,
what I understand is that I cannot create 2 WindowedApplication because WindowedApplication does not design to communicate each other.
The reference suggust to use Window class instead of that.
So, I change WindowedApplication to mx:Window and make ActionScript to run that Window.
However, it show Error 1136 on the line which not existed.
So, below is a simple application project screenshot that reproduce this topic problem
1136: Incorrect number of arguments. Expected 1. TestError line 28 Flex Problem
How can i fix this problem?
This is my short list may make more understand
* Adobe AIR - Desktop Application
* Want to open more than 1 window
* Window show up is condition of startup script
* Adobe Flash Builder 4
* Flex 4
* AIR 1.5