I don't know why, but the most basic of tasks sometimes seems to fail. I'm using flash mx 6. I dn't have the moviecliploader thing from flash 7 therefore.
For my flash I start by making an xml object with an onLoad function where the rest of my code resides. In there, I've tried all sorts of things. I can get an image to appear no problem, but it's too big and I need to resize it dynamically. I've made an onData and onLoad function for the containing movieclip but even a simpel trace in thsoe is never activated. I've tried making a sub sub container to load the image into incase it was wiping the details from the original container or something but that makes no difference.
I can use use all my .width and ._xscale stuff on a container that's already there as a test on the stage staticly, but not in the script it seems. I'd psot code here but I've tried so many ways to do it I've just ripped all my hair out! All I want is to make a movieclip container (done dynamically as the images I'm loading come from a loaded xml document) and then load an image into that movieclip, and then resize it if it's too big.
Can anyone sooth my headache?
_________________________________
Leozack
For my flash I start by making an xml object with an onLoad function where the rest of my code resides. In there, I've tried all sorts of things. I can get an image to appear no problem, but it's too big and I need to resize it dynamically. I've made an onData and onLoad function for the containing movieclip but even a simpel trace in thsoe is never activated. I've tried making a sub sub container to load the image into incase it was wiping the details from the original container or something but that makes no difference.
I can use use all my .width and ._xscale stuff on a container that's already there as a test on the stage staticly, but not in the script it seems. I'd psot code here but I've tried so many ways to do it I've just ripped all my hair out! All I want is to make a movieclip container (done dynamically as the images I'm loading come from a loaded xml document) and then load an image into that movieclip, and then resize it if it's too big.
Can anyone sooth my headache?
_________________________________
Leozack
Code:
MakeUniverse($infinity,1,42);