CN107608805A - The method that JS communicates with FLASH - Google Patents
The method that JS communicates with FLASH Download PDFInfo
- Publication number
- CN107608805A CN107608805A CN201710868262.3A CN201710868262A CN107608805A CN 107608805 A CN107608805 A CN 107608805A CN 201710868262 A CN201710868262 A CN 201710868262A CN 107608805 A CN107608805 A CN 107608805A
- Authority
- CN
- China
- Prior art keywords
- flash
- editing machine
- communicates
- user
- classification
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Abstract
The present invention relates to Web Page Processing technology.There is provided for XBRL user it is an object of the invention to provide more succinct communication mode and more easily operate, it is proposed that a kind of method that JS communicates with FLASH, its technical scheme can be summarized as:User clicks on criteria for classification editing machine button, and the editing machine page is jumped to by connection;The page loads FLASH, after the completion of FLASH loadings, calls corresponding function;By supplemental characteristic corresponding to the reception of corresponding function, and judge whether state value corresponding to the supplemental characteristic is consistent with appointment state value, if unanimously, by corresponding information transmission to FLASH, if inconsistent, not dealing with;FLASH calls corresponding function according to corresponding acquisition of information back-end data again after obtaining successfully, and conditional code is sent into the function, determines whether that user is operated accordingly.The invention has the advantages that after the page has loaded FLASH, by judging whether state value that JS and FLASH arrange unanimously decides whether to communicate, communication is more convenient, succinct.
Description
Technical field
The present invention relates to the technology that Web Page Processing technology, more particularly to JS communicate with FLASH.
Background technology
XBRL Extensible Business Reporting Languages are based on internet, cross-platform operation, dedicated for financial report establishment, are draped over one's shoulders
The computer language for revealing and using.Criteria for classification, the data developed based on B/S frameworks using Flex technology are mapped, financial report
Editing machine needs to communicate in time with the page in operation, in this case it is desirable to develop a kind of JS and FLASH communication parties
Method, for being operated to the verification of XBRL editing machines, preservation and switching etc., and the communication between current JS and FLASH passes through
What corresponding interface routine was carried out, the inconvenience that communicated when data are huge is error-prone.
The content of the invention
It is an object of the invention to provide a kind of method that JS communicates with FLASH, is by providing more succinct communication mode
XBRL user provides and more easily operated.
The present invention solves its technical problem, and the technical scheme of use is:The method that JS communicates with FLASH, it is characterised in that
Comprise the following steps:
Step 1, user click on criteria for classification editing machine button, and the editing machine page is jumped to by connection;
After the completion of step 2, page loading FLASH, FLASH loading, corresponding function is called;
Step 3, by corresponding function receive corresponding to supplemental characteristic, and judge state corresponding to the supplemental characteristic
Whether value is consistent with appointment state value, if unanimously, by corresponding information transmission to FLASH, if it is inconsistent, not making to locate
Reason;
Step 4, FLASH are called described corresponding again according to corresponding acquisition of information back-end data after obtaining successfully
Function, and conditional code is sent to the function, determines whether that user is operated accordingly.
Specifically, in step 2 and/or step 4, corresponding function is specially customized in JavaScript
AsCallJs functions.
Further, in step 3, corresponding information comprises at least criteria for classification ID.
Specifically, in step 4, corresponding operation is including at least verification, preservation and switching.
Further, when editing instance document, framework while embedded instance document editing machine and criteria for classification editor
Device, FLASH monitors role's pulling operation of instance document at any time, if monitor that blank occurs in role, calls described corresponding
Function notice JS refusal users switch editing machine operation, if role be not space-time, click on switching push button, framework is literary by example
Shelves editing machine, which is hidden, to be loaded simultaneously and shows criteria for classification editing machine.
Specifically, when closing criteria for classification editing machine, JS is passed to jsCloseWindow values by corresponding function
Notify whether FLASH, FLASH prompt user to preserve the operation judges of instance document according to user before closing.
The invention has the advantages that the method to be communicated by above-mentioned JS with FLASH, after the page has loaded FLASH, leads to
Cross and judge whether state value that JS and FLASH arrange unanimously decides whether to communicate, communication is convenient, succinct, avoids data Pang
The problem of communication inconvenience is error-prone when big.
Embodiment
With reference to embodiment, technical scheme is described in detail.
The method that JS of the present invention communicates with FLASH comprises the steps of:User clicks on criteria for classification editing machine and pressed
Button, the editing machine page is jumped to by connection;The page loads FLASH, after the completion of FLASH loadings, calls corresponding function;Pass through
Corresponding function receive corresponding to supplemental characteristic, and judge state value corresponding to the supplemental characteristic whether with appointment state value one
Cause, if unanimously, by corresponding information transmission to FLASH, if it is inconsistent, not dealing with;FLASH is according to corresponding letter
Breath obtains back-end data, calls corresponding function after obtaining successfully again, and conditional code is sent into the function, judges whether to permit
Family allowable is operated accordingly.
Embodiment
The method that JS of the embodiment of the present invention communicates with FLASH, comprises the following steps:
Step 1, user click on criteria for classification editing machine button, and the editing machine page is jumped to by connection;
After the completion of step 2, page loading FLASH, FLASH loading, customized asCallJs in JavaScript is called
Function;
Step 3, by customized asCallJs functions in JavaScript receive corresponding to supplemental characteristic, and judge should
Whether state value corresponding to supplemental characteristic is consistent with appointment state value, if unanimously, by corresponding information transmission to FLASH,
If it is inconsistent, not dealing with, and user is prompted to release current page, wherein, corresponding information includes criteria for classification
ID etc.;
Step 4, FLASH call corresponding function according to corresponding acquisition of information back-end data again after obtaining successfully, and
Conditional code is sent to the function, determines whether that user such as is verified, preserved and switched at the operation.
In practical application, when editing instance document, framework while embedded instance document editing machine and criteria for classification editor
Device, FLASH monitor role's pulling operation of instance document, if monitor that blank occurs in role, called at any time
Customized asCallJs functions notice JS refusal users switch editing machine operation in JavaScript, if role is not space-time,
Switching push button is then clicked on, framework hides instance document editing machine to be loaded and show criteria for classification editing machine simultaneously;Divide when closing
During class standard editing machine, JS is passed to jsCloseWindow values by customized asCallJs functions in JavaScript and notified
Whether FLASH, FLASH prompt user to preserve the operation judges of instance document according to user before closing.
Claims (6)
- The method that 1.JS communicates with FLASH, it is characterised in that comprise the following steps:Step 1, user click on criteria for classification editing machine button, and the editing machine page is jumped to by connection;After the completion of step 2, page loading FLASH, FLASH loading, corresponding function is called;Step 3, by corresponding function receive corresponding to supplemental characteristic, and judge that state value corresponding to the supplemental characteristic is It is no consistent with appointment state value, if unanimously, by corresponding information transmission to FLASH, if it is inconsistent, not dealing with;Step 4, FLASH call corresponding letter again according to corresponding acquisition of information back-end data after obtaining successfully Number, and conditional code is sent to the function, determine whether that user is operated accordingly.
- 2. the method that JS according to claim 1 communicates with FLASH, it is characterised in that in step 2 and/or step 4, institute It is specially customized asCallJs functions in JavaScript to state corresponding function.
- 3. the method that JS according to claim 1 communicates with FLASH, it is characterised in that in step 3, corresponding letter Breath comprises at least criteria for classification ID.
- 4. the method that JS according to claim 1 communicates with FLASH, it is characterised in that in step 4, corresponding behaviour Make including at least verification, preservation and switching.
- 5. the method that the JS according to claim 1-4 any one communicates with FLASH, it is characterised in that when editor's example During document, embedded instance document editing machine and criteria for classification editing machine, FLASH monitor the role of instance document to framework at any time simultaneously Pulling operation, if monitor that blank occurs in role, corresponding function notice JS refusal users are called to switch editing machine Operation, if role is not space-time, switching push button is clicked on, framework hides instance document editing machine to be loaded and show classification simultaneously Standard compliation device.
- 6. the method that JS according to claim 5 communicates with FLASH, it is characterised in that when closing criteria for classification editing machine When, JS is passed to jsCloseWindow values by corresponding function and notifies FLASH, and FLASH is according to user before closing to example Whether the operation judges of document prompt user to be preserved.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710868262.3A CN107608805B (en) | 2017-09-22 | 2017-09-22 | JS and FLASH communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710868262.3A CN107608805B (en) | 2017-09-22 | 2017-09-22 | JS and FLASH communication method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107608805A true CN107608805A (en) | 2018-01-19 |
CN107608805B CN107608805B (en) | 2020-06-02 |
Family
ID=61057586
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710868262.3A Expired - Fee Related CN107608805B (en) | 2017-09-22 | 2017-09-22 | JS and FLASH communication method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107608805B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070250618A1 (en) * | 2006-04-25 | 2007-10-25 | Stephen Hammond | Independent actionscript analytics tools and techniques |
CN101115064A (en) * | 2007-09-10 | 2008-01-30 | 腾讯科技(深圳)有限公司 | Network data storing, obtaining method and its implementing device |
US20110138354A1 (en) * | 2009-12-07 | 2011-06-09 | International Business Machines Corporation | Interactive video player component for mashup interfaces |
-
2017
- 2017-09-22 CN CN201710868262.3A patent/CN107608805B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070250618A1 (en) * | 2006-04-25 | 2007-10-25 | Stephen Hammond | Independent actionscript analytics tools and techniques |
CN101115064A (en) * | 2007-09-10 | 2008-01-30 | 腾讯科技(深圳)有限公司 | Network data storing, obtaining method and its implementing device |
US20110138354A1 (en) * | 2009-12-07 | 2011-06-09 | International Business Machines Corporation | Interactive video player component for mashup interfaces |
Non-Patent Citations (2)
Title |
---|
ZHISHAOFEI3: "《https//www.bbsmax.com/A/A7zgmvmW54》", 20 January 2015 * |
钟子云: "《FLASH与JAVASCRIPT之间的通讯》", 《计算机应用》 * |
Also Published As
Publication number | Publication date |
---|---|
CN107608805B (en) | 2020-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10412184B2 (en) | System and method for displaying contextual activity streams | |
US10630705B2 (en) | Real-time push API for log events in enterprise threat detection | |
US9886430B2 (en) | Entity based content selection | |
CN104468611B (en) | The data safety processing method and device switched based on dual system | |
CN109760041B (en) | Chat robot-based cloud management system and operation method thereof | |
US10534907B2 (en) | Providing semantic connectivity between a java application server and enterprise threat detection system using a J2EE data | |
US10685007B2 (en) | Table content transport and delivery | |
CN106161060B (en) | Data monitoring method and device | |
CN106959852B (en) | Application icon corner mark display method and device and terminal | |
CN103442138A (en) | Voice control method, device and terminal | |
US9824077B2 (en) | Text information input method and apparatus | |
US20170168705A1 (en) | Method and electronic device for adjusting video progress | |
CN108008992B (en) | Input operation processing method, processing device and computer readable storage medium | |
CN107995242A (en) | A kind of method for processing business and system | |
US20110314077A1 (en) | Identification of compatible products for use with mobile devices | |
SG10201901932XA (en) | Data module management for data processing system | |
CN109766315B (en) | File display method and terminal, computer storage medium and computer equipment | |
CN107818107A (en) | The method and apparatus for controlling page jump | |
US20150007019A1 (en) | Apparatuses and methods for phone number processing | |
CN107608805A (en) | The method that JS communicates with FLASH | |
GB2521637A (en) | Messaging digest | |
CN110765782B (en) | Key value-based field translation method, device, computer equipment and storage medium | |
CN106528719A (en) | Http-based dynamic instant adaptive multilingual processing method | |
US20170277661A1 (en) | Dissociative view of content types to improve user experience | |
CN106375190B (en) | instant messaging software interface splitting and merging display method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200602 Termination date: 20210922 |