03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

url (TextFormat.url property)<br />

public url : String<br />

Indicates the URL that text in this text format hyperlinks to. If the url property is an empty<br />

string, the text does not have a hyperlink. The default value is null, which indicates that the<br />

property is undefined.<br />

Example<br />

This example creates a text field that is a hyperlink to the Macromedia website.<br />

var myformat:TextFormat = new TextFormat();<br />

myformat.url = "http://www.macromedia.com";<br />

this.createTextField("mytext",1,100,100,200,100);<br />

mytext.multiline = true;<br />

mytext.wordWrap = true;<br />

mytext.border = true;<br />

mytext.html = true;<br />

mytext.text = "Go to Macromedia.com";<br />

mytext.setTextFormat(myformat);<br />

Video<br />

Object<br />

|<br />

+-Video<br />

public class Video<br />

extends Object<br />

The Video class enables you to display video content that is embedded in your SWF file,<br />

stored locally on the host device, or streamed in from a remote location.<br />

Note: The player for Flash Lite 2.0 h<strong>and</strong>les video differently than Flash Player 7 does. These<br />

are the major differences:<br />

■ Flash Player 7 directly renders the video data (embedded or streaming). The player for<br />

Flash Lite 2.0 does not render the video data; instead it h<strong>and</strong>s the data off to the mobile<br />

device. The player for Flash Lite 3.0 supports the rendering of Flash Video (FLV) directly<br />

by Flash Lite.<br />

Video 669

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!