User Tag List

Results 1 to 10 of 10

Thread: Need Help with PredictiveText Program

  1. #1
    Clicker Multimedia Fusion 2 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    israel
    Posts
    207
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need Help with PredictiveText Program

    hi

    i do this program to improve the vocabulary in english, i have a file with 354932 words in english.
    and i load it in the start to the combo box, than when start writing a word in the combo box it bring the next close word to what you write.
    and we can add new words to the file.
    i have two problems.
    1- how can i load in the fast way my file to the combo box?
    2- when loading the file with the words to the combo box i want the progress bar to show steps until it end loading.

    can someone fix my program ?

    thank's alot

    ezra
    Attached files Attached files

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

    Re: Need Help with PredictiveText Program

    Since I only have TGF2, upload it without the progress bar and I can fix your problem and still have a progress bar in the end.
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Multimedia Fusion 2 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    israel
    Posts
    207
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need Help with PredictiveText Program

    can you do for me a new example with progress bar running when load a file.lst to a combo box ?

  4. #4
    Clicker Multimedia Fusion 2 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    israel
    Posts
    207
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need Help with PredictiveText Program

    can someone here help me with my problem ?

  5. #5
    No Products Registered

    Join Date
    Jun 2006
    Location
    Texas
    Posts
    1,002
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need Help with PredictiveText Program

    What if you only made it load into the combobox after you type the first letter? Then you narrow it down to say only words starting with letter C. That way you could break your file into 26 different files (if you wanted to) and that should improve your speed somewhat.

    I think it should also exclude possibilities from the combobox that don't match the word that you type.

    Let me add that it is not a wise idea to hardcode file paths.

    Have you looked at the Dictionary object and the Spellcheck objects (The latter is Dev only though).

  6. #6
    Clicker Multimedia Fusion 2 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    israel
    Posts
    207
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need Help with PredictiveText Program

    i dont care that it's take a time to download all the words i only want while downloads the file to show a progress bar until it end downloading.
    can someone fix the program ?

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

    Re: Need Help with PredictiveText Program

    Quote Originally Posted by ezra
    i dont care that it's take a time to download all the words i only want while downloads the file to show a progress bar until it end downloading.
    can someone fix the program ?
    Use the download object and set the progress bar to the percent of the file downloaded.
    Working as fast as I can on Fusion 3

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Feb 2007
    Location
    Queensland, Australia
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need Help with PredictiveText Program

    He means loading, not downloading. (I think)

    I'm not really sure because the only way I can think of is saying count the number of lines, then start a loop that many times which creates a new line with the text of the corresponding line in the file. (I'm not even sure that's possible) But implementing a progress bar afterwards would be simple, set max to the number of lines and set step to 1 then on each loop say step.

    I hope that somehow helps.

    EDIT:

    Thought of something else, you could pretend to make the progress bar work. Just say:

    You'll need 2 counters / values

    Always ->
    + Add to counter "count" 1 (this is the number you'll have to experiment with)

    Start of frame ->
    + Set counter "lines" to (number of lines, you have to save this in another file or something)

    Counter "count" <> Counter "lines" ->
    + Step progress bar

    You'll have to make the timing right by changing the amount added, remember counters do support decimals.

  9. #9
    Clicker Multimedia Fusion 2 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    israel
    Posts
    207
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need Help with PredictiveText Program

    i mean loading from a file - i try but it dosn't work i hope someone will fix my program here.
    thank's alot for the help.

  10. #10
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need Help with PredictiveText Program

    I dont really understand your main problem,
    but as for your loading time its just because your using list(terrable at large files)
    use array or binary
    you'll load hundeds(maybe thosands)of times faster
    then i would suggest rather then adding all the string to a list whitch is a slow and sloppy object emulate the scroll bar and add only those items you should see at any one time. =D

Similar Threads

  1. Ftp program
    By DJ_Wild in forum File Archive
    Replies: 0
    Last Post: 25th April 2009, 12:59 PM
  2. Program to Program Coding - Is it Possible ?
    By MBK in forum Multimedia Fusion 2 - Technical Support
    Replies: 20
    Last Post: 24th June 2007, 01:34 PM
  3. Example Program for Jam
    By dingdong in forum File Archive
    Replies: 0
    Last Post: 20th June 2007, 05:43 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
  •