Share Posted May 23, 2011 Hello, I have loader which content I attach to AutoFitArea and everything works fine when I`m loading *regularly created swf or plain jpg files. * swf with no extra object that go beyond original size of that swf. However, there is one BIG problem if there is such a case, if my swf has certain object that is placed somewhere outside its stage. Looks like AutoFitArea takes size of an object itself and then manipulate with it`s sizes to make it "Autofit". However, in this case, i guess, I need to provide exact size so that AutoFitArea can calculate better of how to fit that swf. Is there something like that, so that I can work around this problem? I guess that is customBoundsTarget ? If it is, then how to use it? Link to comment Share on other sites More sharing options...
Author Share Posted May 23, 2011 I have tried to use: customBoundsTarget:_image.ad.frame_mc along with scaleMode:ScaleMode.STRETCH but looks like strech is not working when I use customBoundsTarget. Link to comment Share on other sites More sharing options...
Share Posted May 23, 2011 Sure, STRETCH should work fine with customBoundsTarget - could you post a sample FLA that demonstrates it NOT working? No need to post your production files - just a super simple FLA that I can publish on my end would be great. The simpler the better. Link to comment Share on other sites More sharing options...
Author Share Posted May 24, 2011 It is working, Sorry, it was problem inside other logic used for the rest of the project. Thanks anyway! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now