Align Text in the TextField in ActionScript 3 little different than using ActionScript 2. Here is the list of samples to align text in the TextField using ActionScript 3. var txt:TextField= new TextField; txt.text=”happy morning”; txt.autoSize = TextFieldAutoSize.LEFT; addChild(txt);….. Read More >>>>
Continue Reading »ADOBE FLEX
TextFormatting in ActionScript 3 (setTextFormat)
The setTextFormat() method in actionScript 2 used to set the font properties to the text fields. example: var txt_format:TextFormat = new TextFormat();//TextFormat class creates new instances of it. this.createTextField(“txt_field”, this.getNextHighestDepth(), 0, 0, 180, 80);//creates new text field txt_format.color = 0x00FF00;….. Read More >>>>
Continue Reading »Connect SmartFox Server using Action Script 3 In Flash Builder 4.6
In this tutorial we are going to connect SmartFox Server using Action Script 3 in Flash Builder 4.6. Mostly you won’t get action script 3 code to connect smartfox server, here i’ll provide action script 3 source code at end of….. Read More >>>>
Continue Reading »Apply MXML skinClass at Runtime to Application Container in Flash Builder 4.6
Applying MXML skinclass at runtime increases your application attractiveness in the great way. In this tutorial I’m three files Gradient.mxml, VerticalSkin.mxml and EllipseSkin.mxml. Before Login After Login Step 1: To create new application New ->Flex project. Step 2: Then create skin class….. Read More >>>>
Continue Reading »Apply Vertical or Horizontal Gradient Color to Application Container through MXML Skinning In Flash Builder 4.6
In this tutorial we are going to see how to apply vertical gradient color and horizontal gradient color to the application container using MXML skinning. Step 1: Create Flex project by selecting New -> Flex project. Step 2: Now in….. Read More >>>>
Continue Reading »Cannot Resolve a Multiname Reference Unambiguously JSON In Flash Builder 4.6 with SmartFox Server
Adobe has introduced native JSON support in Flash Player 11 as well in the subsequent versions of the Flash player, this error mainly happens because package name collision in the as3corelib (action Script core library) with JSON class in the….. Read More >>>>
Continue Reading »