Skip navigation
dmurphy
Currently Being Moderated

editing button

May 11, 2008 10:01 AM

I have a flash template, the fla and the swf. I want to edit the buttons to point to the correct pages. I have cllicked on the buttons and did an edit, then in the action pointed the the index.html made it the _parent, locked the button. My problem is it is not going to the index page.

Is there something else I need to do.

Thank you
Darlene D. Murphy
 
Replies
  • Currently Being Moderated
    May 11, 2008 10:51 AM   in reply to dmurphy
    Can you show the code you used for the button? You may not need to use the _parent reference if the button is in the movie scene that will be replaced with the index page.
     
    |
    Mark as:
  • Currently Being Moderated
    May 11, 2008 12:05 PM   in reply to dmurphy
    The swf file isn't going to be helpful in resolving the problem with the buttons if the buttons are in the fla file. The fla file is what needs to be scrutinized. I would expect that the swf file is just the published output of the template.

    How large is the fla file (as in bytes)?

    Is the template another file separate from the fla file you have?
     
    |
    Mark as:
  • Currently Being Moderated
    May 11, 2008 12:39 PM   in reply to dmurphy
    They have to be separate, but I'm wondering if the swf is just what the fla file produced (that's what they do, create swfs, among other things).

    I was going to offer to take a look at it, but that's a tad too large a file.

    So can you attach the code to your next posting for one of the buttons in the fla file that is giving you a problem?
     
    |
    Mark as:
  • Currently Being Moderated
    May 12, 2008 3:40 PM   in reply to dmurphy
    I sent you a private message yesterday, but it looks as though you may not have seen it yet.

    In my previous posting above, I meant for you to attach the code for one of your buttons to a posting so that it could be looked at here. To do that, click the reply link in this posting and a window will open which has a few buttons, one of which is Attach Code.

    The code for your buttons may not be so long that you'd need to use that... you could just paste it into your posting as part of the message if so. The Attach Code feature retains the indented format that the code might have, whereas pasting it in the posting keeps every line left justified. Example:

    Pasted code:

    var words = "this line is not indented";
    var more = "this has 5 spaces in front of it";

    Attached Code:
     
    |
    Mark as:
  • Currently Being Moderated
    May 12, 2008 7:07 PM   in reply to dmurphy
    It's probably best to step back to your original posting. You mention editing a button and did something in the action to point it to index.html. Can you describe what you did in more detail as far as editing the button? Where is the "action" that you say you pointed the index.html page.

    If you can recreate a simplified version of what you did for this button in a smaller Flash file I can take a look at it. Just include a button that you have edited already in the template file... Open a new file, copy the button from the stage in the template file, and paste it onto the stage of the new file. It doesn't have to work at all, I just need to see what you have for the button coding. If the button coding is in the timeline, then include it in the smaller file's timeline also.
     
    |
    Mark as:
  • Currently Being Moderated
    May 12, 2008 9:11 PM   in reply to dmurphy
    It doesn't sound like you did it properly. Can you check the Publish Settings and tell me what version of Actionscript the Flash file is using?
     
    |
    Mark as:
  • Currently Being Moderated
    May 13, 2008 5:12 PM   in reply to dmurphy
    You don't need actionscript 2, but it's probably better to use it (1 is just old stuff that has little if any future in Flash)

    Can you copy the getURL line of code from one of the buttons and paste it here in the posting like you did for the error message?

    It sounds like that might be the key to solving this... actually if you could copy and paste all of the code surrounding the getURL line it would be even better because that lline just might be a victim of another line..
     
    |
    Mark as:
  • Currently Being Moderated
    May 13, 2008 5:23 PM   in reply to dmurphy
    Oh, I retract what I said regarding Actionscript 2. It is possible that there are other parts of the template that are using AS1 that will end up being problematic with AS2 being specified, so it may be best to leave it at AS1 for now.
     
    |
    Mark as:
  • Currently Being Moderated
    May 14, 2008 5:12 PM   in reply to dmurphy
    Can you copy the getURL line of code from one of the buttons and paste it here in the posting like you did for the error message?

    It sounds like that might be the key to solving this... actually if you could copy and paste all of the code surrounding the getURL line it would be even better because that lline just might be a victim of another line.

    If you can't do this, I can't help you... and in that case, I recommend you drop this series of postings and start a new one so that someone else might see 0 responses and try to help you (not intended in a nasty way... it's just that postings unanswered get more immediate attention) Try posting it in the Actionscript 1/2 forum since that's where your problem probably lies.
     
    |
    Mark as:
  • Currently Being Moderated
    May 15, 2008 7:44 AM   in reply to dmurphy
    Start a new posting.
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points