Announcement Announcement Module
Collapse
No announcement yet.
new url load movie at frame 2? Page Title Module
Move Remove Collapse
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • new url load movie at frame 2?

    #1
    Hi All,

    I'm very new to Flash, and am currently using Flash5, but will switch to MX if necessary.

    My newbie question: I want to, on release of a button, go to a new url, and play the movie there, but start from a different frame than frame 1.

    I've tried:
    on (release) {
    loadMovieNum ("my_movie.swf", 0);
    gotoAndPlay (2);
    }

    that didn't work

    and:
    on (release) {
    getURL ("http://www.whatever.com/my_page2.htm");
    }

    and that works to change the page, but I don't know what to do with the movie.

    TIA for any help I can get here.

    Cheers,
    Michael


  • #2
    on (release) {
    getURL('http://www.whatever.com');
    }

    thats the code for a new URL

    making symbols (buttons) and putting the action ON the button?

    do you about symbols??????

    WELCOME TO THE GDF!!!!

    ---- Sheriff of Boobie Island --------

    Wayne: Our enemy is wicked, so...
    J.D.: Dude, she's Freddy Krueger.
    Wayne: Damien.
    J.D.: Dude, she's Vader.
    Wayne: No! She's the Emperor.
    J.D.: Yeah, but with really great ****.

    Comment


    • #3
      Thanks for the reply.

      Yeah, i got that far, but when I go to the new url, i want to run the movie there, starting at frame 2.

      Comment


      • #4
        why go to a new url???

        why not just start the movie at frame (2) on gotoandplay

        you could just have another swf file without the first frame

        sounds like your not making the site right... you shouldnt need multiply html pages for a flash site

        ---- Sheriff of Boobie Island --------

        Wayne: Our enemy is wicked, so...
        J.D.: Dude, she's Freddy Krueger.
        Wayne: Damien.
        J.D.: Dude, she's Vader.
        Wayne: No! She's the Emperor.
        J.D.: Yeah, but with really great ****.

        Comment


        • #5
          the website designer wanted:

          ifa usergoes to page 'A' from a link in the html then the movie loads paused

          if the user goes to page 'A' from the swf in page 'B' then we play go to page 'A' and the movie plays.

          Check it out here if you likehttp://www.hofmanimage.com/bulkflow/2004/index4d.htm- click on the movie on the right, and then click on the mass flow button after it stops moving. It will be there like that until 4pm MST 8/17/04.

          my solution ended up using a querystring and asp to decide how they got to this page, and I made 2 swf movies (as per one of your suggestions) and played whichever one accordingly.

          Because the site will eventually be in several languages, we don't want to have 2 of each movie for each language - doubles the amount of swf files. We decided that we will keep the movie stopped at all times.

          Thanks very much for your help dawg.

          Cheers,
          Michael

          Comment


          • #6
            PM casedesgn..... this is harder stuff than I know???

            ---- Sheriff of Boobie Island --------

            GOD I LOVE OVERTIME!!!!!!!!!!!!!!!!!!!!!!!!!

            http://www.conceptprint.com - my company's new site

            Comment


            • #7
              Yeah... that's a weird scenario...
              When an HTML page reloads..so does the flash, unless you built the HTML in frames. You'd have to pass a variable through the actual URL to the flash movie. Build some 'checker' code on the initial frame of your flash. Something like:

              if(passedVariable == true) {
              gotoAndPlay(2);
              } else if(passedVariable == false) {
              stop();

              This code would run everytime the flash movie reloads.
              Make sense?

              Comment


              • #8


                awesome. Thanks for the input. I didn't think to check the variable in the actual movie.


                You da man!


                Regards,


                Michael

                Comment


                • #9
                  Sweet! Glad that helps!

                  Comment

                  Google search Google search Module
                  Collapse
                  Latest Topics Latest Topics Module
                  Collapse
                  • Typically's Avatar
                    Commented to Backup!!
                    I actually ended up going with RichCopy. It's free, only overwrites files that have been changed since last backup (quicker backups,) and doesn't compress or pack the files. My brother who is an IT tech...
                  • Buda's Avatar
                    Yep, I had a look at this forum on an iPad this morning and looked pretty good. Doesn't work with Tapatalk, but maybe we don't need it to.
                  • HotButton's Avatar
                    Actually, not so bad for a beginner. The thing is, it's not only a matter of doing it "correctly;" it's one of those things that simply takes practice. It's no different than when you were new...
                  • Buda's Avatar
                    Commented to 'nother newbie here
                    Sounds like a battle rabbit!
                  • Kool's Avatar
                    Commented to Backup!!
                    I use Cobain Backup http://www.cobiansoft.com/index.htm

                    It's real easy to use and doesn't change your files in any way.
                  • PanToshi's Avatar
                    Hi Sy_Mercade and welcome to the forum!
                    When you get settled, please have a look through the forum rules here. We just upgraded, so things are a little wonky right now, hope you can bear with us....
                  • WeaselPuppy's Avatar
                    Commented to 'nother newbie here
                    Aww, we had a bunny when I was a kid. I loved to trans it out by rubbing between its ears. We also had another rabbit. That rabbit was a bit more formidable. He chased horses....
                  • Buda's Avatar
                    Commented to 'nother newbie here
                    Hi Weasel Puppy! We sometimes call our rabbit "Chubby Weasel".
                  All Creative World Network All Creative World Network Module
                  Collapse
                  WebMediaBrands
                  Mediabistro | SemanticWeb | Inside Network
                  Jobs | Education | Research | Events | News
                  Advertise | Terms of Use | Privacy Policy
                  Copyright WebMediaBrands Inc. All rights reserved.
                  Working...
                  X