User Tag List

Page 3 of 4 FirstFirst 1 2 3 4 LastLast
Results 21 to 30 of 35

Thread: Extension request: Array with predefined data

  1. #21
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export Module
    Skyhunter's Avatar
    Join Date
    Jan 2007
    Location
    Croatia
    Posts
    452
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extension request: Array with predefined data

    I don't think so, cause i have just deleted the file from my computer and it still gets it.

    http://dl.dropbox.com/u/14962632/a.swf

    Try to download my compiled flash, if it says haa! when you press space then it must read it from inside compiled flash.

  2. #22
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Extension request: Array with predefined data

    im curious how that works with the .swf sandbox. Is it really unpacking binary data into a temp directory on the users computer and then loading? Because I can't imagine that it is, because that would be a huge breach of security. So is there some sort of special file control structure for the sandbox that emulates the unpacked files? I imagine thats just how flash works, but I'm no expert

    Unless its pulling that file off of dropbox of course

  3. #23
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export Module
    Skyhunter's Avatar
    Join Date
    Jan 2007
    Location
    Croatia
    Posts
    452
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extension request: Array with predefined data

    Im not really sure how it does it, but i wish i knew about this before i made my ini+get system, this is so much easier.

  4. #24
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Extension request: Array with predefined data

    The Flash runtime doesn't use the embedded filename at all. The file gets bundled into the SWF as a binary element, and read directly from there by the Array object.

  5. #25
    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: Extension request: Array with predefined data

    If I made an Array object with predefined data, how would you want me to go about allowing you to edit that predefined data? I was originally thinking using properties of the object or a dialog but that seems to be a project in itself and one that I'm not sure I can complete. Would it be possible (fellow extension developers) to load a text file that is formatted a certain way and set the arrays at edittime that way?

    If so, could you please point me in the right direction?

  6. #26
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    941
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Extension request: Array with predefined data

    aaahh that's amazing! i had no idea it worked like that, then a new extension is not necessary for my sake.

  7. #27
    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: Extension request: Array with predefined data

    Boo!

    Well I'm making one anyway! Haha

  8. #28
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    941
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Extension request: Array with predefined data

    i will use it if it's useful! hehe
    since i am already using some listboxes, how about an object just like the listbox, but that doesn't use any resources on display (doesn't ever display) and have infinite lenght(s).

    if it could also store multiple lists (any amount) it would be perfect!

  9. #29
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Ryan's Avatar
    Join Date
    Nov 2008
    Location
    Australia
    Posts
    1,279
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extension request: Array with predefined data

    I agree we need a function in MMF2 to handle this. Flash Exporter is currently crippled because of it's inability to read/write from predefined text-based data. We don't need an interface, we just need something that will autoload a local file into a "string" on compile. After that I'm happy to use string parser to sort through my string array.

    My current method is:

    Create an editor that saves to the local file data.txt
    Manually copy the text in data.txt and paste into an edit box in the .SWF
    Have the game read from the edit box.

    If anyone can cut out the manual copy and pasting that would be a huge time saver.

  10. #30
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Extension request: Array with predefined data

    Quote Originally Posted by Skyhunter
    Try to download my compiled flash, if it says haa! when you press space then it must read it from inside compiled flash.
    Just tried and it said "haa!". Now, was this read from a included binary array?

Page 3 of 4 FirstFirst 1 2 3 4 LastLast

Similar Threads

  1. [Paid Request] Extension to transfer Data as Audio for iOS/Android
    By Bipolar_Games in forum Extension Development
    Replies: 3
    Last Post: 27th October 2012, 06:13 PM
  2. Array with data shifting?
    By BloxMaster in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 13th October 2011, 04:18 PM
  3. array as binary data
    By SoftWarewolf in forum iOS Export Module Version 2.0
    Replies: 10
    Last Post: 22nd August 2011, 07:14 PM
  4. How to load data into an Array
    By rubes in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 29th May 2011, 01:22 AM
  5. [Extension Request] Visible Array
    By Dines in forum Extension Development
    Replies: 2
    Last Post: 28th November 2006, 07:44 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
  •