Transition between scenes and unwanted text is staying visible. - actionscript-3

I would like to ask you about my problem.
I have two different scenes and when i change from second scene to first scene, text from second scene is still staying visible and does not disappear, how it should. It is maybe hard to discribe, but i really dont know what to do with this...

Related

Buttons control Frame Position in AS3

First off, this is an Actionscript 3 question.
Okay, this is a bit complicated to explain, but I have been searching for a way to make an invisible button, when highlighted, control a movie clip. I have images inside this movie clip that are all separate. When the mouse hovers over the left invisible button, the images scroll right. When the mouse hovers over the right invisible button, the images scroll left. Im unsure if reversing the frames is even possible, or maybe even if you can divide the 120 frames (with the 60th frame being my start) and making the mouse move back by math form? Either way, they are images and buttons. Is there any way of doing ANYTHING like this, even if it means math form, frame form or making the images animate individually and move into positions?
Cheers,
- Jesse
Not entirely sure what you mean, but it sounds like you're trying to go back 1 frame?
[movieClip].gotoAndStop([movieClip].currentFrame - 1);
This would do that I guess. Feel free to comment if that's not what you're looking for.

Remove Child? AS3

So I'm incredibly new to AS3, and barely know my way around.
I built a simple colouring book game, essentially changing some of the graphics of a tutorial, and replacing numbers and sizes to fit what I wanted to achieve. I then built a menu screen in a seperate scene and linked the two with code snippets and buttons to go back and forth.
The colour pickers are generated when the game is ran, however an issue I seem to be facing is that when I go back to my main menu, they are still there.
Can someone point me in the right direction as to how I can fix this? I'm sure it's a rather simple fix. I can provide the code from the tutorial if needed
I think you're right you need removechild this color to remove one color from stage... Maybe you need removechildren to remove all color, whin are on stage... Try this two way

Page moving to left when dragging mouse to the right

I have a layout and the problem I'm having is if I select over anything, even just clicking and holding the background and drag my mouse right, the whole page moves to the left, except the background.
I've tried everything I can think of and was wondering if anyone knew what it could be? I thought it could be a width problem but I've checked it all out and can't find anything.

AS3 Text link event not working

quick question regarding the TextEvent:LINK.
It stopped working recently when I switched my interface and I'm not quite sure why or how to fix it.
I have a movie clip which contains a text area and a scroll handler. 3 of these are added to my interface, although only 1 at a time is active in the display, depending on which tab you click.
All of that works fine, but once I change the chat object (textfield and scrollbar) in the display, it seems to stop working, and I'm not quite sure why. I'm not creating new instances all together, just adding and removing from a parent clip upon clicking different tabs.
Any idea what would be or could be causing this? As far as I can tell nothing is over or obstructing the clip containing the text field and scroll bar. The scroll bar actions work fine, which is next to the text field, however there seems to be no action going on as far as clicking links in the text field. I can select text in this text field as well, so I'm a bit confused :<
Thanks for your help.
Edit - Textfield is selectable, I know they need to be for the event to work.
I'm not entirely sure about the layout and the behavior of the project, but from my own bitter experience with TextEvents I learned that the less you mess around with the textfield, the better.
Maybe you should consider hiding the textfield instead of adding/removing it, i.e. changing the way the UI works without actually touching the affected elements in any way whatsoever.
If that's not possible, I'd try "rewriting" the text in the field and reattaching the event listener once the object is made visible again.
Hope you solve it quickly, texts are a pain in Flash.

HTML5 drag text mask and record drag

I have something cool in mind for a new personal project, more to update my skills really, but need a push in the right direction. It's a bit difficult for me to explain so bear with me.
Users can basically color the fill of a piece of text from left to right. They can do so, by dragging from the left to right. To achieve this I was thinking of [HTML5's text/image mask][1]. Users would then basically drag the text mask from left to right, and it would appear as they "colored" in the piece of text..
Now here is the difficult part; I want to record this drag and to allow users to replay how it was "colored" in by the user. So how fast/slow at different positions of the text.
Please let me know if my explanation unclear, otherwise I'd love to hear your suggestion/hint.
Thanks again!
Seems like no one have been on this road, where the fill of a text is animated through a drag. The closest I got was this: http://jsbin.com/ubaxi/ An animation of the fill with the canvas tag. Not very useful for my case, but still worth mentioning.
Also interesting, and maybe the way to go: Using jQuery animate on canvas objects