User Tag List

Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 29

Thread: Is it possible to truly create/delete objects...

  1. #11
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to truly create/delete objects...

    So you're not actually using Str$(1-2)? What is your expression?

  2. #12
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to truly create/delete objects...

    This is the exact expression I am using:

    "C:\Users\keo\Desktop\pngsequence\animation"+Str$( Global Value E)+".png"


    The loop also adds 1 to the global value since my png frames are named as such:

    animation0.png
    animation1.png
    animation2.png

    and so on.

  3. #13
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to truly create/delete objects...

    Why don't you use Str$(LoopIndex("Loop Name")) ?

  4. #14
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to truly create/delete objects...

    Thanks, that semi-worked, it loads the first frame of the animation, but not the rest, or at least I'm not seeing an animation when I trigger via the "start" animation function. Any ideas about that?

  5. #15
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to truly create/delete objects...

    Ok I got it, I had to add more frames to the active object (not runtime). Thanks Dynasoft, your help was massive.

  6. #16
    Clicker Multimedia Fusion 2Install Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jan 2010
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to truly create/delete objects...

    "C:\Users\keo\Desktop\New Folder (2)\New folder\"+Str$(Global Value)+".png" is what you're after.

    But, you should use a relative folder rather than an absolute path, unless you're the only one ever going to use your app.

    For example, if the images are in a subfolder "images", you could just put:

    "images\"+Str$(Global Value)+".png"

  7. #17
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to truly create/delete objects...

    Namida

    If I were to put "images\"+Str$(Global Value)+".png' only, would the program find it without the need of puting the rest of the path?

    In general how do I create relative paths instead of absolute ones to avoid (as you said) problems when other people run the program on their pcs?

  8. #18
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to truly create/delete objects...

    You're both right --

    You should have relative paths, but images\"+str$(Global Value)+".png" won't be found

    You'll need AppPath$+"\images\"+Str$(global value)+".png" ... well I'm not sure if AppPath$ returns a \ at the end, so do some testing

  9. #19
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to truly create/delete objects...

    Thanks Ricky. Do you perhaps know of any other such keywords that can be used to construct relative paths(like AppPath$)? They might come in handy for future use.

  10. #20
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to truly create/delete objects...

    There's also AppDrive$ and AppDir$ I think. Whatever they're called, you can find them under the expression editor retrieve data from special object. One is the drive letter, the other is the path not including drive letter. In previous versions of MMF you had to use both of these, as AppPath$ didn't exist yet.

Page 2 of 3 FirstFirst 1 2 3 LastLast

Similar Threads

  1. created objects create objects and destroy both.
    By wizlore in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 25th September 2012, 08:37 PM
  2. Objects you cannot delete
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 28
    Last Post: 15th May 2010, 09:26 PM
  3. I can't delete objects.
    By Viewtiful in forum Multimedia Fusion 2 - Technical Support
    Replies: 17
    Last Post: 4th August 2009, 05:53 PM
  4. Create objects next to each other loop
    By Raylax in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 10th December 2008, 06:16 PM
  5. Two objects overlap. Delete only one.
    By Dines in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 8th April 2007, 11:29 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
  •