Share
Go down
avatar
Spritan
Age : 16
Number of posts : 2
Registration date : 2017-06-26
View user profile
Hello is there a way to make the swf skip to any frame without having to start from the beginning all the time? My movie is getting bigger and when i wanna look at my new changes i have to wait just to get to that point every time -_-
sometimes if I'm not paying attention i'll miss the point where im supposed to pause and look at my changes but then it loops again and i gotta wait .. AGAIN -______-
avatar
Administrator
Age : 24
Number of posts : 4859
Registration date : 2009-01-23
Location : Hollow Bastion
View user profilehttps://www.youtube.com/channel/UC0ntn5nE-2rEXLA8GQ7mtsAhttps://rapidfir3pho3nix.deviantart.com/https://discordapp.com/channels/142444698311589888/142444698311589888https://twitter.com/rapidfir3animshttps://www.facebook.com/Rapidfir3Pho3nix/https://www.twitch.tv/therapidfir3pho3nix
this is what splitting up your animation into scenes is for lol but I think if you use actionscript you can add
Code:

gotoAndPlay(<frame number>);
on the first frame of your animation and it will automatically skip to that frame. I haven't done this so idk if it completely works like that
avatar
Spritan
Age : 16
Number of posts : 2
Registration date : 2017-06-26
View user profile
I tried that already and it didn't work -- tried something else but still using the same code (I'll spare details unless you guys really wanna know -_-) and now it works! Thanks??
avatar
Spritan
Age : 27
Number of posts : 7616
Registration date : 2010-09-08
Location : Drinking your expired K
View user profilehttps://www.youtube.com/channel/UClJMXtpQUTAA2kNWj_dwWnAhttps://twitter.com/abxelic
what actionscript are you using? AS2 or AS3? the code rapid gave you is for AS2 I believe

___________________________________________________________________________________________

avatar
Spritan
Age : 25
Number of posts : 6
Registration date : 2018-03-01
View user profile
@shojinAKA wrote:I tried that already and it didn't work -- tried something else but still using the same code (I'll spare details unless you guys really wanna know -_-) and now it works! Thanks??

I would like to know how you did it

___________________________________________________________________________________________

Don't let no one or nothing including YOURSELF stop you from achieving YOUR dreams.
avatar
Administrator
Age : 24
Number of posts : 4859
Registration date : 2009-01-23
Location : Hollow Bastion
View user profilehttps://www.youtube.com/channel/UC0ntn5nE-2rEXLA8GQ7mtsAhttps://rapidfir3pho3nix.deviantart.com/https://discordapp.com/channels/142444698311589888/142444698311589888https://twitter.com/rapidfir3animshttps://www.facebook.com/Rapidfir3Pho3nix/https://www.twitch.tv/therapidfir3pho3nix
@Pixelmated wrote:
@shojinAKA wrote:I tried that already and it didn't work -- tried something else but still using the same code (I'll spare details unless you guys really wanna know -_-) and now it works! Thanks??

I would like to know how you did it

Are you using AS2 or AS3?
avatar
Spritan
Age : 25
Number of posts : 6
Registration date : 2018-03-01
View user profile
@Rapidfir3Pho3nix wrote:
@Pixelmated wrote:
@shojinAKA wrote:I tried that already and it didn't work -- tried something else but still using the same code (I'll spare details unless you guys really wanna know -_-) and now it works! Thanks??

I would like to know how you did it

Are you using AS2 or AS3?


I use action script 2.

___________________________________________________________________________________________

Don't let no one or nothing including YOURSELF stop you from achieving YOUR dreams.
avatar
Administrator
Age : 24
Number of posts : 4859
Registration date : 2009-01-23
Location : Hollow Bastion
View user profilehttps://www.youtube.com/channel/UC0ntn5nE-2rEXLA8GQ7mtsAhttps://rapidfir3pho3nix.deviantart.com/https://discordapp.com/channels/142444698311589888/142444698311589888https://twitter.com/rapidfir3animshttps://www.facebook.com/Rapidfir3Pho3nix/https://www.twitch.tv/therapidfir3pho3nix
And you tried the code I posted above?
avatar
Spritan
Age : 27
Number of posts : 7616
Registration date : 2010-09-08
Location : Drinking your expired K
View user profilehttps://www.youtube.com/channel/UClJMXtpQUTAA2kNWj_dwWnAhttps://twitter.com/abxelic
if he used your code and it didn't work then there's only 5 possible reasons why it didn't work.

1) since the code you provided only works on the timeline, if he placed it on a symbol instead then the code would only apply to that specific symbol and not the whole movie and buttons would need a slightly altered code so that it knows to check for mouse clicks.

2) He didn't realize flash was set to as3 and not as2.

3) he used the text tool and typed it into the animation instead of the action tab

4)He simply misspelled the code.

5)he has a preloader on the first frame which interfered with the code so instead he moved it to frame 2.

I can't think of any other scenario where this could have gone wrong....unless he wanted a specific scene in which case your provided code didn't specify scenes but from what I can tell he only has 1 scene he's working on so that issue wouldn't apply here

___________________________________________________________________________________________

avatar
Spritan
Age : 25
Number of posts : 6
Registration date : 2018-03-01
View user profile
There we go. Got it to work.Man this will save me alot of time. Thank you guys!

___________________________________________________________________________________________

Don't let no one or nothing including YOURSELF stop you from achieving YOUR dreams.
Back to top
Permissions in this forum:
You cannot reply to topics in this forum