User Guide
1070 Chapter 14: Properties
URL
Usage
-- Lingo syntax
memberObjRef.URL
// JavaScript syntax
memberObjRef.URL;
Description
Cast member property; specifies the URL for Shockwave Audio (SWA) and Flash movie
cast members.
For Flash movie members, this property is synonymous with the
pathName member property.
The
URL property can be tested and set. For SWA members, it can be set only when the SWA
streaming cast member is stopped.
Example
This statement makes a file on an Internet server the URL for SWA cast member Benny
Goodman:
-- Lingo syntax
on mouseDown
member("Benny Goodman").URL = \
"http://audio.macromedia.com/samples/classic.swa"
end
// JavaScript syntax
function mouseDown() {
member("Benny Goodman").URL =
"http://audio.macromedia.com/samples/classic.swa"
}
useAlpha
Usage
-- Lingo syntax
memberObjRef.useAlpha
imageObjRef.useAlpha
// JavaScript syntax
memberObjRef.useAlpha;
imageObjRef.useAlpha;
Description
Bitmap cast member and image object property; for 32-bit cast members and image objects with
alpha channel information, determines whether Director uses the alpha information when
drawing the image onto the Stage (
TRUE), or whether Director ignores the alpha information
when drawing to the Stage (FALSE).