# How to create fullscreen Flash \[renamed\]

**URL:** <https://forum.kirupa.com/t/how-to-create-fullscreen-flash-renamed/182960>\
**Category:** flash\
**Created:** [March 20, 2006, 6:35pm UTC](https://forum.kirupa.com/t/how-to-create-fullscreen-flash-renamed/182960 "2006-03-20T18:35:38Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![romka](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@romka](https://forum.kirupa.com/u/romka)\
**Post date:** [March 24, 2006, 10:38pm UTC](https://forum.kirupa.com/t/how-to-create-fullscreen-flash-renamed/182960/21 "2006-03-24T22:38:44Z")

</div>

No prob!

---

<div class="post-metadata">

**Author:** ![scotty](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@scotty](https://forum.kirupa.com/u/scotty)\
**Post date:** [March 25, 2006, 8:30am UTC](https://forum.kirupa.com/t/how-to-create-fullscreen-flash-renamed/182960/22 "2006-03-25T08:30:05Z")

</div>

Next time use more descriptive titles and keep your question to 1 thread ie don’t crosspost :cool:  
Threads are merged

scotty(-:

---

<div class="post-metadata">

**Author:** ![mikenificent](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@mikenificent](https://forum.kirupa.com/u/mikenificent)\
**Post date:** [March 25, 2006, 4:11pm UTC](https://forum.kirupa.com/t/how-to-create-fullscreen-flash-renamed/182960/23 "2006-03-25T16:11:54Z")

</div>

The code generated two errors, I’m trying to work through it but don’t know what it is, I put the code inside the background movieclip and this is what I got in my output when I tried to test it.

**Error** Symbol=background, layer=Layer 1, frame=1:Line 2: Clip events are permitted only for movie clip instances  
onClipEvent (load) {

**Error** Symbol=background, layer=Layer 1, frame=1:Line 8: Clip events are permitted only for movie clip instances  
onClipEvent (enterFrame) {

Total ActionScript Errors: 2 Reported Errors: 2

---

<div class="post-metadata">

**Author:** ![romka](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@romka](https://forum.kirupa.com/u/romka)\
**Post date:** [March 25, 2006, 4:39pm UTC](https://forum.kirupa.com/t/how-to-create-fullscreen-flash-renamed/182960/24 "2006-03-25T16:39:54Z")

</div>

Hei,

Make sure you paste the code inside the “background mc” not in the frame, that’s what caused the errors.

And can I have look at your .fla please.

rom

---

<div class="post-metadata">

**Author:** ![mikenificent](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@mikenificent](https://forum.kirupa.com/u/mikenificent)\
**Post date:** [March 25, 2006, 5:02pm UTC](https://forum.kirupa.com/t/how-to-create-fullscreen-flash-renamed/182960/25 "2006-03-25T17:02:11Z")

</div>

ok, I got it so theres no errors but when I click on the buttons the screen does not move. I cant upload the file it says its failed.

Edit

\*\*\*figured it out, thanks romka, that code helped alot!!!

---

<div class="post-metadata">

**Author:** ![mikenificent](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@mikenificent](https://forum.kirupa.com/u/mikenificent)\
**Post date:** [March 28, 2006, 7:24am UTC](https://forum.kirupa.com/t/how-to-create-fullscreen-flash-renamed/182960/26 "2006-03-28T07:24:38Z")

</div>

romka is it possible the code you gave me can be used in the scene on a seperate layer called Actions where I put all my actionscript instead of on the movieclip, because I’m going to hand this in as an assignment because we just got an assignment to create a web-data application with xml and I figure I’ll hand this in for it but our teacher would like to see all actionscript it the scene on a layer called Actions.

Thanks

---

<div class="post-metadata">

**Author:** ![mikenificent](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@mikenificent](https://forum.kirupa.com/u/mikenificent)\
**Post date:** [March 28, 2006, 5:08pm UTC](https://forum.kirupa.com/t/how-to-create-fullscreen-flash-renamed/182960/27 "2006-03-28T17:08:03Z")

</div>

does anyone know?

---

<div class="post-metadata">

**Author:** ![kitaeshi](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@kitaeshi](https://forum.kirupa.com/u/kitaeshi)\
**Post date:** [March 28, 2006, 11:08pm UTC](https://forum.kirupa.com/t/how-to-create-fullscreen-flash-renamed/182960/28 "2006-03-28T23:08:55Z")

</div>

try this code and see if it work. it is put on the timeline’s frame instead on the mc itself

BACKGROUND.\_x = 0;  
BACKGROUND.\_y = 0;  
div = 5;

BACKGROUND.onEnterFrame = function{  
this.\_x += (endX-\_x)/div;  
this.\_y += (endY-\_y)/div;  
//set the coordinates of background mc for each button//  
\_root.b1.onRelease = function() {  
endX = 0;  
endY = 0;  
};  
\_root.b2.onRelease = function() {  
endX = -250;  
endY = 0;  
};  
\_root.b3.onRelease = function() {  
endX = -250;  
endY = -200;  
};  
\_root.b4.onRelease = function() {  
endX = 0;  
endY = -200;  
};  
}

---

<div class="post-metadata">

**Author:** ![mikenificent](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@mikenificent](https://forum.kirupa.com/u/mikenificent)\
**Post date:** [March 28, 2006, 11:52pm UTC](https://forum.kirupa.com/t/how-to-create-fullscreen-flash-renamed/182960/29 "2006-03-28T23:52:15Z")

</div>

this moves it but doesnt stop it where I would like it to like the other way did it just keeps going

[Previous page](https://forum.kirupa.com/t/how-to-create-fullscreen-flash-renamed/182960.md?page=1)
