Reputation: 1182
I load my fxg and it's fine. But I want to change my fxg file in runtime, then i want to refresh my browser page and see my changes. Is it possible to do in flex?
Upvotes: 0
Views: 262
Reputation: 39408
An FXG is compiled; so you can't change it at runtime.
Since you mention refreshing your browser page; there may be a way. You may be able to modify the FXG in some manner; call a service that will use command line tools to recompile the project; and then when the browser is refreshed your updates should be shown.
You may be able to make this transparent to the user, without a formal page refresh, by using a "wrapper" application that just loads other SWFs via SWFLoader.
Upvotes: 1