The size of the flash file?
Monkey Targets Forums/Flash/The size of the flash file?
| ||
I tried opening the as file and changing this: [SWF(width="800",height="480")] It works! But the only problem is that the swf file properties shows up as 500x375 |
| ||
Did you changed also this part:bitmap.bitmapData=new BitmapData( 800,480,false,0xff0000ff ); You can find it on the function: public function MonkeyGameEx( event:Event ):void{ |
| ||
Yes I did. Still same issue |
| ||
You need to modify the trans tool or rebuild the .as file yourself with the following parameters passed to the mxmlc command (untested):mxmlc -default-size 800 600 -static-link-runtime-shared-libraries=true MonkeyGame.as |
| ||
Oh yeah now i can see what your problem ist. But how can I see the property of my swf file? I didnīt have the Flex builder or anything else? |
| ||
Thanks, I will try it today. |
| ||
It does produce swf file with 800x480 but the file properties still shows up as 500x375. and yes, I tried a clean build |
| ||
After a quick google the answer here seems to fix it: http://stackoverflow.com/questions/3432230/mxmlc-fcsh-ignoring-swfwidth-550-height-400 So ignore my first reply and edit the MonkeyGame.as file in your build folder so the [SWF line comes after the imports. If it works for you it would probably be worth posting in Bug reports to bring the issue to Mark's attention. |
| ||
It worked! Thanks a million. |
| ||
Cool, I'll post the bug report now. |
| ||
Yeah skid . You are my Flash-Hero :D |