User Tag List

Results 1 to 4 of 4

Thread: Show dialog filename in string object ??

  1. #1
    No Products Registered

    Join Date
    Feb 2010
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Show dialog filename in string object ??

    Hey, i'm a newbie so please go easy on me
    I'm coding a simple Mp3 player with the Common Dialog object to open the file and Direct Show object to play it.
    How do i show the filename in text on the screen ?
    Should i use the String Object and if, how do i use it ?
    Going nuts..

    Regards..

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Show dialog filename in string object ??

    Use the String Object and set it to the filename of the common dialog object.

    +Open Dialog - Ok
    --Change Alterable String (Click on Retrieve data from an object) and choose "Get Filename" from the Common Dialog Object.

    Stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  3. #3
    No Products Registered

    Join Date
    Feb 2010
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Show dialog filename in string object ??

    Thanx for ur quick reply, but now i have another problem.
    When i add the code you suggested i loose one of my active objects, the one to click for get the Open File Dialog.
    Weird, any suggestions or should i post my file here ?
    // Andreas
    EDIT: file: MY FILE

    Quote Originally Posted by Stephen1980
    Use the String Object and set it to the filename of the common dialog object.

    +Open Dialog - Ok
    --Change Alterable String (Click on Retrieve data from an object) and choose "Get Filename" from the Common Dialog Object.

    Stephen1980

  4. #4
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Burfelt's Avatar
    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    526
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Show dialog filename in string object ??

    This appears to be a bug with Dialog Object.

    It's one of the more tricky ones only happening sometimes.
    Clickteam has it on the bug list, but for now I'd advice anyone to use an alternative object like powerful dialog object or file object.

Similar Threads

  1. Save As: How to save a string or list and set its filename at runtime?
    By rubes in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 16th March 2013, 05:43 PM
  2. String Object doesn't show special characters correctly
    By JoKa in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 15th November 2011, 08:31 AM
  3. Attach string object to active objects show value
    By ttsplice in forum File Archive
    Replies: 6
    Last Post: 22nd August 2009, 07:27 PM
  4. Converting a long filename to a short filename
    By Brandon in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 27th April 2007, 11:31 AM
  5. Common Dialog Object sometimes won't show Load
    By aidmm in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 23rd October 2006, 01:28 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
  •