Arrange > Send to back: possible for SWF-file?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Loes
    Indigo Rose Customer
    • Dec 2007
    • 81

    Arrange > Send to back: possible for SWF-file?

    Hi everyone,

    Is there a way to put things on top of a sfw-file in AMS7?

    I would like to play a swf-movie with the same dimensions as my menu, and would like to put the navigation controls (stop playing the movie, go to next page, previous page, main menu etc) on top of the sfw file.
    Is this possible?

    I tried selecting and sending the flash file to back, but everything I put on top, just sits behind the flash movie.

    Thanks in advance!

    Loes
  • holtgrewe
    Indigo Rose Customer
    • Jul 2002
    • 779

    #2
    I've seen similar posts to this one. I was unable to locate what I was looking for in the search, you may have better luck.

    I have used the Page.SetObjectZOrder() in several projects successfully; however I don't know if they work with .swf files.

    hth

    Comment

    • yosik
      Indigo Rose Customer
      • Jun 2002
      • 1858

      #3
      There is an inherent z-order hierarchy of objects. Some of them cannot have others ontop of them and a swf object is one of them.

      Yossi

      Comment

      • Intrigued
        Indigo Rose Customer
        • Dec 2003
        • 6138

        #4
        Perhaps this example I did will help:



        My last post on that thread shows the list, as of then, of objects that can be manipulated in this way.
        Intrigued

        Comment

        • Loes
          Indigo Rose Customer
          • Dec 2007
          • 81

          #5
          Thanks Intrigued, it's looking good, but I don't feel confident enough (yet) to try and use external DLL's.

          Thanks again,

          Loes

          Comment

          • Intrigued
            Indigo Rose Customer
            • Dec 2003
            • 6138

            #6
            Eh, there's really not much on the user's end to the DLL.

            Here's the code for that example:

            On Preload

            Code:
            Page.StartTimer(0)
            On Timer

            Code:
            tblProps = Web.GetProperties("Web1")
            	handle = tblProps.WindowHandle
            
            tblProps2 = ComboBox.GetProperties("ComboBox1")
            	handle2 = tblProps2.WindowHandle
            
            DLL.CallFunction("AutoPlay\\Docs\\SetWinTop.dll", "SetWinTop", handle, DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL)
            DLL.CallFunction("AutoPlay\\Docs\\SetWinTop.dll", "SetWinTop", handle2, DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL)
            Last edited by Intrigued; 01-08-2008, 03:45 PM.
            Intrigued

            Comment

            Working...
            X