Archive for January, 2008
Can Adobe Bridge play display various types of media assets?
Yes, Adobe Bridge creators claim that it can play or display virtually any type of media assets.
In: Adobe Bridge, General Information · Tagged with: Adobe Bridge, General Information
What helpful jQuery plugin allows various manipulations of scrolling?
http://plugins.jquery.com/project/ScrollTo
In: JavaScript, jQuery, Web Design, Web Programming · Tagged with: JavaScript, jQuery
What is an attribute selector in jQuery?
By enclosing an attribute in square brackets you can select only one attribute, for example: $(‘a[href=#]‘).click(function() { $(‘html’).animate({scrollTop: 0},’slow’); return false; // Return false to cancel the default link action }
In: JavaScript, jQuery, Web Design, Web Programming · Tagged with: JavaScript, jQuery
What is the structure of the switch conditional statement in ActionScript 3.0?
Switch statement is useful when you want to perform several different actions that depend on the output of a single expression. Basically, switch conditional statement does the same thing as the long if… else if conditional statement, but the switch conditional statement is a little easier to read. In the example below, the switch statement [...]
In: ActionScript 3.0, Adobe Flash, Computer Programming · Tagged with: ActionScript 3.0, Adobe Flash
Can I omit curly braces in the conditional statements in ActionScript 3.0?
Yes, you can omit curly braces { } in the if… else and if… else if conditional statements but ONLY if the if and/or else statements are followed by only single statement, as in the two examples below: Example of the if… else statement without {}: var myNum:Number = -3; if (myNum > 0) trace(“myNum [...]
In: ActionScript 3.0, Adobe Flash, Computer Programming · Tagged with: ActionScript 3.0, Adobe Flash
What is the structure of the conditional if… else if statement in ActionScript 3.0?
Please take a look at the following example: if (x > 20) { trace(“x is > 20″); } else if (x =0) { trace(“x = 0″); } else if (x < 0) { trace(“x is negative”); } else { trace(“x is NaN”); }
In: ActionScript 3.0, Adobe Flash, Computer Programming · Tagged with: ActionScript 3.0, Adobe Flash
What is the structure of the conditional if… else statement in ActionScript 3.0?
See the following example: if (x > 20) { trace(“x is > 20″); } else { trace(“x is <= 20″); } You may use the if statement without the “else” part, if you do not need to have the alternative blocl of code: if (x > 20) { trace(“x is > 20″); }
In: ActionScript 3.0, Adobe Flash, Computer Programming · Tagged with: ActionScript 3.0, Adobe Flash
What three conditional statements exist in ActionScript 3.0?
There are three types of conditional statements used in ActionScript 3.0: if… else conditional statement; if… else if… conditional statement; switch conditional statement. Please read separate blog entries on each conditional statement in ActionScript 3.0.
In: ActionScript 3.0, Adobe Flash, Computer Programming · Tagged with: ActionScript 3.0, Adobe Flash
