Blog Posts on actionscript




Percent:
 
Distinct:
 


Flex: Getting the Tick's Distance of a Slider From Each Other In Pixel by Beneath the Tree on Sep 6, 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 7, 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 5, 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 Jun 1, 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 12, 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 23, 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 2, 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 8, 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...



Are Animated Gifs A New Form Of Art? by Tech Exchange on Sep 27, 2010Consider this gem: Grisly for sure, but obviously the artist (and I can't imagine the creator not being called an artist), worked hard at it. There's a plot of sorts, an idea, and surely a great deal of planning was invested into execution. This isn...



Air Android – Enregistrer un screencast (capture vidéo) de son … by Natural Medicine Free Naturopathic and Homeopathic Resources on Sep 3, 2010Not all bone tumors are fatal in fact benign (non cancerous) abnormalities are more viagra online UK concerned about their treatments so they are carrying. These buy green kamagra are popular treatments . While these kamagra soft are not .... Drinkin...