• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part III: Appendixes > Runtime Access Affecting HTML Attributes

H.4. Runtime Access Affecting HTML Attributes

Table H-2 lists the HTML attributes that relate to, or can be affected by, ActionScript at runtime

Table H-2. The <EMBED> and <OBJECT> tag runtime-related attributes
Runtime access <OBJECT> attribute <EMBED> attribute
To load additional movies into the Player, use loadMovie( ). <PARAM NAME="MOVIE" VALUE="url"> SRC="url"
Use _root._url to determine the location from which the movie was loaded. BASE="url" BASE="url"
Draw a colored rectangle using a depth of -16384 using MovieClip.beginFill( ), Stage.height, and Stage.width. <PARAM NAME="bgcolor" VALUE="#FFFFFF"> BGCOLOR= ="#FFFFFF"
Requires Flash Player 6. See Section 2.6 for details, including alternatives for supporting Flash Player 5. <PARAM NAME="FLASHVARS" VALUE="AUTHOR=Moock"> FLASHVARS="AUTHOR=Moock"
Use gotoAndPlay( ) to play the movie starting at frame 1. <PARAM NAME="LOOP" VALUE="TRUE"> LOOP="TRUE"
Stage.showMenu (requires Flash Player 6) For Flash Player 5, use fscommand("showmenu", "false") and fscommand("showmenu", "true"). <PARAM NAME="MENU" VALUE="TRUE"> MENU="TRUE"
Use stop( ) to halt the movie at frame 1. <PARAM NAME="PLAY" VALUE="TRUE"> PLAY="TRUE"
_quality <PARAM NAME="QUALITY" VALUE="HIGH"> QUALITY="HIGH"
Stage.align (requires Flash Player 6) <PARAM NAME="SALIGN" VALUE="LT"> SALIGN="LT"
Stage.scaleMode (requires Flash Player 6) For Flash Player 5, use fscommand("allowscale" ). <PARAM NAME="SCALE" VALUE="NOSCALE"> SCALE="NOSCALE"



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint