Is there a library for SSH in ActionScript 3? If not, I'd appreciate some ideas on how to have Flash integrate with SSH.
I have a Flash prototype programmed out, and my client wants to see some minimal integration with an SSH server. What is needed is basically:
connect
authenticate
send a few basic commands
I can't just have these ...
I'm trying to create a Flex application that automates a web browser to perform certain tasks. I would use the application to login to a site, parse data out of the HTML, and send it to a jsp page for processing.
I currently have an application written in WPF that does that exact thing, but it needs to be ported to flex. Any known w...
I'm working on a actionscript 3 flash file wherein I want to use multiple .swfs to load at various points.
I'm using the loader class and addChildAt to add these swf files to the display list. However, I'd like to keep one or more files above everything else, and have the rest of the swf files load directly under the top most swf files...
I'm working on a very graphic-heavy application which uses content from a bunch of different FLAs. I'm a coder, though, so I want to do all my coding in Flash Builder, however I want to allow my designer to still use a few timeline actions such as stop(); and even a few simple button handlers to change the view. I've been trying to find ...
I have a line of code like this:
var myObj:[SomeClass] = new [SomeClass]();
I want to choose which class this object will belong to randomly at runtime. Is there a way to do this in Actionscript 3?
...
Hi,
I'm new in flex.
I faced problem to make full screen in flex 3.My layout container type like below.
<mx:Application >
<mx:Panel>
<mx:ViewStack>
<mx:VBox >
<mx:VBox >
<mx:Canvas >
<mx:HBox width="300" height="300">
</mx:HBox>
</mx:Canvas>
</mx:VBox>
</mx:VBox>
</mx:ViewStack>
</mx:Panel>
</mx:Appli...
Hi,
I have a function that uses the ... rest argument as follows:
public function dispatchActions(... actions):void
{
var params:Object = new Object();
params.actions = actions; // I also tried casting ie. = (actions as Array)
this.target.dispatchEvent(new ActionEvent(ActionEvent.dispatchActions, params));
}
I call it usin...
Hi all!
I'm a real noobie with flash and I was wondering if somebody could help me with this one.
I have this actionsript 3 code, where the cursor image "ball_mc" follows the mouse's position with a slight delay:
stage.addEventListener(Event.ENTER_FRAME,followBall);
function followBall(event:Event):void {
var dx:int = ball_mc.x - mou...
Hello,
I am using a regular expression to find links in a generic string and highlight that text(underline, a href, anything).
Here's what I have so far:
var linkRegEx:RegExp = new RegExp("(https?://)?(www\\.)?([a-zA-Z0-9_%]*)\\b\\.[a-z]{2,4}(\\.[a-z]{2})?((/[a-zA-Z0-9_%]*)+)?(\\.[a-z]*)?(:\\d{1,5})?","g");
var link:String = 'generic ...
Hi ,
I have a swf loaded into another swf , is there a way to monitor the errors that accur in the loaded swf and trace them outside ?
Thanks
...
Happy Tuesday everyone :)
I noticed I was using the same fonts over again in several of my Sub Classes, so I figured I'd just make a Fonts Class to handle all those.
Anyways I'm scratching my head around how to get those TextFormats created in my Fonts class into my other Classes cleanly. I don't believe I'm doing this the correct wa...
I have various custom component instances in my flex app. I want to loop through them recursively and get their instance Ids. The recursive part is very important to me.
Can someone tell me what's the best way to do it?
I have tried doing this, but it didn't do recursive:
for each (var myItem:* in this.MasterContainer.childDescriptors)
...
Does anyone know any cool text editing program for easy code translation?
I have some code like
public var distance:Number;
public var blurX:Number;
public var blurY:Number;
I need to transform it into
public double distance;
public double blurX;
public double blurY;
So, I want to say to that text editor something like this to d...
Pretty basic question here, but its still got me a little confused..
I have an object(navigation menu bar) that I want to change the colors on with code, so in an updateColor function, I get the bounds of the object (which is a drawing shape contained in a movieclip) and redraw a new shape on top of it with the new color, but I've notic...
In Flash, AS3, I am using NetConnection to connect to a RTMP server, then I use NetStream to play a video+audio stream.
I attach the stream (attachNetStream) to a flash.media.Video instance that is added to stage (double checked that it is ON the stage) and play it, but all I get is the sound of the stream that's being played - no video...
I'm writing a preloader:
package {
import flash.display.DisplayObject;
import flash.display.Sprite;
import flash.text.TextField;
import flash.display.LoaderInfo;
import flash.events.MouseEvent;
import flash.events.Event;
import flash.events.ProgressEvent;
import flash.system.System;
public class Prel...
I am trying to create a set of drag-and-drop, orderable lists with ActionScript. I know this is possible in Flex.
The behavior I am going for can be seen here: Two-way drag-and drop support (you'll have to scroll down)
Here is the source code
Does something like this already exist in AS? Can I use the Flex component in Flash?
...
So, events bubble up the display list. That's great if that's what you want. But what if you have objects on the stage that are not related that need to listen for events from each other? A simplified example:
var objA = new ObjA;
addChild(objA);
var objB = new ObjB;
addChild(objB);
var objC = new ObjC;
objB.addChild(objC);
Object B...
I want to create a text box with a fixed width that will fit itself to its current text. So I went ahead and wrote this simple application:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="load();">
<mx:Script>
<![CDATA[
private function load():voi...
Flash AS3:
Does anyone know how to load items one at a time instead of loading in loop at a normal process using AS3? I'm having problem with overwritten value.
I couldn't make that work, it's always overwritten the last value.I tried to use the dictionary and though it will help to resolve my problem...
I want to be able for EACH but...