Hi I have a small flash as below
public function startApp () : Void
{
mcWindowRoot.refToClass = this;
mcNext = mcWindowRoot;
_oLogoutDelegate = Delegate.create (this, onLogoutHandler);
_oWindowManagerRef.addEventListener ("onLogout", _oLogoutDelegate);
loadWhatNext ();
}
/**
* Enter description here
*
*/
function loadW...
This function is written in ActionScirpt. What kind of decryption this is? Is there existing function in PHP for this function?
function decrypt(str, key1, key2) {
var v1 = [];
var v3 = 0;
while (v3 < str.length) {
switch (str.charAt(v3)) {
case '0':
v1.push('0000');
break;
case '1':
v1.push...
All,
I've been developing Flash applications for several years, and here's something I've always wondered about.
I try to be as careful as possible about minimizing the amount of "overhead" that my application uses. (By overhead, I generally mean RAM, cpu processing effort, downloaded data, etc.) My goal is to consume as little of the ...
I have a AS3 swf [1] that is loading another AS2 swf [2] which is loading another AS3 swf [3].
I'm getting a Security Sandbox violation on the AS2 swf trying to access the last AS3 swf (3), but I'm using Security.allowDomain("*") in practically all the classes of the first AS3 swf (1). Is there any way to get around this? Thanks.
...
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...
Hey
I would like to have that the height of a canvas change automatically. When there are a lot of labels and images in my canvas, the height must increase. And when there are just a few labels in the canvas, the height must decrease.
In fact i want something like in CSS:
height: auto;
I hope youn understand my question.
Thanks in ad...
Hi, in AS3, I have an external class ImageLoader, that loads an image upon request. In that class, I have an event handlers:
ImageLoader Class
public function loadImg(path:String):void
{
ldr = new Loader();
ldr.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, getProgress);
var req:URLRequest = new URLRequest(path);
ldr.lo...
Using a static method in as3, I can get a charCode from a character in a string.
How can I get the keyCode from a character in a string? Do I need to run this function through javascript (if I can do this in Javascript...)
...
How do you do a bitmap morph tween in Actionscript? I would like to morph a Panel into a Button, using BitmapData or something but I have no idea where to begin.
...
My website will be basically selling services; will my SEO ranking still be affected if I embed the Flash site in a blank html page? I am at that critical point where I am ready to upload the site but I am just having second thoughts about the ease of doing business with Flash. Thanks.
...
Hi there
I currently have a few movieclips that I load into another movieclip container. I use the MovieClipLoader class to load them and make use of the onLoadProgress, onLoadStart, onLoadInit, onLoadComplete and onLoadError listeners.
In the onLoadProgess listener, I listen for the loaded bytes and total bytes and put the the percent...
I have an application that requires resizing of a component that will be scaled up and down quite frequently. I noticed that when I scale the component, any filter I use on it will not scale with it. I realize this makes sense, but I was wondering if Flex had a tool built in that would allow me to scale the filter with the component. I k...
I am creating a chart using mxml. The mxml tags only create a chart with a horizontal axis and vertical axis.
My result event handler has actionscript code that loops through the xml result set and creates all the series (line series and stacked bar). This part of the code works fine.
Now I need to use the functionfill function to set ...
here's my AS3 code:
var jpgEncoder:JPGEncoder = new JPGEncoder(100);
var jpgStream:ByteArray = jpgEncoder.encode(bitmapData);
var header:URLRequestHeader = new URLRequestHeader("Content-type", "application/octet-stream");
var jpgURLRequest:URLRequest = new URLRequest("/patients/webcam.aspx");
jpgURLRequest.requestHeaders.push(header);
j...
Ok, so this might seem like a stupid question, please try and see my predicament (at least that's what I tell myself):
I have a flash, which loads button with Actionscript 2.0. Now, my swf is no longer than 1 frame, and in my Actionscript, I refer a lot to _root.
Is there a way I can preload my movie without interfering with the _root ...
Hello folks,
can someone tell me how I can manage to give single words inside a DataGrid-CellRenderer a different color than defined by the TextFormat for that CellRenderer? It's not how to get these single words, it's how to use more than one color inside one cell...
...
I'm following along the MonkeyContactsCodeGenExample guide and when I run the ant target for test-with-launcher, I get a popup saying:
VerifyError: Error #1053: Illegal override of allowInsecureDomain in _MonkeyContacts_mx_managers_SystemManager.
This is followed by:
ReferenceError: Error #1065: Variable _MonkeyContacts_mx_managers_...
Does flash actionscript allow you to contact an arbitrary server on a specific port?
I would like to stream some images live from a server using a proprietary protocol.
Or does the browser disallow this for security reasons?
...
Actionscript supports a [RemoteClass] metadata tag that is used in BlazeDS to provide data-binding hints for marshalling AMF binary objects from Java to BlazeDS.
For example:
Java:
package sample;
public class UserInfo
{
private String userName;
public String getUserName()
{
return userName;
}
public ...
Hello there,
I have been looking over the internet for a while about this, but it doesn't seem like there is any information available specifically related to captcah and flash.
My purpose is to create an image up-loader on flash, and implement "recaptcha" on it, so the upload is controlled.
I know that some people will say, "well you...