Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 11-16-2009, 10:57 PM   #1
Registered User
Join Date: Nov 2009
Posts: 1
Default Superposition of Frame with gotoAndStop()


I am having a problem with the gotoAndStop function in my CS3 flash application.

I have 3 frame on my timeline (keyframes). I click on a button of the first frame and pass to the frame 2 by having a listener on the button doing : gotoAndStop(2,"Scene 1"). Frame 1 and Frame 2 contains both a different Datagrid (as a MovieClip)

I have a problem appearing here. The datagrid from frame1 is still displayed under (kind of background) the datagrid from frame2. They are kind of superposed. The datagrid is the only element from frame 1 having this behavior. The buttons and text area are not displayed, following the normal behavior.

Here is the part of my code doing that :

Buy.addEventListener(MouseEvent.CLICK, readyToBuy);

function readyToBuy(e:Event):void{
gotoAndStop(2,"Scene 1");

I added a stop at the beginning of frame2 and it didnt change anything (logic i think).

Any help is more than welcomed. I dont understand this strange behavior.

Thanks in advance for any advice.

Last edited by fb1800; 11-17-2009 at 11:50 AM. Reason: privacy
fb1800 is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 01:55 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.