TAILIEUCHUNG - Thiết kế flash với flash cs5 part 64

Sự hiểu biết hạn chế của Flash Có một số hạn chế để sử dụng iPhone Packager cho Flash CS5 (New!). đầu tiên là bạn không thể tải phim SWF bên ngoài. Bạn có thể, tuy nhiên, JPG tải bên ngoài và các tập tin PNG và các tập tin âm thanh như MP3. | Understanding the Limits of Flash There are some limitations to using the iPhone Packager for Flash CS5 New . The first is that you cannot load external SWF movies. You can however load external JPG and PNG files and sound files such as MP3. There are also performance problems between different versions of the iPhone. For instance the iPhone 3GS is literally twice as fast as the iPhone 3G and original iPhone. There some simple tricks you can do to speed up things. The following code will prevent event Bubbles starting override public function dispatchEvent evt Event Boolean if hasEventListener return evt return true A second optimization trick you can do is to restrict your use of vector based images inside of Flash. Use PNG formatted images where possible. The good news is that that the iPhone has great support for PNG files. If you do need to use vector images you can fool the iPhone into thinking it s a bitmap image by using the cahceAsBitmapMatrix. Create a new image. Add code import the Flash Geom Matrix import Q Create a new shape var my_shape MyShape new MyShape addChild my_shape Add the cachasBitmap property to ensure that all objects that create are cached true new Matrix Create images on the screen that the iPhone thinks are bitmaps. A final significant limitation is the use of audio files. Audio files can have a short delay between an event happening and the sound playing. This is because the audio file is not in the iPhone s cache for playback. You can avoid this by exporting your audio file to be triggered in the first frame of your movie. What Flash Does Not Allow You To Do Adobe has gone to great lengths to allow you to build applications for the iPhone using traditional Flash tools. BUT and it is a big BUT there are some things that Flash does not allow you to do using the iPhone Packager. The biggest challenge you will have is the .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.