Announcement

Collapse
No announcement yet.

calling multiple swf's

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • calling multiple swf's

    I am having trouble getting my Flash to play in AMS 4.0. I have a Flash intro on the 1st page, jumping to a 2nd page that I have split in 3 parts. I have graphic buttons for links along the top and bottom and a place for the Flash files in the middle. When I click the button to load the first Flash movie, it plays fine, regardless of which one I use. After that is completed and I click another button, I get the following error message; "could not play Flash, the object was not found on this page". I have my Flash objects "hidden" when the page 1st loads, and am using the Show Object action and the FlashObject Play action on click. This is my 1st project with this program, and am sure that I'm just missing something simple. I scoured the message board and couldn't find another post with the same problem.

    Thanks in advance,

    Webicine

  • #2
    Re: calling multiple swf's

    I'd have to see your project to say for sure what needs fixin', if you can, post it and I'll be happy to take a look. As you say, it's probably just something very simple...

    Corey Milner
    Creative Director, Indigo Rose Software

    Comment


    • #3
      Re: calling multiple swf's

      Hi Corey, I appreciate you looking at my project. Can I post it here or do I need to upload it somewhere for you to download it? If I can post the project here, how do I do that?

      Thanks,

      Webicine

      Comment


      • #4
        Re: calling multiple swf's

        Hi - try putting Application.Sleep between them:

        <font color=green>Page.ShowObject ("Flash1")
        Application.Sleep (".25")
        FlashObject[Flash1].Play</font color=green>

        Sometimes, AMS seems to wanna play the file before its actually finished loading it ... the sleep action will stop that.
        Hope this helps [img]/ubbthreads/images/icons/smile.gif[/img]
        -
        = Derek
        ["All glory comes from daring to begin" - fortune cookie]

        Comment


        • #5
          Re: calling multiple swf's

          Thanks... I tried that and it didn't work. It plays the first SWF on the page correctly, but not any others after that (same results I had before).

          Webicine

          Comment


          • #6
            Re: calling multiple swf's

            [img]/ubbthreads/images/icons/frown.gif[/img] hmm!

            I guess it's take up Corey's offer then. [img]/ubbthreads/images/icons/smile.gif[/img]
            -
            = Derek
            ["All glory comes from daring to begin" - fortune cookie]

            Comment


            • #7
              Re: calling multiple swf's

              No we no longer support file uploading unfortunately. But if you can send me a link I'd be happy to take a look.

              Corey Milner
              Creative Director, Indigo Rose Software

              Comment


              • #8
                Re: calling multiple swf's

                OK I had a LOok...

                1. You should remove the first run image "splash2.swi", AMS doesn't run .swi files.

                2. Just at a glance you are showing each flash object with each button but you forgot to hide the ones which are already showing, i.e. you are getting errors because you are trying to show one flash object on top of another. If you wish to use the method you seem to be using you must add actions to each button to make sure they are hiding all the other flash objects before they show their repspective movies, that should fix it...

                Corey Milner
                Creative Director, Indigo Rose Software

                Comment

                Working...
                X