How to make 3D wall gallery in Flex?
I like to create a Flex application, an image gallery, which comes like 3D wall. How can I do that? Is there any examples available? ...
I like to create a Flex application, an image gallery, which comes like 3D wall. How can I do that? Is there any examples available? ...
Hi, I am working on Air application,i had a problem on Tree control. Iam adding nodes for the tree dynamically, while adding nodes to the tree i am setting Tree.selectedItem as present added node. after that i need to fire Tree.itemClick event handler method also. how can i call event handler method as a common method. in Flex3 ...
Hello I am working on a Flex application/game where a lot of UIComponents are moved around on a canvas. I would like to "record" an flv movie of the movement on the canvas. Is there anyway this can be accomplished ? I essentially want my users to be able to record small flv videos of their games to be uploaded on youtube. Any ideas...
I have often seen an init() within the constructor of AS3 classes, sometimes even being the only code in the constructor. Why would it be useful to do this, if you could simply use the constructor function itself to initialize a class? package { import flash.display.Sprite; public class Example extends Sprite { ...
Happy Pre-Halloween everyone :) My issue today is a DisplayObject error I'm getting when remove a child object. I have code that will launch(addChild) a video container and video controls as well as add a close button. Now the close button works fine and everything, removing the video and controls and I'm able to choose another video ag...
so in mxml it's <mx:z id="a" ... <mx:z id="b" value="{a.value}" how do you do this in actionscript ? ...
How to load images in as3: Load them all at once, for example like this (pseudo as3 code): for each (var url:String in images){ loader.load(url); } Or to load them one by one (again, pseudo code): loader.load(images.shift()) onComplete(){ loadNext(images.shift()); } Which way is faster and better for performance? ...
without getting too verbose....i have been learning AS3 over the last week by building a small Flash site. the navigation menu is constructed as a custom class rather than on a keyframe in the flash file itself. I now find myself simply needing to issue a command to control the main flash file's timeline in this manner... pages.gotoAn...
Hi, I've been trying to get JSON working with AS3 for a while now, but to no avail. I keep getting the following error when I get the JSON back: TypeError: Error #1034: Type Coercion failed: cannot convert Object@26331c41 to Array. I've tried changing the datatype of the variable "jsonData" to object, which fixes the error, but I'm n...
I have a sprite which I draw a white rectangle on (below) and want to use TweenLite to fade the sprite in and out but it either shows or hides the the sprite. animating the sizing such as scaleX works fine just the alpha. any ideas? private function Draw():void { panel.graphics.beginFill(0xFFFFFF); panel.graphics.drawRect(0,0...
I have 5 item spirits (each has a bitmap within it) within a container sprite each 200px x 100px, I have the container sprite scaleX and scaleY set to .3 when I use TweenLite and animate the scales to 1 I get flickering between each item sprite until the animation is finished. any ideas on how I can reduce the flickering? ...
without getting too verbose....i have been learning AS3 over the last week by building a small Flash site. the navigation menu is constructed as a custom class rather than on a keyframe in the flash file itself. I now find myself simply needing to issue a command to control the main flash file's timeline in this manner... pages.gotoAndP...
I commented my code below to reflect what I am attempting to do here. Flash is throwing me a 1084 error at the moment but I cannot spot my issue. I expect that it is something to do with the this['circle'+i] statement. var boxOne = new box(); stage.addChild(boxOne); boxOne.x = stage.stageWidth/2; boxOne.y = stage.stageHeight/2; //This ...
Hello, I want to make a game where a ship shoots through 2 fireguns. The problem is that it doesn't shoot. When i code to shoot from the ship it's working but not from the fireguns and i don't have any compile errors. Here is the code: //variables var steps:Number=10; var left:Boolean=false; var right:Boolean=false; var cTime:Number=0...
Hi! Could you please help. I am using the django-amf-gateway application (http://bitbucket.org/wolever/django-amf-gateway). I defined the gateway this way: from django_amf_gateway import register_amf_service from goserver.models import Game class ChangeService(object): def state(self): game = Game.objects.get(id = 1) ...
Sometimes while typing in a textarea in Flex many characters will be rendered at one height then at some point on that same text line the rest of the characters are rendered a couple pixels lower than the rest. Here is an example, look at the last 'I' character, its low: Sometimes changing the font size will fix this but its not consis...
I cannot figure out what my object instance names are because of how I am generating them and adding them to the stage... var circles:Array = new Array() //Declare array for displaying multiple objects function spawn(evt:MouseEvent):void { //MouseEvent trigger, working for (var i:int = 0; i<5; i++) { //Run five times circles[i] = new...
Hi I am used URLLoader in flash and created the swf to load images, i have used that swf in flex using swfloader, When i individually used that swf to load images and when i resize the images its working fine. but when i load the swf in swfloader in flex3 the image is loaded sucessfully but re-size is not working in flex3 swfloade...
hi guys! I'm messing around a bit with the new fp10 drawing api and drawtriangles. i've created a little something i think is kinda of cool, though i can't seem to get the uv-mapping working as i want. since i'm just moving points in z/y direction i don't really have and z-value to calculate the uv with. though the bitmap texture gets di...
Having used FlashDevelop with a project, and switched to FDT/Eclipse. I am sorting through hundreds of warnings in my code. Quite a few relate to XML and JSON syntax this project is using. In the following, I'm not sure what to cast the XML containing data as so that it is recognised by the compiler Example: public function convertXML...