TailsSena Posted May 28, 2012 Report Share Posted May 28, 2012 So, I'm trying to make a Photo Viewer app to support all file-types known to MMF2 (Which is most of them), because every other app I've seen has been unsatisfactory. Got some of the base and GUI elements in, but what I need help with is counting files in a folder sitting next to the app. That way I know just how many Active Picture objects to create at the start of the frame. Help? EDIT: And also because I'm just bored on memorial day. Link to comment Share on other sites More sharing options...
GSF Posted May 28, 2012 Report Share Posted May 28, 2012 The Sphax File-Folder object has a "file browsing loop" action that will return the full path of a file on each loop, following an alphabetical order. Adding a create action to the "on loop" action of the FF object should do the work. I find it handy to also add these paths to a list object, so that at the end, I get a list with one full path in each line. Link to comment Share on other sites More sharing options...
TailsSena Posted May 28, 2012 Author Report Share Posted May 28, 2012 Where do I find this magical thing. (Google, you're NO HEEEEELP!!) Link to comment Share on other sites More sharing options...
TailsSena Posted May 28, 2012 Author Report Share Posted May 28, 2012 DP Declared... Here's a quick demo. Pretty shitty so far, and all is explained in the readme. Download Also note: Norton didn't like it when I ran it outside MMF2. You may need to grant it special permissions. Link to comment Share on other sites More sharing options...
GSF Posted May 28, 2012 Report Share Posted May 28, 2012 MMF2 apps have a history of false positives. Downloading. Also, the sphax extensions can be obtained through the same author's "FusionUpdater" http://complex.softwares.free.fr/index.php?p=products (it's an extension updater, it won't update MMF2 itself.) Link to comment Share on other sites More sharing options...
TailsSena Posted May 29, 2012 Author Report Share Posted May 29, 2012 HOLY SHIT MIRROR 2 WORKED! -youfoundaworkingdownloadyouhavesavedmylife- EDIT: Now how do I run it...? It says it wants to update, so I let it, and then it just repeats... What? Link to comment Share on other sites More sharing options...
GSF Posted May 29, 2012 Report Share Posted May 29, 2012 Oh fuck. Happened to me as well, doesn't seem to work anymore... My only guess is that the server that used to answer the program has changed. I haven't heard of any updates to FU, try looking around the clickteam forums. EDIT: The fusion wiki extension list has what you need - http://www.fusionwiki.com/wiki/Extensions EDIT2: Fuuuuuuck. DL link for the sphax extensions returns 404. Link to comment Share on other sites More sharing options...
TailsSena Posted May 29, 2012 Author Report Share Posted May 29, 2012 Did that. The forum that used to have it is now Archived and the servers attached to the program are down or otherwise out of commission. Link to comment Share on other sites More sharing options...
GSF Posted May 29, 2012 Report Share Posted May 29, 2012 Well, this sphax file folder object isn't in any of the bonus packs, so I guess Clickteam's "do not share" does not apply with this one. Besides, the author's homepage displays a Creative Commons BY banner in the extension's description, so I guess it shouldn't be a problem to share it. Lemme look around my backups - I should still have a full package of all my mmf2 extensions somewhere. EDIT: Here you go. Remember to put both the "Extensions" and the "Data/Runtime" versions in their respective places, or MMF2 will complain when building your executable. file-folder object.zip Link to comment Share on other sites More sharing options...
TailsSena Posted May 29, 2012 Author Report Share Posted May 29, 2012 Gotcha. Happy searching. Link to comment Share on other sites More sharing options...
GSF Posted May 29, 2012 Report Share Posted May 29, 2012 Found it, check previous post. Link to comment Share on other sites More sharing options...
TailsSena Posted May 29, 2012 Author Report Share Posted May 29, 2012 Arigato. Link to comment Share on other sites More sharing options...
TailsSena Posted May 30, 2012 Author Report Share Posted May 30, 2012 Mmkay... This isn't really working and I think I know why... Is it possible to create a completely new object from within the runtime? I mean, an object that wasn't created in the frame editor. One of my issues is likely that I'm trying to use clones of a single Active Picture object, thanks to the way the runtime works. Link to comment Share on other sites More sharing options...
Recommended Posts