I have total 20 images in NSMutableArray of ccspirit objects, and I want to show them on screen moving moving upward, I add them to as [self addChild:p] as below
I\'m using the following code to display an advertisement in a flash game. It works great except for one small issue. If the startButton function gets called before the ad is displayed I get an error
I\'m using the following code to display an advertisement in a mobile game that I\'m working on. It works fine but I don\'t know what to put in the clickStart function to remove the advertisement from
I am new to Flex. Recently, I am learning about \'state\' concept in Flex. When state is changed, we can define the new properties for the new state overidding the properties of the base state.
I am writing a simple little piece of code to draw pixels wherever the mouse is in a box. I also want to have a clear button. Drawing works fine, but I can\'t seem to get the clear button to work. Her
I\'ve got a stack of images. Those images are all added开发者_C百科 to a sprite container: var container:Sprite = new Sprite();
I\'m trying to get a very simple Javascript function to work that will change one image for another using .removeChild and .appendChild. My code is as follows:
I\'m trying to remove a movieclip with removeChild() function. My code is below, but it doesn\'t work.
In a previous question someone put me on to \"rangy\" http://code.google.com/p/rangy/. It\'s interesting even if I don\'t fully understand it. I am not a JavaScript person. However, I have managed to
BACKGROUND: I have a grid of 36 buttons, lets say a 6 rows & 6 columns numbered 1 to 36, displayed 2 rows at a time via a GridView and custom Adapter