Hi, I am building a website that is all in flash. In the first frame there are 6 buttons. Each button has a code to go to a different place in the timeline, where something happens. For example, one of the buttons has this code: on (release) { gotoAndPlay("web"); }
Another button has this code: on (release) { gotoAndPlay("widgets"); } And so on. Everything happens on the same timeline.
When I publish the movie to test it (ctrl+enter), everything works great.
The problem happens when I upload the file to my ftp and try to view it online. In that case, when pressing one of the buttons, instead of jumping to the place in the timeline where it should go, it just continues on to the next frame on the timeline. So for example if I press the "web" button, instead of going to the label "web" it just continues on to frame 2 in the timeline, and then 3,4,5 and so on until there is a stop(); in the actionscript.
After the first press though, it goes back to working fine. Meaning, the second time I press the "web" button, it will go to the "web" label, and from the second click onwards everything works great. it's just the first click on ALL the buttons that doesn't work, although it does work locally...
Did this ever happen to any of you? Did you find a solution? Any suggestions are welcome!
mmmm...ok, what i understand from ur problem is that the buttons doesnt work with u,when u test it on the browser i hope that u solved this problem.. anyway try this code
instead of on (release) { gotoAndPlay("widgets"); }
i think that goAndPlay code is for playing frams on the flash it self,not to get url from out side of the swf file i hope that u understand me,and i'm really sorry about my weak English.. best wishes,bye
Making a website in Flash is 'flashy' but search engines like Google will never find your site.
As for your problem try working in different scenes. Working in one timeline makes most file unsteady. Or like psykopath said; Use numbers. You can't screw up with numbers.
New deals posted everyday, starting Black Friday and running through the holiday season! No hassles, no lines - just awesome savings on art, deviantWEAR, Premium Memberships and more!
Daily Literature Deviations is a group that is dedicated to bringing literature to the forefront of the deviantArt community. We attempt to accomplish this by daily featuring Literature artists from around the community that deserve the recognition, but are not getting it.
Each day we will feature 5 deviations from the Literature categories in a News Article. In order to support the artists that we feature, we ask that you the news article as well as check out the individual pieces. We understand that each day you may not be able to check out each and every one of the pieces, everyone has their own things going on. We just ask that you make an attempt to help support the growing Literature community.
^Ikue has been a devious member of our community for almost 7 years and in this time he has proven to be nothing short of dedicated and devoted. Whilst volunteering his time over the last 22 months as a Gallery Moderator within the Community Relations Team, Chris has brought the Vector gallery and many vector artists directly into the spotlight. ^Ikue's commitment to the community is evident in everything he touches and you can always find him reaching out to others with an encouraging word. Chris is a natural leader with a vibrant and empathic personality, and is a role model for deviants everywhere. It's ev... Read More
I am building a website that is all in flash.
In the first frame there are 6 buttons. Each button has a code to go to a different place in the timeline, where something happens. For example, one of the buttons has this code:
on (release) {
gotoAndPlay("web");
}
Another button has this code:
on (release) {
gotoAndPlay("widgets");
}
And so on.
Everything happens on the same timeline.
When I publish the movie to test it (ctrl+enter), everything works great.
The problem happens when I upload the file to my ftp and try to view it online. In that case, when pressing one of the buttons, instead of jumping to the place in the timeline where it should go, it just continues on to the next frame on the timeline. So for example if I press the "web" button, instead of going to the label "web" it just continues on to frame 2 in the timeline, and then 3,4,5 and so on until there is a stop(); in the actionscript.
After the first press though, it goes back to working fine. Meaning, the second time I press the "web" button, it will go to the "web" label, and from the second click onwards everything works great. it's just the first click on ALL the buttons that doesn't work, although it does work locally...
Did this ever happen to any of you? Did you find a solution? Any suggestions are welcome!
Thanks!!
Noa