[SIZE=5]DarkStreetLoader class[SIZE=1]
v1.0
[/SIZE]
[SIZE=4]Constructor[SIZE=1]
[/SIZE][SIZE=3][COLOR=Gray]DarkStreetLoader[/COLOR](target:Object, file:String, [option:Boolean])[SIZE=1]
[SIZE=2]When an instance of DarkStreetLoader is created, the specified file is loaded into the specified target and scaled according to the optional option flag.[/SIZE]
**[SIZE=2][SIZE=2]Parameters[/SIZE][SIZE=1]
[SIZE=2]target:[/SIZE][/SIZE][/SIZE]**[SIZE=2][SIZE=1][SIZE=2]Object - specify the path to the movie clip you would like to use to load content into.[SIZE=1]
[SIZE=2]file:[/SIZE][SIZE=2]String - specify the path to the file to be loaded.[SIZE=1]
[SIZE=2]option:[/SIZE][SIZE=2]Boolean [optional] - value indicating whether loaded file should be scaled in proportion to the dimensions of the target. When set to [FONT=Courier New]false[/FONT], the loaded file[/SIZE] [SIZE=2]will be stretched to the dimensions of the target. Default value is [FONT=Courier New]true.[SIZE=1]
[FONT=Verdana][SIZE=2]Example[SIZE=1]
[/SIZE][/SIZE][/FONT][/SIZE][/FONT][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][FONT=Courier New][COLOR=DarkOrchid]var[/COLOR][/FONT][FONT=Courier New] dsl:[/FONT][FONT=Courier New][COLOR=Green]DarkStreetLoader[/COLOR][/FONT][FONT=Courier New] = new [/FONT][FONT=Courier New][COLOR=Green]DarkStreetLoader[/COLOR][/FONT][FONT=Courier New]([/FONT][FONT=Courier New][COLOR=Green]_root[/COLOR][/FONT][FONT=Courier New].target_mc, [/FONT][FONT=Courier New][COLOR=Blue]“ash.jpg”[/COLOR][/FONT][FONT=Courier New]);[/FONT]
[SIZE=5][SIZE=4][SIZE=3][SIZE=1][SIZE=2][SIZE=1][SIZE=2][SIZE=1][SIZE=2][SIZE=1][SIZE=2][FONT=Courier New]
[/FONT][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][SIZE=4]Public Properties[SIZE=1]
[SIZE=2]None
[/SIZE][/SIZE][/SIZE][SIZE=4]Public Methods[SIZE=1]
[/SIZE][/SIZE][SIZE=5][SIZE=4][SIZE=3][COLOR=Black][FONT=Courier New]loadContent (DarkStreetLoader.loadContent method)
public [COLOR=Gray]loadContent[/COLOR](file:String):Void[SIZE=1]
[FONT=Verdana][SIZE=2]This method loads a file into the target as specified when an instance of DarkStreetLoader was created.[/SIZE][/FONT]
[/SIZE][/FONT][/COLOR][/SIZE][/SIZE][/SIZE][SIZE=5][SIZE=4][SIZE=3][SIZE=1]**[SIZE=2][SIZE=2]Parameters[/SIZE][SIZE=1]
[SIZE=2]file:[/SIZE][/SIZE][/SIZE]**[SIZE=2][SIZE=1][SIZE=2]String - specify the path to the file to be loaded.[SIZE=1]
[/SIZE]**Returns[SIZE=1]
[/SIZE]**[SIZE=1][SIZE=2]Nothing.[SIZE=1]
**[SIZE=2]Example[SIZE=1]
[/SIZE][/SIZE]**[/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][FONT=Courier New][COLOR=Black]dsl.[COLOR=Green]loadContent/COLOR;[/COLOR][/FONT]
[SIZE=5][SIZE=4][SIZE=3][SIZE=1][SIZE=2][SIZE=1][SIZE=2][SIZE=1][SIZE=2]
[/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][SIZE=5][SIZE=4][SIZE=3][COLOR=Black][FONT=Courier New]unloadContent ([/FONT][/COLOR][/SIZE][/SIZE][/SIZE][SIZE=5][SIZE=4][SIZE=3][COLOR=Black][FONT=Courier New]DarkStreetLoader.unloadContent method[/FONT][/COLOR][/SIZE][/SIZE][/SIZE][SIZE=5][SIZE=4][SIZE=3][COLOR=Black][FONT=Courier New])
public [COLOR=Gray]unloadContent/COLOR:Void[SIZE=1]
[FONT=Verdana][SIZE=2]This method unloads the movie as specified when an instance of DarkStreetLoader was created.[/SIZE][/FONT]
[/SIZE][/FONT][/COLOR][/SIZE][/SIZE][/SIZE][SIZE=5][SIZE=4][SIZE=3][SIZE=1]**[SIZE=2][SIZE=2]Parameters[/SIZE][SIZE=1]
[/SIZE][/SIZE]**[/SIZE][/SIZE][/SIZE][/SIZE][SIZE=5][SIZE=4][SIZE=3][SIZE=1][SIZE=2][SIZE=1][SIZE=2][SIZE=1][SIZE=2]None.[/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][SIZE=5][SIZE=4][SIZE=3][SIZE=1][SIZE=2][SIZE=1][SIZE=2][SIZE=1]
[/SIZE]**Returns[SIZE=1]
[/SIZE]**[SIZE=1][SIZE=2]Nothing.
[/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][SIZE=5][SIZE=4][SIZE=3][SIZE=1][SIZE=2][SIZE=1][SIZE=2][SIZE=1][SIZE=2][SIZE=1]
**[SIZE=2]Example[SIZE=1]
[/SIZE][/SIZE]**[/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][FONT=Courier New]dsl.[/FONT][FONT=Courier New][COLOR=Green]unloadContent[/COLOR][/FONT]FONT=Courier New;[/FONT]