As was foretold, we've added advertisements to the forums! If you have questions, or if you encounter any bugs, please visit this thread: https://forums.penny-arcade.com/discussion/240191/forum-advertisement-faq-and-reports-thread/
Options

I have Flash CS4 amnesia

AtomBombAtomBomb Registered User regular
edited November 2009 in Help / Advice Forum
So I have a movie with 3 buttons in it that link to webpages. For some reason the 3rd one isn't working. I'm 99% it's something easy and stupid, but I can't for the life of me figure it out. If anyone has a minute, I've uploaded the fla to:

http://ymcatucson.org/Documents/november4.fla

I'd try to explain everything I did, but it seems easier just to put the file up. Thanks for any help :)

I just got a 3DS XL. Add me! 2879-0925-7162
AtomBomb on

Posts

  • Options
    JasconiusJasconius sword criminal mad onlineRegistered User regular
    edited November 2009
    Save it out as a CS3 file and i can help you. I only have CS3.

    It's probably a symbol naming issue.

    Jasconius on
  • Options
    AtomBombAtomBomb Registered User regular
    edited November 2009
    I really should start saving everything as CS3 anyway. Here it is in that format:

    http://ymcatucson.org/Documents/november4d.fla

    The code is probably broken now, since CS4 can't use getURL. I don't think the issue is with the code though, I think it's the button. I don't get the clickable hand in the last part of the movie, like I do in the first 2 parts.

    Thanks Jasconius.

    AtomBomb on
    I just got a 3DS XL. Add me! 2879-0925-7162
  • Options
    JasconiusJasconius sword criminal mad onlineRegistered User regular
    edited November 2009
    "file not found"

    Jasconius on
  • Options
    AtomBombAtomBomb Registered User regular
    edited November 2009
    Oops, I uploaded the SWF by accident. It should work now :)

    AtomBomb on
    I just got a 3DS XL. Add me! 2879-0925-7162
  • Options
    JasconiusJasconius sword criminal mad onlineRegistered User regular
    edited November 2009
    Objects referenced in code must exist at Frame 1 of the timeline where the code is written.

    Therefore, you are referencing btn3, for example, but btn3 is not on the timeline until late in the movie, so the reference is null.

    The easy fix is to place all buttons on the timeline in seperate layers for all frames, and move them off stage until it's their turn to be clicked.

    Jasconius on
  • Options
    AtomBombAtomBomb Registered User regular
    edited November 2009
    Thanks! I'll redo the file and try again.

    AtomBomb on
    I just got a 3DS XL. Add me! 2879-0925-7162
Sign In or Register to comment.