View previous topic :: View next topic |
Author |
Message |
Kottt
Joined: 19 Mar 2013 Posts: 3
|
Posted: Wed Mar 20, 2013 12:05 pm Post subject: Injection doesn't work (in non debug version of swf) |
|
|
Hi,
We have a flex project and using Parsley as MVC framework. We have problems with building swf with debug=false option.
At first we had problems with our views (.mxmls) using Context Config and injection by id in our .mxml files - views didn't load in web browser (in debug version of build everything was ok). Then we replaced injection by id with FastInject - views in non debug version of build became load but injection by id in our Controllers files (.as) still doesn't work. If there any issues with parsley - any differences in behavior in debug and non debug version of .swfs?
Sorry for my English. I really hope that the question is clear. If not I'm going to explain it additionally. Just ask what is not clear.
Last edited by Kottt on Wed Mar 20, 2013 12:32 pm; edited 1 time in total |
|
Back to top |
|
 |
Kottt
Joined: 19 Mar 2013 Posts: 3
|
Posted: Wed Mar 20, 2013 12:31 pm Post subject: |
|
|
Forgot to point the version we use - Parsley 3.0 |
|
Back to top |
|
 |
Jens Halm Site Admin
Joined: 21 Sep 2007 Posts: 2631 Location: Cologne, Germany
|
Posted: Wed Mar 20, 2013 6:18 pm Post subject: |
|
|
Please see the Troubleshooting Guide in the manual, in particular section 16.2., the paragraph titled "Metadata not compiled into the SWF or SWC". It's very likely your build, not an issue with Parsley. _________________ Jens Halm
Spicefactory |
|
Back to top |
|
 |
Kottt
Joined: 19 Mar 2013 Posts: 3
|
Posted: Thu Mar 21, 2013 8:38 am Post subject: |
|
|
Thank you very much for your reply Jens. I completely forget about "keepAs3Metadata" compiler option. Now it's work. |
|
Back to top |
|
 |
|