00:00
00:00
Newgrounds Background Image Theme

privateC2004 just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

MovieClip disappearing at export

610 Views | 12 Replies
New Topic Respond to this Topic

MovieClip disappearing at export 2006-08-08 07:21:47


I am having a strange problem. I have a MovieClip instance manually placed on stage (the main timeline), called window by instance name. Now when I export the application, the window does not exist. A call to window on the main timeline returns undefined, a call to this on the window's onLoad event returns nothing, since it doesn't execute, as a result of the window disappearing or not being exported at all.

I have no removeMovieClip (), unloadMovie () or such anywhere in the application, and I haven't touched the depth of anything. Is this a bug or am I just overlooking something?


BBS Signature

Response to MovieClip disappearing at export 2006-08-08 07:52:57


Can you show us the .fla?


...

BBS Signature

Response to MovieClip disappearing at export 2006-08-08 08:00:23


It's a long shot, but could it be a problem with a reserved name? Try renaming it as my_window or something.


BBS Signature

Response to MovieClip disappearing at export 2006-08-08 08:01:11



BBS Signature

Response to MovieClip disappearing at export 2006-08-08 08:02:16


At 8/8/06 08:00 AM, _Paranoia_ wrote: It's a long shot, but could it be a problem with a reserved name? Try renaming it as my_window or something.

Nope, I've tried that...


BBS Signature

Response to MovieClip disappearing at export 2006-08-08 08:03:01


At 8/8/06 08:00 AM, _Paranoia_ wrote: It's a long shot, but could it be a problem with a reserved name? Try renaming it as my_window or something.

It's not. I tried that already.

At 8/8/06 08:01 AM, Rantzien wrote: Sure

Flash 8 FTL ;)


The water in Majorca don't taste like what it oughta.

| AS3: Main | AS2: Main | Flash Tutorials |

BBS Signature

Response to MovieClip disappearing at export 2006-08-08 08:16:22


Dude, it works perfectly for me. Trace:

_level0.window

Must be something wrong with your Flash. Either that or it simply can't handly your sexy Swedishness, and deletes itself.


BBS Signature

Response to MovieClip disappearing at export 2006-08-08 08:21:53


At 8/8/06 08:16 AM, _Paranoia_ wrote: Dude, it works perfectly for me. Trace:
_level0.window
Must be something wrong with your Flash.

Yeah, that traces undefined...

Either that or it simply can't handly your sexy Swedishness, and deletes itself.

:)


BBS Signature

Response to MovieClip disappearing at export 2006-08-08 08:38:14


Umm, you had this on your MC.

onClipEvent (load) {
this._y = -400;

}

I think thats why, XD.

Do i get a cookie:)

BBS Signature

Response to MovieClip disappearing at export 2006-08-08 08:42:47


At 8/8/06 08:38 AM, Depredation wrote: Dumb Stuff.

Oh, you meant even when you click a button, sorry. It works for me, mabye its your version of flash, try restarting it. That somtimes helps :).

Or preview it in a standalone player. Now do i get a cookie?

BBS Signature

Response to MovieClip disappearing at export 2006-08-08 08:49:22


There's no problem for me in the Flash.
If I press a button it'll come to where it should come etc.
It works perfectly fine for me.


BBS Signature

Response to MovieClip disappearing at export 2006-08-08 09:23:02


The problem was that I used special fonts against a translucent background. Somehow that prevented the window from appearing at all. I'm breaking the text apart to shapes now, so it works, even though it's awkward if it needs changing... Oh well, the important thing is that it works.

Thanks for your help


BBS Signature

Response to MovieClip disappearing at export 2006-08-08 09:48:26


Of course! The fonts! It all makes so much sense!

Nice to know you've made sense of it all, anyway Ranty.


BBS Signature