PDA

View Full Version : Navigation through scenes


lefterist
05-28-2008, 05:48 PM
Hi all,

In an interactive presentation with maps, I'm trying to do navigate as follows:

I've got my slides in the presentation, and in a certain slide (which is a certain frame) I push a button programmed to go to another scene, with the classic onRelease gotoAndStop. What if I want to push now in my other scene a button which will take me to the certain slide (i.e. certain frame) from which I left? Someone, told me that it works with parent / children, but as a novice in Flash, I certainly don't know how to do it..

An here's my other problem. Whatever i tried, I cannot get a button to unload an external .swf that I've loaded with another. I've searched this forum and others, and whatever the syntax or scope or plain on release function, It doesn't work.. I also have another problem with this, I want to change its alpha, but trying with "my_movie.alpha = x", while loading it, it also doesn't work.

I'd appreciated very much if you helped me, since these problems stop me from finishing this next-week-congress presentation..

lefterist
05-29-2008, 08:28 PM
Is this really so difficult for someone to help me?

atomic
05-30-2008, 02:56 AM
Attach your .fla to this forum...

nanoflame
05-30-2008, 08:29 AM
...but trying with "my_movie.alpha = x"...

The alpha property is supposed to come with an underscore before it

my_movie._alpha = x;

lefterist
05-30-2008, 09:31 AM
Attach your .fla to this forum...

I attach a shorter version without much graphics and mc's, because my full work is 40Mbs.
Now: in scene 1, there is an "m" button, straight to the right of 3 other navigation buttons. with this "m" button, we gotoAndStop to frame 1 of Scene 2. In Scene 2, there is a "p" button, which I want to program to go back to the frame which I left from..


Here's the RS link, because I only could reduce this .fla to 5Mb..
http://rapidshare.com/files/118771187/presentation.fla

atomic
05-30-2008, 03:27 PM
You need to continuously store each viewed last slide's frame number in a variable...
When then jumping to another scene, you can target the previously screened slide through that variable...

lefterist
05-30-2008, 03:38 PM
You need to continuously store each viewed last slide's frame number in a variable...
When then jumping to another scene, you can target the previously screened slide through that variable...

You don't mean sth like "var x=frame_number" and afterwards gotoAndStop(x), right? not any function?

atomic
05-30-2008, 03:40 PM
Yep...