Skip navigation
Currently Being Moderated

Could someone help me with my action script?

Dec 9, 2012 6:49 AM

Tags: #flash #action_script

I followed a tutorial on how to make an interactive photo gallery but for some reason the file isn't working. I am new to flash and no very little about action script.

 

Would someone be willing to take a look at my file and advise me?

 

Thanks

 
Replies
  • kglad
    72,235 posts
    Jul 21, 2002
    Currently Being Moderated
    Dec 9, 2012 7:38 AM   in reply to southside_jon

    do you see any error messages? 

     

    if yes, copy and paste the error message after clicking file>publish settings>swf and ticking "permit debugging".

     

    if no, copy and paste the code you are using.

     
    |
    Mark as:
  • kglad
    72,235 posts
    Jul 21, 2002
    Currently Being Moderated
    Dec 10, 2012 7:11 AM   in reply to southside_jon

    no, i don't download and correct files unless i'm hired.

     

    you can always use the trace function to debug your app.

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 10, 2012 8:41 AM   in reply to southside_jon

    Did your tutorial have you download XML from a server to feed the images to the gallery? Many people forget to check for errors loading the XML file or forget to "do something" once the XML is loaded. Common things not to look for are IOErrorEvent.IO_ERROR or SecurotyErrorEvents warning you the XML you're trying to load is on a different domain (a webserver online) and it doesn't have permission (a crossdomain.xml).

     

    In those situations it can appear like it's doing nothing.

     

    Did you just take the code of the tutorial at the end and try to play it as you went through the tutorial? If you just copy and pasted it all you'lre going to have a hard time isolating the issue. In that case you can always re-do the tutorial until you start to see issues. Then you know where they are.

     
    |
    Mark as:
  • kglad
    72,235 posts
    Jul 21, 2002
    Currently Being Moderated
    Dec 10, 2012 9:22 AM   in reply to southside_jon

    you probably have a file name typo.

     

    upload your files (html, swf, xml, images) to a server and post a link to your html.

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 10, 2012 9:25 AM   in reply to southside_jon

    How are you "adding more images"? Are you adding in the new images into something like an Array or Object that's keeping track? XML is typically used but you said you're not using that. Chances are you might be using a library MovieClip symbol, duplicated it but didn't set a new unique ActionScript linkage.

     
    |
    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