pathName

Syntax: the pathName of member whichFlashMember
Type: Cast member property
Description: This property controls the location of an external file where the assets of a Flash movie cast member are stored. You can link a Flash movie to any pathname on a local drive or a network drive, or to a URL.
The pathName of member property can be tested and set. This property is valid only when the linked property of the cast member is set to TRUE.
Example: This startMovie script creates a new Flash cast member using the new command, sets the newly created cast member's linked property so that the cast member's assets are stored in an external file, and then sets the cast member's pathName property to the location of a Flash movie on the World Wide Web.
on startMovie
	set flashCastMember = new(#flash)
	set the linked of member flashCastMember = TRUE
	set the pathName of member flashCastMember = "http://www.someURL.com/myFlash.swf"
end

Related Lingo: linked of member function

Previous | Next