my swf file keeps getting cut off even though i've tried resizing it
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?importantly, i do not have access to the source file
-
Inappropriate?Hi Charlotte,
I'd need a link to the widget to help you. Please post a link to the widget on widgetbox.
Also, if you not have the source because you don't own the file, please keep in mind the Content Guidelines that you agree to when submitting a widget.
Thanks.
-
Inappropriate?Charlotte,
If your widget is looking at the Stage to determine it's height, you may notice the bottom 23 pixels of your SWF is being cut off when loading it into our flash wrapper. This is because the GetWidget button below the widget adds an additional 23px in height to your Stage beyond the configured height of the widget. To work around this, we pass the parameter "widget_height" and "widget_width" to every widget when it runs in our Flash Wrapper. These values will be the width and height of the widget, not the full wrapper around the widget.
Hope that helps,
Omar
I’m confident
-
This reply was removed on 04/02/09.
see the change log -
Inappropriate?what should i do? i already know there's a wrapper, what settings should i alter to get around it?
I’m frustrated
-
Inappropriate?obviously this is not a hard thing to fix, but it is not anywhere in the "answer" you provided.
-
Inappropriate?I think he wants you to increase the size of the widget in the editor so it's 23 pixels larger in height. I take it you've already tried that though.
Try allowing the editor to size the widget automatically. Click "More sizing options" in the editor to expand the menu and check the "Size dynamically" checkbox. (Is that even an option with flash widgets? I dunno.)
FWIW. Beats twiddling your thumbs.
If it blows up or crashes your computer, you never saw me. :-) -
Size Dynamically isn't an option for flash widgets.
Omar will respond as soon as he's able to, but it won't be until tomorrow, unfortunately. -
Inappropriate?Charlotte,
There could be 2 reasons that your widget would be cut off in our flash wrapper.
1) Related to my response above...You may be using Stage.height or Stage.stageHeight (depending on AS2 or AS3) to determine the height of your widget in your actionscript code. My suggestion above was to look for the parameter "widget_height" and use that instead. You can access this parameter in your code by using _root.widget_height for AS2 or LoaderInfo(this.root.loaderInfo).parameters["widget_height"] for AS3.
2) You may be explicitly setting Stage.scaleMode in your actionscript, but you do not include the required hidden parameter in your widget. Please refer to our flash docs for more on this: http://docs.widgetbox.com/developers/...
Loading Profile...





