473,378 Members | 1,411 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

gotoAndPlay causes problems with mouse

Hi,

I'm a newbie on this, I've been hours with this and I can't find where is my problem.

The 1st scene in my movie has this script on the last frame:

Expand|Select|Wrap|Line Numbers
  1. gotoAndPlay("Scene2",1);
  2.  
The 2nd scene has several Movie Clips that are programmed to listen the PRESS action of the mouse:

Expand|Select|Wrap|Line Numbers
  1. on(press)
  2. {
  3. code...
  4. }
  5.  
But when I play the movie, the mouse action is no longer listened by Flash. It appears the "hand" pointer, but when I click on the objects it has no effect.

If I set this 2nd scene as the first one to be played, the scripts works OK. So, I don't understand why after a gotoAndPlay the scripts stop working.

Thanks in advance everyone.
Oct 2 '07 #1
1 1734
I forgot to say:

The "code" inside the 2nd Scene Movie Clips scripts is another gotoAndPlay, which makes the timeline's Movie Clips jump to another of their own frames.

I'll put it clear: it's a door open animation. 1st frame contains door closed and frames from 10 to 100 the animation of the door when opens.

So, the "code" inside the 2nd Scene Movie Clips scripts is the gotoAndPlay to the frame number 10.

If you want I can upload the full Flash application.

Thanks!!
Oct 2 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

18
by: Simula | last post by:
I am developing an HTML javascript application and I want to preserve state in a way that can be book-marked. I chose HTML anchors as a means of preserving state. When the application changes...
2
by: Dutchy | last post by:
Hi there, After spending several hours trying all I could imagine and search for in Google I gave up. In a continuous form I want to sort the choosen column by clicking the header (label) of...
8
by: MLH | last post by:
I use a mouse-down procedure to trap right mouse clicks and CTRL-Right mouse clicks. Running the procedure must put honey or some other sticky substance into my keyboard because subsequent...
5
by: Bryan Masephol | last post by:
Hi All I got a datagrid and a ComboBox on a form. I populate the combobox with years for all the data avaiable. When the user chooses a year the datagrid is populated with the specific years...
2
by: kumar_subrahmanya | last post by:
Hi, I am facing problems in sending mouse clicks via SendInput API. Mouse clicks are being sent but at the X,Y co-ordinates. I am mapping my monitor to the (0,0,65535,65535) virtual monitor as...
1
by: kumar_subrahmanya | last post by:
Hi, I am facing problems in sending mouse clicks via SendInput API. Mouse clicks are being sent but at the X,Y co-ordinates. I am mapping my monitor to the (0,0,65535,65535) virtual monitor as...
3
by: endline | last post by:
ok for some odd reason the movie clip I'm using as a button will not gotoandplay the frame label I want. the code is as follows on(release) { trace("did you get here")...
2
by: mrahmed | last post by:
hi i'm new here and also om new in actionscript i'm trying to make a menu with submenu and i want when the mouse over the menu or the submenu make an effect it works when the mouse is over the...
7
chunk1978
by: chunk1978 | last post by:
ok... i've been trying to make this work for 2 days: i have a scene with a button and a movie clip. the movie clip is called "MovieClip1". within the movie clip i've labeled a frame late in the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.