Archive for the 'Coldfusion' Category

Returns Nothing. Description Method; indicates the beginning of

Sunday, March 23rd, 2008

Returns Nothing. Description Method; indicates the beginning of a new drawing path. If the first parameter is undefined, or if no parameters are passed, the path has no fill. If an open path exists (that is if the current drawing position does not equal the previous position specified in a moveTo() method), and it has a fill associated with it, that path is closed with a line and then filled. This is similar to what happens when you call endFill(). This method fails if any of the following conditions exist: The number of items in the colors, alphas, and ratios parameters are not equal. The fillType parameter is not linear or radial . Any of the fields in the object for the matrix parameter are missing or invalid. Example The following code uses both methods to draw two stacked rectangles with a red-blue gradient fill and a 5-pt. solid green stroke. _root.createEmptyMovieClip(”goober”,1); with ( _root.goober ) { colors = [ 0xFF0000, 0×0000FF ]; alphas = [ 100, 100 ]; ratios = [ 0, 0xFF ]; lineStyle( 5, 0×00ff00 ); matrix = { a:500,b:0,c:0,d:0,e:200,f:0,g:350,h:200,i:1}; beginGradientFill( “linear”, colors, alphas, ratios, matrix ); moveto(100,100); lineto(100,300); lineto(600,300); lineto(600,100); lineto(100,100); endFill(); matrix = { matrixType:”box”, x:100, y:310, w:500, h:200, r:(0/180)*Math.PI }; beginGradientFill( “linear”, colors, alphas, ratios, matrix ); moveto(100,310); lineto(100,510); lineto(600,510); lineto(600,310); lineto(100,310); endFill(); } 492 Chapter 12: ActionScript Dictionary
In case you need affordable webhost to host your website, our recommendation is ecommerce web host services.

If a matrixType property does not exist then (Web hosting domain)

Sunday, March 23rd, 2008

If a matrixType property does not exist then the remaining parameters are all required; the function fails if any of them are missing. This matrix scales, translates, rotates, and skews the unit gradient, which is defined at (-1,-1) and (1,1). matrixType, x, y, w, h, r. The properties indicate the following: matrixType is the string “box”, x is the horizontal position relative to the registration point of the parent clip for the upper left corner of the gradient, y is the vertical position relative to the registration point of the parent clip for the upper left corner of the gradient, w is the width of the gradient, h is the height of the gradient, and r is the rotation in radians of the gradient. The following example uses a beginGradientFill() method with a matrix parameter that is an object with these properties. _root.createEmptyMovieClip( “grad”, 1 ); with ( _root.grad ) { colors = [ 0xFF0000, 0×0000FF ]; alphas = [ 100, 100 ]; ratios = [ 0, 0xFF ]; matrix = { matrixType:”box”, x:100, y:100, w:200, h:200, r:(45/ 180)*Math.PI }; beginGradientFill( “linear”, colors, alphas, ratios, matrix ); moveto(100,100); lineto(100,300); lineto(300,300); lineto(300,100); lineto(100,100); endFill(); } If a matrixType property exists then it must equal “box” and the remaining parameters are all required. The function fails if any of these conditions are not met. MovieClip.beginGradientFill() 491
We would like to recommend you tested and proved virtual web hosting services, which you will surely find to be of great quality.

MovieClip.beginGradientFill() Availability Flash Player 6. Usage my_mc.beginGradientFill(fillType, colors, (Cedant web hosting)

Saturday, March 22nd, 2008

MovieClip.beginGradientFill() Availability Flash Player 6. Usage my_mc.beginGradientFill(fillType, colors, alphas, ratios, matrix) Parameter fillType Either the string “linear” or the string “radial”. colors An array of RGB hex color values to be used in the gradient (for example, red is 0xFF0000, blue is 0×0000FF, and so on). alphas An array of alpha values for the corresponding colors in the colors array; valid values are 0 100. If the value is less than 0, Flash uses 0. If the value is greater than 100, Flash uses 100. ratios An array of color distribution ratios; valid values are 0 255. This value defines the percentage of the width where the color is sampled at 100 percent. matrix A transformation matrix that is an object with either of the following two sets of properties. a, b, c, d, e, f, g, h, i, which can be used to describe a 3 x 3 matrix of the following form: a b c d e f g h i The following example uses a beginGradientFill() method with a matrix parameter that is an object with these properties. _root.createEmptyMovieClip( “grad”, 1 ); with ( _root.grad ) { colors = [ 0xFF0000, 0×0000FF ]; alphas = [ 100, 100 ]; ratios = [ 0, 0xFF ]; matrix = { a:200, b:0, c:0, d:0, e:200, f:0, g:200, h:200, i:1 }; beginGradientFill( “linear”, colors, alphas, ratios, matrix ); moveto(100,100); lineto(100,300); lineto(300,300); lineto(300,100); lineto(100,100); endFill(); } 490 Chapter 12: ActionScript Dictionary
From our experience, we can recommend PHP5 Web Hosting services, if you need affordable webhost to host and run your web application.

Example The following example attaches the symbol with

Saturday, March 22nd, 2008

Example The following example attaches the symbol with the linkage identifier circle to the movie clip instance, which is on the Stage in the SWF file. on (release) { thing.attachMovie( “circle”, “circle1″, 2 ); } See also MovieClip.removeMovieClip(), MovieClip.unloadMovie(), Object.registerClass(), removeMovieClip() MovieClip.beginFill() Availability Flash Player 6. Usage my_mc.beginFill([rgb[, alpha]]) Parameter rgb A hex color value (for example, red is 0xFF0000, blue is 0×0000FF, and so on). If this value is not provided or is undefined, a fill is not created. alpha An integer between 0 100 that specifies the alpha value of the fill. If this value is not provided, 100 (solid) is used. If the value is less than 0, Flash uses 0. If the value is greater than 100, Flash uses 100. Returns Nothing. Description Method; indicates the beginning of a new drawing path. If an open path exists (that is, if the current drawing position does not equal the previous position specified in a moveTo() method) and it has a fill associated with it, that path is closed with a line and then filled. This is similar to what happens when endFill() is called. If no fill is currently associated with the path, endFill() must be called in order to apply the fill. See also MovieClip.beginGradientFill(), MovieClip.endFill() MovieClip.beginFill() 489
Go visit our java server pages services for a reliable, lowcost webhost to satisfy all your needs.

Example The following code attaches a microphone to (Web design)

Friday, March 21st, 2008

Example The following code attaches a microphone to a movie clip. my_mic = Microphone.get(); this.attachAudio(my_mic); The following example shows how you can use a Sound object to control the sound associated with an FLV file. // Clip is the instance name of the movie clip // that contains the video object “my_video”. _root.Clip.my_video.attachVideo(_root.myNetStream); _root.Clip.attachAudio(_root.myNetStream); var snd = new Sound(”_root.Clip”); //To adjust the audio: _root.snd.setVolume(100); See also Microphone class, NetStream.play(), Sound class, Video.attachVideo() MovieClip.attachMovie() Availability Flash Player 5. Usage my_mc.attachMovie(idName, newName, depth [, initObject]) Parameters idName The linkage name of the movie clip symbol in the library to attach to a movie clip on the Stage. This is the name entered in the Identifier field in the Linkage Properties dialog box. newname A unique instance name for the movie clip being attached to the movie clip. depth An integer specifying the depth level where the SWF file is placed. initObject (Supported for Flash Player 6 and later) An object containing properties with which to populate the newly attached movie clip. This parameter allows dynamically created movie clips to receive clip parameters. If initObject is not an object, it is ignored. All properties of initObject are copied into the new instance. The properties specified with initObject are available to the constructor function. This parameter is optional. Returns A reference to the newly created instance. Description Method; takes a symbol from the library and attaches it to the SWF file on the Stage specified by my_mc. Use removeMovieClip() or unloadMovie() to remove a SWF file attached with attachMovie(). 488 Chapter 12: ActionScript Dictionary
Go visit our java server pages services for a reliable, lowcost webhost to satisfy all your needs.

MovieClip._alpha Availability Flash Player 4. Usage my_mc._alpha Description

Friday, March 21st, 2008

MovieClip._alpha Availability Flash Player 4. Usage my_mc._alpha Description Property; the alpha transparency value of the movie clip specified by my_mc. Valid values are 0 (fully transparent) to 100 (fully opaque). The default value is 100. Objects in a movie clip with _alpha set to 0 are active, even though they are invisible. For example, you can still click a button in a movie clip whose _alpha property is set to 0. Example The following code sets the _alpha property of a movie clip named star_mc to 30% when the button is clicked: on(release) { star_mc._alpha = 30; } See also Button._alpha, TextField._alpha MovieClip.attachAudio() Availability Flash Player 6; the ability to attach audio from Flash Video (FLV) files was added in Flash Player 7. Usage my_mc.attachAudio(source) Parameters source The object containing the audio to play. Valid values are a Microphone object, a NetStream object that is playing an FLV file, and false (stops playing the audio). Returns Nothing. Description Method; specifies the audio source to be played. To stop playing the audio source, pass false for source. MovieClip.attachAudio() 487
If you are looking for cheap and quality webhost to host and run your website check Jboss Web Hosting services.

Free web hosts - Event handler summary for the MovieClip class Event

Thursday, March 20th, 2008

Event handler summary for the MovieClip class Event handler Description MovieClip.onData Invoked when all the data is loaded into a movie clip. MovieClip.onDragOut Invoked while the pointer is outside the button; the mouse button is pressed inside, and then rolls outside the button area. MovieClip.onDragOver Invoked while the pointer is over the button; the mouse button has been pressed then rolled outside the button, and then rolled back over the button. MovieClip.onEnterFrame Invoked continually at the frame rate of the SWF file. The actions associated with the enterFrame clip event are processed before any frame actions that are attached to the affected frames. MovieClip.onKeyDown Invoked when a key is pressed. Use the Key.getCode() and Key.getAscii() methods to retrieve information about the last key pressed. MovieClip.onKeyUp Invoked when a key is released. MovieClip.onKillFocus Invoked when focus is removed from a button. MovieClip.onLoad Invoked when the movie clip is instantiated and appears in the Timeline. MovieClip.onMouseDown Invoked when the left mouse button is pressed. MovieClip.onMouseMove Invoked every time the mouse is moved. MovieClip.onMouseUp Invoked when the left mouse button is released. MovieClip.onPress Invoked when the mouse is pressed while the pointer is over a button. MovieClip.onRelease Invoked when the mouse is released while the pointer is over a button. MovieClip.onReleaseOutside Invoked when the mouse is released while the pointer is outside the button after the button is pressed while the pointer is inside the button. MovieClip.onRollOut Invoked when the pointer rolls outside of a button area. MovieClip.onRollOver Invoked when the mouse pointer rolls over a button. MovieClip.onSetFocus Invoked when a button has input focus and a key is released. MovieClip.onUnload Invokes in the first frame after the movie clip is removed from the Timeline. The actions associated with the Unload movie clip event are processed before any actions are attached to the affected frame. 486 Chapter 12: ActionScript Dictionary
Please visit Domain Name Hosting services for high quality webhost to host and run your jsp applications.

Property Description MovieClip.tabEnabled Indicates whether (Email web hosting) a movie clip

Thursday, March 20th, 2008

Property Description MovieClip.tabEnabled Indicates whether a movie clip is included in tab ordering. MovieClip.tabIndex Indicates the tab order of an object. MovieClip._target The target path of a movie clip instance. MovieClip._totalframes The total number of frames in a movie clip instance. MovieClip.trackAsMenu Indicates whether other buttons can receive mouse release events. MovieClip._url The URL of the SWF file from which a movie clip was downloaded. MovieClip.useHandCursor Determines whether the hand is displayed when a user rolls over a button movie clip. MovieClip._visible A Boolean value that determines whether a movie clip instance is hidden or visible. MovieClip._width The width of a movie clip instance, in pixels. MovieClip._x The x coordinate of a movie clip instance MovieClip._xmouse The x coordinate of the mouse pointer within a movie clip instance. MovieClip._xscale The value specifying the percentage for horizontally scaling a movie clip. MovieClip._y The y coordinate of a movie clip instance. MovieClip._ymouse The y coordinate of the mouse pointer within a movie clip instance. MovieClip._yscale The value specifying the percentage for vertically scaling a movie clip. MovieClip class 485
We recommend high quality webhost to host and run your jsp application: christian web host services.

Drawing method summary for the MovieClip class Method (Web site construction)

Wednesday, March 19th, 2008

Drawing method summary for the MovieClip class Method Description MovieClip.beginFill() Begins drawing a fill on the Stage. MovieClip.beginGradientFill() Begins drawing a gradient fill on the Stage. MovieClip.clear() Removes all the drawing commands associated with a movie clip instance. MovieClip.curveTo() Draws a curve using the latest line style. MovieClip.endFill() Ends the fill specified by beginFill() or beginGradientFill(). MovieClip.lineStyle() Defines the stroke of lines created with the lineTo()and curveTo() methods. MovieClip.lineTo() Draws a line using the current line style. MovieClip.moveTo() Moves the current drawing position to specified coordinates. Property summary for the MovieClip class Property Description MovieClip._alpha The transparency value of a movie clip instance. MovieClip._currentframe The frame number in which the playhead is currently located. MovieClip._droptarget The absolute path in slash syntax notation of the movie clip instance on which a draggable movie clip was dropped. MovieClip.enabled Indicates whether a button movie clip is enabled. MovieClip.focusEnabled Enables a movie clip to receive focus. MovieClip._focusrect Indicates whether a focused movie clip has a yellow rectangle around it. MovieClip._framesloaded The number of frames that have been loaded from a streaming SWF file. MovieClip._height The height of a movie clip instance, in pixels. MovieClip.hitArea Designates another movie clip to serve as the hit area for a button movie clip. MovieClip._highquality Sets the rendering quality of a SWF file. MovieClip.menu Associates a ContextMenu object with a movie clip. MovieClip._name The instance name of a movie clip instance. MovieClip._parent A reference to the movie clip that encloses the movie clip. MovieClip._rotation The degree of rotation of a movie clip instance. MovieClip._soundbuftime The number of seconds before a sound starts to stream. MovieClip.tabChildren Indicates whether the children of a movie clip are included in automatic tab ordering. 484 Chapter 12: ActionScript Dictionary
If you are looking for affordable and reliable webhost to host and run your business application visit our ftp web hosting services.

Method Description MovieClip.gotoAndPlay() Sends the playhead (Freelance web design) to a

Wednesday, March 19th, 2008

Method Description MovieClip.gotoAndPlay() Sends the playhead to a specific frame in the movie clip and plays the SWF file. MovieClip.gotoAndStop() Sends the playhead to a specific frame in the movie clip and stops the SWF file. MovieClip.hitTest() Returns true if bounding box of the specified movie clip intersects the bounding box of the target movie clip. MovieClip.loadMovie() Loads the specified SWF file into the movie clip. MovieClip.loadVariables() Loads variables from a URL or other location into the movie clip. MovieClip.localToGlobal() Converts a point object from the local coordinates of the movie clip to the global Stage coordinates. MovieClip.nextFrame() Sends the playhead to the next frame of the movie clip. MovieClip.play() Plays the specified movie clip. MovieClip.prevFrame() Sends the playhead to the previous frame of the movie clip. MovieClip.removeMovieClip() Removes the movie clip from the Timeline if it was created with duplicateMovieClip(), MovieClip.duplicateMovieClip(), or MovieClip.attachMovie(). MovieClip.setMask() Specifies a movie clip as a mask for another movie clip. MovieClip.startDrag() Specifies a movie clip as draggable and begins dragging the movie clip. MovieClip.stop() Stops the currently playing SWF file. MovieClip.stopDrag() Stops the dragging of any movie clip that is being dragged. MovieClip.swapDepths() Swaps the depth level of two SWF files. MovieClip.unloadMovie() Removes a SWF file that was loaded with loadMovie(). MovieClip class 483
If you are in need for cheap and reliable webhost to host your website, we recommend http web server services.