User Tag List

Results 1 to 3 of 3

Thread: different image for instances

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    different image for instances

    Hey,
    OK, for my app, I need a different image for each instance.

    Code:
    Always : Spread 1 to alterable value A
    Button clicked : Start loop "test", 5 times
    On loop "test" : Create "pic" at ( X"pic" , Y"pic"+40 ) with create by name plugin
                     New image : Appdir$ + str$(alterable value A)+".png"
    In my appdir, I have 1.png, 2.png, ...5.png, but it doesn't work.
    The number of image is dynamic, so I can't set them directly during the development.

  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)
    Use AppPath$ instead of Appdir$
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    perfect, thanks Stephen
    Just to know, what's the difference between appPath and appDir ?

Similar Threads

  1. Image annotation / Image modification with MMF2
    By titobal in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 13th September 2013, 04:13 PM
  2. image active : Bug Changement d'image
    By Monos in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 10th April 2013, 05:55 PM
  3. Objects and instances?
    By danielfre in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 7th August 2011, 08:54 PM
  4. Objet Image (ou Image Active) et rayures
    By volgot in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 20th April 2011, 04:10 PM
  5. Getting image dimensions from IMAGE parameters?
    By Nobuyuki in forum Shader Development
    Replies: 3
    Last Post: 6th February 2011, 11:51 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
  •