Blog Posts on actionscript




Percent:
 
Distinct:
 


HTML 5 vs Flash by Computer Technology Blog on Jul 9, 2012Follow @ryderskull88 HTML5 is a markup language for structuring and presenting content for the World Wide Web, and is a core technology of the Internet originally proposed by Opera Software. It is the fifth revision of the HTML standard (created...



Infographics: HTML5 vs Flash Games by Computer Technology Blog on Feb 19, 2012HTML5 is a language for structuring and presenting content for the World Wide Web, and is a core technology of the Internet originally proposed by Opera Software. It is the fifth revision of the HTML standard and as of February 2012 is still under de...



Flex: Getting the Tick's Distance of a Slider From Each Other In Pixel by AJIBANDA++ on Sep 5, 2011Here is a step by step solution on getting the tick's distance to each other in pixel. Scenario: I have two sliders with the following properties: - same size, - one ticks each but on different position - different maximum value The said slider's...



Embedding Text File on Flex by on Jul 6, 2011Sometimes you need to place a long text file (*.txt or of similar content) on your Flex application, either for descriptive details or labels. One way to do it is to use RichText (Spark component) tags and combining it with text (Spark component) and...



Converting a Date Formatted String to Date in Flex by on Jun 4, 2011I originally have a date variable that I'm writing to a file. My problem occurs when I have to read this data on the file which turns this date variable to string. Upon searching on flex documentation, I found parseDateString but the problem is it is...



'The default program must be contiguous' in Flex by on May 31, 2011PROBLEM:The problem occur when shifting from Source to Design mode in Flash Builder 4.Error says:The default program must be contiguousSOLUTION AND CAUSE:This is cause by script blocks added on the middle of the visual designs.Sample: <s:TextInput...



Converting an Image To GrayScale using ActionScript by on May 11, 2011PROBLEMConverting an image to a grayscale format without creating another image file. (For actionscript)SOLUTIONUse the function below and pass an image object to be converted:private function convertToGrayscale(image:DisplayObject):void { var matr...



VerifyError: Error #1014: Class flash.desktop in Flex/AIR by on Feb 22, 2011Error #1014 arises when a certain class is not found. In this case, flash.desktop class is not allowed to be accessed. To resolve this, add the following line to your descriptor file.<supportedProfiles>extendedDesktop</supportedProfiles>A...



Changing currentState of Main and Customized Component in Flash Builder 4 by on Feb 1, 2011Here is a short way to change the currentState of components from an external component, Note that this is based from my coding experience and somewhere out the net a better solution might exists.Change state of Main from a customized component:1) ad...



FLEX: Basic mouse control over menu using action script by on Dec 7, 2010ScenarioI wanted to create a menu that can be drag or slide in flex, any form of menu - carousel, dock or a scroller. Considering that I'm on linux and using Flex 3 (which is as far as I know the last remaining flex builder built on Unix)I came up s...