A Flash Developer Resource Site

Results 1 to 12 of 12

Thread: I really need some help

  1. #1
    Member
    Join Date
    Sep 2005
    Posts
    34

    I really need some help

    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.

  2. #2
    Senior Member FLASHPULSE's Avatar
    Join Date
    Nov 2002
    Location
    USA
    Posts
    1,356
    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.

  3. #3
    Relaxing tmoore935's Avatar
    Join Date
    Oct 2001
    Location
    colorado, usa
    Posts
    1,713
    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.
    Any programming language is at its best before it is implemented and used.

  4. #4
    Member
    Join Date
    Sep 2005
    Posts
    34

    I reall need some help

    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.

  5. #5
    Member
    Join Date
    Sep 2005
    Posts
    34

    I reall need some help

    Quote Originally Posted by tmoore935
    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.

  6. #6
    Senior Member pherbrick's Avatar
    Join Date
    Jul 2004
    Location
    Los Angeles
    Posts
    291
    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
    Last edited by pherbrick; 09-07-2005 at 05:42 PM. Reason: Checked Button Actions

  7. #7
    Relaxing tmoore935's Avatar
    Join Date
    Oct 2001
    Location
    colorado, usa
    Posts
    1,713
    Ill make a demo. give me 30 minutes or so.
    Any programming language is at its best before it is implemented and used.

  8. #8
    Member
    Join Date
    Sep 2005
    Posts
    34

    I reall need some help

    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.

  9. #9
    Can't Re- Member gusmus's Avatar
    Join Date
    Sep 2002
    Location
    España
    Posts
    663
    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.
    humanus somes est divinitus in ipsum
    Wiliiam Wallace

  10. #10
    Relaxing tmoore935's Avatar
    Join Date
    Oct 2001
    Location
    colorado, usa
    Posts
    1,713
    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.
    Any programming language is at its best before it is implemented and used.

  11. #11
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    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.

  12. #12
    Member
    Join Date
    Sep 2005
    Posts
    34

    I reall need some help

    Quote Originally Posted by tmoore935
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center