Archive for October, 2009

SecurityError: Error #2148: loading a file into a Flex application

If you run a Flex application from a folder and the application tries to load a file, you may get a security error.

This can be prevented with this compiler setting:

-use-network=false

No Comments

Prevent code hinting of mxml subcomponents

If this is your component:

<box>

<label id=”myLabel”/>

</box>

Then ‘myLabel’ is code-hinted. You may not want that. Then do this:

[Exclude(name="myLabel", kind="property")]

See link

No Comments