User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16

Thread: [REQUEST] Dictionary Object for SWF

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    [REQUEST] Dictionary Object for SWF

    I'm working on a word game, and I just realized that my favorite extension, the Dictionary Object isn't working for swf output.

    I have compiled my own csv file with 58,111 words. If someone can make a dictionary object and wants to have the words already loaded (so it doesn't have to be loaded at run time) then let me know... I'll PM the csv file to you.

    Either way, it would be very helpful to have the dictionary object working with swf output. Word games are very popular.


  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: [REQUEST] Dictionary Object for SWF

    i tried using the string parser to load my dictionary.csv file but its probably too large of a file. It crashes on run.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: [REQUEST] Dictionary Object for SWF

    Can anyone help me think of a way to get around this? I've got a game that I know will do well and I just hate having it sit idle because i can't check if words exist.

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: [REQUEST] Dictionary Object for SWF

    If all you want to do is check if they exist, just have all the words predefined in a list. Then you can compare if FindStringExact retuns -1 or not to know if it exists or not. You can use lower$() on both of them to make them the same case
    Working as fast as I can on Fusion 3

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: [REQUEST] Dictionary Object for SWF

    Using what, the string parser? My words list is 58,111 entries... the string parser chokes on that file. Is there another way that I'm unaware of?

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Aug 2006
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [REQUEST] Dictionary Object for SWF

    I am guessing LB was thinking the word list would be less, not sure really other than the object getting ported.

    Maybe when Flash Haxx is done you could use a action-script Dictionary library to do something like that, i guess there is a few available for that type of stuff.

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: [REQUEST] Dictionary Object for SWF

    Do you happen to have a guess as to the limit (on the number of comma delimited entries) the string parser might have?

    Perhaps I could break the list into 5 sections... I would test that but I don't have the list with me at work. I'll test that tonight for sure.

  8. #8
    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: [REQUEST] Dictionary Object for SWF

    Quote Originally Posted by Tuna
    Using what, the string parser? My words list is 58,111 entries... the string parser chokes on that file. Is there another way that I'm unaware of?
    Quote Originally Posted by LB
    in a list.
    He means to use FindStringExact$() to test for the word being found.

  9. #9
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: [REQUEST] Dictionary Object for SWF

    The actual List Object, not just any old list, haha.
    Working as fast as I can on Fusion 3

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: [REQUEST] Dictionary Object for SWF

    Thanks a million! This works just fine! It does take some time to load the list though.

    Now, how would I go about loading this list at run time in a swf? Sure, if its local, I can see that working, but I don't know how to pull that off when the game is hosted on Mochigames.com, or others.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Dictionary Object Bugged
    By dragonguy in forum File Archive
    Replies: 5
    Last Post: 27th October 2008, 05:50 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
  •