//get the rotation of objectvar objRotation:Number = objBox.rotation;//check if it rotateif(objRotation != 0){ //rotate it to Zero objBox.rotation = 0;}//get width and heightthisWidth = objBox.width;thisHeight = objBox.height;//rotateobjBox.rotation = objRotat

Apache | Virtual Host Configuration
1- Enable Virtual Host in Apache httpd.confStart->Programs->Apache HTTP Server->Configure Apache Server->Edit the Apache httpd.conf Configuration Fileor goto httpd.conf folder of Apache Installed FolderFind this #Include conf/extra/httpd-vhosts.conf (Ctrl + F, type this, Enter)Then remove # from the lineso it should beInclude conf/extra/httpd-vhosts.conf2- Folder SecurityStill in httpd.confFind

AS3 Retrieve Flash Vars & HTML put Flash (swfObject)
Retrieve Flash Vars---------------------var fileName:String = new String();fileName = root.loaderInfo.parameters.fileNameHTML (swfObject) Flash Vars------------------------------Use swfObject can be download here http://code.google.com/p/swfobject/downloads/list<head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>LandingPage2</title> <script

Flash AS3 | Load External Images in Flash vr.
import flash.net.URLRequest;import flash.display.Loader;import flash.events.Event;import flash.events.ProgressEvent;function startLoad(){var mLoader:Loader = new Loader();var mRequest:URLRequest = new URLRequest(“MouseActions.swf”);mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressHandler);mLoader.load(mRequest);}function

Category List
- Actionscript 3 (2)
- Digital Painting (1)
- Life style (1)
- Photoshop (1)
- Sencha Touch (1)
Blog Archive
-
▼
2010
(50)
-
▼
February
(9)
- Flash AS3 | Get Actual Width and Hight of Rotated ...
- Flash AS3 | Get Width and Height of Rotated Object
- Apache | Virtual Host Configuration
- AS3 Retrieve Flash Vars & HTML put Flash (swfObject)
- Flash AS3 | XML return value with the name of node
- Flash AS3 | Draw Squar
- Flash AS3 | Change color of movieclip with TINT
- Flash AS3 | Load External Images in Flash vr. 2
- Flash AS3 | Loading External Images in Flash
-
▼
February
(9)