Flash getURL help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • schlobie1
    New Member
    • Aug 2007
    • 3

    Flash getURL help

    Hi: I've read some of the answers to questions asked about ActionScript but I could not find one about the issue I am having. I am taking a class online and currently working with Flash. I am trying to Publish a movie that when finished rolling should display my welcome page. However, I can't figure out how to do this. This is the info. my teacher gave: getURL("welcome _screen.htm","_ self"); I've checked to make sure that both the Flash file and the welcome file are in the same location on my C drive. I don't understand codes so can't figure out why my welcome page will not open. The movie justs keep playing. Can anyone point me in the right direction? Thank you very much.
  • kestrel
    Recognized Expert Top Contributor
    • Jul 2006
    • 1071

    #2
    where did you place the geturl? are you embeding the flash into a webpage?

    Comment

    • schlobie1
      New Member
      • Aug 2007
      • 3

      #3
      Hi: Right now I'm just trying to preview it before publishing to a webpage. I'm selecting the "getURL" from the Action frame menu. I'm not sure if I am embedding the movie -- this wasn't mentioned in the notes. I've tried adding "at end" but unclear as to if this is correct or where to place appropriately. Do I need to perform this action with the .swf file rather than the .fla file? Thanks again.

      Comment

      • schlobie1
        New Member
        • Aug 2007
        • 3

        #4
        Hi: This is the error message I am getting whenever I try to preview the movie:

        1180: Call to a possibly undefined method getURL.

        Help!

        Thanks.

        Comment

        • anhvt
          New Member
          • Aug 2008
          • 1

          #5
          getURL

          http://en.wikipedia.or g/wiki/Uniform_Resourc e_Locator

          so you need a URL like this:
          http://www.somewhere.c om/yourpage.html

          or another way, install XAMPP then you can have path like this
          http://localhost/yourpage.html

          Hope that help

          Comment

          • zeromod
            New Member
            • Nov 2008
            • 1

            #6
            Uh no he does not need to install some weak ass web server onto his local network or pc. And nor do you need to add the http there. I am not as actionscript saavy as I used to be but in my experience this is where new flash devs hit the first speed bump and it's one of two things, you aren't closing your script correctly which produces something like this in your compiler "expected a ',' or ')' " and the other is trying to use fla source with get. Use an swf file and ignore the comment that you need to install xammp or a webserver app that's nonsense. Still have issues hit me up via email I don't do blogs.

            Comment

            • chandni
              New Member
              • Nov 2008
              • 3

              #7
              to show the welcome page . in the new frame insert keyframe. and there draw a page youwant to show. in the first keyframe where your moviefinish write a code startAndPlay(2) .
              where 2 is keyframe ehich u insert.. this is one of the simple procedure.

              Comment

              Working...