I can't beleive I never thought to try this before>>??
I hope someone tries this ..if they haven't already..
Wasn't sure where to post this..
Ok, I use a certain piece of code often through out a project..I did in my last one as well--which is why i can't beleive I didn't try it before.
Normally you would use this code if you wanted to go back X amount of frames.
However, I prefer it for hotspots
and I like to use it thru out my whole project.
It also really
limits the amount of frames you use in a project-
If you have a lock on a door...And you want a close up of the lock--
Or wish to interact with that lock in close up.....Instead of going to another frame to examine the lock..etc
Similar to a HOG game.
----- Ok so this is just an example-Looking at a Lock in close up------
Using a 800*600
Create Variant called framevar
Create 2 HS on the frame-- Make one of them small -HS(2)]
In the HS(1); Door with lock
Use a magnifying cursor & in the Advanced
Framevar = Action.GetCurrentFrameName
Action.Load picture HS(2)
Move/resize HS(2)640*480--Pic must be made this big-But you make the HS small and transparent
In HS(2) Add this to the Advanced;
Action.GoToFrame framevar, 0.5, 1
Add a GoBack cursor
When you click the magnifying glass hs in runtime....and it loads the closeup of lock
...When you click the close up to goback...It transitions back to the frame!
You're not actually leaving the frame, youre loading the same frame..but the transition still takes place..Only it appears as though its on the HS..itself..
The rest of the frame looks static..
It works best with Alphablending.
It's neat!....Pretty happy when I saw that..Something I have been wanting to do for a very long time.
**Normally you would disable
HS(2) in the Frame's properties..
So if the user passes over it..They don't see the cursor and or actions take place..
You would enable
HS(2) again in HS(1)~**