-
1. Re: creating slide shows in flash
Ned Murphy Apr 27, 2010 1:34 PM (in response to Chrsitian)The first image you show is probably the most telling, especially if the second image you show is taken from the tutorial and is not a screenshot of what you've done. Based on the error messages, you are using parentheses where you should be using curly braces.
next_btn.onRelease = function(){
nextFrame();
}
Also, just for the sake of it, check your Flash Publish Settings and make sure you have AS2 selected for the Actionscript version.
-
2. Re: creating slide shows in flash
Chrsitian Apr 27, 2010 3:27 PM (in response to Ned Murphy)Hey Ned, thank you SO very much. The second image is indeed from the tutorial, and I was using parentheses instead of curly braces.
I was not aware of the different terminology - duhhhhh!!!
So, I am sure that is it!
Again, many thanks for taking the time to help!
christian
-
3. Re: creating slide shows in flash
Ned Murphy Apr 27, 2010 3:36 PM (in response to Chrsitian)You're welcome Christian.
-
4. Re: creating slide shows in flash
Chrsitian Apr 27, 2010 4:13 PM (in response to Ned Murphy)Hey Ned - I am so sorry. I got past the first hurdle, but now I can't get the slideshow to "gotoAndStop(1);"
Here is my script:
Here is the tutorial script:
And I simply am not able to see any difference. I checked and I have AS2 selected.
Thanks for your patience!
christian
=========
ps. here is the tutorial:
http://previews.learnflash.com/previews/flash/basicslideshow.html
-
5. Re: creating slide shows in flash
Ned Murphy Apr 27, 2010 4:46 PM (in response to Chrsitian)The code looks reasonably okay, so you should test to see if your button is set up to deal with it. Adding the following line of code inside that onRelease function, outside of the conditional code...
trace("button works");
If you get that text appearing in your Output panel when you click the button, the button is set up properly. If you don't, then you need to be sure that you have assigned that instance name to the button (in the Properties panel where it says <Instance Name> when it's not assigned). If the name is asigned, make sure that code is executing in a frame where the buttons exists by that name.
-
6. Re: creating slide shows in flash
Chrsitian Apr 27, 2010 6:20 PM (in response to Ned Murphy)Again, many thanks Ned - I will give that a try!
christian


