I have a flash movie set for a main menu.
Everything works fine, animations, events, transfering data forth/back, saving/loading, etc.
Everything except one minor detail.
When the flash movie first loads on frame 1 it still does not have the data from my save file.
The data is populated through Set functions from Unreal Script in the "Start" function and yet when the movie shows for the first time it still uses data from the AS, not the one populated from US.
Please someone with enough experience point me to whether I should refactor my menu system to show some initial screen, that does not depend on the UScript data in order to fix this, or is there a way to
send variables from UnrealScript to Scaleform before frame one gets rendered?
I just shifted all layers to the right 1 frame and copied all keyframes for visual elements.
Because my buttons "move in" at frame 1 there is nothing visible.
So basically my label starts at frame 2. At frame 1 all internal variables are initiated, then the UScript re-populates them with correct data and at frame 1 all shows as expected.
If there is a better way to do that without the additional frame at the start I would be very tankful if someone shares.
Everything works fine, animations, events, transfering data forth/back, saving/loading, etc.
Everything except one minor detail.
When the flash movie first loads on frame 1 it still does not have the data from my save file.
The data is populated through Set functions from Unreal Script in the "Start" function and yet when the movie shows for the first time it still uses data from the AS, not the one populated from US.
Please someone with enough experience point me to whether I should refactor my menu system to show some initial screen, that does not depend on the UScript data in order to fix this, or is there a way to
send variables from UnrealScript to Scaleform before frame one gets rendered?
I just shifted all layers to the right 1 frame and copied all keyframes for visual elements.
Because my buttons "move in" at frame 1 there is nothing visible.
So basically my label starts at frame 2. At frame 1 all internal variables are initiated, then the UScript re-populates them with correct data and at frame 1 all shows as expected.
If there is a better way to do that without the additional frame at the start I would be very tankful if someone shares.
Comment