At 12/24/25 05:34 AM, RosieUV wrote:At 12/23/25 09:27 PM, Edeshye wrote:bros if you could only see my projects from 2020 or so...
i used to put enter_frame functions and not remove them (i thought they got destroyed when the symbol was not on stage).
I had no idea why there were a bunch of error messages every single frame , but it was working so i just ignored them lol.
i managed to get the worst possible performance for a flash game.
Nowadays i'm being very thorough, though (thought it through!)!
I've never used flash, does that function basically later scenes upon scenes all going on at once?
It's a loop, the code executes every frame (meaning 24 times per second if you're on 24 fps). for example if i want a time bar to get shorter and shorter i can set something like this inside the enter_frame function:
if(bar.width > 0){
bar.width -= 10;
}
else{
//destroy symbol or whatever
}
But for some reason the function does not destroy itself if you don't tell it to, even if you go to another frame in which the original symbol is not present. This caused the stacking of many enter_frame functions causing a bunch of errors, eventually fucking up the performance and lagging the shit out of the game.
So, if i understand your question right.. yes haha
At 12/24/25 05:34 AM, RosieUV wrote:I've never used flash
You still have time to learn it for Flash Forward 2026 btw c: