CN106485770A - A kind of format conversion method of flash animation and device - Google Patents

A kind of format conversion method of flash animation and device Download PDF

Info

Publication number
CN106485770A
CN106485770A CN201510530616.4A CN201510530616A CN106485770A CN 106485770 A CN106485770 A CN 106485770A CN 201510530616 A CN201510530616 A CN 201510530616A CN 106485770 A CN106485770 A CN 106485770A
Authority
CN
China
Prior art keywords
animation
transformation form
target transformation
converted
flash
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
Application number
CN201510530616.4A
Other languages
Chinese (zh)
Other versions
CN106485770B (en
Inventor
梁宇轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510530616.4A priority Critical patent/CN106485770B/en
Publication of CN106485770A publication Critical patent/CN106485770A/en
Application granted granted Critical
Publication of CN106485770B publication Critical patent/CN106485770B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The present invention discloses a kind of format conversion method of flash animation, and methods described includes:Determine arbitrary flash animation to be converted first, and obtain the dynamic data of described flash animation to be converted, wherein, described dynamic data includes the coordinate information of predeterminated position in each animation frame in described flash animation to be converted;Secondly, determine Target Transformation form, and the routine interface by described Target Transformation form, the coordinate information of predeterminated position in each animation frame in the flash animation described to be converted that described dynamic data is included, it is added in the default template of described Target Transformation form, obtain the object format animation of described Target Transformation form.Compared with prior art, the present invention, by flash animation is converted to the object format animation that can run on senior browser and mobile terminal, improves the development efficiency that can run on senior browser and mobile terminal form animation.

Description

A kind of format conversion method of flash animation and device
Technical field
The present invention relates to data processing field is and in particular to a kind of format conversion method of flash animation and dress Put.
Background technology
With the continuous growth of senior browser market share, and the mobile terminal interaction page promotes marketing Market continuous increase, substantial amounts of interactive animation is required by market.And traditional flash form is dynamic Draw (abbreviation flash animation) and there is the limitation of its own, i.e. fortune on senior browser for the flash animation Row effect is not perfect, and again often unavailable in mobile terminal.
So, existing market needs the animation that can break through the circumscribed extended formatting of traditional flash animation badly, The operation demand of the running environment such as senior browser and mobile terminal can be adapted to.
Content of the invention
In view of this, the invention provides a kind of format conversion method of flash animation and device are so that flash The operation that animation be can adapt to the running environment such as senior browser and mobile terminal after transition animation form needs Ask.
On the one hand, the invention provides a kind of format conversion method of flash animation, methods described includes:
Determine arbitrary flash animation to be converted, and obtain the dynamic data of described flash animation to be converted, Wherein, described dynamic data includes predeterminated position in each animation frame in described flash animation to be converted Coordinate information;
Determine Target Transformation form, and the routine interface by described Target Transformation form, by described dynamic number According to the coordinate information of predeterminated position in each animation frame in the flash animation described to be converted including, add To in the default template of described Target Transformation form, obtain the object format animation of described Target Transformation form.
Preferably, described determination Target Transformation form, including:
The running environment of predetermined object format animation;
According to described running environment, it is determined for compliance with the Target Transformation form of described running environment.
Preferably, methods described also includes:
Calculate the data volume of described dynamic data;
According to described data volume, in the Target Transformation form meeting described running environment, select satisfaction described The Target Transformation form that data volume requires.
Preferably, methods described also includes:
Call the logical control interface of described object format animation, the control arranging described object format animation is patrolled Volume.
On the other hand, present invention also offers a kind of format conversion apparatus of flash animation, described device bag Include:
First determining module, for determining arbitrary flash animation to be converted;
Acquisition module, for obtaining the dynamic data of described flash animation to be converted, wherein, described dynamic State data includes the coordinate information of predeterminated position in each animation frame in described flash animation to be converted;
Second determining module, for determining Target Transformation form;
Filling module, for the routine interface by described Target Transformation form, described dynamic data is included Flash animation described to be converted in each animation frame predeterminated position coordinate information, be added to described In the default template of Target Transformation form, obtain the object format animation of described Target Transformation form.
Preferably, described second determining module, including:
First determination sub-module, for predefining the running environment of object format animation;
Second determination sub-module, for according to described running environment, being determined for compliance with the target of described running environment Format transformation.
Preferably, described second determining module, also includes:
Calculating sub module, for calculating the data volume of described dynamic data;
Select submodule, for according to described data volume, meeting the Target Transformation form of described running environment In, select to meet the Target Transformation form that described data volume requires.
Preferably, described device also includes:
Setup module, for calling the logical control interface of described object format animation, arranges described target lattice The control logic of formula animation.
The present invention determines arbitrary flash animation to be converted first, and obtains described flash animation to be converted Dynamic data, wherein, described dynamic data includes each animation frame in described flash animation to be converted The coordinate information of upper predeterminated position;Secondly, determine Target Transformation form, and by described Target Transformation form Routine interface, in each animation frame in the flash animation described to be converted that described dynamic data is included The coordinate information of predeterminated position, is added in the template of described Target Transformation form, obtains described Target Transformation The object format animation of form.Compared with prior art, the present invention can by being converted to flash animation Run on the object format animation on senior browser and mobile terminal, improve and can run on senior browsing Device and the development efficiency of mobile terminal form animation.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present application, below will be to institute in embodiment description Need use accompanying drawing be briefly described it should be apparent that, drawings in the following description are only the application Some embodiments, for those of ordinary skill in the art, in the premise not paying creative labor Under, other accompanying drawings can also be obtained according to these accompanying drawings.
The format conversion method flow chart of the flash animation that Fig. 1 provides for the present invention;
One of dynamic after the animation by flash animation conversion css3 animated format that Fig. 2 provides for the present invention Draw the schematic diagram of frame;
The format conversion apparatus structural representation of the flash animation that Fig. 3 provides for the present invention;
Fig. 4 is the block diagram of the related part-structure of mobile phone of terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clearly Chu, it is fully described by it is clear that described embodiment is only some embodiments of the present application, rather than Whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making creation Property work under the premise of the every other embodiment that obtained, broadly fall into the scope of the application protection.
At present, by way of software programming, directly exploitation can run on senior browser and move eventually The animation at end less efficient, and the efficiency developing flash animation is then higher.So, can transport to improve In the development efficiency of senior browser and the animation of mobile terminal, the embodiment of the present invention make use of flash to row The high feature of animation development efficiency, will enter row format conversion using the flash animation of flash software Efficient Development, Obtain running on the animation of the form of senior browser and mobile terminal.
Senior browser in the embodiment of the present invention is the browser supporting Android 1.6, generally on the market Third party's browser is senior browser, such as QQ browser, sogou browser etc..In addition, it is mobile whole End, such as smart mobile phone, panel computer etc., the browser of installation is all senior browser.
Embodiment one
Reference Fig. 1, a kind of format conversion method flow chart of flash animation that Fig. 1 provides for the present embodiment, Specifically can include:
S101:Determine arbitrary flash animation to be converted, and obtain the dynamic of described flash animation to be converted State data, wherein, described dynamic data includes pre- in each animation frame in described flash animation to be converted If the coordinate information of position.
S102:Determine Target Transformation form, and the routine interface by described Target Transformation form, will be described The coordinate letter of predeterminated position in each animation frame in the flash animation described to be converted that dynamic data includes Breath, is added in the default template of described Target Transformation form, obtains the target lattice of described Target Transformation form Formula animation.
In S101, after user specifies any one flash animation according to demand, system is by described flash Animation is defined as flash animation to be converted.
It is true that all including in each flash animation representing the dynamic of the every terms of information of this flash animation The coordinate information of object in data, such as each animation frame.Specifically, dynamic according to each flash animation Data, system can redraw this animation.In practical application, can include in the dynamic data of flash animation The coordinate information of predeterminated position in each animation frame of this flash animation, such as by someone in this flash animation Certain position of thing is defined as predeterminated position, can include the coordinate of this predeterminated position in the dynamic data of acquisition Information.In addition, the timestamp information of this flash animation can also be included in dynamic data, this flash animation On there is each frame information of element of dynamic effect etc..
In S102, system predefine Target Transformation form that is to say, that determine flash to be converted The animated format that animation will convert into.
A kind of mode, all animated format that can be possible to run on senior browser are all defined as target Format transformation.That is, this flash animation to be converted is respectively converted into the various forms of determination Animation.Follow-up system according to demand, can call the animation of above-mentioned different-format respectively.
Another way, user can provide a kind of running environment, such as runs on IE browser below 9.0 Version, then system can select to meet described according to the running environment of predetermined object format animation The Target Transformation form of running environment.Running environment as version below 9.0 for the IE browser can be supported Js animation, canvas animation, but css3 animation can not be supported.
In addition, the data volume of the dynamic data in flash animation also contributes to the determination of Target Transformation form. Specifically, calculate the data volume of dynamic data, and according to described data volume, meet described running environment In Target Transformation form, select to meet the Target Transformation form that described data volume requires.
Illustrate, how to be determined according to the data volume of dynamic data and the running environment of object format animation Target Transformation form, as follows:
If 1 flash animation is included less than 20 DOM daughter element original papers, and needs to run on On senior browser or mobile device, then Target Transformation form can be defined as css3 animated format;
If 2 object format animations need to run on the senior browser at pc end, and require object format The compatibility of animation is high, then Target Transformation form can be defined as js animated format;
If 3 object format animations need to run on the senior browser at pc end, and require object format The compatibility of animation is low, then Target Transformation form can be defined as canvas animation;
If 4 flash animation are included more than 20 DOM daughter element original papers, and run on movement Equipment, then can be defined as canvas animated format by Target Transformation form.
In S102, after determining that target turns form, system determines the corresponding program of described Target Transformation form Interface, and pass through this routine interface, add this flash animation in the corresponding default template of this routine interface Dynamic data, finally give the object format animation of described Target Transformation form.Wherein, described target lattice Formula animation can directly run on senior browser and or mobile terminal on.
In addition, after flash animation is converted into object format animation, calling logic control interface, and be This object format cartoon setting control logic, to realize the control function to object format animation, such as suspend, The functions such as broadcasting, memory consumption recovery.
The embodiment of the present invention determines arbitrary flash animation to be converted first, and obtains described to be converted The dynamic data of flash animation, wherein, described dynamic data includes every in described flash animation to be converted The coordinate information of predeterminated position in individual animation frame;Secondly, determine Target Transformation form, and by described target The routine interface of format transformation, in the flash animation described to be converted that described dynamic data is included each The coordinate information of predeterminated position in animation frame, is added in the default template of described Target Transformation form, obtains The object format animation of described Target Transformation form, described object format animation can directly run on senior clear Look at device and or mobile terminal on.Compared with prior art, the embodiment of the present invention is by changing flash animation For the object format animation on senior browser and mobile terminal can be run on, improve and can run on height Level browser and the development efficiency of mobile terminal form animation.
In addition, embodiments provide a kind of the format conversion method of flash animation is applied to mobile phone The embodiment of game.As shown in Fig. 2 Fig. 2 is to change flash animation after the animation of css3 animated format One of animation frame schematic diagram.
Specifically, after mobile phone terminal determines flash animation to be converted, obtain dynamic in this flash animation first The coordinate information of predeterminated position in each animation frame in state data, such as this flash animation.Secondly, according to handss The running environment of machine game, mobile phone terminal determines that the Target Transformation form of this flash animation is css3 animated format, And the routine interface by described css3 animated format, by described dynamic data include described to be converted The coordinate information of predeterminated position in each animation frame in flash animation, is added to described css3 animated format In default template, obtain the animation of css3 animated format.
The format conversion method of flash animation provided in an embodiment of the present invention is applied in mobile phone games, passes through Flash animation is converted to css3 animated format, obtains the animation of css3 animated format so that it can be transported Row, in the running environment of mobile phone games, provides interactive animation for game user.
Embodiment two
With reference to Fig. 3, a kind of format conversion apparatus structure of flash animation that Fig. 3 provides for the present embodiment is shown It is intended to, specifically can include:
First determining module 301, for determining arbitrary flash animation to be converted;
Acquisition module 302, for obtaining the dynamic data of described flash animation to be converted, wherein, institute State the coordinate information that dynamic data includes predeterminated position in each animation frame;
Second determining module 303, for determining Target Transformation form;
Filling module 304, for the routine interface using described Target Transformation form, by described dynamic data In in each animation frame predeterminated position coordinate information, be filled in the template of described Target Transformation form, obtain To object format animation, described object format animation can directly run on senior browser and or mobile eventually On end.
Wherein, described second determining module, including:
First determination sub-module, for predefining the running environment of object format animation;
Second determination sub-module, for according to described running environment, being determined for compliance with the target of described running environment Format transformation.
Wherein, described second determining module also includes:
Calculating sub module, for calculating the data volume of described dynamic data;
Select submodule, for according to described data volume, meeting the Target Transformation form of described running environment In, select to meet the Target Transformation form that described data volume requires.
In addition, described device also includes:
Setup module, for calling the logical control interface of described object format animation, arranges described target lattice The control logic of formula animation.
The format conversion apparatus of flash animation provided in an embodiment of the present invention achieve following functions:Determine and appoint One flash animation to be converted, and obtain the dynamic data of described flash animation to be converted, wherein, institute State the coordinate information that dynamic data includes predeterminated position in each animation frame;Determine Target Transformation form, and profit With the routine interface of described Target Transformation form, by predeterminated position in each animation frame in described dynamic data Coordinate information, is filled in the template of described Target Transformation form, obtains object format animation, described target Form animation can directly run on senior browser and or mobile terminal on.Compared with prior art, originally Inventive embodiments are by being converted to, by flash animation, the mesh that can run on senior browser and mobile terminal Style formula animation, improves the development efficiency running on senior browser and mobile terminal form animation.
Accordingly, the embodiment of the present invention additionally provides a kind of terminal, as shown in figure 4, for convenience of description, Illustrate only the part related to the embodiment of the present invention, particular technique details does not disclose, and refer to the present invention Embodiment method part.This terminal can include mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer etc. arbitrarily Terminal unit, so that terminal is as mobile phone as a example:
Fig. 4 is illustrated that the block diagram of the part-structure of the mobile phone related to terminal provided in an embodiment of the present invention. With reference to Fig. 4, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 410, memorizer 420, Input block 430, display unit 440, sensor 450, voicefrequency circuit 460, Wireless Fidelity (wireless Fidelity, WiFi) module 470, the part such as processor 480 and power supply 490.People in the art Member, it is appreciated that the handset structure shown in Fig. 4 does not constitute the restriction to mobile phone, can include than diagram More or less of part, or combine some parts, or different part arrangements.
With reference to Fig. 4, each component parts of mobile phone are specifically introduced:
RF circuit 410 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, especially, After the downlink information of base station is received, process to processor 480;In addition, up data is activation will be designed To base station.Generally, RF circuit includes but is not limited to antenna, at least one amplifier, transceiver, coupling Clutch, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF is electric Road 410 can also be communicated with network and other equipment by radio communication.Above-mentioned radio communication can use appoints One communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), broadband code Divide multiple access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE)), Email, Short Message Service (Short Messaging Service, SMS) Deng.
Memorizer 420 can be used for storing software program and module, and processor 480 is stored in by operation The software program of reservoir 420 and module, thus execute various function application and the data processing of mobile phone. Memorizer 420 can mainly include storing program area and storage data field, and wherein, storing program area can store behaviour Make the application program (such as sound-playing function, image player function etc.) needed for system, at least one function Deng;Storage data field can store according to mobile phone using data (the such as voice data, phone directory being created Deng) etc..Additionally, memorizer 420 can include high-speed random access memory, can also include non-volatile Property memorizer, for example, at least one disk memory, flush memory device or other volatile solid-state Part.
Input block 430 can be used for numeral or the character information of receives input, and produces and mobile phone 400 User setup and function control relevant key signals input.Specifically, input block 430 may include tactile Control panel 431 and other input equipments 432.Contact panel 431, also referred to as touch screen, can collect use Family thereon or neighbouring touch operation (such as user uses any suitable object or attached such as finger, stylus Part on contact panel 431 or the operation near contact panel 431), and according to formula set in advance Drive corresponding attachment means.Optionally, contact panel 431 may include touch detecting apparatus and touch control Two parts of device.Wherein, touch detecting apparatus detect the touch orientation of user, and detect that touch operation brings Signal, transmit a signal to touch controller;Touch controller receives touch letter from touch detecting apparatus Breath, and is converted into contact coordinate, then give processor 480, and can receiving processor 480 send Order is simultaneously executed.Furthermore, it is possible to it is many using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes contact panel 431.Except contact panel 431, input block 430 can also include other Input equipment 432.Specifically, other input equipments 432 can include but is not limited to physical keyboard, function One of key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. or Multiple.
Display unit 440 can be used for showing by the information of user input or the information and the handss that are supplied to user The various menus of machine.Display unit 440 may include display floater 441, optionally, can adopt liquid crystal Show device (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) etc. form configuring display floater 441.Further, contact panel 431 can cover Display floater 441, when contact panel 431 detects thereon or after neighbouring touch operation, sends place to Reason device 480, to determine the type of touch event, is showing according to the type of touch event with preprocessor 480 Corresponding visual output is provided on panel 441.Although in the diagram, contact panel 431 and display floater 441 is input and the input function to realize mobile phone as two independent parts, but in some embodiments In, can contact panel 431 is integrated with display floater 441 and input and the output function of realizing mobile phone.
Mobile phone 400 may also include at least one sensor 450, such as optical sensor, motion sensor and Other sensors.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ring Border optical sensor can adjust the brightness of display floater 441 according to the light and shade of ambient light, and proximity transducer can When mobile phone moves in one's ear, close display floater 441 and/or backlight.As one kind of motion sensor, Accelerometer sensor can detect the size of (generally three axles) acceleration in all directions, can detect when static Go out size and the direction of gravity, can be used for identifying application (the such as horizontal/vertical screen switching, related trip of mobile phone attitude Play, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for handss The other sensors such as gyroscope that machine can also configure, barometer, drimeter, thermometer, infrared ray sensor, Will not be described here.
Voicefrequency circuit 460, speaker 461, microphone 462 can provide the audio frequency between user and mobile phone to connect Mouthful.The signal of telecommunication after the voice data receiving conversion can be transferred to speaker 461 by voicefrequency circuit 460, Acoustical signal output is converted to by speaker 461;On the other hand, the acoustical signal that microphone 462 will be collected Be converted to the signal of telecommunication, after being received by voicefrequency circuit 460, be converted to voice data, then by voice data at output After reason device 480 is processed, through RF circuit 410 being sent to such as another mobile phone or voice data is defeated Go out to memorizer 420 to process further.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user to receive by WiFi module 470 Send e-mails, browse webpage and access streaming video etc., it has provided the user wireless broadband internet Access.Although Fig. 4 shows WiFi module 470, but it is understood that, it is simultaneously not belonging to mobile phone 900 must be configured into, can omit completely as needed in the scope of essence not changing invention.
Processor 480 is the control centre of mobile phone, using various interfaces and connection whole mobile phone each Part, by running or executing software program and/or the module being stored in memorizer 420, and calls It is stored in the data in memorizer 420, the various functions of execution mobile phone and processing data, thus entering to mobile phone Row integral monitoring.Optionally, processor 480 may include one or more processing units;Preferably, process Device 480 can integrated application processor and modem processor, wherein, application processor mainly processes operation System, user interface and application program etc., modem processor mainly processes radio communication.It is appreciated that , above-mentioned modem processor can not also be integrated in processor 480.
Mobile phone 400 also includes the power supply 490 (such as battery) powered to all parts it is preferred that power supply Can be logically contiguous with processor 480 by power-supply management system, thus pipe is realized by power-supply management system The functions such as reason charging, electric discharge and power managed.
Although not shown, mobile phone 400 can also include photographic head, bluetooth module etc., will not be described here.
Specifically in the present embodiment, the processor 480 in terminal can be according to following instruction, by one or one The corresponding executable file of process of individual above application program is loaded in memorizer 420, and by processor 480 running the application program being stored in memorizer 420, thus realizing various functions:
Determine arbitrary flash animation to be converted, and obtain the dynamic data of described flash animation to be converted, Wherein, described dynamic data includes predeterminated position in each animation frame in described flash animation to be converted Coordinate information;
Determine Target Transformation form, and the routine interface by described Target Transformation form, by described dynamic number According to the coordinate information of predeterminated position in each animation frame in the flash animation described to be converted including, add To in the default template of described Target Transformation form, obtain the object format animation of described Target Transformation form.
Preferably, described determination Target Transformation form, including:
The running environment of predetermined animation;
According to described running environment, it is determined for compliance with the Target Transformation form of described running environment.
Preferably, methods described also includes:
Calculate the data volume of described dynamic data;
According to described data volume, in the Target Transformation form meeting described running environment, select satisfaction described The Target Transformation form that data volume requires.
Preferably, methods described also includes:
Call the logical control interface of described object format animation, the control arranging described object format animation is patrolled Volume.
For device embodiment, because it corresponds essentially to embodiment of the method, so in place of correlation Part referring to embodiment of the method illustrates.Device embodiment described above is only schematically , the wherein said unit illustrating as separating component can be or may not be physically separate , as the part that unit shows can be or may not be physical location, you can with positioned at one Individual place, or can also be distributed on multiple NEs.Can be selected it according to the actual needs In the purpose to realize this embodiment scheme for some or all of module.Those of ordinary skill in the art In the case of not paying creative work, you can to understand and to implement.
It should be noted that herein, such as first and second or the like relational terms be used merely to by One entity or operation are made a distinction with another entity or operation, and not necessarily require or imply these There is any this actual relation or order between entity or operation.And, term " inclusion ", " bag Contain " or its any other variant be intended to comprising of nonexcludability so that include a series of key elements Process, method, article or equipment not only includes those key elements, but also includes being not expressly set out Other key elements, or also include for this process, method, article or the intrinsic key element of equipment.? In the case of not having more restriction, the key element being limited by sentence "including a ..." is it is not excluded that including Also there is other identical element in the process of described key element, method, article or equipment.
The format conversion method of a kind of flash animation that the embodiment of the present invention is provided and device are carried out above It is discussed in detail, specific case used herein is set forth to the principle of the present invention and embodiment, The explanation of above example is only intended to help and understands the method for the present invention and its core concept;Simultaneously for One of ordinary skill in the art, the thought of the foundation present invention, in specific embodiments and applications all Will change, in sum, this specification content should not be construed as limitation of the present invention.

Claims (8)

1. a kind of format conversion method of flash animation is it is characterised in that methods described includes:
Determine arbitrary flash animation to be converted, and obtain the dynamic data of described flash animation to be converted, Wherein, described dynamic data includes predeterminated position in each animation frame in described flash animation to be converted Coordinate information;
Determine Target Transformation form, and the routine interface by described Target Transformation form, by described dynamic number According to the coordinate information of predeterminated position in each animation frame in the flash animation described to be converted including, add To in the default template of described Target Transformation form, obtain the object format animation of described Target Transformation form.
2. method according to claim 1 is it is characterised in that described determination Target Transformation form, Including:
The running environment of predetermined object format animation;
According to described running environment, it is determined for compliance with the Target Transformation form of described running environment.
3. method according to claim 2 is it is characterised in that methods described also includes:
Calculate the data volume of described dynamic data;
According to described data volume, in the Target Transformation form meeting described running environment, select satisfaction described The Target Transformation form that data volume requires.
4. method according to claim 1 is it is characterised in that methods described also includes:
Call the logical control interface of described object format animation, the control arranging described object format animation is patrolled Volume.
5. a kind of format conversion apparatus of flash animation are it is characterised in that described device includes:
First determining module, for determining arbitrary flash animation to be converted;
Acquisition module, for obtaining the dynamic data of described flash animation to be converted, wherein, described dynamic State data includes the coordinate information of predeterminated position in each animation frame in described flash animation to be converted;
Second determining module, for determining Target Transformation form;
Filling module, for the routine interface by described Target Transformation form, described dynamic data is included Flash animation described to be converted in each animation frame predeterminated position coordinate information, be added to described In the default template of Target Transformation form, obtain the object format animation of described Target Transformation form.
6. device according to claim 5 is it is characterised in that described second determining module, including:
First determination sub-module, for predefining the running environment of object format animation;
Second determination sub-module, for according to described running environment, being determined for compliance with the target of described running environment Format transformation.
7. device according to claim 6, it is characterised in that described second determining module, also wraps Include:
Calculating sub module, for calculating the data volume of described dynamic data;
Select submodule, for according to described data volume, meeting the Target Transformation form of described running environment In, select to meet the Target Transformation form that described data volume requires.
8. device according to claim 5 is it is characterised in that described device also includes:
Setup module, for calling the logical control interface of described object format animation, arranges described target lattice The control logic of formula animation.
CN201510530616.4A 2015-08-26 2015-08-26 A kind of format conversion method and device of flash animation Active CN106485770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510530616.4A CN106485770B (en) 2015-08-26 2015-08-26 A kind of format conversion method and device of flash animation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510530616.4A CN106485770B (en) 2015-08-26 2015-08-26 A kind of format conversion method and device of flash animation

Publications (2)

Publication Number Publication Date
CN106485770A true CN106485770A (en) 2017-03-08
CN106485770B CN106485770B (en) 2019-11-19

Family

ID=58234575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510530616.4A Active CN106485770B (en) 2015-08-26 2015-08-26 A kind of format conversion method and device of flash animation

Country Status (1)

Country Link
CN (1) CN106485770B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109389661A (en) * 2017-08-04 2019-02-26 阿里健康信息技术有限公司 A kind of animation file method for transformation and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1361630A (en) * 2002-01-25 2002-07-31 安凯(广州)软件技术有限公司 Cartoon compressing method for radio network and hand-held radio equipment
US20090183066A1 (en) * 2008-01-15 2009-07-16 Vanadis Mack Crawford Automatically generating dynamic documentation from product configuration
CN103678434A (en) * 2012-09-06 2014-03-26 虹光精密工业股份有限公司 Method for automatically converting format of scanned image document
CN104123742A (en) * 2014-07-21 2014-10-29 徐才 Method and player for translating static cartoon picture into two dimensional animation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1361630A (en) * 2002-01-25 2002-07-31 安凯(广州)软件技术有限公司 Cartoon compressing method for radio network and hand-held radio equipment
US20090183066A1 (en) * 2008-01-15 2009-07-16 Vanadis Mack Crawford Automatically generating dynamic documentation from product configuration
CN103678434A (en) * 2012-09-06 2014-03-26 虹光精密工业股份有限公司 Method for automatically converting format of scanned image document
CN104123742A (en) * 2014-07-21 2014-10-29 徐才 Method and player for translating static cartoon picture into two dimensional animation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘菲等: "Flash动画的内容特征分析与图像信息提取研究", 《现代教育技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109389661A (en) * 2017-08-04 2019-02-26 阿里健康信息技术有限公司 A kind of animation file method for transformation and device
CN109389661B (en) * 2017-08-04 2024-03-01 阿里健康信息技术有限公司 Animation file conversion method and device

Also Published As

Publication number Publication date
CN106485770B (en) 2019-11-19

Similar Documents

Publication Publication Date Title
CN104219617B (en) Service acquisition method and device
CN103455582B (en) The display packing of browser navigation page and mobile terminal
CN106020987A (en) Method and device for determining kernel running configurations in processor
CN106406892A (en) A shortcut function display method and device for applications and a terminal apparatus
CN104238918B (en) List View component slippage display methods and device
CN103325332B (en) Page furbishing method, device and equipment
CN105867730A (en) Display method and device for status bar
CN105630298A (en) Folder management method and equipment
CN104598262A (en) Method and device for updating mobile application
CN104571979B (en) A kind of method and apparatus for realizing split view
CN103488403A (en) Switching method and device for interface layout and mobile terminal
CN104820541B (en) The method and device that a kind of reference content shows
CN104516886A (en) Method, mobile terminal and server for displaying data analysis result
CN103401982A (en) Information display method and device and mobile terminal
CN104954159A (en) Network information statistics method and device
CN105094809A (en) Combined picture layout modification method and device and terminal equipment
CN105701154A (en) Advertisement removal method and device
CN105955739A (en) Graphical interface processing method, apparatus and system
CN103813127A (en) Video call method, terminal and system
CN104869465A (en) Video playing control method and device
CN104021129A (en) Picture group display method and terminal
CN105955597A (en) Method and device for displaying information
CN106502608A (en) Display methods, device and terminal device
CN104820546A (en) Functional information exhibition method and apparatus
CN106293393A (en) Synthesis display packing based on electronics paster, device and terminal unit

Legal Events

Date Code Title Description
C06 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