Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Oct 2003
    Posts
    1
    Member #
    3730
    I am using dreamweaver MX and am having trouble getting my links to turn off my music! The file is fine, the page loads and there is an ON link and an OFF link. the ON link executes a javascript to send the flash program to frame 2 (which begins the music) and the OFF executes javascript to either stop the movie or go back to frame 1 (should do the same thing, right?) My problem is that when I click on, the javascript exectues and the music plays, but when I click off, it tells me i have a javascript error (probably because i can't just interupt the javascript already playing). how do i solve this problem? Thanks


    nick

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,485
    Member #
    425
    Liked
    2783 times
    Welcome to the board, nickluto!

    My suggestion would be not to use JScript at all, but to have buttons embedded into the movies that direct your users to the appropriate frames. After all, if they can hear the music, they have the Flash player, and if they have the Flash player, then they could see embedded buttons. Therefore, there's no real reason for you to use javascript hyperlinks.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:43 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com