Spicefactory Forum Index Spicefactory
Forum Archive
 
 SearchSearch    Log inLog in 

Injection doesn't work (in non debug version of swf)

 
Post new topic   Reply to topic    Spicefactory Forum Index -> Spicefactory
View previous topic :: View next topic  
Author Message
Kottt



Joined: 19 Mar 2013
Posts: 3

PostPosted: Wed Mar 20, 2013 12:05 pm    Post subject: Injection doesn't work (in non debug version of swf) Reply with quote

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
View user's profile Send private message
Kottt



Joined: 19 Mar 2013
Posts: 3

PostPosted: Wed Mar 20, 2013 12:31 pm    Post subject: Reply with quote

Forgot to point the version we use - Parsley 3.0
Back to top
View user's profile Send private message
Jens Halm
Site Admin


Joined: 21 Sep 2007
Posts: 2631
Location: Cologne, Germany

PostPosted: Wed Mar 20, 2013 6:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Kottt



Joined: 19 Mar 2013
Posts: 3

PostPosted: Thu Mar 21, 2013 8:38 am    Post subject: Reply with quote

Thank you very much for your reply Jens. I completely forget about "keepAs3Metadata" compiler option. Now it's work.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Spicefactory Forum Index -> Spicefactory All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group