I apologize for this but I just don’t know what to do anymore. Two things have baffled me today. I can’t figure out if its a problem with my Flash or if its an internal Flash problem (meaning a bug or something).
- The file stageSizeTest.fla is a simple file that outputs the dimensions of the stage. As you can see if you open the file, it’s 900x550. The trace statement is the same in the onResize function as well as outside of it, but when I run the file, this is the output I get:
Stage size is now 900 by 450
Stage size is now 900 by 550 FROM onResize
Note, however, that if I run the SWF again by pressing ctrl+enter again, i get the correct output:
Stage size is now 900 by 550
(because I didn’t change the size of the stage, the FROM onResize one doesn’t run, obviously).
- the patternTest.fla file is simply a variation of the code posted by TheCanadian in his tiling patterns tutorial on this site. Don’t actually mind the code in here so much as I’m just really testing something, not trying to write awesome code.
if you run the fla, you will see that the output is all great, shows the tiled bg and the black square on top.
now, run the included patternTest.html file. this file was simply published out of Flash with no changes made to it. As you can see, the patternTest.html file outputs the swf, with the black square, but the tiled background is missing!
Am I going crazy here? Is this not happening to anyone else with these files? I’m not sure what to do… Do I need to reinstall Flash? Or are you guys getting the same stuff?
Thanks for any help that comes my way.
NOTE not that it should matter, but i’m doing this on a MacBook Pro running OSX 10.4.