User Tag List

Results 1 to 8 of 8

Thread: Locating video files

  1. #1
    No Products Registered

    Join Date
    Jun 2006
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Locating video files

    When using an object such as Direct Show or the Animation object, you are asked to find a video file on your computer somewhere. Is there a way of telling the objects to look for a video file within the same folder as the game? Or even within a folder in the same folder as the game? I ask this because if I want to install the game on someones computer, I don't want to have to have it force the location in which .AVIs are stored.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    658
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Locating video files

    Apppath$

    this gives the Application Path... from there you can do something like:

    "Apppath$"+"myfile.avi"
    or
    "Apppath$"+"video\myfile.avi"

    these types of expressions are found in the Special Object.

  3. #3
    No Products Registered

    Join Date
    Jun 2006
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Locating video files

    ok thanks I'll try that out

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    658
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Locating video files

    shoot! one thing... don't put quotes around Apppath$



  5. #5
    No Products Registered

    Join Date
    Jun 2006
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Locating video files

    Okay er what is the Special Object? Are you referring to Special conditions? If so where do I type that code in?

  6. #6
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Locating video files

    The special object is the symbol of two flatscreen monitors, it should be in the event editor by default, you can't delete it.

    Just type in the expression apppath$+video.avi in the expression editor instead of the browse file dialogue.

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jul 2006
    Location
    USA
    Posts
    658
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Locating video files

    the reason I brought up the Special Object is because there are other very useful actions, conditions, and expressions there. spend some time exploring what's there and it'll help you in your development.

  8. #8
    No Products Registered

    Join Date
    Jun 2006
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Locating video files

    Brilliant! I got it working now : D
    I will explore the Special Object then...

Similar Threads

  1. Loading files such as INI,Text files, List Files?
    By Gibbon in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 21st July 2012, 06:41 AM
  2. iOS Video: Option to display last image when video is completely played
    By smart_fr in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 3rd June 2012, 02:54 PM
  3. video files
    By TheCrimsonTaco in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 24th March 2012, 06:58 AM
  4. Objects in front of video files
    By LazyCoder in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 20th May 2007, 03:10 AM
  5. Video files getting squashed
    By Mantoid in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 5th March 2007, 02:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •