Click to See Complete Forum and Search --> : I really need some help
nigella
09-07-2005, 05:02 PM
Hello everyone,
I have created a small flash movie for friends from work, now there are .swf slideshows that i have included, by way of "get url", they play fine!, however when they hit the back tab in thier browser it go's back to the start of the main movie, this happens every time they want to see a different slideshow.
ive tried so hard to understand how i can return from the "slideshow page" to the main movie starter slideshow frame & not the begining agian.
below is my link http://www.geocities.com/nigellaart/drykorwebsite.swf
please view as this will help you to understand.
if you can return a reply soon it would be appricated.
regards,
Nigel. :)
FLASHPULSE
09-07-2005, 06:07 PM
You can't hit the back browser button as you have noticed.
Create a shape and make it a button. In the button properties make it go back to a certain frame number.
tmoore935
09-07-2005, 06:23 PM
The problem could be fixed by redesigning your web site since it is a swf. But an easy way is to fix the problem is to have the slideshow open up in a different window. When the user is done, he simple closes the window.
nigella
09-07-2005, 06:23 PM
Thanks, but i think you dont understand, when playing the main movie it stops before the last frame-you then click the botton "slideshows" it then moves to the last frame giving them the chioce to different slideshows, now when they click on one "it plays" at the end of the slideshow the last frame gives the viewer the choice to "replay"/"back".
the replay works i was able to send it back to the first frame of the sildeshow.
the problem is that i am unable to return the slideshow "back" to the frame before the last in the main movie, the "action" does not give me the option to return to a frame from the mian movie-only if i use the "get url"-but this then only repeats the whole main movie-this is what i'm trying to avoid.
how do i get back from the slideshows to the main movie at the chosen frame??
regards,
nigel. :p
nigella
09-07-2005, 06:27 PM
The problem could be fixed by redesigning your web site since it is a swf. But an easy way is to fix the problem is to have the slideshow open up in a different window. When the user is done, he simple closes the window.
GREAT- BUT HOW DO I DO THAT?
REGARDS,
NIGEL.
pherbrick
09-07-2005, 06:36 PM
Nigel's using "get url" to move between swfs in a browser. He wants to return to a mid point from another swf using "get url". Can't be done. However, the swfs can be broken up into smaller pieces to make it look like that has been done.
Break up drykorwebsite.swf into two swfs. First swf ends w/ slideshow button frame, second swf starts with slideshow button frame and ends with list of slideshow buttons - note that the second swf is starting with the same frame that the first swf is ends with. Lets call these two swfs drycor1 and drycor2, just for the sake of this example.
Commands in the first frame frame of a swf often don't execute, so start drycor2 with two copies of the last frame from drycor1, and have the stop() command on the second frame with the Slideshow (go to list of) button.
Organizationally, you now have three pieces: drykor1 (opening sequence), drykor2 (slideshow selector), and any one of the slideshows.
1) drycor1 executes a "get url" to drycor2.
2) drycor2 sits there waiting for button click to slideshow list. Click Slideshow
3) Slideshow list pops up, still in drycor2. Select a slideshow and
4) Selected slideshow executes, with back button ("get url") pointing to drycor2 (line 2)).
Need to split drykorwebsite.swf into drycor1, 2 and 3 if you want to move from a slideshow back to the list of slideshows.
Swf slideshow navigation is usually done with loadMove / loadMovieNum. The advantage is that the main swf remains in the background, and the slideshow is unloaded when you're through w/ it. Much cleaner.
Load Movie is a pre configured command available in the Button Actions popup menu.
Peter
tmoore935
09-07-2005, 06:37 PM
Ill make a demo. give me 30 minutes or so.
nigella
09-07-2005, 06:47 PM
Peter & Tmoore, thanks a lot-yes i see what you mean Peter,Tmoore will pick up your demo tomorrow, its 12.45am right now-need some sleep, i'll pick up the tread next time.
Best Regards,
Nigel. :thumbsup:
gusmus
09-07-2005, 06:47 PM
make a button or two and then go to "action and sounds overview" there are a multitude of commands at your command, if you wish to use them. EG: got to next frame,,go to last frame,, get url ,, etc etc etc.
tmoore935
09-07-2005, 07:47 PM
this this an example:
http://www.diversioncentral.com/nigella/demohelp.html
demohelp.html is the main movie. Menu.swf is loaded at the end. find it under views>>actions and sounds overview. This menu.swf loads pics2.swf and pics3.swf. So there are 4 swfs for this demo.
this is done with loadMovieNum which I loaded the slide shows at level 20.
The menu.swf is loaded at level 10.
in the 1st button in the menu.swf you will find:
on (release) {
loadMovieNum("pics2.swf", 20);
}
in the 2nd button in the menu.swf you will find:
on (release) {
loadMovieNum("pics3.swf", 20);
}
the second button loads at level 20 also thus erasing the pics2.swf.
note:
in the slides movie fun files, you will need to add this to the first frame. (You must switch to advanced to do this.)
these are pics2.fun and pics3.fun
this._x = 400;
this._y = 50;
this is how I positioned the slide shows.)))
This is the best that I can explain it so look thru all the files before you try to figure it out. To me it is very simple, but it was not when I was first learning. My own home page is about 20-30 swf files which all work together.
blanius
09-07-2005, 10:06 PM
You could actually do the get url and include a variable in the url ?var=framename and look for that in the movie but it seems a very un elegant method. Tmoore has the right idea and it will require you to rework your flash a bit but much better method.
nigella
09-08-2005, 03:08 AM
this this an example:
http://www.diversioncentral.com/nigella/demohelp.html
demohelp.html is the main movie. Menu.swf is loaded at the end. find it under views>>actions and sounds overview. This menu.swf loads pics2.swf and pics3.swf. So there are 4 swfs for this demo.
this is done with loadMovieNum which I loaded the slide shows at level 20.
The menu.swf is loaded at level 10.
in the 1st button in the menu.swf you will find:
on (release) {
loadMovieNum("pics2.swf", 20);
}
in the 2nd button in the menu.swf you will find:
on (release) {
loadMovieNum("pics3.swf", 20);
}
the second button loads at level 20 also thus erasing the pics2.swf.
note:
in the slides movie fun files, you will need to add this to the first frame. (You must switch to advanced to do this.)
these are pics2.fun and pics3.fun
this._x = 400;
this._y = 50;
this is how I positioned the slide shows.)))
This is the best that I can explain it so look thru all the files before you try to figure it out. To me it is very simple, but it was not when I was first learning. My own home page is about 20-30 swf files which all work together.
Thanks a lot Tmoore-to all, i'm working on it today and yes when ever your a learner at something it takes time-slowly but surely.
regards,
Nigel.
flashkit.com
Copyright WebMediaBrands Inc., All Rights Reserved.