Firefox 3. Eliminando el borde punteado.
Para eliminar el borde punteado que aparece al clickar en enlaces y objetos flash utilizaremos el siguiente CSS:
Para los links:
1 | a{ outline: none; } |
Para los objetos Flash:
1 | object { outline: none; } |
Para eliminar el borde punteado que aparece al clickar en enlaces y objetos flash utilizaremos el siguiente CSS:
Para los links:
1 | a{ outline: none; } |
Para los objetos Flash:
1 | object { outline: none; } |
We must set
The php.ini file contains configuration settings for PHP, including parameters related to upload files, these properties are:
First Method: Setting php.ini
The first way to enable the uploading of large files is to edit the file php.ini. Then, we open the file php.ini and change the desired parameters, in our case enable a maximum of 100 Mb to upload and up to 1000 seconds for execution_time:
; Resource Limits ;
max_execution_time = 1000
max_input_time = 1000
; Maximum size of POST data that PHP will accept.
post_max_size = 100M
; Maximum allowed size for uploaded files.
upload_max_filesize = 100M
Second Method: Setting. Htaccess
The second way is to change the settings with the help of the file. Htaccess, this create a file named. Htaccess at the root of your Web server, then put it into this file as follows:
php_value upload_max_filesize 100M
php_value post_max_size 100M
php_value max_execution_time 1000
php_value max_input_time 1000
Third Method: Setting the php script
The third way is to change the settings directly on our php script, to this end we will use the ini_set function that allows to overwrite the general configuration, then at the start of our script to be processed uploads place:
ini_set('post_max_size','100M');
ini_set('upload_max_filesize','100M');
ini_set('max_execution_time','1000');
ini_set('max_input_time','1000');
Does ActionScript 3 have static initializers like Java?
You bet it does!
First of all, what is a static initializer? Simply put, it’s a block of executable code used to initialise a class. They’re also called “static constructors” in C#.
Here’s a class that detects and stores Flash Player version information:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | public class FlashPlayerVersion { /* Inicializador de Bloque estático */ { trace("Initialising class FlashPlayerVersion"); var a:Array = Capabilities.version.split(" "); platform = a[0]; // "WIN", "MAC", "UNIX", etc. a = a[1].split(","); majorVersion = int(a[0]); minorVersion = int(a[1]); buildNumber = int(a[2]); internalBuildNumber = int(a[3]); } public static var platform:String; public static var majorVersion:int; public static var minorVersion:int; public static var buildNumber:int; public static var internalBuildNumber:int; } |
The version information provided by the Capabilities class is in string format, so we need to parse it once. Since the variables holding these values are static, they must be initialised in a static block.
The code in the static block is run when the class is first loaded. You can have multiple static blocks, and they’ll all be executed in the order in which they appear textually within the source.
Here’s a small bit of MXML to test out the FlashPlayerVersion class:
1 2 3 4 5 | <?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Button label="Click Me!" click="trace('Build number:', FlashPlayerVersion.buildNumber)" /> </mx:Application> |
When you click the button for the first time, the program will trace “Initialising class FlashPlayerVersion” followed by the Flash Player build number. The static initializer is run only once, when the class is first loaded in the virtual machine, which happens when it is first referenced in the application (in our case the click handler).
Original post:manishjethani.com
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Feb | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 | |||