# 'fullscreen' code

**URL:** <https://forum.kirupa.com/t/fullscreen-code/19758>\
**Category:** flash\
**Created:** [May 1, 2003, 7:34am UTC](https://forum.kirupa.com/t/fullscreen-code/19758 "2003-05-01T07:34:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![victim](https://avatars.discourse-cdn.com/v4/letter/v/7bcc69/32.png) [@victim](https://forum.kirupa.com/u/victim)\
**Post date:** [May 1, 2003, 7:34am UTC](https://forum.kirupa.com/t/fullscreen-code/19758/1 "2003-05-01T07:34:41Z")

</div>

hi all,

what’s the code to activate fullscreen and where do I put it??

i’ve done this before but forgotten.

thanx

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 1, 2003, 7:36am UTC](https://forum.kirupa.com/t/fullscreen-code/19758/2 "2003-05-01T07:36:28Z")

</div>

Have you ever considered trying

[THIS](http://www.kirupaforum.com/forums/search.php?s=) :q:

Rev ![](http://www.aulman.com/rev.gif)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 2, 2003, 1:04am UTC](https://forum.kirupa.com/t/fullscreen-code/19758/3 "2003-05-02T01:04:04Z")

</div>

onClipEvent (load) {  
fscommand(“fullscreen”, “true”);  
}

Remember that this only works after you export your .fla into .swf.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 2, 2003, 9:14am UTC](https://forum.kirupa.com/t/fullscreen-code/19758/4 "2003-05-02T09:14:32Z")

</div>

yeah! and place it on the very first frame! ;)!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 2, 2003, 9:30am UTC](https://forum.kirupa.com/t/fullscreen-code/19758/5 "2003-05-02T09:30:27Z")

</div>

Ermmmm…as you can see, I am using “onClipEvent(load)”. Hence, I would’nt advise you to place this script on the first frame. LOL. Place it in the moveclip instead. If you want to do it on the very first frame, then simply use the “fsCommand” without the onClipEvent.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 2, 2003, 11:07am UTC](https://forum.kirupa.com/t/fullscreen-code/19758/6 "2003-05-02T11:07:27Z")

</div>

ohh my… didnt see that…  
yeah you’re right…

but why put it onClipEvent anyhu? 😉
