-
1. Re: How to set size(height & width) 100% for SWF
kennethkawamoto2 Jul 27, 2011 4:15 AM (in response to Kirubakaran Srinivasan)In the browser? Flash cannot set the size of itself - its size is defined in the HTML. You'd use JavaScript to set Flash object's width and height on window resize event.
-
2. Re: How to set size(height & width) 100% for SWF
Kirubakaran Srinivasan Jul 27, 2011 4:21 AM (in response to kennethkawamoto2)i want set size SWF itself. not with other languages.
SWF itself....!!!
Jus think like this SWF is generated and i m playing with that SWF that time if i m trying to increase my width then my height should be changed. and vise versa...!
Got it now...??
-
3. Re: How to set size(height & width) 100% for SWF
kennethkawamoto2 Jul 27, 2011 4:35 AM (in response to Kirubakaran Srinivasan)You can set the size of DisplayObject within the SWF but you cannot set the size of the SWF itself. Got it now?
-
4. Re: How to set size(height & width) 100% for SWF
Fuzzy Barsik Jul 27, 2011 5:18 AM (in response to Kirubakaran Srinivasan)It's not quite clear what you actually want...
You set up your SWF size while setting up the size of the stage.
You CAN NOT change the size of the stage in runtime.
If you want to have your Flash application being proportionally resizeable in browser while you are dragging window corner, just replace values in pixels with "100%" in code within your html page.



