The present invention relates to a mobile terminal capable of modifying a flash image and method of modifying a flash image thereof.
SWF is a vector graphic file format produced by the Flash software from Adobe. A SWF file with .swf extension is displayed on a PC screen through a user interface to the internet or other network such as a web browser, or a plug-in. A flash file with .fla extension is in a format that is for use in performing specific tasks such as modifying or deletion on the flash file. An image that is viewed by a user is in a SWF format. The SWF file(completed file) is processed in a FLA file(processing file) and published from the FLA file.
As shown in
As shown in
Generally, in order to create a SWF file that is viewed to a user, a specialized application program is used to create a FLA file and compile the created FLA file into a SWF file. In case of modifying a SWF file that has been already created, the SWF file needs to be decompiled as FLA file format, and the decompiled FLA file is modified and edited to be compiled into a SWF format. That is, a program shown in
Therefore, in order to create or modify a flash image, a specialized application program as described above is required for modifying a decompiled FLA file and compiling it again, thus, such creation or modification can only be carried out in an equipment such as PC. Therefore, in a mobile terminal which is recently increasing in use, there is a problem in that any alteration cannot be made on an existing flash image stored in an initial stage, as the flash image which is already stored can not be edited.
Accordingly, an object of the present invention is to solve at least the problems and disadvantages of the related art.
An object of the present invention is to provide a mobile terminal, which is capable of directly modifying a flash image of SWF format in a mobile terminal and storing a modified flash image simply without the program for converting the format of the flash image, and a method of modifying an image thereof.
According to an aspect of the invention, there is provided a mobile terminal capable of modifying a flash image, which comprises a memory including a first memory that stores an image; a second memory that stores an editing program; and a third memory that is a temporal memory temporarily storing a data; a key input unit including a control key that receives a control command; and a numeric/character key that receives a numeric or a character; and a display unit that displays a numeric, a character or an image inputted under the control of a controller, wherein an editing program stored in the second memory is configured to execute the steps of activating an object provided for a flash image displayed on the display unit; selecting the activated object by the control key and capsulating the selected object; modifying the capsulated object; and storing the modified flash image into the first memory.
The capsulating of the selected object includes generating a capsule that encompasses elements forming the selected object; generating a relative coordinate for a reference point of the generated capsule to be stored into the third memory; and obtaining a relative position(coordinate) of the elements of the object for the generated capsule to be stored into the third memory.
The modifying of the capsulated object includes modifying the relative coordinate of the capsule by pressing an arrow key; modifying the relative coordinate of the elements for the capsule to be stored into the third memory; and moving the selected object to a new position by replacing the relative coordinate of the capsule and the relative coordinate of the elements which are modified to be stored with the relative coordinate of the elements provided for the flash image.
A method of modifying a flash image in accordance with the mobile terminal of the present invention capable of modifying the flash image, which comprises displaying the flash image stored in a first memory of the mobile terminal on a display unit; activating an object forming the displayed flash image in response to the selection of a location change menu; selecting the activated object; capsulating the selected object; modifying the capsulated object; and storing the modified flash image.
The capsulating of the selected object includes generating a capsule that encompasses elements forming the object in case of selecting the object; generating a relative coordinate for a reference point of the generated capsule; obtaining a relative coordinate of the elements of the selected object for the reference point of the capsule; and storing the relative coordinate of the capsule and the relative coordinate of the element forming the object for the capsule into the third memory.
The modifying the capsulated object includes modifying the relative coordinate of the capsule and the relative coordinate of the elements for the capsule by pressing the arrow key to be stored into the third memory; and moving the selected object to a new position by replacing the relative coordinate of the capsule and the relative coordinate of the elements which are modified to be stored with the relative coordinate of the elements provided for the flash image.
In the mobile terminal capable of modifying a flash image and a method of modifying a flash image thereof according to example embodiments of the present invention, a SWF flash image may be directly modified to move a flash object to a desired position without the process of decompiling the flash image into a FLA format. Therefore, it is not require for a de-compiler for converting a FLA flash file into a SWF format so that editing of a SWF file becomes feasible.
The above and other advantages of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the accompanying drawings, in which:
It should be understood that the exemplary embodiments of the present invention described below may be modified in many different ways without departing from the inventive principles disclosed herein, and the scope of the present invention is therefore not limited to these particular following embodiments. Rather, these embodiments are provided so that this disclosure will be through and complete, and will fully convey the concept of the invention to those skilled in the art by way of example and not of limitation.
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. The conventional terms are used to refer elements that function same or substantially same with those of prior art through out the description of the invention.
As shown in
In the embodiment, the memory unit 10 may be implemented with one memory chip for dividing, or may be implemented with separate memory chips. The mobile terminal may have a camera function. In case the mobile terminal has the camera function, a subject may be photographed by a photographing unit 90 shown in
With reference to
First, a flash image stored in the first memory 11, which is to be edited, is displayed on the display unit 60 through a submenu (for example, ‘open’, not shown) which is displayed on the display unit 60 by a menu key 21a that forms the control key 21(S110). Specifically, the flash image may be displayed on the display unit 60 via an On Screen Display (OSD) 30, an encoder 40, and the selector 50 under the control of the controller 5.
In case the flash image for editing is displayed on the display unit 60, one of the objects 120, 130 provided for the flash image through the submenu (for example, ‘location change’, not shown) displayed again by the menu key 21a is activated(S130).
The method of activation can be various. For example, as shown in
The object for editing 120 or 130 may be activated by using the arrow key 21b, while the object for editing 120 or 130 is selected by using a confirm key 21d forming the control key 21(S140). In case the selection of the object is wrong, the selection may be cancelled by using a cancel key 21c forming the control key 21, thereby, it can be returned to an activated state.
As shown in
The flash image has an information of an object that constitutes the flash image, and an information of the size, the relative position, and the color of each element forming the object.
When the capsule 128 is generated by the selection of the confirm key 21d, a relative position of the capsule 128 to the flash image 300 is extracted from the object provided for the flash image 300 or from the information of the elements forming the object to be stored in the third memory 15 which is a temporary storing unit. The relative position of the elements 131, 133 forming the object 130 for the capsule 128 is also extracted to be stored in the third memory 15.
In the above, the X1, Y1 denote the horizontal and the vertical distance from the reference point of the flash image 300 to the reference point C of the capsule 128. The x1, y1 denote the horizontal and the vertical distance from the reference point of the capsule 128 to the reference point A of the element 131. The x2, y2 denote the horizontal and the vertical distance from the reference point of the capsule 128 to the reference point B of the element 133, while the unit is a pixel.
It will be understood that the reference points A, B, C and D in the above are arbitrary given for illustration, thus, other points can be available. In addition, it is preferable that a movement indicator 129 is displayed on the flash image 300 so as to easily detect the distance of movement of the object for editing 131.
When the arrow key 21b of the control key is pressed while the object 131 for moving is selected as described, the relative coordinate of the capsule 128 which is temporarily stored in the third memory 15 is changed due to the press of the arrow key 21b. Further, the relative coordinate of the elements 131, 133 shown in the third memory 15 is changed due to the coordinate movement.
The object 130 moves a predetermined distance, while the modified relative coordinate is replaced with the coordinate of the elements 131, 133 of the object 130 which is initially included in the information of the flash image 300, thus, it can be stored as a flash image having the object 130 which has moved to a new position.
It will be apparent to those skilled in the art that various modifications and variation can be made in the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of this invention provided they come within the scope of the appended claims and their equivalents.
According to the present invention, a flash image stored in a SWF format is not required to be converted into a FLA format. The present invention makes it possible to directly modify the position of an object forming the flash image of SWF format. Accordingly, the flash image can be easily modified without the FLA de-compiler for a flash image.
Number | Date | Country | Kind |
---|---|---|---|
10-2006-0027578 | Mar 2006 | KR | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/KR2006/003642 | 9/13/2006 | WO | 00 | 6/10/2008 |