|
||||||||||||||||
. . . . . |
Notes from a FlashLite Seminar by Brian Chau
(Note, I have done minimal editing on these notes, so take it as is :) With Flashlite for mobile phones you can have a customized UI. The benefits are fast time to market, multi-tier customization, and a variety of themes. The User experience will inclue a wider range of personalized choices for subscribers, easy discovery, and intuitive navigation.
Flash Tutorials in Video Format -
Watch them now at LearnFlash.com FlashLite can play device sounds. eg midi sounds.. flashlite can render svgt..and has scalable bitmaps.. the rendering svg engine is part of flash lite player.. Device sounds are usually midi. event sounds can play mp3 as streaming sound. With Flashlite you can make wallpapers, screensavers. flashlite 2. is available soon. It will be based on player 7 and Actionscript 2.0, not crappy flash 4. It can load dynamically load gif and png transparent.. eg via loadMovie.. not just jpeg.. It can dynamically load device audio. and dynamically load device video that is rendered by the device. eg mp4, via htttp load. Shared Object can store local data something like a super cookie. It can store data in flash cache, next time the user visits, it remembers previous data.. You can do same thing with flashlite 2.0. ie it can remember last time visited data. Japan is market leader in mobile phones. NTT docomo, kddi, vodafone are all flash enabled. They have an OEM flash player in nokia and samsung cellphones. macromedia have signed deals with these companies. FlashLite 2.0 will be availabe to flash professional owners when it comes out. To author flash lite you need flash 8 pro. With Flashlite 1.1 you dont give buttons or text an instance name- give it a variable name instead.. for dynamic and input text.. for input text dont give instance name, give variable name.. Dont use flash components.. use sdk... use the supplied file - buttons.fla buttons and pull them from your library. dont give buttons instance name. for mobile phones we dont have mouse.. we can test in flash 8, flashlite player is within flash 8 player, and can simulate flashlite in flash 8.. To play music you need to use a midi file, sound needs to be embedded. Create a sound layer and dump sound in the layer. We need to import a sound file supported by flash 8.. eg.. wav.. it is a proxy.. we cant import midi.. in sound properties.. go to export settings.. device sound and export as midi file you load in.. for device sounds you need to use event type of sound action.. actionscript for playing soundmust put script onto the button directly..
// play button
on(release){
gotoAndPlay(10);
}
// stop button
on(release){
stopAllSounds();
}
//frame 1.
fscommand2("FullScreen", "true");
stop();
Capture Key events in mobilesleft and right are soft keys.. there are events for them.. flash 4 does not have a key listener so we need to create a button to capture key event.. create an empty button called keyCatcher, it will be an invisible button... Soft Key Parameters - To set softkey events, go to capabilities and have a look. and use the fscommand something like this - fscommand2( setSoftKeys, left , right). make sure you do this before you use softkey events geturl.. can get text file,, send mms message, send sms message.. ring a number.. FlashLite 2.0Can use any actionscript. eg. var mySound:Sound = new Sound();You can give button an instance name, can load external object ,eg. midi.
loadSound("blah.midi")';
Now we can have key listeners..
var keyListenerObj:Object = new Object();
keyListenerObj.onKeyDown = function(){
dynamic_txt.text = "key code: " + Key.getCode();
}
Key.addListener(keylistenerobj);
FlashLite 2.0 has device video such as mp4 or 3gp.
System Data - flash can store data to mobile device eg area phone number
like a cookie..
Flashlite FAQs
Q. Does flash run on a 3650 nokia or do you need a version of symbian 6.1 to run it |
|
||||||||||||||
|
| Home | Flash MX | Actionscript 2.0 | Flash 3D | Flash 8 | Flash Database | Flash Mobile | Flash CS3 | Java For Kids | Video Course | General Video | Photoshop | Web Design | Digital Photography | Forum | Games | free backgrounds | Resume | Flash Animations | Streaming Video | Students Work | Links | Contact me | sitemap | reviews | store | advertisers | . . |
||||||||||||||||