hi, i want to insert an image(.gif)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • youssef200
    Forum Member
    • May 2003
    • 8

    hi, i want to insert an image(.gif)

    i have a problem with my images can i insert a gif one?
    and is it possible to change just an image without re-compiling and it will be done automaticly in the exe program
    thanx

  • Corey
    Indigo Rose Staff Alumni
    • Aug 2002
    • 9745

    #2
    Re: hi, i want to insert an image(.gif)

    Hi.

    1. AMS doesn't support .gif as image objects just yet, but soon. You can insert .gif images into your web objects, media playerobjects, and flash objects within AMS though...

    2. I assume you are asking about loading an image at runtime. Yes this is possible, place the image in your Distribution folder and then use either a web object, a media player object, or a flash object to load it at runtime.

    Corey Milner
    Creative Director, Indigo Rose Software

    Comment

    • TJ_Tigger
      Indigo Rose Customer
      • Sep 2002
      • 3159

      #3
      Re: hi, i want to insert an image(.gif)

      Corey,

      Are you up early or up late?

      responding at 4:30 in the morning.
      TJ-Tigger
      "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
      "Draco dormiens nunquam titillandus."
      Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

      Comment

      • youssef200
        Forum Member
        • May 2003
        • 8

        #4
        Re: hi, i want to insert an image(.gif)

        thank u very much ,

        i'm up early ????

        Comment

        • youssef200
          Forum Member
          • May 2003
          • 8

          #5
          Re: hi, i want to insert an image(.gif)

          thank u very much ,

          is there a way to disable the web browser objects border

          Comment

          • Corey
            Indigo Rose Staff Alumni
            • Aug 2002
            • 9745

            #6
            Re: hi, i want to insert an image(.gif)

            Both.

            Corey Milner
            Creative Director, Indigo Rose Software

            Comment

            • Corey
              Indigo Rose Staff Alumni
              • Aug 2002
              • 9745

              #7
              Re: hi, i want to insert an image(.gif)

              No, although some users use blank text objects to cover them up. The media player object has no border and can show .gifs.

              Corey Milner
              Creative Director, Indigo Rose Software

              Comment

              • youssef200
                Forum Member
                • May 2003
                • 8

                #8
                Re: hi, i want to insert an image(.gif)

                and also how can i hide the copy progress bar??

                thanx

                Comment

                • youssef200
                  Forum Member
                  • May 2003
                  • 8

                  #9
                  Re: hi, i want to insert an image(.gif)

                  i ve a problem with the media objects it display a black border

                  Comment

                  • Corey
                    Indigo Rose Staff Alumni
                    • Aug 2002
                    • 9745

                    #10
                    Re: hi, i want to insert an image(.gif)

                    1. Over here the media player doesn't display any border, not sure why yours is different but I guess it is.

                    2. Uncheck the "show controls" checkbox in the media player object's properties screen.

                    You should check out the help file on the Media Player object, it's very helpful and informative.

                    Corey Milner
                    Creative Director, Indigo Rose Software

                    Comment

                    • Worm
                      Indigo Rose Customer
                      • Jul 2002
                      • 3971

                      #11
                      Re: hi, i want to insert an image(.gif)

                      To copy files without the dialog, use the CopyFileA function from the KERNEL32.DLL.

                      %DLLResult% = File.CallDLLFunction ( "%SysDir%\kernel32.dll", "CopyFileA", ""%SrcDir%\YourFile.EXT","%TempDir%\YourFile.EXT", 0")

                      Replace the 0 with a 1 if you do not want an existing file to be over-written.

                      Here's a snippet from one my projects that uses it.
                      ----------------------------------------------------
                      <IR_ACTIONS_LIST>
                      <Action name="Call DLL Function">
                      <Type>143</Type>
                      <Function>0</Function>
                      <DTIndentLevel>1</DTIndentLevel>
                      <Enabled>1</Enabled>
                      <ErrorHandling>
                      <UserNotificationMode>2</UserNotificationMode>
                      <CustomErrorMessage/>
                      <OnErrorAction>0</OnErrorAction>
                      <JumpToLabel/>
                      </ErrorHandling>
                      <FileName>%SysDir%\kernel32.dll</FileName>
                      <FunctionName>CopyFileA</FunctionName>
                      <FunctionParameters>"%SrcDir%\CATINDEX.SDB","%Temp Dir%\CATINDEX.SDB",0</FunctionParameters>
                      <ReturnType>1</ReturnType>
                      <CallingConvention>1</CallingConvention>
                      <Variable>%DLLResult%</Variable>
                      </Action>
                      <Action name="IF">
                      <Type>200</Type>
                      <Function>1</Function>
                      <DTIndentLevel>1</DTIndentLevel>
                      <Enabled>1</Enabled>
                      <ErrorHandling>
                      <UserNotificationMode>2</UserNotificationMode>
                      <CustomErrorMessage/>
                      <OnErrorAction>0</OnErrorAction>
                      <JumpToLabel/>
                      </ErrorHandling>
                      <Condition>%DLLResult% != 0</Condition>
                      </Action>
                      <Action name="Set Attributes">
                      <Type>137</Type>
                      <Function>0</Function>
                      <DTIndentLevel>2</DTIndentLevel>
                      <Enabled>1</Enabled>
                      <ErrorHandling>
                      <UserNotificationMode>2</UserNotificationMode>
                      <CustomErrorMessage/>
                      <OnErrorAction>0</OnErrorAction>
                      <JumpToLabel/>
                      </ErrorHandling>
                      <FileName>%TempDir%\CATINDEX.SDB</FileName>
                      <ReadOnly>0</ReadOnly>
                      <System>0</System>
                      <Hidden>0</Hidden>
                      <Archive>0</Archive>
                      </Action>
                      <Action name="Set Value">
                      <Type>6</Type>
                      <Function>0</Function>
                      <DTIndentLevel>1</DTIndentLevel>
                      <Enabled>1</Enabled>
                      <ErrorHandling>
                      <UserNotificationMode>2</UserNotificationMode>
                      <CustomErrorMessage/>
                      <OnErrorAction>0</OnErrorAction>
                      <JumpToLabel/>
                      </ErrorHandling>
                      <Variable>%Copied%</Variable>
                      <Value>TRUE</Value>
                      <Evaluate>0</Evaluate>
                      </Action>
                      <Action name="ELSE">
                      <Type>206</Type>
                      <Function>1</Function>
                      <DTIndentLevel>1</DTIndentLevel>
                      <Enabled>1</Enabled>
                      <ErrorHandling>
                      <UserNotificationMode>2</UserNotificationMode>
                      <CustomErrorMessage/>
                      <OnErrorAction>0</OnErrorAction>
                      <JumpToLabel/>
                      </ErrorHandling>
                      </Action>
                      <Action name="Message Box">
                      <Type>5</Type>
                      <Function>0</Function>
                      <DTIndentLevel>2</DTIndentLevel>
                      <Enabled>1</Enabled>
                      <ErrorHandling>
                      <UserNotificationMode>2</UserNotificationMode>
                      <CustomErrorMessage/>
                      <OnErrorAction>0</OnErrorAction>
                      <JumpToLabel/>
                      </ErrorHandling>
                      <DialogTitle>File Copy Error</DialogTitle>
                      <DialogMessage>Unable to copy needed files to temporary directory.</DialogMessage>
                      <Icon>1</Icon>
                      <Variable>%Result%</Variable>
                      <DialogType>0</DialogType>
                      <DefaultButton>0</DefaultButton>
                      </Action>
                      <Action name="Exit">
                      <Type>2</Type>
                      <Function>0</Function>
                      <DTIndentLevel>2</DTIndentLevel>
                      <Enabled>1</Enabled>
                      <ErrorHandling>
                      <UserNotificationMode>2</UserNotificationMode>
                      <CustomErrorMessage/>
                      <OnErrorAction>0</OnErrorAction>
                      <JumpToLabel/>
                      </ErrorHandling>
                      </Action>
                      <Action name="END IF">
                      <Type>201</Type>
                      <Function>1</Function>
                      <DTIndentLevel>1</DTIndentLevel>
                      <Enabled>1</Enabled>
                      <ErrorHandling>
                      <UserNotificationMode>2</UserNotificationMode>
                      <CustomErrorMessage/>
                      <OnErrorAction>0</OnErrorAction>
                      <JumpToLabel/>
                      </ErrorHandling>
                      </Action>
                      </IR_ACTIONS_LIST>
                      ---------------------------------------

                      Comment

                      • youssef200
                        Forum Member
                        • May 2003
                        • 8

                        #12
                        Re: hi, i want to insert an image(.gif)

                        the media player object is always on the front even if i put the "back one"

                        Comment

                        • Lorne
                          Indigo Rose Staff Member
                          • Feb 2001
                          • 2729

                          #13
                          Re: hi, i want to insert an image(.gif)

                          Media player objects are always in front of other kinds of objects, no matter how you arrange the objects in the Z-order.
                          --[[ Indigo Rose Software Developer ]]

                          Comment

                          • Colin
                            President
                            • Jan 2000
                            • 135

                            #14
                            Re: hi, i want to insert an image(.gif)

                            Mark your calendars - the LZW (GIF) compression patent expires on June 20, 2003. We can all raise a glass when that date arrives.

                            Once the patent expires, it shouldn't take us too long to get the .gif format code in there, with at least support for the transparency. Animated gif's are another issue all together, but hey - we'll see what we can do.

                            Comment

                            Working...
                            X