Steps to develop an mobile application on flash lite and deploy the same on some device.
Step 1: Download Adobe Flash CS4 from net
step 2 : Follow the instructions to execute the Adobe flash set up.
After every thing installed successfully, follow the below instructions to develop your first Flash Lite Application
Hello Mobile World: Creating Your First Flash Lite Project
This section contains step-by-step instructions to walk you through the creation of your first Flash Lite Project.
This section assumes that you have downloaded and installed Flash CS3 Professional which includes Adobe Device Central.
1.Start Flash CS3 Professional
2.File > New > Flash File (Mobile)
3.Adobe Device Central starts up to allow you to choose the main target device
4.In the 'Device Sets' panel choose 'Flash Lite 2.1 32 240x320'. This is the generic mobile device
profile provided by Adobe for a Flash Lite 2.1 device.
5.Click the 'Create' button at the bottom right of Device Central
6.You are returned to Flash with a new document matching the dimensions and Publish Settings to match the target device
7.File > Save As… > save the FLA file as 'helloMobileWorld.fla'
8.In the Tools panel in Flash select the 'Oval Primitive' drawing tool by clicking and holding on the 'Rectangle Tool' and then selecting 'Oval Primitive Tool'.
9.Draw a circle near the middle of your workspace
10.While the circle is still selected choose the line and fill color in the Properties panel that suit your mood
11.Modify > Align > Horizontal Center, Modify > Align > Vertical Center
12.With your circle selected press the 'F8' key on your keyboard
13.Name: 'circle', Type: Movie clip, Registration point: center
14.In the Properties panel type 'circle' in the '' edit box.
15.Insert > Timeline > Layer
16.Select the first empty Keyframe in 'Layer 2' on your timeline
17.Window > Actions (to show the Actions panel)
Copy the following ActionScript and paste it into the Actions panel
18.File > Save
19.Control > Test Movie
20.Your first mobile application is shown in Device Central
Check the Flash Lite version carefully at the time of test your application.
File>flash settings
Now Comes to deploy the application on your device.
Installing and activating Flash Lite 2.1 for Windows Mobile 5.0
To use Flash Lite 2.1 for Windows Mobile 5.0 you need to download and install the appropriate CAB file for your device (Smartphone or Pocket PC). After installing the Flash Lite 2.1 player you will have to activate your player for your device.
To install Flash Lite 2.1 on a device:
1 Download the .CAB file for your device.
2 Connect your device to your computer via ActiveSync.
3 Copy the .CAB file to your “My Documents” folder.
4 Disconnect your device.
5 On your device go to File Manager > My Documents.
6 Select the Flash Lite CAB file and follow the on-screen install instructions.
Your Flash Lite 2.1 player is now activated and ready to use.
About
About the stand-alone Flash Lite player
The stand-alone Flash Lite 2.1 player lets you open SWF files from your device’s memory card. There are two ways you can open a SWF file in the stand-alone player:
• Launch the stand-alone player directly, then use the Open File menu command (Menu > Open File) to select the SWF you wish to view.
• Use File Manager to select the SWF you wish to view. The stand-alone player will automatically open and display the selected SWF.
To open a SWF from the stand-alone player:
1 To open the stand-alone player, start File Manager on your device (Start > File Manager), and navigate to the \Program Files\Adobe\FlashLite\ folder.
2 Select the file named saplaywm.exe to start the stand-alone player.
Note: The first time you launch the stand-alone player you will see an activation dialog. For information about activating your player, see “Installing and activating Flash Lite 2.1 for
Windows Mobile 5.0” in the previous section.
3 To open a SWF file from the stand-alone player, press the right soft key (Menu) and select Open File.
4 In the open file dialog, browse to the folder that contains your SWF file and select it to open it in the stand-alone player.
That's it for running a flash lite application on a device.
Step 1: Download Adobe Flash CS4 from net
step 2 : Follow the instructions to execute the Adobe flash set up.
After every thing installed successfully, follow the below instructions to develop your first Flash Lite Application
Hello Mobile World: Creating Your First Flash Lite Project
This section contains step-by-step instructions to walk you through the creation of your first Flash Lite Project.
This section assumes that you have downloaded and installed Flash CS3 Professional which includes Adobe Device Central.
1.Start Flash CS3 Professional
2.File > New > Flash File (Mobile)
3.Adobe Device Central starts up to allow you to choose the main target device
4.In the 'Device Sets' panel choose 'Flash Lite 2.1 32 240x320'. This is the generic mobile device
profile provided by Adobe for a Flash Lite 2.1 device.
5.Click the 'Create' button at the bottom right of Device Central
6.You are returned to Flash with a new document matching the dimensions and Publish Settings to match the target device
7.File > Save As… > save the FLA file as 'helloMobileWorld.fla'
8.In the Tools panel in Flash select the 'Oval Primitive' drawing tool by clicking and holding on the 'Rectangle Tool' and then selecting 'Oval Primitive Tool'.
9.Draw a circle near the middle of your workspace
10.While the circle is still selected choose the line and fill color in the Properties panel that suit your mood
11.Modify > Align > Horizontal Center, Modify > Align > Vertical Center
12.With your circle selected press the 'F8' key on your keyboard
13.Name: 'circle', Type: Movie clip, Registration point: center
14.In the Properties panel type 'circle' in the '
15.Insert > Timeline > Layer
16.Select the first empty Keyframe in 'Layer 2' on your timeline
17.Window > Actions (to show the Actions panel)
Copy the following ActionScript and paste it into the Actions panel
// Tell the player to stop on the current frame
stop();
/* Set the Stage's scaleMode to "noScale" – this will keep the Flash Lite player from scaling any content
*/
Stage.scaleMode = "noScale";
// Set the Stage's alignment to Top Left
Stage.align = "TL";
// Set the rendering quality of the player to high
var qualStatus: Number = fscommand2("SetQuality", "high");
// Tell the player to display in full screen mode
var scrStatus: Number = fscommand2("fullscreen", true);
// Key Handling
Key.addListener(this);
function onKeyDown(): Void
{
trace("onKeyDown");
var keyCode = Key.getCode();
switch(keyCode)
{
case Key.UP:
// move the circle up by 5 pixels
circle._y -= 5;
break;
case Key.DOWN:
// move the circle down by 5 pixels
circle._y += 5;
break;
case Key.LEFT:
// move the circle to the left by 5 pixels
circle._x -= 5;
break;
case Key.RIGHT:
// move the circle to the right by 5 pixels
circle._x += 5;
break;
default:
trace("\tunhandled keyCode:" + keyCode);
}
}
18.File > Save
19.Control > Test Movie
20.Your first mobile application is shown in Device Central
Check the Flash Lite version carefully at the time of test your application.
File>flash settings
Now Comes to deploy the application on your device.
Installing and activating Flash Lite 2.1 for Windows Mobile 5.0
To use Flash Lite 2.1 for Windows Mobile 5.0 you need to download and install the appropriate CAB file for your device (Smartphone or Pocket PC). After installing the Flash Lite 2.1 player you will have to activate your player for your device.
To install Flash Lite 2.1 on a device:
1 Download the .CAB file for your device.
2 Connect your device to your computer via ActiveSync.
3 Copy the .CAB file to your “My Documents” folder.
4 Disconnect your device.
5 On your device go to File Manager > My Documents.
6 Select the Flash Lite CAB file and follow the on-screen install instructions.
Your Flash Lite 2.1 player is now activated and ready to use.
About
About the stand-alone Flash Lite player
The stand-alone Flash Lite 2.1 player lets you open SWF files from your device’s memory card. There are two ways you can open a SWF file in the stand-alone player:
• Launch the stand-alone player directly, then use the Open File menu command (Menu > Open File) to select the SWF you wish to view.
• Use File Manager to select the SWF you wish to view. The stand-alone player will automatically open and display the selected SWF.
To open a SWF from the stand-alone player:
1 To open the stand-alone player, start File Manager on your device (Start > File Manager), and navigate to the \Program Files\Adobe\FlashLite\ folder.
2 Select the file named saplaywm.exe to start the stand-alone player.
Note: The first time you launch the stand-alone player you will see an activation dialog. For information about activating your player, see “Installing and activating Flash Lite 2.1 for
Windows Mobile 5.0” in the previous section.
3 To open a SWF file from the stand-alone player, press the right soft key (Menu) and select Open File.
4 In the open file dialog, browse to the folder that contains your SWF file and select it to open it in the stand-alone player.
That's it for running a flash lite application on a device.
Comments
game mu
cho thuê nhà trọ
cho thuê phòng trọ
nhac san cuc manh
số điện thoại tư vấn pháp luật miễn phí
văn phòng luật
tổng đài tư vấn pháp luật
dịch vụ thành lập công ty trọn gói
nước cờ trên bàn thương lượng
mbp
erg
nghịch lý
chi square test
nghệ thuật nói chuyện
coase
thuyết kỳ vọng
chiến thắng con quỷ trong bạn
cân bằng nash
Triệu Quốc Đống hoàn toàn không ý thức được mình xuất hiện lại khiến nhiều người nhìn như vậy, hơn nữa cũng làm cho nhiều người lộ vẻ thất vọng và không hài lòng.
Hàn Đông công tác ở trong Ban Tuyên giáo Thị ủy, ở đây ở ngay trong Thị ủy.
Trụ sở Thị ủy, Ủy ban An Đô có diện tích lớn, đều nằm trên một con đường. Hai bên cách nhau chỉ tầm 350 mét. Nếu muốn đến cơ quan bên cạnh làm việc thì đi bộ, hoặc chạy xe đạp là rất nhanh và tiện.
Tòa nhà Thị ủy An Đô cũng chỉ là nhà ba tầng. Ngoài văn phòng các Thường vụ thị ủy, đại khái cũng chỉ có văn phòng Thị ủy và Mặt trận tổ quốc. Còn mấy cơ quan như Ủy ban kỷ luật, Ban Tổ chức cán bộ, Ban Tuyên giáo, Đảng ủy Công an, Viện kiểm sát đều có một tòa nhà nhỏ vây quanh nhà chính.
Bởi vì hoàn cảnh nơi này khá đẹp nên mới khiếu Lãnh đạo thị ủy An Đô không muốn thay đổi hoàn cảnh công tác. Các đề xuất xây dựng lại đều bị bác bỏ, nguyên nhân chính là Lãnh đạo thị ủy không muốn thay đổi hoàn cảnh.
Nhất là khi Bí thư Thị ủy Ninh Pháp đến đã nói rõ trụ sở Thị ủy không cần thay đổi. Nhưng y lại ủng hộ xây dựng trụ sở Ủy ban thành phố thành một công trình kiến trúc mang tính đại biểu.
Đừng trước cửa sổ văn phòng, Triệu Quốc Đống không khỏi thầm than. Đập vào mắt là rừng cây tươi tốt trồng nhiều năm. Những loại cây hình thành một khu rừng nhìn như vô tận bao quanh các tòa nhà.
Triệu Quốc Đống các lần trước tới thì Hàn Đông hầu hết đều hẹn hắn ở ngoài, hoặc tìm một chỗ mà gọi Hàn Đông tới, cũng không ở lại nhiều. Hôm nay hắn rảnh rỗi nên mới có thể đến phòng làm việc của Hàn Đông.
- Tiểu Đông, bảo sao người ta đều nói trụ sở Thị ủy An Đô là đất có phong thủy tốt. Với kinh nghiệm quan sát nhiều năm của anh thì đây chính là có Long mạch hiếm thấy, có thể vào Thị ủy An Đô thì nhất định sẽ phát triển.
Triệu Quốc Đống đặt tay trên cửa sổ mà nói loạn.