Search a word in a swf from a different swf

can u please help me and explain regarding the search and
highlight using:-
indexOf();
Selection.setFocus();
Selection.setSelection();
As for example.
I have several *.swf files.
chapter1.swf
chapter2.swf
chapter3.swf
search.swf
Inside chapter1 has many topic. Same thing goes to chapter 2
and 3. Lets say for example, each chapter contains 3 topics.
Chapter 1 - Topic 1
Chapter 1 - Topic 2
Chapter 1 - Topic 3
Chapter 2 - Topic 1
Chapter 2 - Topic 2
Chapter 2 - Topic 3
Chapter 3 - Topic 1
Chapter 3 - Topic 2
Chapter 3 - Topic 3
I want to do a search in search.swf. If I search by word.
Example word "he goes". The result will display the name of the
chapter and topic in which that word is located.
Chapter 1 - Topic 2
Chapter 1 - Topic 3
Chapter 3 - Topic 1
If I click on one of it, it will bring me directly to that
chapter and topic.
What should I do to accomplish this?
Thank you in advance.

did you ever find a solution? I have a similar need.

Similar Messages

  • The word app has disappeared from my desktop computer and can't be found on finder or search. All documents I created on word will now not open unless in "TextEdit" format which I don't use. Any ideas please? Thanks

    The word app has disappeared from my desktop computer and can't be found on finder or search. All documents I created on word will now not open unless in "TextEdit" format which I don't use. Any ideas please? Thanks

    Did you recently erase and/or reinstall the OS?
    And, some details are needed: model/year Mac, Mac OS version running now and which version originally).

  • Read one word at a time from a text file

    I want to read one word at a time from a text file as it is done by "scanf &s" function in text based programme. It is not possible by " read from text"  function. Suggest me  function or method to solve this.

    The simplest way is to use the spreadsheet string to array function with the space character as the delimiter.
    Note that this won't work unless there is a space character between the words - it won't work with line feeds / carriage returns between the words but you could always split the string into lines first. You may also want to trim whitespace to remove any other non-visible characters (e.g. tab, line feeds) from around the word.
    If you need something more sophisticated that splits based on whitespace (e.g. tab, new line) then you'll probably need to do something with searching the string for these characters (e.g. using a regular expression) and then splitting them yourself into an array.
    Of course...if you actually want to just read one word at a time from the file rather than just split the file into words (I assumed you meant this), you will need to read the file byte by byte using the low level file IO functions, build a buffer of the bytes and check the character you've read to see if it a space.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Unable to search for words in a pdf document

    I am using Adobe Reader Ver 10.1.1 (All updates)
    I have a pdf document in which I am unable to search for words. No words in the document are found even though they do exist. If I copy a word from within the document and paste it into the search criteria then instead of getting the word that I copied, I get substitute characters and it can in fact find these characters as the word being searched.
    The document is a catalog and can be downloaded from the following URL.
    http://www.carbatec.com.au/getcatalogue?zenid=d1cuvbat0ois0g37r0r33vnah1
    I will appreciate any help as to why I cannot search for words in the document.

    Thank you Dave Merchant and try67 for your responses. As per my previous post, I contacted the company re the catalogue and they have responded favourably. I'll include their response because it gives the reason for the search failure as document compression which you might find interesting. I'll await their new catalogue and see if they have fixed the problem.
    Company response:
    Thank you very much for your input.  And yes, you are correct, the compression we used for the current catalogue's PDF format does strip out text included in the catalogue.  We used the compression settings we did with the intention of minimising download time, however I take your point about including text for search purposes (which I also utilise when I'm scanning through PDFs).
    We will actually be posting out our new catalogue next week and we'll release the new PDF version on the website at the same time.  I've asked our graphic designer to ensure that the PDF we use for the new catalogue includes searchable text.

  • Can't search for words anymore after saving PDFs in Preview

    Hi everyone,
    I would love to use Preview for my day-to-day use of previewing PDFs + highlighting + setting annotations. However, once I have saved the pdf with Preview I can not search for words anymore. If I search for one letter only, I would get cryptic hits like "7;%! 2%8%P%8!".
    I am not sure, but I guess when preview saves the pdf using a Quartz PDF context, something happens with the index, or the underlying the font structuring.
    Does anyone have had experience with these kinds of troubles?
    Thanks in advance,
    Heinrich

    Hi, thanks for answering quickly, and the heads up on that other thread.
    It undoubtedly has to do with the annotations or mark ups (the last, in my case).
    In the linked-to thread they end by suggesting that it's because it's has "commenting not allowed" when you see it
    using Adobe Reader, File > Properties > Security says Commenting: Not Allowed.
    However, some documents with "commenting not allowed set in Adobe Reader I can highlight or annotate fine, without it messing up after saving.
    Besides, any document I save as pdf even from Word, will say commenting not allowed in Adobe Reader. So if even my own documents are not highlight- or annotate-able without garbling the text, what documents would these functions be for, then?
    I think what somebody mentioned in the other thread about character encodings hold some truth, I see it in documents in Danish with æ ø and å (however, not all!), but not in English-only docs (yet. Have any of you?).
    Thanks in advance,
    - Alexander

  • I need autocomplete  for search for words in a txt. file

    i am not so good in java.
    I have a running code for search in text with a txt. file (from user bluefox815).
    But I need a solution with autocomplete for search for words in a txt. file.
    test_file.txt (Teil des Inhaltes):
    Roboter robots
    Mechatronik mechatronics
    and so on
    Can you help me please.
    Here is the code:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    * this program searches for a string in a text file and
    * says which line it found the string on
    public class SearchText implements ActionListener {
    private String filename = "test_file.txt";
    private JFrame frame;
    private JTextField searchField;
    private JButton searchButton;
    private JLabel lineLabel;
    private String searchFor;
    private BufferedReader in;
    public SearchText() {
    frame = new JFrame("SearchText");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    searchField = new JTextField(80);
    searchButton = new JButton("Search");
    // this is used later in our actionPerformed method
    searchButton.setActionCommand("search");
    // this sets the action listener for searchButton, which is the current class
    // because this class implements ActionListener
    searchButton.addActionListener(this);
    lineLabel = new JLabel("nach dem Fachbegriff suchen");
    public void createGUI() {
    JPanel topPanel = new JPanel();
    topPanel.setLayout(new BoxLayout(topPanel, BoxLayout.X_AXIS));
    JPanel bottomPanel = new JPanel();
    JPanel mainPanel = new JPanel();
    mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.Y_AXIS));
    topPanel.add(searchField);
    topPanel.add(searchButton);
    bottomPanel.add(lineLabel);
    mainPanel.add(topPanel);
    mainPanel.add(bottomPanel);
    frame.getContentPane().add(mainPanel);
    frame.pack();
    frame.setVisible(true);
    public void actionPerformed(ActionEvent e) {
    // now we get the action command and if it is search, then it is the button
    if ("search".equals(e.getActionCommand())) {
    searchFor = searchField.getText();
    searchTheText();
    private void searchTheText() {
    // I initialize the buffered reader here so that every time the user searches
    // then the reader will start at the beginning, instead of where it left off last time
    try {
    in = new BufferedReader(new FileReader(new File(filename)));
    } catch (IOException e) {
    String lineContent = null;
    int currentLine = 0;
    // this will be set to true if the string was found
    boolean foundString = false;
    while (true) {
    currentLine++;
    // get a line of text from the file
    try {
    lineContent = in.readLine();
    } catch (IOException e) {
    break;
    // checks to see if the file ended (in.readLine() returns null if the end is reached)
    if (lineContent == null) {
    break;
    if (lineContent.indexOf(searchFor) == -1) {
    continue;
    } else {
    lineLabel.setText(String.valueOf(lineContent));
    foundString = true;
    break;
    if (!foundString)
    lineLabel.setText("Es kann kein Fachbegriff gefunden werden.");
    try {
    in.close();
    } catch (IOException ioe) {
    public static void main(String[] args) {
    SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    new SearchText().createGUI();
    }

    Markus1 wrote:
    But I need a solution with autocomplete for search for words in a txt. file.What is your question? What have you tried so far? What are you having difficulty with?
    Mel

  • Want to search a word in a column multiple times ????

    Hello All,
    Want to search a word in column and after that word want to read the values till i encounter blank cell, uptill this i could get the code but then in same column again i have to search for same word and again start reading. 
    In short if i encounter word "Name" three times in one column i must start reading after that immediately three times till next very blank cell.
    I am attaching code and my .xl file.
    Hope anyone could guide me...
    Thanks a lot...
    pals 
    Solved!
    Go to Solution.
    Attachments:
    Untitled 1.vi ‏32 KB
    Book12.xls ‏24 KB

    Hi Gaurav,
    Ya thats what the probelm is that nothing is fixed....  There are six headers and there column number is fixed.
    It should take 1st header search in column A if the word "Name"Comes twice it should read twice just below the header Name all the exciting values, then it should go for other Header "Gruop" in Column B and do the same. And this should be done for all six headers.
    Eg:
     A             B            C         D      E   F          G  ------ Column number from excel
    Group   Number   Name  Rate  IR    FR      Freq   ----- these are headers
     1              3           fgh       23    45    56        78
     2              5           ty        56     67    67        67 
    Group   Number    Name   Rate  IR    FR    Freq ---- 2nd set of headers
     4              3            ty           33    56   88      100
    Hope that now i am bit clear
    thanks a lot...
    Pals

  • Searching for words in Album names

    My iPhoto search function is unable to find words that are in the names of newly-created Albums. It can find words in the names of albums I created some time back but not in new one.
    This is what I do:
    1) Select several photos.
    2) Push the plus sign to create a new album.
    3) Give the album a unique name like "dazzler"
    4) Select the tab to view all photos in the library.
    6) Do a search for "dazzler", but nothing comes up.
    Very strange.
    If I search for words in libraries I created a week ago, they show up fine.
    I've already reindexed Spotlight, restarted, and tried various other general things, all to no avail. Any advice would be appreciated.
    Thanks,
    Matthew

    I can confirm your problem. Report the bug at http://www.apple.com/feedback/iphoto.html as will I.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Word documents have disappeared from my desk top (macbook air) and cannot be found anywhere, happened after switching off and re-bootingk

    Saved word documents have dissappeared from the desk top after saving. Problem seems to occur when laptop is switched off and then re-started. they can't be found anywhere e.g tried spotlight, recent documents etc. Help. Joe

    First, you might as well address the two apparently-minor issues you found:
    Some info on the Epson Scanner Monitor (via searching these forums):
    http://discussions.apple.com/thread.jspa?messageID=8272208&#8272208
    Not sure about the MS Word message, but it looks like you might need an upgrade. I'd check with Microsoft, or perhaps VersionTracker.com.
    Ok, back to the original problem. Does the message have any other text (intelligible or not)?
    Does it give you any options, especially "report"? If so, take it, then look via Console for a crash log.
    What IS in the system log for the sleep/wake time? There should be a System Sleep, followed by a System Wake, and perhaps another line or two. Anything in that area might be helpful.

  • Reading a LargeFile and search a word in that File

    Hai every one
    I need help,
    I want to read Large File and i have to search a word from that file.
    It is a Dictionar search means searching a meaning for a perticular given word.
    I used FileReader and BufferReader.
    But i didn't get all the file into BufferReader.
    Please Help me
    I written my code is

    I written my code isIt's not going to work with that code.

  • Need to search for words with similar meaning

    HI,
    I want to search for words which are similar in meaning,
    for example, search with the keyword LIME should give LIME , LEMON etc.
    Can it be done using the inbuilt thesaurus?

    I don't know how similar the example that you provided is to your actual problem.  Synonyms are not the only relations that you can set.  You an also use related terms and hierarchies using broader and narrower terms.  In the following example, I have created citrus as a broader term and created lemon, lime, and orange as narrower terms underneath citrus.  I have them demonstrated how you can query to return all items from the same category that lemon is in, by first finding the broader term citrus above it, then searching for all narrower terms underneath that.  I have included some intermediary results that you don't need to run, just for better understanding of how the query is formed.
    SCOTT@orcl12c> create table test_tab
      2    (test_col  varchar2(60))
      3  /
    Table created.
    SCOTT@orcl12c> insert all
      2  into test_tab values ('lemon')
      3  into test_tab values ('lime')
      4  into test_tab values ('orange')
      5  into test_tab values ('toaster oven')
      6  select * from dual
      7  /
    4 rows created.
    SCOTT@orcl12c> create index test_tab_idx on test_tab (test_col) indextype is ctxsys.context
      2  /
    Index created.
    SCOTT@orcl12c> begin
      2    ctx_thes.create_thesaurus ('test_thes');
      3    ctx_thes.create_relation ('test_thes', 'lemon', 'bt', 'citrus');
      4    ctx_thes.create_relation ('test_thes', 'lime', 'bt', 'citrus');
      5    ctx_thes.create_relation ('test_thes', 'orange', 'bt', 'citrus');
      6  end;
      7  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> variable g_search varchar2(100)
    SCOTT@orcl12c> exec :g_search := 'lemon'
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> select ctx_thes.bt (:g_search, 1, 'test_thes') from dual
      2  /
    CTX_THES.BT(:G_SEARCH,1,'TEST_THES')
    {LEMON}|{CITRUS}
    1 row selected.
    SCOTT@orcl12c> select 'nt(' ||
      2            replace (ctx_thes.bt (:g_search, 1, 'test_thes'), '|', ', 1, test_thes)|nt(')
      3            || ', 1, test_thes)'
      4  from  dual
      5  /
    'NT('||REPLACE(CTX_THES.BT(:G_SEARCH,1,'TEST_THES'),'|',',1,TEST_THES)|NT(')||',
    nt({LEMON}, 1, test_thes)|nt({CITRUS}, 1, test_thes)
    1 row selected.
    SCOTT@orcl12c> select * from test_tab
      2  where  contains
      3            (test_col,
      4            'nt(' ||
      5            replace (ctx_thes.bt (:g_search, 1, 'test_thes'), '|', ', 1, test_thes)|nt(')
      6            || ', 1, test_thes)') > 0
      7  /
    TEST_COL
    lemon
    lime
    orange
    3 rows selected.

  • Search for word/phrase by ctrl+shift+F

    ctrl+shift+F
    One can enter here  the file/folder path the search for word/phrase should be made.
    But length of this control element is really limited.
    If the chosen path is very long, with lot of folder levels, longer than the control element is capable to show it,
    the path string is truncated. Truncation in its middle part.
    Nobody is able to see how exactly the path is, after it has been shortened.
    And now, please imagine that there are several similar paths on the disc.
    They differ by theirs middle section only.
    Now assume the search needs 3 hours.
    1. After 3 hours of search run user can't say which folder of all similar folders he has chosen for last search operation.
    After search completes user is no able to check, which path the search ran in.
    2. If new search in some other folder but in a folder located close to the previous one is aimed  the user
    has to follow the whole path from the disc root - job intensive task.
    Adobe Reader should use the previous search path as start point of new search path selection.
    The full-feature product Adobe Acrobat probably also affected.

    Hi vmartin01,
    I tried to check at my end and it works fine at my end.
    Regards,
    Ajlan Huda.

  • Help- trouble searching any words in PDFs!

    hi all,
    i have been having  trouble searching any words in PDFs:
    when i downloaded a PDF in my windows XP, it opened and searched fine at first with Adobe Reader. Then i zipped to to my iMac OS X, and when opening it in Preview, it would not find any text that i searched for. I re-downloaded it straight from the internet to my mac, several times, and each time still Preview could not search it.
    Then i tried downloading and installing the entire Adobe Reader to my mac, so i could open it with that. But, then it still would not search/find anything in the PDF.
    Then, I downloaded yet another PDF reader called Skim, installed and tried that on my MAC. Still, no luck. I went back to the original site where i got this PDF, and found the most updated version, deleted the former and redownloaded the latest to both my windows and my mac.  Finally this time it worked! So happy! Unfortunately, just today, a day or two later, i opened a different PDF on my mac, and it opened automatically using Adobe reader, (rather than the usual default Preview app, as i guess i might have set my prefs to change adobe reader to be the default while i was tinkering around trying to troubleshoot it all), and again i could not get the search to work at all! Then, i changed my mac prefs to have the default PDF opener be Preview. But still,Preview would not find any text in this pdf EITHER!
    Can anyone please help? I have been going crazy trying to chase after the solution to this perplexing problem! thanks!
    BTW,  i use Firefox (always the latest version) as my browser. And the PDFs i am discussing are downloaded already and opened from my OS (not the internet.)

    public void checkWord() {
             String word1="1stWord";
             String word2="2ndWord";
             String word3="3rdWord";
             boolean w1,w2,w3;
             w1=false;
             w2=false;
             w3=false;
             ArrayList list=new ArrayList();
             list.add("1stWord");
             list.add("2ndWord");
             list.add("3rdWord");
             list.add("4thWord");
             Iterator i=list.iterator();
             while(i.hasNext()) {
                       String listValue=(String)i.next();
                       if(listValue.equals(word1)) w1=true;
                       else if(listValue.equals(word2)) w2=true;
                       else if(listValue.equals(word3)) w3=true;
             if(w1&&w2&&w3) {
                       System.out.println("All Matched");
    }Will it work?

  • IPad version:how can I search a word on modules?

    Hi to everybody! How can I search a word in modules?
    I understand that I can do a search in spreadsheet, but I need to do in a module that is more efficient...so do you know?
    And why when I write on module I can't press enter and begin to write a new line??
    Thanks!

    Touch the URL field at the top of the page, type your word and a list of possible searches will be shown. Near the bottom of this list will be "On this page" which shows hits on the page (if any). Touch this and you will be taken to the first match.

  • Can I search email archive on iCloud server from iOS device, or can I only search what it has downloaded locally?

    Can I search email archive on iCloud server from iOS device, or can I only search what it has downloaded locally?
    I currently have an iPhone and iPad, and am soon changing over to a Mac. When that happen I'd like to try to see what I can migrate over from the Google ecosystem to the iCloud ecosystem.
    1) Currently I have the Gmail iOS app (a webapp container) that can search server-side of several years of email archive.  Can iCloud do this using the iOS native mail application?  Or is the search just limited to what the device has downloaded locally?
    2) Do I have to use a @me.com address for the full iCloud email sync to take place between server, Mac, and iOS devices?
    Believe it or not I've read quite a bit about the iCloud services, but the answers to these questions were far from clear.  Many thanks for the help.

    2)  iCloud only syncs email between .me/.mac addresses.  For other accounts like google, you set up the account in the mail app and if they're IMAP accounts, you can sync between the google server and any devices you have defined that account on.
    I'm not absolutely sure about 1) since I haven't had to search going back years - I use MailSteward for that on the mac.  On my iPhone/iPad, when I go into a mailbox and the emails are not immediately available, it downloads them.  I suspect for a search, you need the emails downloaded.

Maybe you are looking for

  • PO Price History Report

    Hello.  I'm trying to develop a PO Price History Report for our compnay  based on ME1P. This is the format I want my report to look something like this: h5Material Code    Mat.Description   Vendor Code   Vendor Descrip.    Qty    Price/ea   PO Number

  • Changing views in Flex

    My application is built similar to the Tourde flex-->Data Visualization-->IBM ILog Elixir-->RealTime Dashboard(2) application which has a map on the top portion and 2 datagrids on the bottom. My application does not have a clock shown on the bottom p

  • Filling out an online form

    Hello all, I am looking for opinions please if possible. If you visit a website and wish to download/view/print a PDF relating to a particular product on the site, would it put you off if you could only access the pdf if you fill in your contact deta

  • Soft returns, xml export

    If I want to export text, including soft returns, to xml I get the error that some kind of characters are not recognized. Is there a way to export soft returns correctly to xml ? I already posted a similar question, but maybe I was not clear anough,

  • Linking to one new browser window?

    Can anyone tell me how to open multiple pdfs from one page in the same new browser window instead of opening multiple windows in Dreamweaver 8 (MAC)?