Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why does loadMovieNum not work with keyPress?

Status
Not open for further replies.

funkymonk

Technical User
Dec 18, 2000
588
GB
I want people to have the option to navigate my site by using the keyboard if they wish.

I used this code on my button:

on (release, keyPress "1") {
loadMovieNum ("movies/my_movie,swf", 1);
}

but it doesn't seem to work with the loadMovieNum action.

Why, or am I doing something wrong...? funkymonk B-)

rod@sameplanet.co.uk
[on it's way!]

********************
 
you've got a comma where a full-stop (or period) should be

dave
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
ie: my_movie.swf
dave@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^​
 
Ah, that's just a mistake I made when writing this.

The code I had on my site last night worked with the mouse action but not with the load movie command. Also, I have an mc that say's what section your in, this is part of the main movie. This works with the keyPress action but the keyPress won't load the movie.

So basicaly everything worked with clicking the button.

Only the mc on the main movie worked with the keyPress. funkymonk B-)

rod@sameplanet.co.uk
[on it's way!]

********************
 
Ok, weird.....

I just did a quick sample page and it worked fine. I have no idea why it never worked last night, maybe just spent too long looking at it.

Oh well, sorted now. funkymonk B-)

rod@sameplanet.co.uk
[on it's way!]

********************
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top