# Load Twitch Stream in a single SWF and resize it (ActionScript)

**URL:** <https://discuss.dev.twitch.com/t/load-twitch-stream-in-a-single-swf-and-resize-it-actionscript/1000>\
**Category:** API\
**Created:** [July 13, 2014, 3:40pm UTC](https://discuss.dev.twitch.com/t/load-twitch-stream-in-a-single-swf-and-resize-it-actionscript/1000 "2014-07-13T15:40:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefanos22](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@stefanos22](https://discuss.dev.twitch.com/u/stefanos22)\
**Post date:** [July 13, 2014, 3:40pm UTC](https://discuss.dev.twitch.com/t/load-twitch-stream-in-a-single-swf-and-resize-it-actionscript/1000/1 "2014-07-13T15:40:45Z")

</div>

So what i want to do is to Load the embed code of a twitch stream in a single SWF and then Resize the Loaded twitch live\_embed\_player.swf because when it loads it comes up always in full screen and i want it to be in exact dimensions.My actionsript knowledge is barely average.So what i did is , i created a new SWF and used the command **loadMovieNum(“[http://www.twitch.tv/widgets/live\_embed\_player.swf?channel=akamatos](http://www.twitch.tv/widgets/live_embed_player.swf?channel=akamatos)”, 0);** the stream comes up but in full size always…i’ve searched a lot of posts all over the internet but came up empty, this Twitch SWF refuses to resize.If anyone can Help me with that will be most Welcome! Thanx in Advance

---

<div class="post-metadata">

**Author:** ![Fugiman](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/fugiman/32/108_2.png) [@Fugiman](https://discuss.dev.twitch.com/u/Fugiman)\
**Post date:** [July 17, 2014, 9:39am UTC](https://discuss.dev.twitch.com/t/load-twitch-stream-in-a-single-swf-and-resize-it-actionscript/1000/2 "2014-07-17T09:39:49Z")

</div>

We do not support loading our SWF inside another SWF. If you want to resize it, you should use CSS to resize the OBJECT tag when embedding the SWF on your web page.

---

<div class="post-metadata">

**Author:** ![stefanos22](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@stefanos22](https://discuss.dev.twitch.com/u/stefanos22)\
**Post date:** [July 19, 2014, 12:53am UTC](https://discuss.dev.twitch.com/t/load-twitch-stream-in-a-single-swf-and-resize-it-actionscript/1000/3 "2014-07-19T00:53:24Z")

</div>

Thank you for your reply Fugiman,HTML Embed code is not what i am looking for,sure its fast and easy but its not gona work for me.The reason i want to Resize the Twitch SWF is because i want to use it in a Chat Room made in Flash,the only way i can do that is by adding it as a Widget in the form of SWF,it works but always in full browser size.And by resize i dont mean the actual [Twitch.tv](http://Twitch.tv) SWF but with some Code in the Blank SWF that i made to load it somehow to get it smaller,thank you again for your reply.
