PHP to ActionScript code converter
Does anyone know of a PHP to ActionScript code converter? ...
Does anyone know of a PHP to ActionScript code converter? ...
I have this code that works from an .as file if (loaderInfo.loader) loaderInfo.loader.dispatchEvent(new Event("pageFinish", true)); Then I put the above code into an .fla file (another existing Flash file), but (loaderInfo.loader) always returns false, eventhough it is loaded from another swf. Hence the event is never dispatched. Ed...
I am trying to create an area in my Flex application where a user can type in text and it will appear along a curve or an arc. The curve/arc should be able to be adjusted by the user as well. Does anyone have any code examples or pointers on how I can achieve this in Flex 3/Actionscript 3? ...
When you click on a ComboBox, you can select an item by typing on the keyboard. For instance, if the ComboBox contains an item with the label "Luke Skywalker" and you type "L", it will automatically scroll to that item and select it. Is this possible in a PopUpMenu? ...
I just wrote this incredibly verbose code to turn numbers like 2 into 02. Can you make this function shorter, please (maintaning the functionality)? public static function format(n:int, minimumLength:int):String { var retVal:String = n.toString(); var stillNeed:int = minimumLength - retVal.length; for (var i:int = 0; i < stillNee...
I have several lookup tables, some of which refer to or are relationships between others. For instance, I have membership type included inventory which has Membership ID and Inventory Type ID and is the amount of each Inventory Type that one gets when one gets a specific type of membership. When the user is reviewing an Inventory Type...
This question is pretty straight forward, I literally just want to stream video of a user's computer. Just like recording from a webcam, but with the source coming from the desktop (think "screencasting tool".) I specifically want to do this in pure Flash, no downloads or add-ons. This would be an easy question for Google, but it is co...
It seems that my TextField() gets "FocusEvent type=focusIn" even when there is no real keyboard focus (cursor not blinking) I am calling "stage.focus = mytextfield;" in main constructor and it seem to cause it: However, there is no focus in the whole flash application yet unless I click the flash area, focusIN event appears while the f...
Is there an easy way of converting a Actionscript 3 project to a Flex project in Flex Builder? When i right click on the project and hover "Flex Project Nature", all options are greyed out ...
Working on a project in AS3 I require to stream a few files for bandwidth testing purposes. The files needs to come from the CDN (the clients closest proxy) in order to make the bandwidth test reliable. Of course if the remote files get cached in the clients browser the bandwidth test would not be reliable. Usually I would add a time-s...
I am not to add method to a remote shared object in AS3. In AS2 this code used to work SharedObjectName.MethodName = function(){} But this code is not working for AS3. I searched in Google and other AS3 forums but didn't get any help. can anyone provide a pointer to me please. Thanks, Sumit ...
Some external streaming urls working from my server, some streams urls not working , what is the reason ?I am using as3 flash 9player. external urls like this http://38.96.174.38:9568 this is not working . Please let me know. thanks ...
Hi there, quick question, I've been looking for a simple logging tool for AS3 projects (I do not want any Flex dependencies) and my impression so far has been that there is no actively developed project. What I need is basic logging, and adapters to allow me to send logging to file (using AIR and a LocalConnection maybe) and maybe send...
I have a singleton class that inherits from sprite so that it can access the stage, like this.. package { import flash.display.Sprite; public class C extends Sprite { private var _grid:Array = new Array(); public function get Grid():Array { return _grid; } private static var _instance:C...
Hi By default, the Horizontal ScrollBar of a HorizontalList component will be at the bottom. Is there a way to reposition it so it is at the top? Just for clarity, I do not mean moving the scroll position using either scrollToIndex or horizontalScrollPosition or similar, but the actual physical position of the scrollbar component. Any...
What is the best way to change/set a registration point on a Flex 3 display object? I know this isn't really built in to easily change, but does anyone have any suggestions on how I could extend UIComponent to achieve this? ...
I'm write a Air application that consumes a beta webservice API. Sometimes this APIreturns me a malformed XML node and actionscript will raise an error when I try creating the XML object out of it. What I've been doing is just try/catching the result and ignore the whole response if the XML is bad, but I could just ignore the malformed ...
What event should I be looking for (on the stage:Stage, I suppose) to get changes to the stage.displayState? ...
I have a swf that is being loaded by a third party swf. I have source code and recompile my swf, but don't have code to the third party swf. Somewhere, likely in my code, there's a stack overflow. In a debug flash player, I get a nice popup dialog with a stack trace when the overflow occurs: Error: Error #1023: Stack overflow occurre...
Hi there, In Adobe Flex 3, I have an HBox containing an Image and a Label: <mx:HBox width="240" verticalAlign="top" horizontalGap="8"> <mx:Image width="46" source="@Embed(source='/assets/blah.swf')"/> <mx:Label text="Blah."/> </mx:HBox> My Goal is to align the top edge of the Image and the top edge of the Label (the top of ca...